Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eessi-init command to facilitate initializing of EESSI environment #147

Open
boegel opened this issue Nov 20, 2021 · 5 comments
Open

eessi-init command to facilitate initializing of EESSI environment #147

boegel opened this issue Nov 20, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@boegel
Copy link
Contributor

boegel commented Nov 20, 2021

We should look into providing an eessi-init command that makes it easier/less awkward to initialize the EESSI environment.

By default, it should simply run source source /cvmfs/pilot.eessi-hpc.org/latest/init/bash, but it could also provide options, for example to use a specific subtree rather than letting archspec figuring it out.

This is perhaps easiest by implementing a small Python package, since that can be installed by a non-admin user easily via pip install --user, and it shouldn't be difficult to generate an RPM or .deb file either for a simple Python package that follows standard practice.

(hat tip @hmeiland who raises this idea in a recent meeting)

@boegel boegel added the enhancement New feature or request label Nov 20, 2021
@terjekv
Copy link
Member

terjekv commented Nov 20, 2021

In a module environment, one should be able to also do module load EESSI that performs a similar task.

@bedroge
Copy link
Collaborator

bedroge commented Nov 20, 2021

@terjekv Yes, we should just offer all these different "access methods" for the EESSI repo, for different systems/use cases.

(Relevant issue about the module: #68)

@jpecar
Copy link
Contributor

jpecar commented Jan 21, 2022

Another feature of this eessi-init I would like to see is ability to do its job in non-interactive environment as well, for example in a container startup scenario where we currently fail on $BASH_SOURCE being undefined.

@hmeiland
Copy link
Contributor

hmeiland commented Feb 4, 2022

rough starting point here...
#166

@stderr-enst
Copy link

Another feature of this eessi-init I would like to see is ability to do its job in non-interactive environment as well, for example in a container startup scenario where we currently fail on $BASH_SOURCE being undefined.

Just want to second this point. The current init script is not supporting zsh for example. Not a big deal, but a more generic shell script is probably a good idea.

trz42 pushed a commit to trz42/software-layer that referenced this issue Jun 30, 2023
…oss-2021b

{23.06}[foss/2021b] add missing packages for foss/2021b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

6 participants