Monica-Golumbeanu/openmalaria.containers:latest
$ singularity pull shub://Monica-Golumbeanu/openmalaria.containers:latest
Singularity Recipe
####################################
# Singularity recipe for openMalaria version 38
#
####################################
Bootstrap: docker
From: centos:7
%post
export OPENMALARIA_VERSION="38.0"
# install the OpenMalaria dependencies
yum -y install epel-release
yum -y install \
boost-devel \
cmake \
gcc-c++ \
glibc-devel \
gsl-devel \
make \
wget \
xerces-c-devel \
xsd \
zlib-devel
yum clean all
# download the source code and compile it
cd /usr/local/src/
wget https://github.com/SwissTPH/openmalaria/archive/schema-${OPENMALARIA_VERSION}.tar.gz
tar xf schema-${OPENMALARIA_VERSION}.tar.gz
mkdir -p /usr/local/src/openmalaria-schema-${OPENMALARIA_VERSION}/build/
cd /usr/local/src/openmalaria-schema-${OPENMALARIA_VERSION}/build/
cmake .. -DCMAKE_BUILD_TYPE=RELEASE
make
# copy the binary and resource files to the bin/ folder
cp openMalaria /usr/local/bin
cp schema/scenario_current.xsd /usr/local/bin/
cp ../test/densities.csv /usr/local/bin/
%runscript
exec openMalaria "$@"
%apprun openmalaria
openMalaria "@"i
%help
To see the openMalaria command help, use the -h option
Collection
- Name: Monica-Golumbeanu/openmalaria.containers
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/Monica-Golumbeanu-openmalaria.containers-latest |
collection name | Monica-Golumbeanu/openmalaria.containers |
branch | master |
tag | latest |
commit | cf6af8c473b40668f970763d89633a68f751baeb |
version (container hash) | 2e036bebcabc79daf1a2fe335f713fe2 |
build date | 2018-09-17T17:07:08.677Z |
size (MB) | 614 |
size (bytes) | 178233375 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.