How do I find and load software on DARWIN?

I have looked for Modules on DARWIN but it doesn’t seem to be there.

DARWIN uses VALET (similar to Modules) to build and install software. If you are logged in DARWIN, then to see the list of software available, type vpkg_list . If you want to see the versions installed for a particular say hdf5, then type vpkg_versions hdf5. If you want load hdf5 into your environment, then type vpkg_require hdf5 and this will load the default * version. If you want to load a particular version of hdf5, say the newest version 1.12.0 and openmpi, then you would use vpkg_require hdf5/1.12.0:intel-2020,openmpi. It would look something like this first loading the default version of hdf5, unloading the last package in VALET using vpkg_rollback 1, and then loading a different version of hdf along with showing how the PATH changes accordingly …

[login00.darwin ~]$ vpkg_versions hdf5

Available versions in package (* = default version):

[/opt/shared/valet/2.1/etc/hdf5.vpkg_yaml]
hdf5                                HDF5: Data Model, Library, & File Format
* 1.10.7                            HDF5 compiled with system compilers
  1.10.7:intel-2020                 HDF5 compiled with Intel 2020 compilers
  1.10.7:openmpi                    HDF5 compiled with MPI-IO + system compilers
  1.10.7:intel-2020,openmpi         HDF5 with MPI-IO + Intel 2020 compilers
  1.10.9                            compiled with system compilers
  1.10.9:gcc-12.2                   compiled with GCC 12.2 compilers
  1.10.9:intel-2020                 compiled with Intel 2020 compilers
  1.10.9:intel-oneapi-2022          compiled with Intel oneAPI 2022 compilers
  1.10.9:intel-oneapi-2022,openmpi  MPI-IO + Intel oneAPI 2022 compilers
  1.10.9:intel-oneapi-2023          compiled with Intel oneAPI 2023 compilers
  1.10.9:intel-oneapi-2023,openmpi  MPI-IO + Intel oneAPI 2023 compilers
  1.10.9:openmpi                    MPI-IO + system compilers
  1.10.9:gcc-12.2,openmpi           MPI-IO + GCC 12.2 compilers
  1.10.9:intel-2020,openmpi         MPI-IO + Intel 2020 compilers
  1.12.0                            HDF5 compiled with system compilers
  1.12.0:intel-2020                 HDF5 compiled with Intel 2020 compilers
  1.12.0:intel-2020,openmpi         HDF5 with MPI-IO + Intel 2020 compilers
[login00.darwin ~]$ vpkg_require hdf5
Adding package `hdf5/1.10.7` to your environment
[login00.darwin ~]$ echo $PATH
/opt/shared/hdf5/1.10.7/bin:/opt/shared/valet/2.1/bin/bash:/opt/shared/valet/2.1/bin:/opt/shared/slurm/add-ons/bin:/opt/shared/slurm/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/1006/.local/bin:/home/1006/bin
[login00.darwin ~]$ vpkg_rollback 1
[login00.darwin ~]$ vpkg_require hdf5/1.12.0:intel-2020,openmpi
Adding dependency `intel/2020u4` to your environment
Adding dependency `openmpi/4.0.5:intel-2020` to your environment
Adding package `hdf5/1.12.0:openmpi,intel-2020` to your environment
[login00.darwin ~]$ echo $PATH
/opt/shared/hdf5/1.12.0-intel-2020-openmpi/bin:/opt/shared/openmpi/4.0.5-intel-2020/bin:/opt/shared/intel/2020u4/compilers_and_libraries_2020.4.304/linux/bin/intel64:/opt/shared/intel/2020u4/compilers_and_libraries_2020.4.304/linux/bin:/opt/shared/intel/2020u4/debugger_2020/gdb/intel64/bin:/opt/shared/valet/2.1/bin/bash:/opt/shared/valet/2.1/bin:/opt/shared/slurm/add-ons/bin:/opt/shared/slurm/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/1006/.local/bin:/home/1006/bin

If you want to unload all software in your environment, use vpkg_rollback all.