ashiklom/ED2:latest
$ singularity pull shub://ashiklom/ED2:latest
Singularity Recipe
# Singularity recipe file for ED and EDR
# Author: Alexey Shiklomanov
#
# To build a singularity container from this file, run the following command:
#
# sudo singularity build ed2.simg singularity_recipe
#
# Note that this requires singularity to be installed, and has to be done on a
# machine where you have sudo access.
Bootstrap: docker
From: ubuntu:xenial
# Sync local ED files inside singularity container
%setup
rsync -avz --progress ED ${SINGULARITY_ROOTFS}
rsync -avz --progress EDR ${SINGULARITY_ROOTFS}
# Main install script
%post
# Install software dependencies
apt-get update
apt-get install -y \
openmpi-bin \
libopenmpi-dev \
libhdf5-openmpi-dev \
netcdf-bin \
libnetcdf-dev \
gfortran
# Install ED
cd /ED/build
./install.sh -k E -p singularity -g
# Install EDR
cd /EDR/build
./install.sh -k E -p singularity -g
# Create cluster-specific empty directories (required to work natively on these systems)
# BU SCC:
mkdir -p /scratch /usr1 /usr2 /usr3 /usr4 /project /projectnb /var/spool/sge /share
# PEcAn servers
mkdir -p /fs1 /fs2 /fs3 /fs4
# BNL MODEX
mkdir -p /data
%apprun ED
echo "============= Running ED ============="
ulimit -s unlimited
/ED/build/ed_2.1-opt $@
echo "============= Done ==================="
%apprun EDR
echo "============= Running EDR ============"
ulimit -s unlimited
/EDR/build/ed_2.1-opt $@
echo "============= Done ==================="
Collection
- Name: ashiklom/ED2
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/ashiklom-ED2-latest |
collection name | ashiklom/ED2 |
branch | singularity |
tag | latest |
commit | d511f19fda421f4c7003ac53d7eea2db26660431 |
version (container hash) | debe388a69dbe447c598fc5684143ed4 |
build date | 2018-03-02T00:33:59.113Z |
size (MB) | 636 |
size (bytes) | 217120799 |
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.