File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,18 @@ pixi shell
4848pip install -e .
4949```
5050
51+ > [ !Note]
52+ > Pixi does not run conda post-link scripts, so the ` ocl-icd-system `
53+ > symlink needed for OpenCL won't be created automatically. Add the
54+ > following to your ` pixi.sh ` activation script to fix this:
55+ >
56+ > ``` bash
57+ > # Create OpenCL ICD symlink (pixi doesn't run post-link scripts)
58+ > if [ -d /etc/OpenCL/vendors ] && [ ! -e " ${CONDA_PREFIX} /etc/OpenCL/vendors/ocl-icd-system" ]; then
59+ > ln -s /etc/OpenCL/vendors " ${CONDA_PREFIX} /etc/OpenCL/vendors/ocl-icd-system" 2> /dev/null || true
60+ > fi
61+ > ` ` `
62+
5163# ## Installing from source (full OpenBioSim development)
5264
5365If you are developing across the full OpenBioSim stack, first install
Original file line number Diff line number Diff line change @@ -27,3 +27,6 @@ ruff = "*"
2727default = []
2828test = [" test" ]
2929dev = [" test" , " lint" ]
30+
31+ [activation ]
32+ scripts = [" pixi.sh" ]
You can’t perform that action at this time.
0 commit comments