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

Diff of /MITgcm_contrib/test_scripts/archer/script_split1_cray

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

revision 1.1 by dfer, Mon Apr 6 21:10:56 2015 UTC revision 1.2 by jmc, Tue Nov 6 22:04:43 2018 UTC
# Line 1  Line 1 
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    
# Line 15  setenv LC_ALL "en_US.UTF-8" Line 16  setenv LC_ALL "en_US.UTF-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
# Line 36  mv -f script_split2.tmp script_split2_cr Line 37  mv -f script_split2.tmp script_split2_cr
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
# Line 45  qsub script_split2_cray Line 46  qsub 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

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.22