mmellis / rSPACE

Power analysis for occupancy-based monitoring
7 stars 1 forks source link

Move or relabel temporary MARK files #9

Closed mmellis closed 9 years ago

mmellis commented 9 years ago

Right now, you can't run multiple versions of test_samples at the same time because MARK temporary files will overlap and read incorrectly. Need to relabel MARK prefixes to avoid overlap.

mmellis commented 9 years ago

Relabeling the files won't work. In most recent RMark/MARK, a temporary file fort.0 is created that will not be affected by the relabelling (see http://cran.r-project.org/web/packages/RMark/NEWS). Unknown what would happen if multiple runs were using fort.0. Alternative solution, in the case of parallel-by-bruteforce, is to set the working directory for each run to a scenario folder and run test_samples with folder='.'