220 | | |
221 | | |
222 | | [[cypress/IntoToHpcWorkshop2015| Return to Workshop Homepage]] |
223 | | |
| 220 | {{{#!bash |
| 221 | #!/bin/bash |
| 222 | #SBATCH --qos=workshop # Quality of Service |
| 223 | #SBATCH --partition=workshop # Partition |
| 224 | #SBATCH --job-name=python # Job Name |
| 225 | #SBATCH --time=00:01:00 # WallTime |
| 226 | #SBATCH --nodes=1 # Number of Nodes |
| 227 | #SBATCH --ntasks-per-node=1 # Number of tasks (MPI processes) |
| 228 | #SBATCH --cpus-per-task=15 # Number of threads per task (OMP threads) |
| 229 | |
| 230 | module load anaconda |
| 231 | python sum_primes.py $SLURM_CPUS_PER_TASK |
| 232 | }}} |