Skip to content
Snippets Groups Projects
Commit b38d2a1b authored by Anke Visser's avatar Anke Visser
Browse files

Merge branch 'master' into 'master'

Adding OpenBLAS, setting default for GNU compiler, sourcing mpivars + Update gcc,g++,gfortran and OpenMPI

See merge request !1
parents aa9593be 93e4ee48
No related branches found
No related tags found
1 merge request!1Adding OpenBLAS, setting default for GNU compiler, sourcing mpivars + Update gcc,g++,gfortran and OpenMPI
......@@ -5,11 +5,23 @@ RUN zypper install -y git \
&& zypper install -y -t pattern devel_basis devel_C_C++ devel_java \
&& zypper install -y python curl \
&& zypper install -y boost-devel cmake cgal-devel lcov \
&& zypper install -y gcc7-c++ gcc-fortran gcc8-fortran \
&& zypper ar -f -n OSS http://download.opensuse.org/tumbleweed/repo/oss OSS \
&& zypper install -y gcc8 gcc8-c++ \
&& zypper install -y gcc9 gcc9-c++ gcc9-fortran \
&& zypper install -y libqt5-qtbase-devel \
&& zypper install -y wget \
&& zypper install -y doxygen \
&& zypper install -y openmpi3-devel
&& zypper install -y openmpi4-devel \
&& zypper install -y openblas-devel openblas-devel-headers \
&& zypper install -y libopenblas_pthreads0 libopenblas_pthreads-devel \
&& update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 9 \
&& update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-9 9 \
&& update-alternatives --install /usr/bin/gfortran gfortran /usr/bin/gfortran-9 9
# Define the ENTRYPOINT for subsequent commands (CMD)
ENTRYPOINT ["/bin/bash", "-l", "-c"]
# SHELL defines which login shell will be used within RUN steps
SHELL ["/bin/bash", "-l", "-c"]
# By default the container will start a bash shell
CMD ["bash"]
# Source MPI environment script
RUN echo "source /usr/lib64/mpi/gcc/openmpi4/bin/mpivars.sh" >> /etc/bash.bashrc
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment