Skip to content

Fix cenv configuration#1

Open
atrettin wants to merge 1 commit into
odsl-team:mainfrom
atrettin:cenv_setup
Open

Fix cenv configuration#1
atrettin wants to merge 1 commit into
odsl-team:mainfrom
atrettin:cenv_setup

Conversation

@atrettin

Copy link
Copy Markdown

Fixes the documentation following my attempt to create a cenv on the ODSL machine.

This includes the following fixes:

  • The path to the cenv has to contain projects before software
  • Before linking ~/.cenv to /ptmp/mpp/$(whoami)/cenv, the directory is created
  • When attempting to load the environment after creating it with cenv odsl, an error appear that the .sif file cannot be found. This was because the resulting root.sif was a broken link: rootfs.sif -> ../../../../ptmp/mpp/projects/software/apptainer/images/odsl/mppmu_odsl-ml_latest.sif The fix is to set the environment variable CENV_BASE_DIR to the absolute path, so that the path is not later interpreted as relative.
  • Added f flag to the ln command so that the command will not fail when this is done repeatedly (just makes life a little easier for users)

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