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

Contents of /MITgcm/tools/example_scripts/nasa_ames/script_testreport

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


Revision 1.1 - (show annotations) (download)
Tue Dec 14 22:44:33 2010 UTC (13 years, 4 months ago) by jmc
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, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, 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
move scripts from tools/example_scripts/columbia

1 #! /usr/bin/env bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/columbia/script_testreport,v 1.3 2009/07/14 13:54:04 dfer Exp $
4 # $Name: $
5
6 #PBS -N Testreport
7 #PBS -l ncpus=2
8 #PBS -l walltime=26:00:00
9 #PBS -V
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 export LC_ALL="en_US.UTF-8"
15
16 date_str=`date +%Y%m%d`"_0"
17
18 . /usr/share/modules/init/bash
19 module purge
20 module load modules intel-comp.10.1.013 mpt.1.16.0.0 pd-netcdf.3.6.0-p1
21 module list
22
23 hnum=`hostname | sed -e"s/columbia//"`
24 fs=/nobackup$hnum
25 echo $fs
26 cd $fs/dfer
27 pwd
28
29 cp -p -r ~/TEMPO/MITgcm .
30 cd MITgcm/verification
31
32 tst1=1
33 tst2=1
34 tst3=1
35
36 ##### NO MPI + IEEE
37 if [ $tst1 -eq 1 ]; then
38
39 ./testreport -of='../tools/build_options/linux_ia64_ifort' -match 10 -j 2
40 ../tools/do_tst_2+2
41
42 tdir0=`ls -dt1 tr_* | grep -v tr_out | head -1`
43 tdir1=tr_columbia_$date_str
44 mv $tdir0 $tdir1
45 mv tst_2+2_out.txt $tdir1/
46 tdir2=$tdir1.tar.gz
47 tar -czf $tdir2 $tdir1
48 ../tools/mpack-1.6/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
49
50 ../tools/do_tst_2+2 -clean
51 ./testreport -clean
52
53 fi
54
55 ##### MPI + IEEE
56 if [ $tst2 -eq 1 ]; then
57
58 ./testreport -of='../tools/build_options/linux_ia64_ifort+mpi_altix_nas' -mpi -match 10 -command='mpirun -np 2 ./mitgcmuv' -j 2
59 ../tools/do_tst_2+2 -mpi -exe 'mpirun -np 2 ./mitgcmuv' -a NONE -o columbia-ieee
60
61 tdir0=`ls -dt1 tr_* | grep -v tr_out | head -1`
62 #sed "s/linux_ia64_ifort+mpi_altix_nas/linux_ia64_ifort+mpi_altix_nas_ieee/" $tdir1/summary.txt > $tdir1/toto
63 #mv -f $tdir1/toto $tdir1/summary.txt
64 tdir1=tr_columbia-ieee_$date_str
65 mv $tdir0 $tdir1
66 mv tst_2+2_out.txt $tdir1/
67 tdir2=$tdir1.tar.gz
68 tar -czf $tdir2 $tdir1
69 ../tools/mpack-1.6/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
70
71 tdir0=`ls -dt1 rs_* | grep -v tr_out | head -1`
72 tdir1=rs_columbia-ieee_$date_str
73 mv $tdir0 $tdir1
74 tdir2=$tdir1.tar.gz
75 tar -czf $tdir2 $tdir1
76 ../tools/mpack-1.6/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
77
78 ../tools/do_tst_2+2 -clean
79 ./testreport -clean
80
81 fi
82
83 ##### MPI + NO IEEE
84 if [ $tst3 -eq 1 ]; then
85
86 ./testreport -of='../tools/build_options/linux_ia64_ifort+mpi_altix_nas' -mpi -noieee -match 10 -command='mpirun -np 2 ./mitgcmuv' -j 2
87 ../tools/do_tst_2+2 -mpi -exe 'mpirun -np 2 ./mitgcmuv'
88
89 tdir0=`ls -dt1 tr_* | grep -v tr_out | head -1`
90 #sed "s/linux_ia64_ifort+mpi_altix_nas/linux_ia64_ifort+mpi_altix_nas_noieee/" $tdir1/summary.txt > $tdir1/toto
91 #mv -f $tdir1/toto $tdir1/summary.txt
92 tdir1=tr_columbia-noieee_$date_str
93 mv $tdir0 $tdir1
94 mv tst_2+2_out.txt $tdir1/
95 tdir2=$tdir1.tar.gz
96 tar -czf $tdir2 $tdir1
97 ../tools/mpack-1.6/mpack -s MITgcm-test -m 3555000 $tdir2 jmc@mitgcm.org
98
99 ../tools/do_tst_2+2 -clean
100 ./testreport -clean
101
102 fi
103
104 exit

  ViewVC Help
Powered by ViewVC 1.1.22