Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# example script on NERSC edison |
| 4 |
# |
| 5 |
#PBS -q debug |
| 6 |
#PBS -N EXX_water_32_example |
| 7 |
#PBS -l walltime=0:10:00 |
| 8 |
#PBS -l mppwidth=288 |
| 9 |
#PBS -V |
| 10 |
#PBS -j oe |
| 11 |
#PBS -e tst.$PBS_JOBID.err |
| 12 |
#PBS -o tst.$PBS_JOBID.out |
| 13 |
|
| 14 |
cd $PBS_O_WORKDIR |
| 15 |
|
| 16 |
CODE_n=<your_cp.x_location> |
| 17 |
|
| 18 |
# example of number of MPI tasks = 2 * number of electronic states |
| 19 |
# using 256 MPI tasks and 2 OpenMP threads per MPI tasks |
| 20 |
# also 256 MPI tasks allow to use task group parallelizion, here -ntg 2 is used |
| 21 |
# |
| 22 |
export OMP_NUM_THREADS=2 |
| 23 |
aprun -j 2 -n 256 -d 2 -cc depth $CODE_n -ntg 2 -ndiag 121 < 01.input > 01.out |
| 24 |
aprun -j 2 -n 256 -d 2 -cc depth $CODE_n -ntg 2 -ndiag 121 < 02.input > 02.out |