Example of job script - Wei64380/Parflow-CLM GitHub Wiki
use sbatch to submit the job, here is an example of the job script
-
#!/bin/bash
-
#SBATCH -J Wei_Parflow
-
#SBATCH -n 2
-
#SBATCH --time=24:00:00
-
#SBATCH --export=ALL
-
#SBATCH --mem-per-cpu=1950
-
module purge
-
module load gcc/4.9.4 openmpi/gcc/4.0.0/4.9.4
-
export PARFLOW_DIR=/home/hz48lozy/wqu/parflow2
-
export PATH=$PATH:/home/hz48lozy/wqu/parflow2/bin
-
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/hz48lozy/wqu/parflow2/lib
-
mpiexec -n 2 $PARFLOW_DIR/bin/parflow LW