/[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.12 - (show annotations) (download)
Wed Mar 25 21:02:22 2009 UTC (15 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
remove old version (run by Ed)

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 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 -P MITgcm > /dev/null 2>&1
32 echo " done"
33 cd MITgcm/verification
34
35 echo "Running testreport using:"
36 comm="./testreport -adm $IEEE -a edhill@mitgcm.org"
37 echo " \"$comm\""
38 echo "======================"
39 echo
40 $comm | tail -100
41
42 echo
43 echo "======================"
44 echo "Cleaning test directories:"
45 ./testreport -clean > /dev/null 2>&1
46 echo "======================"
47 echo
48
49 echo "Running testreport using:"
50 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_g77 -a edhill@mitgcm.org"
51 echo " \"$comm\""
52 echo "======================"
53 echo
54 $comm | tail -100
55
56 echo
57 echo "======================"
58 echo "Cleaning test directories:"
59 ./testreport -clean > /dev/null 2>&1
60 echo "======================"
61 echo
62
63 echo "Running testreport using:"
64 export PGI=/usr/local/pkg/pgi/pgi-6.1-5
65 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -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 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_gfortran -a edhill@mitgcm.org"
80 echo " \"$comm\""
81 echo "======================"
82 echo
83 $comm | tail -100
84
85 echo
86 echo "======================"
87 echo "Cleaning test directories:"
88 ./testreport -clean > /dev/null 2>&1
89 echo "======================"
90 echo
91
92 echo "Running testreport using:"
93 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org"
94 echo " \"$comm\""
95 echo "======================"
96 echo
97 $comm | tail -100
98
99 echo
100 echo "======================"
101 echo "Cleaning test directories:"
102 ./testreport -clean > /dev/null 2>&1
103 echo "======================"
104 echo
105
106 echo "Running testreport using:"
107 export OMP_NUM_THREADS=2
108 export KMP_STACKSIZE=400m
109 comm="./testreport -mth -of ../tools/build_options/linux_ia32_ifort.v9+mth -a edhill@mitgcm.org"
110 echo " \"$comm\""
111 echo "======================"
112 echo
113 $comm | tail -100
114

  ViewVC Help
Powered by ViewVC 1.1.22