oneapi-src / oneapi-src/oneAPI-samples
adding an unset option for setvars.sh in a modulefile
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 745
- PR merge metrics
- No merged PRs in 30d
Description
Is there a way to unset/unsource setvars.sh within the modulefiles? In other words if I do module unload intel-oneAPI-toolkit/compiler/2023.1.0, and the module file had a source /path/to/setvars.sh what can be added to unset the environment variables?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the modulefiles that source setvars.sh and the module unload behavior for intel-oneAPI-toolkit/compiler/2023.1.0. Determine how environment variables introduced by setvars.sh can be reversed on unload, and document or implement the supported modulefile approach so unloading no longer leaves those variables set.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100