#!/bin/bash #PBS -N SW_Si_Tm2 #PBS -j oe #PBS -l nodes=1:ppn=8,walltime=09:00:00 #PBS -V ### --------------------------------------- ### BEGINNING OF EXECUTION ### --------------------------------------- echo The master node of this job is `hostname` echo The working directory is `echo $PBS_O_WORKDIR` echo This job runs on the following nodes: echo `cat $PBS_NODEFILE` ncpu=`cat $PBS_NODEFILE | wc -w` echo "Number of processors = $ncpu " ### end of information preamble cd $PBS_O_WORKDIR #echo $PWD #lamboot $PBS_NODEFILE # starts lam on the specified nodes #echo $PWD declare -i b b1 b=9 b1=16 while (( $b <= $b1)) do cmd="./bin/sworig_wcr scripts/work/melting/melting_cubic.tcl $b 1 SW_Si" $cmd& let b+=1 done wait #wipe $PBS_NODEFILE