#!/bin/csh
#$ -S /bin/csh
#$ -cwd
#$ -o output.error
#$ -e output.error
#$ -j y
#####$ -l cpu600
#$ -l i386=true
#$ -l scratch=1G
#$ -r y
#$ -N loop
#$ -p -4
#$ -t 1-iteration
#####node limitation
#####$ -l modloop

set tasks=( TOPFILES  )

set input=$tasks[$SGE_TASK_ID]

# Create local scratch directory
set tmpdir="/scratch/modloop/$JOB_ID/$SGE_TASK_ID"
mkdir -p $tmpdir
cd $tmpdir

# Get input files
cp DIR/$input DIR/pdb*AF*pdb .

/diva1/home/modeller/mod7v7 $input

# Copy back outputs
cp *.B* *.log DIR

rm -rf $tmpdir

#!/bin/csh
#$ -S /bin/csh
#$ -cwd
#$ -o output.error
#$ -e output.error
#$ -j y
#####$ -l cpu600
#$ -l i386=true
#$ -l scratch=1G
#$ -r y
#$ -N loop
#$ -p -10
#$ -t 1-iteration
#####node limitation
#####$ -l modloop

set tasks=( TOPFILES  )

set input=$tasks[$SGE_TASK_ID]

# Create local scratch directory
set tmpdir="/scratch/modloop/$JOB_ID/$SGE_TASK_ID"
mkdir -p $tmpdir
cd $tmpdir

# Get input files
cp DIR/$input DIR/pdb*AF*pdb .

/diva1/home/modeller/mod7v7 $input

# Copy back outputs
cp *.B* *.log DIR

rm -rf $tmpdir

Use lower priority for SGE submissions.
Use lower priority for SGE submissions.

