/[MITgcm]/MITgcm_contrib/test_scripts/model/mitgcmtestreport
ViewVC logotype

Contents of /MITgcm_contrib/test_scripts/model/mitgcmtestreport

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


Revision 1.2 - (show annotations) (download)
Thu Jun 2 12:51:56 2016 UTC (9 years, 1 month ago) by mlosch
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
FILE REMOVED
- add scripts to run testreport on ollie
- remove directories that belong to machines that are long gone

1 #!/bin/csh -x
2 #$Header: /u/gcmpack/MITgcm_contrib/test_scripts/model/mitgcmtestreport,v 1.1 2006/09/06 08:29:16 mlosch Exp $
3 #$Name: $
4 # select the queue you want to run on
5 #$ -q model.q
6 # give the job a name
7 #$ -N mitgcm_mpf77
8 # specify cluster runtime environment and request 20 CPUs (only for batch)
9 ## -pe cre 20
10 #
11 # o Where to write output
12 #$ -e /home/model/mlosch/err_mpf77
13 #$ -o /home/model/mlosch/out_mpf77
14 #
15 # o Export all my environment variables to the job
16 #$ -V
17 #
18
19 set VENDOR=mpf77
20 set RUNIT="runit_"$VENDOR
21 set HERE=$cwd
22 set EXE='mprun -np 2 ./mitgcmuv'
23
24 cat << EOF > $HERE/$RUNIT
25 #!/bin/csh
26
27 $EXE
28
29 cp STDOUT.0000 output.txt
30
31 EOF
32 chmod a+x $RUNIT
33
34 set COMMAND=$HERE/$RUNIT
35
36 set TDIR=/model/scratch/mlosch/tmp_$VENDOR
37 if ( -e $TDIR ) then
38 rm -rf $TDIR
39 endif
40 mkdir $TDIR
41 cd $TDIR
42 cvs -d :pserver:cvsanon@mitgcm.org:/u/gcmpack co MITgcm >& cvs_co.log
43 if ( $status > 0 ) then
44 cat cvs_co.log
45 endif
46
47 cd MITgcm/verification
48 set OPTFILE=../tools/build_options/sunos_sun4u_mpf77+mpi_sunfire
49 ./testreport -postclean -mpi -of $OPTFILE -command $COMMAND -a 'edhill@mitgcm.org' >& /dev/null

  ViewVC Help
Powered by ViewVC 1.1.22