#@ class = regular
#@ shell = /usr/bin/csh
#@ node = 1
#@ total_tasks = 16
#@ network.MPI = csss,not_shared,us 
#@ wall_clock_limit = 8:00:00
#@ node_usage = not_shared
#@ notification = never
#@ job_type = parallel
#@ output = $(host).$(jobid).$(stepid).out
#@ error = $(host).$(jobid).$(stepid).err
#@ account_no = m68
#@ job_name = PM
#@ queue

# submit with llsubmit.

# Copy the executable and set up the input files.

cd $SCRATCH/PM/OS15A/

# Run the IC code.
poe ./tpmcdm_ic_mpi -nodes 1 -procs 16

# Run the PM code.
poe ./mpipm tpmsph_ic 16 1 -nodes 1 -procs 16

#
if !(-f pm_fin.bin) llsubmit restart.csh
#
