/[MITgcm]/MITgcm_contrib/test_scripts/svante/test_submit_svante
ViewVC logotype

Diff of /MITgcm_contrib/test_scripts/svante/test_submit_svante

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

revision 1.3 by jmc, Sat Apr 16 14:55:05 2016 UTC revision 1.5 by jmc, Thu Dec 29 22:05:32 2016 UTC
# Line 14  else Line 14  else
14    TEST_LIST=$*    TEST_LIST=$*
15  fi  fi
16    
17  QSUB="qsub"  #QSUB="qsub"
18  QSTAT="qstat"  #QSTAT="qstat"
19  dNam=`hostname -s`  #dNam=`hostname -s`
20    QSUB="/usr/bin/sbatch"
21    QSTAT="/usr/bin/qstat"
22    dNam='svante'
23  HERE="$HOME/test_${dNam}"  HERE="$HOME/test_${dNam}"
24  TST_DISK="/net/fs09/d0"  TST_DISK="/net/fs09/d0"
25  TST_DIR="$TST_DISK/jm_c/test_${dNam}"  TST_DIR="$TST_DISK/jm_c/test_${dNam}"
# Line 51  export LC_ALL="en_US.UTF-8" Line 54  export LC_ALL="en_US.UTF-8"
54  #  Turn off stack limit for FIZHI & AD-tests  #  Turn off stack limit for FIZHI & AD-tests
55  ulimit -s unlimited  ulimit -s unlimited
56    
57  if test -f /etc/profile.d/modules.sh ; then  if test -f /etc/profile.d/modules.sh    ; then . /etc/profile.d/modules.sh    ; fi
58      . /etc/profile.d/modules.sh  if test -f /etc/profile.d/zz_modules.sh ; then . /etc/profile.d/zz_modules.sh ; fi
 fi  
59  #- load standard modules:  #- load standard modules:
60  module add fedora torque maui svante  #module add fedora slurm maui svante
61    module add slurm
62  module list                                             >> $LOG_FIL 2>&1  module list                                             >> $LOG_FIL 2>&1
63    
64  #- method to acces CVS:  #- method to acces CVS:
# Line 68  gcmDIR='MITgcm' Line 71  gcmDIR='MITgcm'
71  exp2add=''  exp2add=''
72  updFile='updated_code'  updFile='updated_code'
73    
74  echo "cd $TST_DISK ; pwd" | tee -a $LOG_FIL  echo "cd $TST_DISK ; pwd (x2)" | tee -a $LOG_FIL
75  cd $TST_DISK    | tee -a $LOG_FIL 2>&1  cd $TST_DISK    | tee -a $LOG_FIL 2>&1
76  pwd             | tee -a $LOG_FIL  pwd             | tee -a $LOG_FIL
77    sleep 30
78    pwd             | tee -a $LOG_FIL
79  if test ! -d $TST_DIR ; then  if test ! -d $TST_DIR ; then
80     echo -n "Creating a working dir: $TST_DIR ..."       | tee -a $LOG_FIL     echo -n "Creating a working dir: $TST_DIR ..."       | tee -a $LOG_FIL
81    #/bin/rm -rf $TST_DIR    #/bin/rm -rf $TST_DIR

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22