|
[Sponsors] |
March 29, 2012, 05:17 |
Purpose of the -parallel parameter
|
#1 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Hello,
I am running a parallel job and I forgot the -parallel parameter, so my command to start the simulation looked like this mpirun -np 4 twoPhaseEulerFoam The simulation runs and the system monitor tells me that there are in fact 4 processes running. The only difference to a normal parallel run is, that in the processor* folders there is only a 0 and a constant folder. The computed time steps are stored in the case directory. Can anyone describe what exactly happens if I omit the -parallel parameter? I guess storing the field-information every time step requires some time, but running reconstructPar after the computation also does. |
|
March 29, 2012, 05:26 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
without -parallel the processors will run the same job (in serial)
try running 'mpirun -np 4 ls' it will run the same ls-command 4 times, on each processor. |
|
March 29, 2012, 06:56 |
|
#3 |
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 342
Rep Power: 28 |
Thanks
your example is very enlightening |
|
Tags |
parallel computation, running, solver control |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Script to Run Parallel Jobs in Rocks Cluster | asaha | OpenFOAM Running, Solving & CFD | 12 | July 4, 2012 23:51 |
Force can not converge | colopolo | CFX | 13 | October 4, 2011 23:03 |
Change parameter and run cases parallel | lingdeer | ANSYS | 0 | July 29, 2011 11:27 |
compile errors of boundary condition "expDirectionMixed" | liying02ts | OpenFOAM Bugs | 2 | February 1, 2010 21:11 |
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 | Amitava Majumdar | Main CFD Forum | 0 | January 5, 1999 13:00 |