Skip to content

Commit d930cdc

Browse files
committed
Updated benchmark_slurm.sh script for Harvard/Cannon
gcpy/benchmark/benchmark_slurm.sh - Added sapphire and huce_cascade to the partition list - Changed requested time to 6 hours - Added helpful tips in the comments section CHANGELOG.md - Updated accordingly Signed-off-by: Bob Yantosca <yantosca@seas.harvard.edu>
1 parent 778cd2b commit d930cdc

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1919
- Added functions `get_molwt_from_metadata` and `read_species_metadata` to `gcpy/util.py`
2020
- Added function `get_species_database_files` to `gcpy/benchmark/modules/benchmark_utils.py`
2121
- Added constant `SPECIES_DATABASE` to `gcpy/benchmark/modules/benchmark_utils.py`
22-
- Added manual garbage collection in `create_regridders`, `compare_single_level`, and compare_zonal_mean` functions.
22+
- Added manual garbage collection in `create_regridders`, `compare_single_level`, and `compare_zonal_mean` functions.
23+
- Added helpful tips to the `gcpy/benchmark/benchmark.slurm.sh` script
2324

2425
### Changed
2526
- Modified criteria for terminating read of log files in `benchmark_scrape_gcclassic_timers.py` to avoid being spoofed by output that is attached by Intel VTune

gcpy/benchmark/benchmark_slurm.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
#SBATCH -c 8
44
#SBATCH -N 1
5-
#SBATCH -t 0-4:00
6-
#SBATCH -p seas_compute,shared
7-
#SBATCH --mem=100000
5+
#SBATCH -t 0-6:00
6+
#SBATCH -p sapphire,huce_cascade,seas_compute,shared
7+
#SBATCH --mem=180000
88
#SBATCH --mail-type=END
99

1010
#============================================================================
@@ -13,7 +13,17 @@
1313
#
1414
# You can modify the SLURM parameters above for your setup.
1515
#
16-
# Tip: Using less cores can reduce the amount of memory required.
16+
# Tips:
17+
# -----
18+
# (1) Use fewer cores to reduce the memory footprint. This may prevent
19+
# your job from running out of memory. Python under Linux seems
20+
# to have an issue where not all memory is released back to the OS.
21+
#
22+
# (2) We recommend that you generate only one benchmark comparison
23+
# (GCC vs GCC, GCHP vs GCC, GCHP vs GCC, or diff of diffs)
24+
# at a time. Otherwise your job will probaly run out of memory.
25+
#
26+
# (3) For diff-of-diffs plots, we recommend using 6 cores.
1727
#============================================================================
1828

1929
# Apply all bash initialization settings

0 commit comments

Comments
 (0)