|
[Sponsors] |
December 1, 2016, 08:40 |
using mpirun
|
#1 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 16 |
Hello
I am new to mpirun in linux I'd like to use mpirun to apply simpleFoam using a network with 2 nodes. to do that, I copy airfoil2D in tutorial folders and share it to client nodes using "nfs". I am able to use mpirun in loacl machine by applying this command; $mpirun -np 4 simpleFoam -parallel but the problem is when I want to employ another node, let's say client, to use mpirun. the command I have used is as below: $ mpirun -np 4 --hostfile hostFile simpleFoam -parallel but it doesn't work. while my own code ( printf('hello') ) works well as below through network: $ mpirun -np 4 --hostfile hostFile test -parallel can anyone help me what's the problem? |
|
December 4, 2016, 15:29 |
|
#2 |
Member
Darko Radenkovic
Join Date: Oct 2015
Posts: 38
Rep Power: 11 |
You need to provide more details on the error. Try:
mpirun –hostfile <machines> -np <nProcs> <foamExec> <otherArgs> -parallel > log & Here is link that you might find useful: http://cfd.direct/openfoam/user-guid...ions-parallel/ Regards, Darko |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what is wrong with the mpirun parameter -mca ? | donno | OpenFOAM | 7 | February 2, 2023 22:12 |
mpirun hangup.. can anyone help how to fix mpirun issues. | prameelar | OpenFOAM | 12 | February 16, 2022 17:23 |
MPIrun Problem with FoamJob Workaround | kaszt | OpenFOAM Running, Solving & CFD | 3 | October 4, 2018 13:55 |
OF mpirun and parallel problem | heksel8i | OpenFOAM Running, Solving & CFD | 2 | September 11, 2013 06:33 |
MPIRUN fails | lfbarcelo | OpenFOAM | 3 | March 29, 2010 08:41 |