gchen98 / macs

Automatically exported from code.google.com/p/macs
16 stars 6 forks source link

Issue with running many MACS simulations simultaneously #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run many MAC simulations simultaneously (I used sge grid to submit many jobs)

What is the expected output? What do you see instead?
The output of MACs is identical for different runs even when run under 
different demographic parameters.

What version of the product are you using? On what operating system?
Most current version. Linux 2.6.18-194.3.1.el5_lustre.1.8.4 x86_64

Please provide any additional information below.
My best guess is that MACs is confusing output files from different runs (the 
output files start with haplo and tree).

Original issue reported on code.google.com by halasad...@gmail.com on 28 Jan 2015 at 3:42

GoogleCodeExporter commented 9 years ago
Your guess is correct. The best workaround on a batch environment is to create 
a directory for each replicate that the executable can run in. Don't forget to 
use the -s random seed parameter as appropriate.

Original comment by gche...@gmail.com on 28 Jan 2015 at 4:24

GoogleCodeExporter commented 9 years ago
Thanks, your suggestion worked!

Original comment by halasad...@gmail.com on 28 Jan 2015 at 9:08

GoogleCodeExporter commented 9 years ago

Original comment by gche...@gmail.com on 28 Jan 2015 at 10:16