Skip to content

Conversation

@TopRichard
Copy link
Collaborator

@TopRichard TopRichard commented Oct 22, 2025

Edit by casparvl: solves #598

@TopRichard TopRichard marked this pull request as draft October 22, 2025 09:55
| `LMOD_SYSTEM_DEFAULT_MODULES` | List of modules Lmod auto-loads on shell start; can include EESSI/2023.06 to auto-enable. |
| `EESSI_ARCHDETECT_OPTIONS` | Extra options passed to eessi_archdetect.sh (e.g. -d for debug, -a to list compatibles). |
| `EESSI_ARCHDETECT_OPTIONS_OVERRIDE` | Replaces any built-in archdetect options with the provided value. |
| `EESSI_ACCEL_SUBDIR` | Overrides accelerator module subdir (e.g. accel/nvidia/cc70) when using module-based init. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look right, I hope this doesn't work as this is exactly the purpose of EESSI_ACCELERATOR_TARGET_OVERRIDE

| `EESSI_SILENT` | When set to 1, suppresses non-error output during source-based init; errors still print. |
| `EESSI_USE_ARCHDETECT` | When set to 0, disables automatic architecture detection using archdetect; otherwise detection is performed. |
| `EESSI_BASIC_ENV` | When set to 1, performs a minimal init only exporting essential variables. |
| `EESSI_CVMFS_REPO_OVERRIDE` | Overrides the default CVMFS repository path (e.g. /cvmfs/software.eessi.io) used by init. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anything with *_OVERRIDE should be common to both, perhaps we should separate these (also avoids duplication). We should also consider the need for the rest...

Comment on lines +223 to +224
| `EESSI_MODULE_SUBDIR` | Overrides the module tree subdir to expose (e.g. modules/all or architecture-specific path). |
| `EESSI_CUSTOM_MODULEPATH` | Additional colon-separated module paths to prepend to MODULEPATH during module-based init. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We really should just get rid of these, they have never even been properly tested. I wouldn't expose them here

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those were referenced from the EESSI happy hour session, feel free to add modifications

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.

3 participants