E3SM-Project / E3SM

Energy Exascale Earth System Model source code. NOTE: use "maint" branches for your work. Head of master is not validated.
https://docs.e3sm.org/E3SM
Other
336 stars 338 forks source link

Unload matlab module on all NERSC machines #6396

Closed ndkeen closed 1 month ago

ndkeen commented 1 month ago

For pm-cpu/pm-gpu and other machines at NERSC, we found that the matlab module caused problems with builds.

Fixes https://github.com/E3SM-Project/E3SM/issues/6395

[bfb]

github-actions[bot] commented 1 month ago

PR Preview Action v1.4.7 :---: :rocket: Deployed preview to https://E3SM-Project.github.io/E3SM/pr-preview/pr-6396/ on branch gh-pages at 2024-05-04 00:09 UTC

rljacob commented 1 month ago

Remind me why we don't purge all the modules at the start?

ndkeen commented 1 month ago

It is not default loaded, but could be common module users have. In the past Ive tried starting with a module purge and building up, but there is too much headache with core modules that system wants and the order of loading can be critical. We cant unload everything, but can catch those known to cause problems. I actually prefer not to purge as sometimes I want a module loaded without messing with e3sm settings (craypat for example)