Skip to content

Windows 11 and Windows Subsystem for Linux

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)”
Terminal window
sudo apt update
sudo apt install make gcc
Terminal window
export SINGULARITY_VERSION=3.9.3 VERSION=1.17.2 OS=linux ARCH=amd64
wget -q https://dl.google.com/go/go$VERSION.$OS-$ARCH.tar.gz
sudo tar -C /usr/local -xzvf go$VERSION.$OS-$ARCH.tar.gz
rm go$VERSION.$OS-$ARCH.tar.gz
export GOPATH=${HOME}/go
export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin
mkdir -p $GOPATH/src/github.com/sylabs
cd $GOPATH/src/github.com/sylabs
wget -q https://github.com/sylabs/singularity/releases/download/v${SINGULARITY_VERSION}/singularity-ce-${SINGULARITY_VERSION}.tar.gz
tar -xzvf singularity-ce-${SINGULARITY_VERSION}.tar.gz
cd singularity-ce-${SINGULARITY_VERSION}
./mconfig --prefix=/usr/local/singularity
make -C builddir
sudo make -C builddir install
cd ..
sudo rm -rf singularity-ce-${SINGULARITY_VERSION}
sudo rm -rf /usr/local/go $GOPATH

Set up bindpaths for Singularity (e.g. in .bashrc)

Section titled “Set up bindpaths for Singularity (e.g. in .bashrc)”
Terminal window
export PATH="/usr/local/singularity/bin:${PATH}"
export SINGULARITY_BINDPATH='/cvmfs,/mnt,/home'

Follow the instructions in the CVMFS setup guide.

Terminal window
sudo apt install lmod

Initialise the Neurodesk modules:

Terminal window
module use /cvmfs/neurodesk.ardc.edu.au/neurodesk-modules/*

Example usage of fsleyes:

Terminal window
ml fsl
fsleyes

List the available programs:

Terminal window
ml av