Revision f7950c8450baa4ee83cf71b91b373e7a28acad59 authored by Azamat Mametjanov on 23 April 2022, 02:21:47 UTC, committed by Azamat Mametjanov on 23 April 2022, 02:21:47 UTC
1 parent a376631
setup.sh
#!/bin/bash
go version
export VERSION=3.5.3
function download
{
wget -t 3 -O singularity-${VERSION}.tar.gz http://portal.nersc.gov/project/e3sm/lukasz/singularity-${VERSION}.tar.gz || \
wget -t 3 -O singularity-${VERSION}.tar.gz https://dabdceba-6d04-11e5-ba46-22000b92c6ec.e.globus.org/containers/public/singularity-${VERSION}.tar.gz
return $?
}
# Install Singularity
download && \
tar -xzf singularity-${VERSION}.tar.gz && \
cd singularity/
./mconfig && \
make -C ./builddir && \
sudo make -C ./builddir install
singularity --version
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...