Windows 11 and Windows Subsystem for Linux
1. Install WSL
Section titled “1. Install WSL”Follow the instructions to enable Windows Subsystem for Linux 2 in Windows 11: Microsoft WSL install guide.
2. Configure CVMFS, Singularity, and Lmod (only needs to be done once)
Section titled “2. Configure CVMFS, Singularity, and Lmod (only needs to be done once)”Install build tools
Section titled “Install build tools”sudo apt updatesudo apt install make gccInstall Singularity
Section titled “Install Singularity”export SINGULARITY_VERSION=3.9.3 VERSION=1.17.2 OS=linux ARCH=amd64wget -q https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gzsudo tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gzrm go$VERSION.$OS-$ARCH.tar.gzexport GOPATH=${HOME}/goexport PATH=/usr/local/go/bin:${PATH}:${GOPATH}/binmkdir -p $GOPATH/src/github.com/sylabscd $GOPATH/src/github.com/sylabswget -q https://github.com/sylabs/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-ce-${SINGULARITY_VERSION}.tar.gztar -xzvf singularity-ce-${SINGULARITY_VERSION}.tar.gzcd singularity-ce-${SINGULARITY_VERSION}./mconfig --prefix=/usr/local/singularitymake -C builddirsudo make -C builddir installcd ..sudo rm -rf singularity-ce-${SINGULARITY_VERSION}sudo rm -rf /usr/local/go $GOPATHSet up bindpaths for Singularity (e.g. in .bashrc)
Section titled “Set up bindpaths for Singularity (e.g. in .bashrc)”export PATH="/usr/local/singularity/bin:${PATH}"export SINGULARITY_BINDPATH='/cvmfs,/mnt,/home'Follow the instructions in the CVMFS setup guide.
sudo apt install lmod3. Use Neurodesk containers
Section titled “3. Use Neurodesk containers”Initialise the Neurodesk modules:
module use /cvmfs/neurodesk.ardc.edu.au/neurodesk-modules/*Example usage of fsleyes:
ml fslfsleyesList the available programs:
ml av