CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   AVL FIRE (http://www.cfd-online.com/Forums/avl-fire/)
-   -   How to restart a simulation in MPI mode (http://www.cfd-online.com/Forums/avl-fire/116766-how-restart-simulation-mpi-mode.html)

hamedhamed April 24, 2013 16:47

How to restart a simulation in MPI mode
 
Hi everybody

I have done a simulation in MPI mode with AVL Fire 2011. now I want to restart the simulation from a specific time step. but like single mode, just one processor runs the simulation. how can I fix it?

best regards

Hamed

kimmhw April 24, 2013 22:41

Hi hamed,

If I understood correctly, you already calculated using MPI mode.
And then, you want to restart from a specific time step using single(serial) mode.
Right?

Basically, there is no special way.

I hope you are familiar to use the shell.

the command is

cfdwm_solver -solver_vers=v2011 -case=Case -restart=Case.rs0

You have to know which restart file(CaseName.rs0 or CaseName.rs1) or backup file(CaseName.bc_00####) is for the specific time.
Please see the fla file.

If you have some problems to restart, please describe more detail.
- error message
- your application(moving mesh? combustion? aftertreatment? porosity?...)
- others

hamedhamed April 25, 2013 04:56

thanks for response kimmhw

I already calculated my simulation using MPI mode and I want to restart it using MPI again. but after choosing MPI mode and 8 number of processors, just one processor is working and the rest of processors work with 0 % CPU as shown in task manager.
I do not know how to use all processors for restarting.

kimmhw April 25, 2013 21:40

Quote:

Originally Posted by hamedhamed (Post 423037)
thanks for response kimmhw

I already calculated my simulation using MPI mode and I want to restart it using MPI again. but after choosing MPI mode and 8 number of processors, just one processor is working and the rest of processors work with 0 % CPU as shown in task manager.
I do not know how to use all processors for restarting.

Hello hamed,

Frankly, it is not easy to understand your problem exactly without your model/log message.

But please try to do as below.

1) if you start the calculation using GUI
there is one advanced option in job setup menu.
Advanced Setting - check "disable file locking "

2) if you start the calculation on shell
Add one argument (-no_file_locking).
cfdwm_solver -solver_version=v2011 -case=CaseName -mpi -cpu=8 -restart=CaseName.rs0 -no_file_locking

hamedhamed April 26, 2013 13:27

Thanks kimmhy

"disable file locking" was helpful.


All times are GMT -4. The time now is 09:16.