@@ -100,10 +100,22 @@ environments in the Fluidsim repository
100100- ` env-fluidsim-mpi ` is for running sequential and parallel (MPI) simulations and
101101 post-process results. It is only available on Linux.
102102
103- First, get one of these directories locally on your computer (the easiest is to clone the
104- Mercurial repo < https://foss.heptapod.net/fluiddyn/fluidsim > or the Git mirror
105- < https://github.com/fluiddyn/fluidsim/ > ). To install and to use one of these
106- environments, enter into the directory and run ` pixi shell ` .
103+ The simplest solution to install one of these environment locally is to use ` uv ` and the
104+ tool ` install-locked-env ` like this:
105+
106+ ``` sh
107+ cd where/you/want/to/have/the/pixi/env/directory
108+ uvx install-locked-env https://github.com/fluiddyn/fluidsim/tree/branch/default/pixi-envs/env-fluidsim
109+ ```
110+
111+ To use one of these environments, enter into the directory and run ` pixi shell ` .
112+
113+ ``` {admonition} Alternative method without install-locked-env
114+ Alternatively, one needs to get these directories locally on your computer
115+ (for example by cloning the Mercurial repo
116+ <https://foss.heptapod.net/fluiddyn/fluidsim> or the Git mirror
117+ <https://github.com/fluiddyn/fluidsim/>) and run `pixi shell`.
118+ ```
107119
108120```` {admonition} How to activate such environment in shell scripts?
109121
@@ -115,6 +127,8 @@ eval "$(pixi shell-hook --manifest-path ~/dev/fluidsim/pixi-envs/env-fluidsim-mp
115127
116128```` {admonition} How to register a Jupyter kernel using this environment
117129
130+ (This step should already have been done if you used `install-locked-env`.)
131+
118132```sh
119133pixi shell --manifest-path ~/dev/fluidsim/pixi-envs/env-fluidsim-mpi
120134python -m ipykernel install --user --name=env-fluidsim-mpi
0 commit comments