Commit 26fd5298 authored by Richard Angersbach's avatar Richard Angersbach
Browse files

Add docker image with I/O libs.

parent fb21eac2
......@@ -81,7 +81,7 @@ stages:
## ##
#######################################
generate-docker-image:
generate-docker-image-base:
stage: .pre
when: manual
image: docker:latest
......@@ -93,6 +93,18 @@ generate-docker-image:
- docker build --pull . -f dockerfiles/ubuntu-20.04-openjdk-11.Dockerfile -t i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
- docker push i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
generate-docker-image-pario:
stage: .pre
when: manual
image: docker:latest
tags:
- docker-docker
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker pull i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io || true
- docker build --pull . -f dockerfiles/ubuntu-20.04-openjdk-11-par-io.Dockerfile -t i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io
- docker push i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11-par-io
#######################################
## ##
## Generator ##
......
......@@ -170,7 +170,7 @@ To build and install SIONlib version 1.7.6, following lines can be used:
curl "http://apps.fz-juelich.de/jsc/sionlib/download.php?version=1.7.6" -o sionlib.tar.gz
tar xvf sionlib.tar.gz
cd sionlib
./configure --prefix=$HOME/sionlib --disable-fortran
./configure --prefix=$HOME/sionlib --disable-fortran --mpi=openmpi
cd build-linux-gomp-openmpi
make
......
FROM i10git.cs.fau.de:5005/exastencils/exastencils/ubuntu-20.04-openjdk-11
# hdf5
RUN wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.gz \
tar xvf hdf5-1.12.0.tar.gz \
cd hdf5-1.12.0 \
CC=mpicc ./configure --enable-parallel --prefix=./hdf5 \
make \
make install \
HDF5_HOME=./hdf5 ; export HDF5_HOME \
PATH=$HDF5_HOME/bin:$PATH ; export PATH \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF5_HOME/lib ; export LD_LIBRARY_PATH
# sionlib
RUN curl "http://apps.fz-juelich.de/jsc/sionlib/download.php?version=1.7.6" -o sionlib.tar.gz \
tar xvf sionlib.tar.gz \
cd sionlib \
./configure --prefix=./sionlib --disable-fortran --mpi=openmpi \
cd build-linux-gomp-openmpi \
make \
make install \
SION_HOME=./sionlib ; export SION_HOME \
PATH=$SION_HOME/bin:$PATH ; export PATH \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SION_HOME/lib ; export LD_LIBRARY_PATH
# pnetcdf
RUN wget http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/pnetcdf-1.12.1.tar.gz \
tar xvf pnetcdf-1.12.1.tar.gz \
cd pnetcdf-1.12.1 \
CC=mpicc ./configure --prefix=./PnetCDF \
make -j 8 \
make install \
PNETCDF_HOME=./PnetCDF ; export PNETCDF_HOME \
PATH=$PNETCDF_HOME/bin:$PATH ; export PATH \
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PNETCDF_HOME/lib ; export LD_LIBRARY_PATH
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