| 1 |
|
| 2 |
#PBS -S /usr/nas/bin/bash |
| 3 |
|
| 4 |
# name |
| 5 |
#PBS -N eh3_hopper |
| 6 |
|
| 7 |
# export all environment variables |
| 8 |
#PBS -V |
| 9 |
|
| 10 |
#PBS -q @hopper |
| 11 |
#PBS -l ncpus=2 |
| 12 |
#PBS -l mem=60Mw |
| 13 |
#PBS -l walltime=2:00:00 |
| 14 |
|
| 15 |
#merge stdout & stderr |
| 16 |
#PBS -j oe |
| 17 |
|
| 18 |
# #PBS -W group_list=g12345 |
| 19 |
|
| 20 |
# send mail at termination |
| 21 |
#PBS -m e |
| 22 |
|
| 23 |
. /u/edhill/bin/env_hopper |
| 24 |
|
| 25 |
cd /cluster/hopper/scratch1/edhill |
| 26 |
|
| 27 |
test -e MITgcm && rm -rf MITgcm |
| 28 |
test -e MITgcm.tar.gz && ( rm -f MITgcm.tar ; /usr/nas/bin/gunzip MITgcm.tar.gz ) |
| 29 |
test -e MITgcm.tar && tar -xf MITgcm.tar |
| 30 |
|
| 31 |
cd MITgcm/verification |
| 32 |
# don't use "-a 'edhill@mitgcm.org'" on hopper -- fails to compile |
| 33 |
./testreport -ieee -of ../tools/build_options/irix64_ip35_f77 -a edhill@mitgcm.org |
| 34 |
|
| 35 |
tar -cf tr_hopper_0.tar ./tr_hopper* |
| 36 |
/usr/nas/bin/gzip tr_hopper_0.tar |