Skip to content

Reply To: Compiling OpenLB in parallel and running it with a set number of threads

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Compiling OpenLB in parallel and running it with a set number of threads Reply To: Compiling OpenLB in parallel and running it with a set number of threads

#5215
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.