#! /bin/csh #PBS -l walltime=5:00 #PBS -l ncpus=16 #PBS -o attr.out #PBS -j oe # start accounting # ja # make 'module' available source /usr/share/modules/init/csh set echo module load hdf5 # move to scratch directory cd $SCRATCH # copy over source code and file created in dsetexample cp ~/hdf/attrexample.f90 . cp ~/hdf/dsetf.h5 . h5fc -o attrexample -g attrexample.f90 chmod u+x attrexample ./attrexample # copy output file back to hdf subdirectory cp dsetf.h5 $HOME/hdf # get accounting stats ja -chslt