/[MITgcm]/MITgcm_contrib/test_scripts/svante/run_tst_ifc.pbs
ViewVC logotype

Annotation of /MITgcm_contrib/test_scripts/svante/run_tst_ifc.pbs

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


Revision 1.5 - (hide annotations) (download)
Wed Jan 27 22:45:34 2016 UTC (9 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.4: +5 -3 lines
add a "cd" to /net/fs09/d0 disk before checking if dir there exist

1 jmc 1.1 #!/bin/bash
2     #
3     #PBS -q short
4     #PBS -N run_tst_ifc
5 jmc 1.3 #PBS -l nodes=1:ppn=6:sandy
6 jmc 1.1 #PBS -e /home/jm_c/test_svante/output/run_tst_ifc.stderr
7     #PBS -o /home/jm_c/test_svante/output/run_tst_ifc.stdout
8     ##PBS -j oe
9    
10 jmc 1.5 # $Header: /u/gcmpack/MITgcm_contrib/test_scripts/svante/run_tst_ifc.pbs,v 1.4 2015/11/08 17:30:45 jmc Exp $
11 jmc 1.1
12     if test -f /etc/profile.d/modules.sh ; then
13     . /etc/profile.d/modules.sh
14     fi
15     # Note: added "limit stacksize unlimited" in file "~/.tcshrc"
16     # to pass big test (the 2 fizhi-cs-* test & adjoint tests) with MPI
17    
18     umask 0022
19     #- to get case insensitive "ls" (and order of tested experiments)
20     export LC_ALL="en_US.UTF-8"
21     echo " running on: "`hostname`
22    
23     dNam='svante'
24 jmc 1.5 HERE="$HOME/test_${dNam}"
25 jmc 1.1 OUTP="$HERE/output"; SavD="$HERE/send"
26     SEND="ssh svante $SavD/mpack"
27 jmc 1.5 TST_DISK="/net/fs09/d0/jm_c"
28     TST_DIR="$TST_DISK/test_${dNam}"
29 jmc 1.1
30 jmc 1.5 cd $TST_DISK ; pwd
31 jmc 1.1 if test -d $TST_DIR ; then
32     echo "start from TST_DIR='$TST_DIR' at: "`date`
33     else
34     echo "ERROR: missing directory \"$TST_DIR\""
35     exit 1
36     fi
37    
38     sfx='ifc'
39    
40     module add intel
41     module add mvapich2
42     OPTFILE="../tools/build_options/linux_amd64_ifort11"
43     options="-MPI 6 -ro"
44     #options="$options -t hs94.cs-32x32x5"
45     #EXE="mpirun -v -all-local -np TR_NPROC ./mitgcmuv"
46    
47     dInWeek=`date +%a`
48     if test "x$dInWeek" = xSun ; then
49     options="$options -fast"
50     #else
51     # options="$options -devel"
52     fi
53    
54     #- need this to get "staf":
55     #export PATH="$PATH:$HOME/bin"
56    
57     gcmDIR="MITgcm_$sfx"
58     cd $TST_DIR
59    
60     #- change dir to $gcmDIR/verification dir:
61     if test -e $gcmDIR/verification ; then
62 jmc 1.4 echo " dir $gcmDIR/verification exist"
63 jmc 1.1 cd $gcmDIR/verification
64     else
65     echo "no dir: $gcmDIR/verification => exit"
66     exit
67     fi
68    
69     echo ./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \
70     -send \"$SEND\" -sd $SavD -a jmc@mitgcm.org
71     ./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \
72     -send "$SEND" -sd $SavD -a jmc@mitgcm.org
73    
74    
75     echo ''
76     #echo ../tools/do_tst_2+2 -mpi -exe \"$EXE\" -o ${dNam}-$sfx \
77     #../tools/do_tst_2+2 -mpi -exe "$EXE" -o ${dNam}-$sfx \
78     echo ../tools/do_tst_2+2 -mpi -o ${dNam}-$sfx \
79     -send \"$SEND\" -sd $SavD -a jmc@mitgcm.org
80     ../tools/do_tst_2+2 -mpi -o ${dNam}-$sfx \
81     -send "$SEND" -sd $SavD -a jmc@mitgcm.org
82    
83     exit

  ViewVC Help
Powered by ViewVC 1.1.22