Commit d3463393 authored by easybuild's avatar easybuild

fix

parent d878eb6f
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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
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
rm /tmp/get-pip.py /tmp/openmpi-2.1.0.tar.gz -rf
mkdir /apps
mkdir /scratch
%environment
. /opt/apps/lmod/7.7.7/init/profile
ml purge --force
export -f ml
export -f module
export -f clearMT
help([[
Description
===========
The Fedora Project is a global partnership of free software community members. The Fedora Project is sponsored by Red Hat, which invests in our infrastructure and resources to encourage collaboration and incubate innovative new technologies. Some of these technologies may later be integrated into Red Hat products. They are developed in Fedora and produced under a free and open source license from inception, so other free software communities and projects are free to study, adopt, and modify them.
Read an overview to learn more about our mission, our community, our governance, and what makes Fedora unique. You can also learn about our vision and core values — the foundations upon which the project is built. We also have information relating to our user base, and the objectives for our technical work.
More information
================
- Homepage: https://fedoraproject.org
]])
whatis([[Description: The Fedora Project is a global partnership of free software community members. The Fedora Project is sponsored by Red Hat, which invests in our infrastructure and resources to encourage collaboration and incubate innovative new technologies. Some of these technologies may later be integrated into Red Hat products. They are developed in Fedora and produced under a free and open source license from inception, so other free software communities and projects are free to study, adopt, and modify them.
Read an overview to learn more about our mission, our community, our governance, and what makes Fedora unique. You can also learn about our vision and core values — the foundations upon which the project is built. We also have information relating to our user base, and the objectives for our technical work.]])
whatis([[Homepage: https://fedoraproject.org]])
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