Skip to content

Add Scalasca profiler - #132

Draft
kvrigor wants to merge 14 commits into
masterfrom
dev-scalasca-profiling
Draft

kvrigor wants to merge 14 commits into
masterfrom
dev-scalasca-profiling

Conversation

@kvrigor

@kvrigor kvrigor commented Jun 16, 2026 •

Copy link
Copy Markdown
Member

For @joergbenke's setup. Cheatsheet:

cd TSMP2
git pull && git checkout dev-scalasca-profiling
./build_eclmparflowgpu_profile.sh

scorep wrapper guide: https://perftools.pages.jsc.fz-juelich.de/cicd/scorep/tags/latest/html/scorepwrapper.html

@kvrigor

kvrigor commented Sep 23, 2026

Copy link
Copy Markdown
Member Author

Hooking Score-P into TSMP2 build system is indeed painful:

image

Workaround is to do an old-school manual build, which allows SCOREP env vars and custom flags to be easily injected without going through the Russian-doll-esque TSMP2 build system. Here's the working Scalasca build recipe:

# Make sure to get latest changes!
cd ${TSMP2_ROOT}
git pull && git checkout dev-scalasca-profiling
git submodule update --init --force models/eCLM models/parflow models/oasis3-mct

# Run Score-P TSMP2 build
./build_eclmparflowgpu_profile.sh

@joergbenke please try the binaries at /p/scratch/cslts/shared_data/TSMP2_S2026/JUWELSBOOSTER_eCLM-ParflowGPU_S2026_GNU-OPENMPI_SCALASCA. These has been compiled with the scorep --thread=pthread option.

kvrigor added a commit that referenced this pull request Oct 26, 2026
eCLM shortlog:
  - 9c8f1ae22 (tag: rc-0.1) Added LICENSE header "University of Illinois/NCSA Open Source License" (#150)
  - b06eb7eba eCLM-ParFlow: Couple surface water and route all layer-1 water fluxes to ParFlow (#147)
  - 345124543 docs: Separate JSC HPC and generic HPC quick-start guides (#148)
  - e113460a9 cd back to static.resources after git lfs pull (#144)
  - f7daa6045 Fix directory path in quick start instructions (#143)
  - a8d1d89e1 eCLM-ParFlow: Couple urban landunits (#133)
  - f9c3fa96d eCLM-ParFlow: Normalize ParFlow source term over the gridcell (#132)
  - 55db76e4b eCLM-ParFlow: Calculate hydraulic conductivity based on ParFlow's water content (#129)
  - 66c98a5db eCLM-ParFlow: account for soil ice when receiving ParFlow water content (#126, #123) (#127)
  - c6268fe4e Workaround for cache-apt-pkgs-action issue (#137)
  - 102b7c5d2 Disable the balance-check reporting in eCLM-ParFlow simulations (#125)
  - 5be92812f (tag: beta-0.8) Fix excessively negative ET over sandy soil in eCLM-ParFlow coupling (#105) (#124)
kvrigor added a commit that referenced this pull request Oct 27, 2026
eCLM release candidate v0.1 (`rc-0.1`) mostly contains eCLM-Parflow
fixes by Stefan. Here's a short log of `rc-0.1` vs. `beta-0.8`:

```
9c8f1ae22 (tag: rc-0.1) Added LICENSE header "University of Illinois/NCSA Open Source License" (#150)
b06eb7eba eCLM-ParFlow: Couple surface water and route all layer-1 water fluxes to ParFlow (#147)
345124543 docs: Separate JSC HPC and generic HPC quick-start guides (#148)
e113460a9 cd back to static.resources after git lfs pull (#144)
f7daa6045 Fix directory path in quick start instructions (#143)
a8d1d89e1 eCLM-ParFlow: Couple urban landunits (#133)
f9c3fa96d eCLM-ParFlow: Normalize ParFlow source term over the gridcell (#132)
55db76e4b eCLM-ParFlow: Calculate hydraulic conductivity based on ParFlow's water content (#129)
66c98a5db eCLM-ParFlow: account for soil ice when receiving ParFlow water content (#126, #123) (#127)
c6268fe4e Workaround for cache-apt-pkgs-action issue (#137)
102b7c5d2 Disable the balance-check reporting in eCLM-ParFlow simulations (#125)
5be92812f (tag: beta-0.8) Fix excessively negative ET over sandy soil in eCLM-ParFlow coupling (#105) (#124)
```

Some extra minor changes in this PR too:
- CI: Removed 'ICON standalone' job
- CI: Updated OASIS download logic
- Deprecate env files for `Stages/2023` and `Stages/2024`

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant