#!/bin/bash ### Job name #PBS -N test ### Job output #PBS -j oe ### Standard error and output mixed into output ### Not really necessary, will be jobname.ojobnumber in the work directory #PBS -o /home/nis/gmagyarf/test.log ### Which node to run on, or other resources required ###PBS -l host=ca ### Host physical memory could be important for real big jobs ###PBS -l pmem=2GB ### Mail on abort and end. Works fine, worth using #PBS -m ae ### address is only needed for external email if no .forward exists #PBS -M gmagyarf@gmail.com # This job's working directory echo Working directory is $PBS_O_WORKDIR cd $PBS_O_WORKDIR echo Submitted on host $PBS_O_HOST echo Running on `hostname` echo Time is `date` g03 a ### -w stagein and stageout options make more convoluted setups possible ### see man qsub echo rm /scr/$USER/Gau*