Reply To: Compiling OpenLB in parallel and running it with a set number of threads
Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum, first register on this website and then send a message via our contact form.
› Forums › 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
