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
October 8, 2020 at 11:14 pm
#5214
Julius
Participant
Hello d3rioe,
I think in the user manual page 38, “2.11 Lesson 11: Run Your Programs on a Parallel Machine” has your answer.
“To run the program in parallel, use the command mpirun -np 2 ./cavity2d
. Here -np 2
specifies the number of processors to be used”
Use the flag --use-hwthread-cpus
to enable threads in addition to individual cores.
Regards, Julius