Commit 39758040 authored by Easy Build's avatar Easy Build

fix

parent f1b4cccf
......@@ -6,5 +6,7 @@ CentOS/7.5-intel
CentOS/7.5-VARROC
CentOS/7.5-DHI
CentOS/7.5-ESPRESO/CentOS-7.5-ESPRESO.simg.backup
CentOS/7.6-DHI
OpenFOAM/
Ubuntu/16.04-OpenFOAM/
Fedora/29/Fedora-29_201901251221
Bootstrap: docker
From: fedora:latest
%post
yum -y update && yum -y upgrade
# CentOS repo
yum -y groupinstall "Development Tools"
yum -y install python gcc gcc-c++ gcc-gfortran make wget vim mc procps tcl pkg-config lua tolua++ lua-posix lua-logging lua-sql lua-socket lua-filesystem lua-sec lua-json lua-term
# Fedora repo
yum -y install bash-completion pigz tmux
cd /tmp
# OpenMPI
wget https://www.open-mpi.org/software/ompi/v2.1/downloads/openmpi-2.1.0.tar.gz
tar xvf openmpi-2.1.0.tar.gz && cd openmpi-2.1.0
./configure --prefix=/usr/local
make -j 14
make install
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
ln -s /apps/all/Lmod/7.7.7/lmod/etc /opt/apps/lmod/etc
# pip
curl -s -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
pip install setuptools --upgrade
%environment
. /opt/apps/lmod/7.7.7/init/profile
ml purge --force
export -f ml
export -f module
export -f clearMT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment