Skip to content

Instantly share code, notes, and snippets.

@bradyrx
Created August 27, 2018 16:25
Show Gist options
  • Save bradyrx/d722b06b21fb9d4c23f1a064b723d972 to your computer and use it in GitHub Desktop.
Save bradyrx/d722b06b21fb9d4c23f1a064b723d972 to your computer and use it in GitHub Desktop.
Run python script through batch submission on Cheyenne.
#!/bin/bash
#PBS -A PROJECT_CODE
#PBS -N JOBNAME
#PBS -l walltime=01:00:00
#PBS -M EMAIL
#PBS -q regular
#PBS -l select=1:ncpus=1
#PBS -m abe
script=global_seasonal_internal_magnitudes.py
VAR=FG_ALT_CO2
python ${script} ${VAR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment