| 1 | == Bluehive == |
| 2 | || Nodes || number of tasks || number of threads per task || total time (secs)|| |
| 3 | || 1 ||24 || 1 || 20.9 || |
| 4 | || 1 || 68 || 2 || 32.2 || |
| 5 | || 1 || 68 || 4 || 64.21 || |
| 6 | |
| 7 | |
| 8 | {{{ |
| 9 | #!/bin/bash |
| 10 | |
| 11 | #SBATCH -J test # Job name |
| 12 | #SBATCH -o test.o%j # Name of stdout output file |
| 13 | #SBATCH -e test.e%j # Name of stderr error file |
| 14 | #SBATCH -p debug |
| 15 | #SBATCH -N 1 # Total # of nodes (now required) |
| 16 | #SBATCH --ntasks-per-node=22 # Total # of mpi tasks |
| 17 | #SBATCH -t 00:30:00 # Run time (hh:mm:ss) |
| 18 | #SBATCH --mail-user=baowei.liu@rochester.edu |
| 19 | #SBATCH --mail-type=all # Send email at begin and end of job |
| 20 | |
| 21 | # Other commands must follow all #SBATCH directives... |
| 22 | |
| 23 | export OMP_NUM_THREADS=4 #Number of threads to use |
| 24 | |
| 25 | module load astrobear/b1 |
| 26 | module list |
| 27 | pwd |
| 28 | date |
| 29 | |
| 30 | ((nCores=SLURM_NTASKS/OMP_NUM_THREADS)) |
| 31 | # Launch MPI job... |
| 32 | |
| 33 | mpirun -np $nCores ./Bondi |
| 34 | }}} |
| 35 | |
| 36 | |