OK, thanks for pointing that out. I had missed the CXX := mpic++ option instead of the default CXX := g++. After recompiling it with that option, running it with mpirun -np 4 ./bstep2d ran on 4 cores like it was supposed to.
Thanks for the help!
This reply was modified 3 years, 1 month ago by d3rioe.