| 1 | #!/bin/bash | 
| 2 | # | 
| 3 | # o -N Job Name | 
| 4 | #PBS -N eh3_lf95 | 
| 5 | # | 
| 6 | # o -l ask for 1 nodes, each with the attribute "p4". | 
| 7 | #PBS -l nodes=1:p4 | 
| 8 | # | 
| 9 | # o Where to write output | 
| 10 | #PBS -e /SCRATCH/s00/edhill/lahey_testing/err_lf95 | 
| 11 | #PBS -o /SCRATCH/s00/edhill/lahey_testing/out_lf95 | 
| 12 | # | 
| 13 | # o Export all my environment variables to the job | 
| 14 | #PBS -V | 
| 15 | # | 
| 16 |  | 
| 17 | export PATH="$PATH:/usr/local/pkg/lahey/current/bin" | 
| 18 |  | 
| 19 | base_dir="/SCRATCH/s00/edhill/lahey_testing" | 
| 20 | cd $base_dir | 
| 21 | test -e MITgcm  &&  rm -rf MITgcm | 
| 22 | cat $PBS_NODEFILE > $base_dir"/mf" | 
| 23 | cvs -d :pserver:cvsanon@mitgcm.org:/usr/local/gcmpack co MITgcm | 
| 24 | cd MITgcm/verification | 
| 25 |  | 
| 26 | OPTFILE="-of ../tools/build_options/linux_ia32_lf95" | 
| 27 | COMM="-command /home/edhill/bin/cg01_lf95_data_fix" | 
| 28 | ./testreport $OPTFILE $COMM -a 'edhill@mitgcm.org' > /dev/null 2>&1 |