#!/bin/sh # ## Submit this job with the command "sbatch job.in" where job.in is what you choose the name of this file to be. ## The line below is the information for the queueing system. Time is in minutes. mem=1000 is probably the maximum. ## Choose what you want in place of "jobname". #SBATCH --time=720 --nodes=1 --ntasks-per-node=1 --mem=1000 --job-name=jobname --output=jobname.out source /home/users/seth/ADF/programming/profile_trunk.sh source $HOME/.bashrc module load mpi intel #this must be 1 for a serial calculation. export NSCM="1" ## The next commands make a scratch directory in the directory that you are running from. ## An alternative place might be /scratch/myname jobname=myjobname WORKDIR=$PWD/$jobname rm -r $WORKDIR mkdir $WORKDIR cd $WORKDIR $ADFBIN/adf <