#!/bin/bash -l # This software is open source software available under the BSD-3 license. # # Copyright (c) 2019 Triad National Security, LLC. All rights reserved. # Copyright (c) 2019 Lawrence Livermore National Security, LLC. All rights # reserved. # Copyright (c) 2019 UT-Battelle, LLC. All rights reserved. # # Additional copyright and license information can be found in the LICENSE file # distributed with this code, or at # https://raw.githubusercontent.com/MPAS-Dev/MPAS-Analysis/master/LICENSE #SBATCH --nodes=1 #SBATCH --time=9:00:00 #SBATCH --account=e3sm #SBATCH --job-name=mpas_analysis #SBATCH --output=mpas_analysis.o%j #SBATCH --error=mpas_analysis.e%j #SBATCH -p slurm cd $SLURM_SUBMIT_DIR export OMP_NUM_THREADS=1 source /compyfs/software/e3sm-unified/load_latest_e3sm_unified.sh export HDF5_USE_FILE_LOCKING=FALSE # MPAS/ACME job to be analyzed, including paths to simulation data and # observations. Change this name and path as needed run_config_file="/compyfs/zhen797/E3SM_post/mpas_analysis/config.mpas.20191216.alpha20.piControl.ne30_r05_oECv3_ICG.compy" if [ ! -f $run_config_file ]; then echo "File $run_config_file not found!" exit 1 fi # if using the mpas_analysis conda package instead of the git repo, remove # "python -m" ##srun -N 1 -n 1 python -m mpas_analysis $run_config_file srun -N 1 -n 1 mpas_analysis --purge $run_config_file --verbose