/[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.10 - (show annotations) (download)
Mon Nov 27 17:43:42 2006 UTC (17 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: mitgcm_mapl_00, checkpoint58v_post, checkpoint58w_post, checkpoint58s_post, checkpoint58t_post, checkpoint58u_post
Changes since 1.9: +2 -2 lines
add "-P" option (cvs co -P MITgcm) when downloading the code.

1 #! /usr/bin/env bash
2
3 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/faulks/test_lcs_fc5,v 1.9 2006/11/20 20:14:14 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 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_gfortran -a edhill@mitgcm.org"
65 echo " \"$comm\""
66 echo "======================"
67 echo
68 $comm | tail -100
69
70 echo
71 echo "======================"
72 echo "Cleaning test directories:"
73 ./testreport -clean > /dev/null 2>&1
74 echo "======================"
75 echo
76
77 echo "Running testreport using:"
78 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org"
79 echo " \"$comm\""
80 echo "======================"
81 echo
82 $comm | tail -100
83
84 echo
85 echo "======================"
86 echo "Cleaning test directories:"
87 ./testreport -clean > /dev/null 2>&1
88 echo "======================"
89 echo
90
91 echo "Running testreport using:"
92 export PGI=/usr/local/pkg/pgi/pgi-6.1-5
93 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_pgf77+authors_fc5 -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