Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SCS
it4i-singularity
Commits
4ebdf4d7
Commit
4ebdf4d7
authored
Aug 02, 2018
by
Lukáš Krupčík
Browse files
modified: Ubuntu/16.04-OpenFOAM/Ubuntu-16.04-Bootstrap
parent
da3e74fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ubuntu/16.04-OpenFOAM/Ubuntu-16.04-Bootstrap
View file @
4ebdf4d7
...
...
@@ -4,11 +4,15 @@ From: ubuntu:16.04
%post
apt -y update && apt -y upgrade
apt -y install python curl wget gcc g++ make vim mc libncurses-dev rsync tclsh lua5.2 liblua5.2 gfortran ssh apt-transport-https
apt -y install dkms infiniband-diags libibverbs* ibacm librdmacm* libmlx4* libmlx5* mstflint libibcm.* libibmad.* libibumad* opensm srptools libmlx4-dev librdmacm-dev rdmacm-utils ibverbs-utils perftest vlan ibutils
apt -y install libtool autoconf automake build-essential ibutils ibverbs-utils rdmacm-utils infiniband-diags perftest librdmacm-dev libibverbs-dev libmlx4-1 numactl libnuma-dev autoconf automake gcc g++ git libtool pkg-config
apt -y install libnl-3-200 libnl-route-3-200 libnl-route-3-dev libnl-utils
curl -s -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install setuptools python-graph-core python-graph-dot tabulate numpy scipy pandas wheel --upgrade
cd /tmp
wget https://github.com/luarocks/luarocks/archive/v2.4.2.tar.gz
tar xvf v2.4.2.tar.gz
cd luarocks-2.4.2
...
...
@@ -28,6 +32,7 @@ echo "exit 0" >> /bin/logger
chmod +x /bin/logger
# Lmod
cd /tmp
wget https://github.com/TACC/Lmod/archive/7.7.7.tar.gz
tar xvf 7.7.7.tar.gz
cd Lmod-7.7.7
...
...
@@ -35,9 +40,16 @@ cd Lmod-7.7.7
make install
# OpenMPI
cd /tmp
wget https://www.open-mpi.org/software/ompi/v2.1/downloads/openmpi-2.1.1.tar.gz
tar xvf openmpi-2.1.1.tar.gz && cd openmpi-2.1.1
./configure --prefix=/usr/local
./configure --prefix=/usr/local \
--enable-orterun-prefix-by-default \
--enable-mpirun-prefix-by-default \
--enable-static \
--enable-shared \
--with-verbs
make -j 16
make install
...
...
@@ -58,8 +70,8 @@ mv /opt/monitor /app
### set-up python3 ###
apt install -y python3-pip python3-mpi4py
pip3 install numpy matplotlib
#
apt install -y python3-pip python3-mpi4py
#
pip3 install numpy matplotlib
### install openfoam ###
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment