parallel computing

Hello guys,

I compiled the files in the tutorial of the code package of Palabos. Although, the parallel paramter, SMPparallel, is switched on (.true.), only one thread is established.

How can I run the code parallely, do I need set any parameters in the code, like nthread=xxx? thank you very much.

Another question is, how to use the MPI? Should I change the system environment if I have a several-nodes cluster?

  • phoenix

you need an MPI-package, like openMPI.
after compiling use <mpirun -np x filename>, where x= number of cores. Thats the most simple case, check out the homepage of your prefered MPI-package fo rmore details.

Thanks, I solve it!