/[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.3 - (hide annotations) (download)
Tue Jun 16 18:56:23 2015 UTC (10 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.2: +2 -2 lines
change nodes, from "nehalem" to "sandy"

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.3 # $Header: /u/gcmpack/MITgcm_contrib/test_scripts/svante/run_tst_ifc.pbs,v 1.2 2015/04/11 14:21:18 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     HERE="$HOME/test_$dNam"
25     OUTP="$HERE/output"; SavD="$HERE/send"
26     SEND="ssh svante $SavD/mpack"
27 jmc 1.2 TST_DIR="/net/fs09/d0/jm_c/test_${dNam}"
28 jmc 1.1
29     if test -d $TST_DIR ; then
30     echo "start from TST_DIR='$TST_DIR' at: "`date`
31     else
32     echo "ERROR: missing directory \"$TST_DIR\""
33     exit 1
34     fi
35    
36     sfx='ifc'
37    
38     module add intel
39     module add mvapich2
40     OPTFILE="../tools/build_options/linux_amd64_ifort11"
41     options="-MPI 6 -ro"
42     #options="$options -t hs94.cs-32x32x5"
43     #EXE="mpirun -v -all-local -np TR_NPROC ./mitgcmuv"
44    
45     dInWeek=`date +%a`
46     if test "x$dInWeek" = xSun ; then
47     options="$options -fast"
48     #else
49     # options="$options -devel"
50     fi
51    
52     #- need this to get "staf":
53     #export PATH="$PATH:$HOME/bin"
54    
55     gcmDIR="MITgcm_$sfx"
56     cd $TST_DIR
57    
58     #- change dir to $gcmDIR/verification dir:
59     if test -e $gcmDIR/verification ; then
60     if [ $checkOut -lt 2 ] ; then
61     echo " dir $gcmDIR/verification exist" ; fi
62     cd $gcmDIR/verification
63     else
64     echo "no dir: $gcmDIR/verification => exit"
65     exit
66     fi
67    
68     echo ./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \
69     -send \"$SEND\" -sd $SavD -a jmc@mitgcm.org
70     ./testreport $options -of $OPTFILE -odir ${dNam}-$sfx \
71     -send "$SEND" -sd $SavD -a jmc@mitgcm.org
72    
73    
74     echo ''
75     #echo ../tools/do_tst_2+2 -mpi -exe \"$EXE\" -o ${dNam}-$sfx \
76     #../tools/do_tst_2+2 -mpi -exe "$EXE" -o ${dNam}-$sfx \
77     echo ../tools/do_tst_2+2 -mpi -o ${dNam}-$sfx \
78     -send \"$SEND\" -sd $SavD -a jmc@mitgcm.org
79     ../tools/do_tst_2+2 -mpi -o ${dNam}-$sfx \
80     -send "$SEND" -sd $SavD -a jmc@mitgcm.org
81    
82     exit

  ViewVC Help
Powered by ViewVC 1.1.22