Is PRERUN_SCRIPT called for every case.run when RESUBMIT > 0 ?

auestad

New Member
Due to storage limits I need to move the output to another server in between each run. I'm using RESUBMIT > 0 and setting a PRERUN_SCRIPT that moves and then deletes the data before each new run. Or at least that is what I think it should do. Is PRERUN_SCRIPT called for every time case.run is submitted? I don't see this behaviour and my storage keeps getting filled up and my simulations crashes.

Should I do it differently, use the DATA_ASSIMILATION_SCRIPT instead?

Thanks!
Henrik
 

jedwards

CSEG and Liaisons
Staff member
The PRERUN_SCRIPT should do what you want - have you checked your pbs or slurm log to see if it's invoked?
 
Back
Top