Skip to content

Commit

Permalink
job script for postrun
Browse files Browse the repository at this point in the history
  • Loading branch information
teopb committed Aug 3, 2023
1 parent 192edaa commit 1ce6576
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions MPAS_true_failure_testing/post_run_job.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
### Job Name
#PBS -N ect_postrun_v1
### Project Code
#PBS -A NTDD0005
#PBS -l walltime=01:00:00
#PBS -q regular
#PBS -l select=4:ncpus=4:mpiprocs=4:mem=45GB
#PBS -M [email protected]
#PBS -m abe

module load conda
conda activate npl

python /glade/work/teopb/PyCECT/MPAS_true_failure_testing/post_run_script.py /glade/work/teopb/PyCECT/MPAS_true_failure_testing/test_params.json
2 changes: 1 addition & 1 deletion MPAS_true_failure_testing/post_run_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def main(argv):
# print(command)

# Run PyCECT
args_for_ECT = [f'--sumfile={true_sum_file}', f"--indir={test_output_dir}/{test_folder}/history_files", f"--tslice={t_slice}", f"--nPC={PCA_dims}", "--mpas", f"--eet={verify_runs}", f"--savePCAMat={test_output_dir}/{test_folder}/pca.npy", f"--saveEET={test_output_dir}/{test_folder}/eet.npy"]
args_for_ECT = [f'--sumfile={true_sum_file}', f"--indir={test_output_dir}/{test_folder}/history_files", f"--tslice={t_slice}", f"--nPC={PCA_dims}", "--mpas", f"--eet={verify_runs}", f"--savePCAMat={test_output_dir}/{test_folder}/pca.npy", f"--saveEET={test_output_dir}/{test_folder}/eet.npy", "mpi_enable"]
ECT(args_for_ECT)


Expand Down

0 comments on commit 1ce6576

Please sign in to comment.