#!/bin/csh #PBS -l ncpus=16 #PBS -l walltime=10:00 #PBS -o packing.out #PBS -j oe #PBS -q debug # make the module command available, and load the molpro module source /usr/share/modules/init/csh module load molpro set echo # copy the input file to $SCRATCH cp ~/molpro/fci.inp $SCRATCH # move to $SCRATCH to run the job cd $SCRATCH # run two smaller jobs dplace -c 0 molpro -n 8 -d $SCRATCH_RAMDISK fci.inp -o out1 & dplace -c 8 molpro -n 8 -d $SCRATCH_RAMDISK fci.inp -o out2 & wait # copy output files back to home directory tree cp out1 ~/molpro cp out2 ~/molpro cp test.log ~/molpro