[Users] Changing the default directory for simulations

Ian Hinder ian.hinder at aei.mpg.de
Thu Aug 10 11:03:04 CDT 2017


On 10 Aug 2017, at 10:06, Maitraya Bhattacharyya <maitraya.linux at gmail.com> wrote:

> Hi,
> 
> Is there a way to change the default directory where simulations are saved and also change the number of cores ?

Hi,

You can change the directory.  It is called "basedir" and it is set in simfactory/etc/defs.local.ini.  If it's not there already, you can add an entry

[machine]

basedir = /path/to/simulations

where 'machine' is your local machine name.  You can determine your local machine name with "simfactory/bin/sim whoami".

If you want to run a job on a certain number of cores, you can use the options

--procs N

when you submit the simulation.

You may need to modify simfactory/mdb/machines/<machine>.ini and increase ppn to 4.

In very recent versions of simfactory, this is now set automatically when you run sim setup, but it's likely that in the version you have, it is set to 1, which prevents you from running on more than one core by default.

-- 
Ian Hinder
http://members.aei.mpg.de/ianhin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/users/attachments/20170810/a4f13dd3/attachment.html 


More information about the Users mailing list