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

Annotation 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 - (hide annotations) (download)
Sat May 20 21:39:18 2006 UTC (18 years 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 edhill 1.1 #! /usr/bin/env bash
2    
3 edhill 1.4 # $Header: /u/gcmpack/MITgcm/tools/example_scripts/faulks/test_lcs_fc5,v 1.3 2006/05/20 21:22:42 edhill Exp $
4 edhill 1.1
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 edhill 1.3 tdir=$TESTDIR
24 edhill 1.1 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 edhill 1.4 cd MITgcm/verification
34 edhill 1.1
35 edhill 1.3
36 edhill 1.1 echo "Running testreport using:"
37 edhill 1.3 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 edhill 1.1 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 edhill 1.2 comm="./testreport $IEEE -of ../tools/build_options/linux_ia32_ifort+authors_v9 -a edhill@mitgcm.org"
66 edhill 1.1 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 edhill 1.4 comm="./testreport -adm $IEEE -of ../tools/build_options/linux_ia32_g77 -a edhill@mitgcm.org"
95 edhill 1.1 echo " \"$comm\""
96     echo "======================"
97     echo
98     $comm | tail -100
99    

  ViewVC Help
Powered by ViewVC 1.1.22