/[MITgcm]/MITgcm/tools/example_scripts/nasa_ames/script_testpleiades
ViewVC logotype

Contents of /MITgcm/tools/example_scripts/nasa_ames/script_testpleiades

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


Revision 1.1 - (show annotations) (download)
Wed Dec 15 02:22:13 2010 UTC (13 years, 4 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Script to run testreport on Pleiades/Ice

1 #PBS -S /bin/csh
2 #PBS -N Testreport
3 #PBS -l select=1:ncpus=2:mpiprocs=2:model=har
4 #PBS -l walltime=05:00:00
5 #PBS -V
6
7 # $Header: $
8 # $Name: $
9
10 ### script to run testreport, tar the result, and send it to jmc@mitgcm.org
11 ### on Pleiades (Ice)
12
13 #- to get case insensitive "ls" (and order of tested experiments)
14 setenv LC_ALL "en_US.UTF-8"
15
16 set date_str=`date +%Y%m%d`"_0"
17
18 module purge
19 module load comp-intel/11.1.046 mpi/mpt.1.25 netcdf/3.6.0/intel
20 module list
21
22 #hnum=`hostname | sed -e"s/columbia//"`
23 #fs=/nobackup$hnum
24 #echo $fs
25 #cd $fs/dfer
26 #pwd
27
28 #cp -p -r ~/TEMPO/MITgcm .
29 cd ~/MITgcm/verification
30
31 set tst1=0
32 set tst2=1
33 set tst3=1
34
35 ##### NO MPI + IEEE
36 if ( $tst1 == 1 ) then
37
38 ./testreport -of='linux_ia64_ifort' -match 10 -j 2
39 ../tools/do_tst_2+2
40
41 set tdir0=`ls -dt1 tr_* | grep -v tr_out | head -1`
42 set tdir1=tr_columbia_$date_str
43 mv $tdir0 $tdir1
44 mv tst_2+2_out.txt $tdir1/
45 set tdir2=$tdir1.tar.gz
46 tar -czf $tdir2 $tdir1
47 ../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
48
49 ../tools/do_tst_2+2 -clean
50 ./testreport -clean
51
52 endif
53
54 ##### MPI + IEEE
55 if ( $tst2 == 1 ) then
56
57 ./testreport -of='../tools/build_options/linux_amd64_ifort+mpi_ice_nas' -mpi -match 10 -command='mpiexec_mpt -np 2 ./mitgcmuv' -j 2
58
59 ../tools/do_tst_2+2 -mpi -exe 'mpiexec_mpt -np 2 ./mitgcmuv' -a NONE -o pleiades-ieee
60
61 set tdir0=`ls -dt1 tr_* | grep -v tr_out | head -1`
62 set tdir1=tr_pleiades-ieee_$date_str
63 mv $tdir0 $tdir1
64 mv tst_2+2_out.txt $tdir1/
65 set tdir2=$tdir1.tar.gz
66 tar -czf $tdir2 $tdir1
67 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
68 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 dfer@ocean.mit.edu
69
70 set tdir0=`ls -dt1 rs_* | grep -v tr_out | head -1`
71 #set tdir1=rs_pleiades-ieee_$date_str
72 #mv $tdir0 $tdir1
73 set tdir2=$tdir0.tar.gz
74 tar -czf $tdir2 $tdir0
75 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
76 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 dfer@ocean.mit.edu
77
78 ../tools/do_tst_2+2 -clean
79 ./testreport -clean
80
81 endif
82
83 ##### MPI + NO IEEE
84 if ( $tst3 == 1 ) then
85
86 ./testreport -of='../tools/build_options/linux_amd64_ifort+mpi_ice_nas' -mpi -noieee -match 10 -command='mpiexec_mpt -np 2 ./mitgcmuv' -j 2
87 ../tools/do_tst_2+2 -mpi -exe 'mpiexec_mpt -np 2 ./mitgcmuv' -a NONE -o pleiades-noieee
88
89 set tdir0=`ls -dt1 tr_* | grep -v tr_out | head -1`
90 set tdir1=tr_pleiades-noieee_$date_str
91 mv $tdir0 $tdir1
92 mv tst_2+2_out.txt $tdir1/
93 set tdir2=$tdir1.tar.gz
94 tar -czf $tdir2 $tdir1
95 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
96 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 dfer@ocean.mit.edu
97
98 set tdir0=`ls -dt1 rs_* | grep -v tr_out | head -1`
99 #set tdir1=rs_pleiades-ieee_$date_str
100 #mv $tdir0 $tdir1
101 set tdir2=$tdir0.tar.gz
102 tar -czf $tdir2 $tdir0
103 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
104 #../tools/mpack-1.6/bin/mpack -s MITgcm-test -m 3555000 $tdir2 dfer@ocean.mit.edu
105
106 ../tools/do_tst_2+2 -clean
107 ./testreport -clean
108
109 endif
110
111 exit

  ViewVC Help
Powered by ViewVC 1.1.22