|
More information about the submit script can be found using the Job Script Generator.
#!/bin/bash #SBATCH -J gamess_example #SBATCH -e gamess_example.err #SBATCH -o gamess_example.out #SBATCH -p std #SBATCH -n 1 #SBATCH -t 0-02:00 module load apps/gamess/2018 source /prod/comp/intel/2018.1.163/linux/bin/compilervars.sh intel64 ## # Modify the input and output files! INPUT_FILE=gamess_example OUTPUT_FILE=gamess_example.log cp -r ${SLURM_SUBMIT_DIR}/${INPUT_FILE} ${SCRATCH} cd ${SCRATCH} srun rungms.slurm ${INPUT_FILE} cp ./${OUTPUT_FILE} ${SLURM_SUBMIT_DIR} |
The options shown in the example are detailed below. For more information and a more comprehensive list of available options, see the sbatch command page.
-n: Number of tasks.