Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Still in the checkpointing branch, Run the generate_sl3split_sl.py script that uses both checkpointing and splitting. The -ml argument specifies the maximum number of lines of python call to calculate_ims.py/caculate_rrups.py. Header and footer like  #SBATCH like  '#SBATCH --time=15:30:00', 'date' etc are not are NOT included.

Say if the max number of lines allowed in a slurm script is 1000, and your (header + footer) are is 30 lines, then the number n that you pass to -ml should be 0 < n <=967. eg. -ml 967.

Example:

We have 250 simulation dirs to run, by specifying -ml 100 (100 python calls to calculate_ims.py per slurm script), we expect 3 sim slurm scripts to be outputted.(1-100, 100-200,  200-250)

...