drewpolasky/energyplus_aci:latest
$ singularity pull shub://drewpolasky/energyplus_aci:latest
Singularity Recipe
BootStrap: docker
From: ubuntu:16.04
%setup
%files
%environment
export PATH=/opt/EnergyPlus/:$PATH
%apprun energyplus
exec /opt/EnergyPlus/energyplus "$@"
%apprun runenergyplus
exec /opt/EnergyPlus/runenergyplus "$@"
%post
# commands to be executed inside container during bootstrap
# add python and install some packages
apt-get update -y && apt-get upgrade -y
apt install -y build-essential
apt-get install -y git cmake gcc binutils \
patch \
g++ bzip2 ca-certificates \
libglib2.0-0 libxext6 libsm6 libxrender1 \
mercurial subversion \
libcanberra-gtk* \
autoconf wget sed \
mkdir -p /storage/home
mkdir -p /storage/work
mkdir -p /gpfs/scratch
mkdir -p /gpfs/group
mkdir -p /var/spool/torque
# Make symlinks
ln -s `which qmake-qt5` /usr/local/bin/qmake
ln -s `which moc-qt5` /usr/local/bin/moc
ln -s `which rcc-qt5` /usr/local/bin/rcc
ln -s `which vim` /usr/local/bin/vi
apt-get install -y dos2unix
cd /tmp
cd /opt
mkdir EnergyPlus && cd EnergyPlus
wget https://github.com/NREL/EnergyPlus/releases/download/v9.1.0/EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh
chmod +x EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh
sed -i s/"read line leftover"/line=y/g EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh
sed -i s/"read install_directory"/"install_directory=\/opt\/EnergyPlus\/"/g EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh
sed -i s/"read link_directory"/"#read link_directory"/g EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh
./EnergyPlus-9.1.0-08d2e308bb-Linux-x86_64.sh
Collection
- Name: drewpolasky/energyplus_aci
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/drewpolasky-energyplus_aci-latest |
collection name | drewpolasky/energyplus_aci |
branch | master |
tag | latest |
commit | 880beab55e54f9990bda3c4f9169d5b548b7ba4d |
version (container hash) | 0701040cb1e397916b8e0044d5b223e2 |
build date | 2020-06-30T14:25:11.230Z |
size (MB) | 1398 |
size (bytes) | 522846239 |
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.