This directory contains a selection of different methods of running a job.
run.sh
: hps-mc-job run -d $PWD/scratch slic job.json
run()
function-d $PWD/scratch
: run directoryslic
: name of job script in python/jobs that is calledjob.json
: job paramsrun_local.sh
: hps-mc-batch local -d $PWD/scratch slic job_pool.json
-d $PWD/scratch
: run directoryslic
: name of job script in python/jobs that is calledjob_pool.json
: job paramsrun_pool.sh
: hps-mc-batch pool -p 2 -d $PWD/scratch slic job_pool.json
-p 2
: job pool size-d $PWD/scratch
: run directoryslic
: name of job script in python/jobs that is calledjob_pool.json
: job paramsrun_slurm.sh
: hps-mc-batch slurm -o -q hps -r 1:1 -E $HPSMC_DIR/bin/hps-mc-env.sh -W 5 -d $HPSMC/examples/run_methods/scratch -c $HPSMC/examples/run_methods/.hpsmc -l $HPSMC/examples/run_methods/scratch/logs -S $HPSMC/examples/run_methods/scratch slic $HPSMC/examples/run_methods/job_slurm.json
-o
: check output-q hps
: job queue-r 1:1
: job range, submit jobs with id within range-E $HPSMC_DIR/bin/hps-mc-env.sh
: full path to env setup script-W 5
: max job length in hours-d $HPSMC/examples/run_methods/scratch
: run directory-c $HPSMC/examples/run_methods/.hpsmc
: config file-l $HPSMC/examples/run_methods/scratch/logs
: log file ouput dir-S $HPSMC/examples/run_methods/scratch
: dir to hold sh scripts to submit jobs via Slurmslic
: name of job script in python/jobs that is calledjob_slurm.json
: job params