monocongo / climate_learn

Deep learning for climate modeling.
BSD 3-Clause "New" or "Revised" License
39 stars 22 forks source link

Create PBS script for batch processing on UMichigan cluster (flux) #18

Open monocongo opened 6 years ago

monocongo commented 6 years ago

Create PBS batch processing script for running a ML model using CAM inputs/outputs.

Script template:

####  PBS preamble

#PBS -N PBS_test_script
#PBS -M uniqname@umich.edu
#PBS -m abe

#PBS -A example_flux
#PBS -l qos=flux
#PBS -q flux

#PBS -l nodes=4:ppn=2,pmem=2gb
#PBS -l walltime=1:15:00
#PBS -j oe
#PBS -V

####  End PBS preamble

if [ -s "$PBS_NODEFILE" ] ; then
    echo "Running on"
    cat $PBS_NODEFILE
fi

if [ -d "$PBS_O_WORKDIR" ] ; then
    cd $PBS_O_WORKDIR
    echo "Running from $PBS_O_WORKDIR"
fi

#  Put your job commands after this line
echo "Hello, world."