/[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.5 - (show annotations) (download)
Fri Nov 30 17:05:50 2007 UTC (17 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59k, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint60, checkpoint61
Changes since 1.4: +7 -7 lines
Send output to a different email address
 (changed from edhill@mitgcm.org to jmc@mitgcm.org)

1 #! /usr/bin/env bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/faulks/test_csail_fc5,v 1.4 2007/09/29 21:49:51 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 MC=10
17
18
19 # Turn off stack limit for FIZHI
20 ulimit -s unlimited
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 echo " done"
39 cd MITgcm/verification
40
41 echo "Running testreport using:"
42 comm="./testreport -adm -a jmc@mitgcm.org"
43 echo " \"$comm\""
44 echo "======================"
45 echo
46 $comm > $tdir/output_adm 2>&1
47 tail -100 $tdir/output_adm
48
49
50 echo
51 echo "======================"
52 echo "Cleaning test directories:"
53 ./testreport -clean > /dev/null 2>&1
54 echo "======================"
55 echo
56
57 echo "Running testreport using:"
58 comm="./testreport -of ../tools/build_options/linux_ia32_g77 -a jmc@mitgcm.org"
59 echo " \"$comm\""
60 echo "======================"
61 echo
62 $comm > $tdir/output_g77 2>&1
63 tail -100 $tdir/output_g77
64
65 echo
66 echo "======================"
67 echo "Cleaning test directories:"
68 ./testreport -clean > /dev/null 2>&1
69 echo "======================"
70 echo
71
72 echo "Running testreport using:"
73 export PGI=/usr/local/pkg/pgi/pgi-6.1-5
74 comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -a jmc@mitgcm.org"
75 echo " \"$comm\""
76 echo "======================"
77 echo
78 $comm > $tdir/output_pgi 2>&1
79 tail -100 $tdir/output_pgi
80
81 echo
82 echo "======================"
83 echo "Cleaning test directories:"
84 ./testreport -clean > /dev/null 2>&1
85 echo "======================"
86 echo
87
88 echo "Running testreport using:"
89 comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_gfortran -a jmc@mitgcm.org"
90 echo " \"$comm\""
91 echo "======================"
92 echo
93 $comm > $tdir/output_gfo 2>&1
94 tail -100 $tdir/output_gfo
95
96 echo
97 echo "======================"
98 echo "Cleaning test directories:"
99 ./testreport -clean > /dev/null 2>&1
100 echo "======================"
101 echo
102
103 echo "Running testreport using:"
104 comm="./testreport -match $MC -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a jmc@mitgcm.org"
105 echo " \"$comm\""
106 echo "======================"
107 echo
108 $comm > $tdir/output_ifc 2>&1
109 tail -100 $tdir/output_ifc
110
111 echo
112 echo "======================"
113 echo "Cleaning test directories:"
114 ./testreport -clean > /dev/null 2>&1
115 echo "======================"
116 echo
117
118 echo "Running testreport using:"
119 export OMP_NUM_THREADS=2
120 export KMP_STACKSIZE=400m
121 comm="./testreport -mth -match $MC -of ../tools/build_options/linux_ia32_ifort.v9+mth -a jmc@mitgcm.org"
122 echo " \"$comm\""
123 echo "======================"
124 echo
125 $comm > $tdir/output_mth 2>&1
126 tail -100 $tdir/output_mth
127

  ViewVC Help
Powered by ViewVC 1.1.22