Commit 3a28258c authored by Ali Safari's avatar Ali Safari
Browse files

asas

parent 7ec28b83
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
#!/bin/bash -l
#
# allocate 16 nodes (64 CPUs) for 6 hours
#PBS -l nodes=4:ppn=40,walltime=16:00:00
#PBS -l nodes=4:ppn=40,walltime=01:00:00
#
# job name 
#PBS -N TestAval
@@ -9,6 +9,8 @@
# stdout and stderr files
#PBS -o aval.out -e aval.err
#
#PBS -q devel
#
# first non-empty non-comment line ends PBS options

# jobs always start in $HOME -
@@ -29,6 +31,7 @@ if [ ! "${HOSTN#ww8}" == "$(hostname)" ]; then
  echo  "Hi:   $SIMPATH/$INPUTFILE"
  $EXEC "$SIMPATH/$INPUTFILE"
else
  echo  "Hi:   $SIMPATH/$INPUTFILE"
  mkdir ${HOME}/$PBS_JOBID
  cd ${HOME}/$PBS_JOBID
  module load intel64