Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NTRfC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFD - Institut für Turbomaschinen und Fluid-Dynamik
tools
NTRfC
Commits
d9d000a9
Commit
d9d000a9
authored
2 years ago
by
Malte Nyhuis
Browse files
Options
Downloads
Patches
Plain Diff
singularity container definition file v0.0.1
parent
df823674
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!10
Merge recent changes in master to we_ahrens
Pipeline
#8052
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
singularitybuild/ntrfc_container.def
+65
-0
65 additions, 0 deletions
singularitybuild/ntrfc_container.def
with
65 additions
and
0 deletions
singularitybuild/ntrfc_container.def
0 → 100644
+
65
−
0
View file @
d9d000a9
Bootstrap: docker
From: ubuntu:20.04
%labels
Version v0.0.2
%help
With the python system-installatioon of this container can access all the ntrfc functionality
The container can render images.
Example cases will follow
%environment
export LIBGL_ALWAYS_INDIRECT=0
%post
CURDIR=$(pwd)
# Set timezone to Etc/UTC for tzdata. See issue #4365 for more details.
TZ=Etc/UTC && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
echo $TZ > /etc/timezone
apt-get update -y
apt-get install -y tmux nano git
apt-get install -y --no-install-recommends \
build-essential \
gfortran \
libssl-dev \
zlib1g-dev \
libbz2-dev \
libreadline-dev \
libsqlite3-dev \
wget \
curl \
llvm \
libncurses5-dev \
xz-utils \
tk-dev \
libxml2-dev \
libxmlsec1-dev \
libffi-dev \
liblzma-dev \
liblapack-dev \
libopenblas-dev \
libhdf5-dev \
libgl1-mesa-glx xvfb \
gcc \
export PYENV_ROOT=/opt/pyenv
export PATH="/opt/pyenv/bin:$PATH"
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
pyenv install 3.9.10
echo 'export PATH=/opt/pyenv/versions/3.9.10/bin/:$PATH' >> $SINGULARITY_ENVIRONMENT
export PATH=/opt/pyenv/versions/3.9.10/bin/:$PATH
apt install python3-wheel -y
pip install git+https://gitlab.uni-hannover.de/tfd_public/tools/NTRfC.git#egg=NTRfC
pip install pandas tqdm
# clean the build
apt-get clean
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment