Open mle2718 opened 1 year ago
Thanks! I'm testing things on the HPCC this week to double check everything!
Thanks! I'm testing things on the HPCC this week to double check everything!
I have the beginnings of an idea to deal with this.
I added an extra failsafe. I'm not sure if it will work as intended. But basically, if there are two runSims that are started nearly-simultanously, they will check to see if the directory they are trying to make exists.
I'm slightly worried about what happens if 2 different child processes try to use the same ASAP directory. It's probably a very very small concern, because the dir.create() statement will throw an error message if the directory it tries to create already exists.
This looks good and I will double check it soon! The HPCC was giving me some trouble last week and I didn't get to testing yet.
closes #205
This code should work, as long as the runSim.sh script doesn't execute all the runSim.R's at the same time.