Test on my Mac, RZ 6 Oct 2021 [on host:] mkdir course cd course vagrant init ... [fix Vagrantfile, add the following: config.vm.synced_folder "./data", "/home/vagrant/data" ] mkdir data [folder "data" must exist before VM is brought up] vagrant up [if there are problems with the VM, you can remove the VM using "vagrant destroy" and try again] vagrant ssh [inside the virtual machine:] cd /vagrant wget http://f1web.ijs.si/~zitko/containers/singularity_for_CPH/foss-2020a-vw.sif cd cd data wget http://f1web.ijs.si/\~zitko/courses/2021_CPH/download sh download singularity shell /vagrant/foss-2020a-v2.sif [inside the container] . nrgljubljana/2020.05/vars.sh [type "nrg" to see if it runs] nrg NOTE: data in /course and /course/data are persistent (everything stored on the host), "vagrant destory" will not remove anything in there /course maps to /vagrant inside the VM (and does not map into the container) /course/data maps to $HOME/data inside the VM and inside the container If ml commend does not work, run the following: Singularity> . /.singularity.d/env/90-environment.sh In version 2 of the container, the following packages are loaded: Currently Loaded Modules: 1) GCCcore/9.3.0 8) libpciaccess/0.16-GCCcore-9.3.0 15) OpenBLAS/0.3.9-GCC-9.3.0 22) GSL/2.6-GCC-9.3.0 29) HDF5/1.10.6-gompi-2020a 2) zlib/1.2.11-GCCcore-9.3.0 9) hwloc/2.2.0-GCCcore-9.3.0 16) gompi/2020a 23) bzip2/1.0.8-GCCcore-9.3.0 30) tbb/2020.1-GCCcore-9.3.0 3) binutils/2.34-GCCcore-9.3.0 10) libevent/2.1.11-GCCcore-9.3.0 17) FFTW/3.3.8-gompi-2020a 24) Boost/1.72.0-gompi-2020a 31) LLVM/9.0.1-GCCcore-9.3.0 4) GCC/9.3.0 11) UCX/1.8.0-GCCcore-9.3.0 18) ScaLAPACK/2.1.0-gompi-2020a 25) ncurses/6.2-GCCcore-9.3.0 32) imkl/2020.1.217-gompi-2020a 5) numactl/2.0.13-GCCcore-9.3.0 12) libfabric/1.11.0-GCCcore-9.3.0 19) foss/2020a 26) cURL/7.69.1-GCCcore-9.3.0 6) XZ/5.2.5-GCCcore-9.3.0 13) PMIx/3.1.5-GCCcore-9.3.0 20) gomkl/2020a 27) CMake/3.16.4-GCCcore-9.3.0 7) libxml2/2.9.10-GCCcore-9.3.0 14) OpenMPI/4.0.3-GCC-9.3.0 21) GMP/6.2.0-GCCcore-9.3.0 28) Szip/2.1.1-GCCcore-9.3.0