|
[Sponsors] |
April 2, 2013, 22:11 |
mpiRun Stop AND Re-Start
|
#1 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
How do I stop and then re-start mpirun for a case?.
I use mpirun from within my case directory in the following way: Code:
mpirun -np 4 simpleFoam -parallel | tee log/simpleFoam.log Code:
FoamFile { version 2.0; format ascii; class dictionary; location system; object controlDict; } startFrom startTime; startTime 0; stopAt endTime; endTime 2000.0; deltaT 1.0; writeControl timeStep; writeInterval 1000.0; purgeWrite 0; writeFormat ascii; writePrecision 10; writeCompression uncompressed; timeFormat general; timePrecision 6; graphFormat raw; runTimeModifiable true; Last edited by JR22; April 2, 2013 at 22:48. Reason: relevant information to changing parameters for convergence |
|
April 2, 2013, 23:11 |
|
#2 |
Member
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 14 |
You might be looking for
startFrom latestTime; This will restart the simulation at the last recorded time step. |
|
April 2, 2013, 23:33 |
Stopping and Restarting an openFoam run
|
#3 |
Senior Member
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 18 |
Hi Chris,
I think I got it. I was looking for some of flag to put on the mpirun command; obviously I was lost. This is what I should do:
Thank you very much, it worked perfectly. Last edited by JR22; April 3, 2013 at 01:56. |
|
Tags |
helyx-os, mpirun, openfoam 2.1.x, parallel execution, restart |
Thread Tools | Search this Thread |
Display Modes | |
|
|