CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to start parallelized computation in multi-nodes? (http://www.cfd-online.com/Forums/openfoam-solving/70054-how-start-parallelized-computation-multi-nodes.html)

flying November 13, 2009 04:34

How to start parallelized computation in multi-nodes?
 
Hey Foamers:

I hope all of you are fine.

Now I am also trying to compute flow field in multi-nodes.

But there are some block on my way.

For openfoam, in the user guide, I need to execute mpirun in multi-nodes as follows:

mpirun --hostfile <machines> -np <nProcs>
<foamExec> <otherArgs> -parallel > log

and the machines file should include the name of nodes.

But the cluster in my institute is that I need to write the script as follows:

#PBS -l nodes=2:ppn=4,walltime=01:02:00.00 -q helics2
cd workdirectory
mpiexec -verbose program_to_run [arguments] [< input] [> output] So, it is totally different. Do you ever encounter this problem? How do you deal with it?

Does openfoam have its own way for parallelized computing or it is the same as OpenMPI?

Any suggestion from you is useful for me and I will be grateful for that.

Best wishes!

By the way, I am still working on the that problem.


All times are GMT -4. The time now is 03:24.