multiple simulation in the same time

Forum dedicated to older versions of EMS package (WRFEMS v3.2, v3.1 or older). Support is user-to-user based, so please help others if you can.
Post Reply
julien1188
Posts: 36
Joined: Fri Mar 09, 2012 1:02 pm

multiple simulation in the same time

Post by julien1188 » Thu Jun 14, 2012 2:50 pm

Hello,

I would like to run simultaneously 2 runs (2 X 4 CPUs) but the second run is block by the first run (due to logs/ems_autorun.lock). How can I run simultaneously 2 runs with wrf-ems?

Thanks

Tintin87
Posts: 37
Joined: Thu Jun 30, 2011 11:42 am

Re: multiple simulation in the same time

Post by Tintin87 » Thu Jun 14, 2012 3:43 pm

Hello,
you have to write the option --nolock with ems_autorun :
Normally the ems_autorun routine will create a lock file in the /usr1/wrfems/logs directory containing information about the simulation process ID (PID), start date/time, the domain directory, and hostname of the system running ems_autorun. Each time a ems_autorun simulation is initiated, the /usr1/wrfems/logs directory is checked for existing lock files. If a lock file is found containing information indicating there may be an existing run in that same directory, the PID is checked to see if the simulation is still running on your system. If the previous processes has not finished, ems_autorun will wait (WAIT) for a specified amount of time for the simulation to complete before terminating itself.
When the --nolock option is passed ems_autorun does NOT look for existing lock files before starting a simulation. It doesn't create any either. It just doesn't care.
See the WAIT parameter in ems_autorun.conf for more details.
Or, if you want, in the ems_autorun.conf, replace in the end of file :

Code: Select all

WAIT=3600
to

Code: Select all

WAIT=0

julien1188
Posts: 36
Joined: Fri Mar 09, 2012 1:02 pm

Re: multiple simulation in the same time

Post by julien1188 » Fri Jun 15, 2012 7:38 am

Thank you :-)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest