This is an experiment to use Nix packages and possibly devbox to provide working environments and containers! We will be using the standard set linked above, along with the Nix User Repository "NUR" at rseops, shown also in the community listing here.
I like this approach because I think it's the best of both worlds - easy binaries with nix, but provided in containers so I don't need to worry about dumping them all onto my local hard drive!
- openmpi: with clang 14
Most of these containers will be pre-built and you can pull them down. Browse the packages alongside the repository here to see what is available! We will eventually have a web interface to better show you this set.
For Nix derived containers, the package set included are installed to the defualt nix-env, meaning you can shell inside and find them on your path.
Devbox is a local development environment you can also use for any container here! To test out devbox, you can install devbox. You will also need to install Nix.
Choose an environment subdirectory, e.g.,
$ cd openmpi
$ devbox shell
And that's it! Everything in the environment will be on your path.
You can browse for nix packages and then just do:
$ devbox add <package>
And then shell.
To create a new environment, create your directory, and then:
$ cd <mypackage>
$ devbox init
$ devbox add <package URI>
And please add a README.md with some basic instructions or descriptions!
You are encouraged to add an uptodate.yaml
that will build over a matrix
of versions, and the automation will discover it.