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 |
HERE="$HOME/test_$dNam" |
QSUB="/usr/bin/sbatch" |
21 |
TST_DIR="/net/fs09/d0/jm_c/test_${dNam}" |
QSTAT="/usr/bin/qstat" |
22 |
|
dNam='svante' |
23 |
|
HERE="$HOME/test_${dNam}" |
24 |
|
TST_DISK="/net/fs09/d0" |
25 |
|
TST_DIR="$TST_DISK/jm_c/test_${dNam}" |
26 |
logPfix='test_submit' |
logPfix='test_submit' |
27 |
|
|
28 |
SUB_DIR="$HERE/$dNam" |
SUB_DIR="$HERE/$dNam" |
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: |
71 |
exp2add='' |
exp2add='' |
72 |
updFile='updated_code' |
updFile='updated_code' |
73 |
|
|
74 |
|
echo "cd $TST_DISK ; pwd (x2)" | tee -a $LOG_FIL |
75 |
|
cd $TST_DISK | tee -a $LOG_FIL 2>&1 |
76 |
|
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 |
82 |
mkdir $TST_DIR |
mkdir $TST_DIR |
83 |
retVal=$? |
retVal=$? |
84 |
if test "x$retVal" != x0 ; then |
if test "x$retVal" != x0 ; then |