qsub

From: Swarna Patra (swarna_at_physics.usyd.edu.au)
Date: Mon Jan 24 2005 - 23:02:37 CST

Hi
can any one tell me what is wrong in my script...when I submit the job it
run once and stops even though l value is <5.

!/bin/bash
#PBS -P f91
#PBS -q express
#PBS -l walltime=01:00:00
#PBS -l vmem=600MB
#PBS -l ncpus=4
#PBS -l software=namd
#PBS -l other=mpi
#PBS -wd

USE_NAMD=1;export USE_NAMD
USE_DOT=1;export USE_DOT
. /opt/etc/system_profile

#-------------------------------------------------------------------
# Please add your commands after the last line:
#-------------------------------------------------------------------
# - Environment variables for program execution
# - change this line if running an OpenMP program
config
l1="$(cat counter)"
prun namd2 ./smd.kcsa.conf > out_ext_cav1/log.$l1
l=$((l1-1))
while [ $l -lt 5 ]; do
qsub jbscrpt1
echo $l >>t1
done

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:08 CST