Skip to content

d3rioe

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • d3rioe
    Participant

    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!

    d3rioe

    • This reply was modified 3 years, 6 months ago by d3rioe.
    d3rioe
    Participant

    Thanks for the reply. I should have mentioned that I was using mpirun. For example I just ran bstep2d with the following command:

    $ /usr/lib64/openmpi/bin/mpirun -np 4 --use-hwthread-cpus ./bstep2d

    However the first line of output is:

    [OmpManager] Sucessfully initialized, numThreads=32

    Similarly when I ran it without the –use-hwthread-cpus option:

    $ /usr/lib64/openmpi/bin/mpirun -np 4 ./bstep2d
    [OmpManager] Sucessfully initialized, numThreads=32

    I’m pretty sure that Openmpi is fine, I use it for running the other simulations that are running on my system without any issues.

    • This reply was modified 3 years, 6 months ago by d3rioe.
Viewing 2 posts - 1 through 2 (of 2 total)