lizzieinvancouver / temporalvar

0 stars 0 forks source link

megaD test runs #22

Closed donahuem closed 5 years ago

donahuem commented 5 years ago

First set of megaD test runs. for each of the 3 tauI conditions, rand 1 job array with 50 tasks, each task calls 100 runs. 52910893 52910943 52910979 52911034 -- this one should have failed bc it called an empty line in getInputParms.

donahuem commented 5 years ago

Ok, these failed bc the MultiRNG library wasn't installed properly

donahuem commented 5 years ago

To make MegaD runs, call the script bash /n/wolkovich_lab/temporalvar/slurm/MegaDBatchScript.txt from /n/regal/wolkovich_lab/temporalvar

This sets PHEN_RUNNUM equal to 101, 102, 103, which calls getInputParms_megaD.txt as its input file

donahuem commented 5 years ago

Submitted the following MegaD test runs. 2 tasks per job array. Each of 3 job arrays is 200 runs. The 3 job arrays correspond to different levels of vartauI given in getInputParms_megaD.txt 54203568 54203607 54203663

donahuem commented 5 years ago

54203568-1.err:
"Warning message: In dir.create(file.path(SummOut_loc), recursive = TRUE) : '/scratch/wolkovich_lab/temporalvar/54203568/SummaryFiles/54203568' already exists" Both tasks ran to completion and wrote to megadrought/output/SummaryFiles but maybe there was an error in how localflag was coded, because jobID[2] is NA, so the two output files overwrote each other.

The error in localflag or the flag megaD is not clear. I've added some write statements to debug. Rerunning a couple more tests.

donahuem commented 5 years ago

New test run numbers 58077554 58077626 58077667

donahuem commented 5 years ago

Minor issue with last batch. Fixed. New jobIDs 58093210 58093279 58093335 Remember to call bash /n/wolkovich_lab/temporalvar/slurm/MegaDBatchScript.txt from /n/wolkovich_lab/temporalvar

donahuem commented 5 years ago

These ran fine, except that the jobID[2] is not being saved, so the output files are jobID[1]-NA instead of jobID[1-jobID[2]

donahuem commented 5 years ago

updated ifelse () statement to an if () {} else {} statement to assign variable jobID. Now jobID is once again a two element array.