Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions mpcdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Instead of installing your software manually, we recommend that you use Apptaine
Run

```shell
ln -s "/ptmp/mpp/software/container-env/bin/cenv" "$HOME/.local/bin"
ln -sf "/ptmp/mpp/projects/software/container-env/bin/cenv" "$HOME/.local/bin/cenv"
```

to add `cenv` to `$HOME/.local/bin` (should be on your `$PATH`).
Expand All @@ -79,7 +79,17 @@ your personal directory on `/ptmp`:

```shell
test -e "$HOME/.cenv" && rmdir "$HOME/.cenv" # should be empty or not exist yet
ln -s "/ptmp/mpp/`whoami`/cenv" "$HOME/.cenv"
mkdir -p "/ptmp/mpp/$(whoami)/cenv"
ln -sfn "/ptmp/mpp/$(whoami)/cenv" "$HOME/.cenv"
```

To avoid broken relative rootfs links when `$HOME/.cenv` is a symlink, pin `cenv`
to the physical base path:

```shell
cat > "$HOME/.cenvrc" <<EOF
export CENV_BASE_DIR="/ptmp/mpp/$(whoami)/cenv"
EOF
```

Now create an `cenv` environment named `odsl` that uses the standard ODSL Apptainer image:
Expand Down