/[MITgcm]/MITgcm_contrib/test_scripts/archer/script_split1_cray
ViewVC logotype

Annotation of /MITgcm_contrib/test_scripts/archer/script_split1_cray

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Apr 6 21:10:56 2015 UTC (10 years, 3 months ago) by dfer
Branch: MAIN
scripts to run testreport on Archer

1 dfer 1.1 #PBS -S /bin/csh
2     #PBS -N Report_1C
3     #PBS -l select=serial=true:ncpus=1
4     #PBS -l walltime=07:00:00
5     #PBS -A n02-ncas
6     #PBS -V
7    
8     # $Header: $
9     # $Name: $
10    
11     ### script to run testreport, tar the result, and send it to jmc@mitgcm.org
12    
13     #- to get case insensitive "ls" (and order of tested experiments)
14     setenv LC_ALL "en_US.UTF-8"
15    
16     cd /work/n02/n02/dfer/MITgcm/verification
17    
18     module load cray-hdf5-parallel/1.8.13
19     module load cray-netcdf-hdf5parallel/4.3.2
20     module list
21    
22     ### set to 1 to run test
23     set tst1=0 # test without MPI, but with optimization
24     set tst2=0 # test with MPI, no optimization
25     set tst3=0 # test with MPI, with optimization
26    
27     ##### NO MPI
28     if ( $tst1 == 1 ) then
29    
30     ./testreport -of='../tools/build_options/linux_ia64_cray_archer' -norun -j 2 -makedepend makedepend
31    
32     sed "s/ tsb1=./ tsb1=1/" script_split2_cray > script_split2.tmp
33     mv -f script_split2.tmp script_split2_cray
34     #qsub script_split2_cray
35    
36     ##### MPI + IEEE
37     else if ( $tst2 == 1 ) then
38    
39     ./testreport -of='../tools/build_options/linux_ia64_cray_archer' -MPI 24 -command='aprun -n TR_NPROC ./mitgcmuv' -norun -j 2 -ieee -makedepend makedepend
40    
41     sed "s/ tsb1=./ tsb1=2/" script_split2_cray > script_split2.tmp
42     mv -f script_split2.tmp script_split2_cray
43     qsub script_split2_cray
44    
45     ##### MPI + NO IEEE
46     else if ( $tst3 == 1 ) then
47    
48     ./testreport -of='../tools/build_options/linux_ia64_cray_archer' -MPI 24 -command='aprun -n TR_NPROC ./mitgcmuv' -norun -j 2 -fast -makedepend makedepend
49    
50     sed "s/ tsb1=./ tsb1=3/" script_split2_cray > script_split2.tmp
51     mv -f script_split2.tmp script_split2_cray
52     qsub script_split2_cray
53    
54     endif
55    
56     exit

  ViewVC Help
Powered by ViewVC 1.1.22