1 |
#PBS -S /bin/csh |
#PBS -S /bin/csh |
2 |
#PBS -N Report_1C |
#PBS -N Report_1C |
3 |
#PBS -l select=serial=true:ncpus=1 |
#PBS -l select=serial=true:ncpus=1 |
4 |
#PBS -l walltime=07:00:00 |
#PBS -l walltime=08:00:00 |
5 |
|
##PBS -l walltime=00:30:00 |
6 |
#PBS -A n02-ncas |
#PBS -A n02-ncas |
7 |
#PBS -V |
#PBS -V |
8 |
|
|
16 |
|
|
17 |
cd /work/n02/n02/dfer/MITgcm/verification |
cd /work/n02/n02/dfer/MITgcm/verification |
18 |
|
|
19 |
module load cray-hdf5-parallel/1.8.13 |
module load cray-hdf5-parallel/1.8.14 |
20 |
module load cray-netcdf-hdf5parallel/4.3.2 |
module load cray-netcdf-hdf5parallel/4.3.3.1 |
21 |
module list |
module list |
22 |
|
|
23 |
### set to 1 to run test |
### set to 1 to run test |
24 |
set tst1=0 # test without MPI, but with optimization |
set tst1=0 # test without MPI, but with optimization |
25 |
set tst2=0 # test with MPI, no optimization |
set tst2=1 # test with MPI, no optimization |
26 |
set tst3=0 # test with MPI, with optimization |
set tst3=0 # test with MPI, with optimization |
27 |
|
|
28 |
##### NO MPI |
##### NO MPI |
29 |
if ( $tst1 == 1 ) then |
if ( $tst1 == 1 ) then |
30 |
|
|
31 |
./testreport -of='../tools/build_options/linux_ia64_cray_archer' -norun -j 2 -makedepend makedepend |
./testreport -of='../tools/build_options/linux_ia64_cray_archer' -norun -j 4 -makedepend makedepend -devel |
32 |
|
|
33 |
sed "s/ tsb1=./ tsb1=1/" script_split2_cray > script_split2.tmp |
sed "s/ tsb1=./ tsb1=1/" script_split2_cray > script_split2.tmp |
34 |
mv -f script_split2.tmp script_split2_cray |
mv -f script_split2.tmp script_split2_cray |
37 |
##### MPI + IEEE |
##### MPI + IEEE |
38 |
else if ( $tst2 == 1 ) then |
else if ( $tst2 == 1 ) then |
39 |
|
|
40 |
./testreport -of='../tools/build_options/linux_ia64_cray_archer' -MPI 24 -command='aprun -n TR_NPROC ./mitgcmuv' -norun -j 2 -ieee -makedepend makedepend |
./testreport -of='../tools/build_options/linux_ia64_cray_archer' -MPI 24 -command='aprun -n TR_NPROC ./mitgcmuv' -norun -j 4 -makedepend makedepend -skd "fizhi-*" |
41 |
|
|
42 |
sed "s/ tsb1=./ tsb1=2/" script_split2_cray > script_split2.tmp |
sed "s/ tsb1=./ tsb1=2/" script_split2_cray > script_split2.tmp |
43 |
mv -f script_split2.tmp script_split2_cray |
mv -f script_split2.tmp script_split2_cray |
46 |
##### MPI + NO IEEE |
##### MPI + NO IEEE |
47 |
else if ( $tst3 == 1 ) then |
else if ( $tst3 == 1 ) then |
48 |
|
|
49 |
./testreport -of='../tools/build_options/linux_ia64_cray_archer' -MPI 24 -command='aprun -n TR_NPROC ./mitgcmuv' -norun -j 2 -fast -makedepend makedepend |
./testreport -of='../tools/build_options/linux_ia64_cray_archer' -MPI 24 -command='aprun -n TR_NPROC ./mitgcmuv' -norun -j 4 -makedepend makedepend -skd "fizhi-*" -fast |
50 |
|
|
51 |
sed "s/ tsb1=./ tsb1=3/" script_split2_cray > script_split2.tmp |
sed "s/ tsb1=./ tsb1=3/" script_split2_cray > script_split2.tmp |
52 |
mv -f script_split2.tmp script_split2_cray |
mv -f script_split2.tmp script_split2_cray |