Skip to content

Commit

Permalink
Update ESMF path for the provided example test
Browse files Browse the repository at this point in the history
  • Loading branch information
minghangli-uni committed Oct 31, 2024
1 parent d72b3d9 commit 922c63f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ESMF_profiling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ One example for demonstration:
----------
```python
# Collect runtime info for specific regions
ESMF_path = ['/path/to/your/ESMF/output/files']
ESMF_path = ['/path/to/your/ESMF/output/files'] # '/g/data/tm70/ml0072/ESMF_Profile_test_example'
regionNames=[
"[ESMF]",
"[ESMF]/[ensemble] RunPhase1/[ESM0001] RunPhase1/[OCN] RunPhase1",
Expand Down
4 changes: 1 addition & 3 deletions ESMF_profiling/esmfFileParser.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,7 @@ def _parse_line(self, line):
# It takes ~20 seconds to read and output 1440 ESMF_Profile.xxxx files,
# while reading the ESMF_Profile.summary file only takes about 0.02 seconds.
time_start = time.time()
ESMF_path = [
"/g/data/tm70/ml0072/COMMON/git_repos/COSIMA_om3-scripts/expts_manager/product1_0.25deg_scaling_performance/pt_2_test/archive/output000"
]
ESMF_path = ["/g/data/tm70/ml0072/ESMF_Profile_test_example"]
runtime_tot = collect_runtime_tot(
ESMF_path,
regionNames=[
Expand Down

0 comments on commit 922c63f

Please sign in to comment.