Skip to content

Commit 32129fb

Browse files
committed
Prepare script to rerun full suite of beta values
1 parent dcf3d93 commit 32129fb

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

expr/03_PeriodicSurge/run/crmpt12/crmpt12_submit.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
#SBATCH --array=1-93%93
33
#SBATCH --job-name=crmpt12_%A # base job name for the array
44
#SBATCH --mem-per-cpu=4000M # maximum 200M per job
5-
#SBATCH --time=15-4:00:00 # maximum walltime per job
5+
#SBATCH --time=60:00:00 # maximum walltime per job
66
#SBATCH --nodes=1 # Only one node is needed
77
#SBATCH --ntasks=1 # These are serial jobs
88
#SBATCH --mail-type=END # send all mail (way to much)
9-
#SBATCH --mail-user=andrew.d.nolan@maine.edu # email to spend updates too
10-
#SBATCH --output=logs/crmpt12/crmpt12_%A_%a.out # standard output
11-
#SBATCH --error=logs/crmpt12/crmpt12_%A_%a.err # standard error
9+
#SBATCH --mail-user=andrew.d.nolan[email protected] # email to spend updates too
10+
#SBATCH --output=logs/crmpt12/crmpt12_%A_%a.out # standard output
11+
#SBATCH --error=logs/crmpt12/crmpt12_%A_%a.err # standard error
1212
# in the previous two lines %A" is replaced by jobID and "%a" with the array index
1313

1414
echo "Starting task $SLURM_ARRAY_TASK_ID"

expr/03_PeriodicSurge/run/crmpt12/postprocess_timeseries.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def expand_dims(src, SP, beta):
7575
type=click.Path(exists=True), required=True)
7676
def main(gridded_dir):
7777
# runname template to search, most params are hard coded but could be pass over cli
78-
run_name = "crmpt12_dx_50_TT_*--*ka_MB_-0.37_OFF_Tma_-8.5_B_{beta}_SP_2_QP_{QP}.zarr"
78+
run_name = "crmpt12_dx_50_TT_*--*ka_MB_-0.35_OFF_Tma_-8.5_B_{beta}_SP_2_QP_{QP}.zarr"
7979

8080
# source filepath
8181
src_fp = path.join(gridded_dir, run_name)
@@ -161,4 +161,4 @@ def main(gridded_dir):
161161
print('*'*100 + '\n\n')
162162

163163
if __name__ == '__main__':
164-
main()
164+
main()

0 commit comments

Comments
 (0)