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

Contents of /MITgcm/tools/example_scripts/faulks/test_csail_fc5

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


Revision 1.1 - (show annotations) (download)
Sat Aug 11 17:26:36 2007 UTC (17 years, 7 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59g, checkpoint59f
run testing on eddy.csail.mit.edu (fc5) as jmc

1 #! /usr/bin/env bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/faulks/test_lcs_fc5,v 1.11 2007/03/27 15:56:32 jmc Exp $
4
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="/scratch/jmc/test_"`hostname`
15 IEEE="-ieee"
16
17
18 # Turn off stack limit for FIZHI
19 ulimit -s unlimited
20
21 echo -n "Creating a temp directory ..."
22 mach=`hostname`
23 tdir=$TESTDIR
24 if test -e $tdir
25 then test -e $tdir/MITgcm && rm -rf $tdir/MITgcm
26 else mkdir $tdir
27 fi
28 echo " done"
29
30 echo -n "Downloading the MITgcm code from CVS pserver..."
31 cd $tdir
32 export CVSROOT='/u/gcmpack'
33 cvs co -P MITgcm > /dev/null 2>&1
34 echo " done"
35 cd MITgcm/verification
36
37 echo "Running testreport using:"
38 comm="./testreport -adm $IEEE -a edhill@mitgcm.org"
39 echo " \"$comm\""
40 echo "======================"
41 echo
42 $comm | tail -100
43
44 echo
45 echo "======================"
46 echo "Cleaning test directories:"
47 ./testreport -clean > /dev/null 2>&1
48 echo "======================"
49 echo
50
51 echo "Running testreport using:"
52 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_g77 -a edhill@mitgcm.org"
53 echo " \"$comm\""
54 echo "======================"
55 echo
56 $comm | tail -100
57
58 echo
59 echo "======================"
60 echo "Cleaning test directories:"
61 ./testreport -clean > /dev/null 2>&1
62 echo "======================"
63 echo
64
65 echo "Running testreport using:"
66 export PGI=/usr/local/pkg/pgi/pgi-6.1-5
67 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -a edhill@mitgcm.org"
68 echo " \"$comm\""
69 echo "======================"
70 echo
71 $comm | tail -100
72
73 echo
74 echo "======================"
75 echo "Cleaning test directories:"
76 ./testreport -clean > /dev/null 2>&1
77 echo "======================"
78 echo
79
80 echo "Running testreport using:"
81 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_gfortran -a edhill@mitgcm.org"
82 echo " \"$comm\""
83 echo "======================"
84 echo
85 $comm | tail -100
86
87 echo
88 echo "======================"
89 echo "Cleaning test directories:"
90 ./testreport -clean > /dev/null 2>&1
91 echo "======================"
92 echo
93
94 echo "Running testreport using:"
95 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org"
96 echo " \"$comm\""
97 echo "======================"
98 echo
99 $comm | tail -100
100
101 echo
102 echo "======================"
103 echo "Cleaning test directories:"
104 ./testreport -clean > /dev/null 2>&1
105 echo "======================"
106 echo
107
108 echo "Running testreport using:"
109 export OMP_NUM_THREADS=2
110 export KMP_STACKSIZE=400m
111 comm="./testreport -mth -of ../tools/build_options/linux_ia32_ifort.v9+mth -a edhill@mitgcm.org"
112 echo " \"$comm\""
113 echo "======================"
114 echo
115 $comm | tail -100
116

  ViewVC Help
Powered by ViewVC 1.1.22