Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
it4i-singularity
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
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
SCS
it4i-singularity
Commits
ed453ce1
Commit
ed453ce1
authored
5 years ago
by
Lukáš Krupčík
Browse files
Options
Downloads
Patches
Plain Diff
deleted: install/CENTOS7LATEST
parent
e62c6a04
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
install/CENTOS7LATEST
+0
-75
0 additions, 75 deletions
install/CENTOS7LATEST
with
0 additions
and
75 deletions
install/CENTOS7LATEST
deleted
100644 → 0
+
0
−
75
View file @
e62c6a04
Bootstrap: docker
From: centos:7
%post
yum -y update && yum -y upgrade
# CentOS repo
yum -y install bash-completion pigz tmux
yum -y groupinstall "Development Tools"
yum -y install perf perftest gperf nano vim mc symlinks telnet net-tools ipmitool smartmontools wget ntp openssh-ldap sssd tmux lsof strace psmisc tcsh libffi-devel screen libfabric libfabric-devel time samba ksh zsh libsecret-devel libcap-devel libxslt docbook-style-xsl nfs-utils.x86_64 nfs4-acl-tools bind-utils edac-utils tcl tcl-devel
#X11
yum -y install libXdmcp libXfont2 libXxf86misc libxkbfile libXtst libX11-devel mesa-libGLU mesa-dri-drivers mesa-filesystem mesa-private-llvm xkeyboard-config xorg-x11-server-utils xorg-x11-xauth xorg-x11-xinit xorg-x11-xkb-utils motif motif-devel gtk3
# MPI
yum -y install numactl-devel
cd /tmp
# UCX
wget https://github.com/openucx/ucx/archive/v1.6.1.tar.gz
tar xvf v1.6.1.tar.gz && cd ucx-1.6.1
./autogen.sh
./configure --prefix=/usr/local
make -j 36
make install
# OpenMPI
wget https://www.open-mpi.org/software/ompi/v3.1/downloads/openmpi-3.1.5.tar.gz
tar xvf openmpi-3.1.5.tar.gz && cd openmpi-3.1.5
./configure --prefix=/usr/local -with-ucx=/usr/local #-disable-dlopen
make -j 36
make install
# pip
curl -s -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install setuptools numpy scipy pandas wheel --upgrade
# lua
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/lua-posix-32-2.el7.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/lua-filesystem-1.6.2-2.el7.x86_64.rpm
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/lua-devel-5.1.4-15.el7.x86_64.rpm
wget http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/l/lua-bitop-1.0.2-3.el7.x86_64.rpm
rpm -ihv lua-devel-5.1.4-15.el7.x86_64.rpm
rpm -ihv lua-filesystem-1.6.2-2.el7.x86_64.rpm
rpm -ihv lua-bitop-1.0.2-3.el7.x86_64.rpm
rpm -ihv lua-posix-32-2.el7.x86_64.rpm
# Lmod
wget https://github.com/TACC/Lmod/archive/7.7.7.tar.gz
tar xvf 7.7.7.tar.gz
cd Lmod-7.7.7
./configure --prefix=/opt/apps
make install
# APPS and SCRATCH
mkdir /apps
mkdir /scratch
%environment
source /opt/apps/lmod/7.7.7/init/profile
clearMT
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
export -f ml
export -f module
export -f clearMT
export OMPI_MCA_btl_tcp_if_include=10.33.4.0/24
export OMPI_MCA_orte_base_help_aggregate=0
export OMPI_MCA_btl_openib_if_include=mlx5_0
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