/[MITgcm]/MITgcm/tools/example_scripts/faulks/test_csail_fc9
ViewVC logotype

Annotation of /MITgcm/tools/example_scripts/faulks/test_csail_fc9

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


Revision 1.2 - (hide annotations) (download)
Wed Oct 1 14:42:01 2008 UTC (16 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61f, checkpoint61g, checkpoint61e, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i
Changes since 1.1: +2 -3 lines
testing on hugo.csail : minor modif

1 jmc 1.1 #! /usr/bin/env bash
2    
3 jmc 1.2 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/faulks/test_csail_fc9,v 1.1 2008/07/25 18:08:17 jmc Exp $
4 jmc 1.1
5     # Ed Hill
6    
7     # Test script for MITgcm that should work on most of the csail.mit.edu
8     # Linux machines.
9    
10    
11     # defaults
12     export PATH='/usr/local/bin:/bin:/usr/bin'
13     OPTFILE=
14     TESTDIR="/scratch2/jmc/test_"`hostname`
15     # IEEE="-ieee" <- this is the default
16     MC=10
17    
18    
19     # Turn off stack limit for FIZHI
20     #ulimit -s unlimited <- this is the default
21    
22     echo -n "Creating a temp directory ..."
23     mach=`hostname`
24     tdir=$TESTDIR
25     if test -e $tdir
26     then test -e $tdir/MITgcm && rm -rf $tdir/MITgcm
27     else mkdir $tdir
28     fi
29     echo " done"
30    
31     #- clean-up old output files
32     rm -f $tdir/output_*
33    
34     echo -n "Downloading the MITgcm code from CVS pserver..."
35     cd $tdir
36     #export CVSROOT='/u/gcmpack'
37     #cvs co -P MITgcm > /dev/null 2>&1
38     cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm > /dev/null
39     echo " done"
40     cd MITgcm/verification
41    
42     echo "Running testreport using:"
43 jmc 1.2 comm="./testreport -adm -match $MC -of ../tools/build_options/linux_ia32_gfortran -a jmc@mitgcm.org"
44 jmc 1.1 echo " \"$comm\""
45     echo "======================"
46     echo
47     $comm > $tdir/output_adm 2>&1
48     tail -100 $tdir/output_adm
49    
50    
51     echo
52     echo "======================"
53     echo "Cleaning test directories:"
54     ./testreport -clean > /dev/null 2>&1
55     echo "======================"
56     echo
57    
58     echo "Running testreport using:"
59     comm="./testreport -of ../tools/build_options/linux_ia32_g77 -a jmc@mitgcm.org"
60     echo " \"$comm\""
61     echo "======================"
62     echo
63     $comm > $tdir/output_g77 2>&1
64     tail -100 $tdir/output_g77
65    
66     echo
67     echo "======================"
68     echo "Cleaning test directories:"
69     ./testreport -clean > /dev/null 2>&1
70     echo "======================"
71     echo
72    
73     echo "Running testreport using:"
74     comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_gfortran -a jmc@mitgcm.org"
75     echo " \"$comm\""
76     echo "======================"
77     echo
78     $comm > $tdir/output_gfo 2>&1
79     tail -100 $tdir/output_gfo
80     echo
81     #-- also test restart (test 2+2=4)
82     echo "testing restart using:"
83     comm="../tools/do_tst_2+2 -a jmc@mitgcm.org"
84     echo " \"$comm\""
85     echo "======================"
86     $comm > $tdir/output_2+2 2>&1
87     #tail -100 $tdir/output_2+2
88     echo ; cat tst_2+2_out.txt
89     echo
90    
91     # echo
92     # echo "======================"
93     # echo "Cleaning test directories:"
94     # ./testreport -clean > /dev/null 2>&1
95     # echo "======================"
96     # echo
97    
98     # echo "Running testreport using:"
99     # comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a jmc@mitgcm.org"
100     # echo " \"$comm\""
101     # echo "======================"
102     # echo
103     # $comm > $tdir/output_ifc 2>&1
104     # tail -100 $tdir/output_ifc
105    
106     # echo
107     # echo "======================"
108     # echo "Cleaning test directories:"
109     # ./testreport -clean > /dev/null 2>&1
110     # echo "======================"
111     # echo
112     #
113     # echo "Running testreport using:"
114     # export OMP_NUM_THREADS=2
115     # export KMP_STACKSIZE=400m
116     # comm="./testreport -mth -match $MC -of ../tools/build_options/linux_ia32_ifort.v9+mth -a jmc@mitgcm.org"
117     # echo " \"$comm\""
118     # echo "======================"
119     # echo
120     # $comm > $tdir/output_mth 2>&1
121     # tail -100 $tdir/output_mth
122    

  ViewVC Help
Powered by ViewVC 1.1.22