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

Contents of /MITgcm/tools/example_scripts/faulks/test_lcs_fc5

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


Revision 1.4 - (show annotations) (download)
Sat May 20 21:39:18 2006 UTC (17 years, 11 months ago) by edhill
Branch: MAIN
CVS Tags: checkpoint58l_post, checkpoint58k_post, checkpoint58h_post, checkpoint58f_post, checkpoint58m_post, checkpoint58j_post, checkpoint58i_post, checkpoint58g_post
Changes since 1.3: +3 -9 lines
remove redundant lines and make g77 explicit for the adjoint tests

1 #! /usr/bin/env bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/faulks/test_lcs_fc5,v 1.3 2006/05/20 21:22:42 edhill Exp $
4
5 # Ed Hill
6
7 # Test script for MITgcm that should work on most of the lcs.mit.edu
8 # Linux machines.
9
10
11 # defaults
12 export PATH='/usr/local/bin:/bin:/usr/bin'
13 OPTFILE=
14 TESTDIR="/scratch/edhill/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 test -e $tdir && rm -rf $tdir
25 mkdir $tdir
26 echo " done"
27
28 echo -n "Downloading the MITgcm code from CVS pserver..."
29 cd $tdir
30 export CVSROOT='/u/gcmpack'
31 cvs co MITgcm > /dev/null 2>&1
32 echo " done"
33 cd MITgcm/verification
34
35
36 echo "Running testreport using:"
37 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_g77 -a edhill@mitgcm.org"
38 echo " \"$comm\""
39 echo "======================"
40 echo
41 $comm | tail -100
42
43 echo
44 echo "======================"
45 echo "Cleaning test directories:"
46 ./testreport -clean > /dev/null 2>&1
47 echo "======================"
48 echo
49
50 echo "Running testreport using:"
51 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_gfortran -a edhill@mitgcm.org"
52 echo " \"$comm\""
53 echo "======================"
54 echo
55 $comm | tail -100
56
57 echo
58 echo "======================"
59 echo "Cleaning test directories:"
60 ./testreport -clean > /dev/null 2>&1
61 echo "======================"
62 echo
63
64 echo "Running testreport using:"
65 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org"
66 echo " \"$comm\""
67 echo "======================"
68 echo
69 $comm | tail -100
70
71 echo
72 echo "======================"
73 echo "Cleaning test directories:"
74 ./testreport -clean > /dev/null 2>&1
75 echo "======================"
76 echo
77
78 echo "Running testreport using:"
79 export PGI=/usr/local/pkg/pgi/pgi-6.1-5
80 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -a edhill@mitgcm.org"
81 echo " \"$comm\""
82 echo "======================"
83 echo
84 $comm | tail -100
85
86 echo
87 echo "======================"
88 echo "Cleaning test directories:"
89 ./testreport -clean > /dev/null 2>&1
90 echo "======================"
91 echo
92
93 echo "Running testreport using:"
94 comm="./testreport -adm $IEEE -of ../tools/build_options/linux_ia32_g77 -a edhill@mitgcm.org"
95 echo " \"$comm\""
96 echo "======================"
97 echo
98 $comm | tail -100
99

  ViewVC Help
Powered by ViewVC 1.1.22