climate_learn icon indicating copy to clipboard operation
climate_learn copied to clipboard

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

Open monocongo opened this issue 7 years ago • 0 comments

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 [email protected]
#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."

monocongo avatar Oct 09 '18 13:10 monocongo