Commit e5d0c031 authored by Roy Fabrice's avatar Roy Fabrice
Browse files

Add docker configuration files

The goal is to test pFoF with docker
parent 7f8c50ba
#.dockerignore
.git
dockerfile
ACCEPT_EULA=accept
CONTINUE_WITH_OPTIONAL_ERROR=yes
PSET_INSTALL_DIR=/opt/intel
CONTINUE_WITH_INSTALLDIR_OVERWRITE=yes
PSET_MODE=install
ACTIVATION_LICENSE_FILE=28519@jetons.obspm.fr
ACTIVATION_TYPE=license_server
INTEL_SW_IMPROVEMENT_PROGRAM_CONSENT=no
ARCH_SELECTED=INTEL64
COMPONENTS=;intel-conda-index-tool__x86_64;intel-comp__x86_64;intel-comp-doc__noarch;intel-comp-l-all-common__noarch;intel-comp-l-all-vars__noarch;intel-comp-nomcu-vars__noarch;intel-comp-ps__x86_64;intel-comp-ps-ss-bec__x86_64;intel-openmp__x86_64;intel-openmp-common__noarch;intel-openmp-common-icc__noarch;intel-openmp-common-ifort__noarch;intel-openmp-ifort__x86_64;intel-tbb-libs__x86_64;intel-idesupport-icc-common-ps__noarch;intel-conda-icc_rt-linux-64-shadow-package__x86_64;intel-icc__x86_64;intel-c-comp-common__noarch;intel-icc-common__noarch;intel-icc-common-ps__noarch;intel-icc-doc__noarch;intel-icc-ps__x86_64;intel-icc-ps-ss-bec__x86_64;intel-icx__x86_64;intel-icx-common__noarch;intel-ifort__x86_64;intel-ifort-common__noarch;intel-ifort-doc__noarch;intel-tbb-devel__x86_64;intel-tbb-common__noarch;intel-tbb-doc__noarch;intel-conda-tbb-linux-64-shadow-package__x86_64;intel-conda-tbb-devel-linux-64-shadow-package__x86_64;intel-mpi-rt__x86_64;intel-mpi-doc__x86_64;intel-conda-impi_rt-linux-64-shadow-package__x86_64;intel-compxe__noarch;intel-psxe-common__noarch;intel-psxe-doc__noarch;intel-psxe-common-doc__noarch;intel-compxe-doc__noarch;intel-psxe-licensing__noarch;intel-psxe-licensing-doc__noarch;intel-icsxe-pset
FROM centos:centos8.1.1911
MAINTAINER Fabrice Roy <fabrice.roy@observatoiredeparis.psl.eu>
RUN yum -y install wget
RUN yum -y install gcc
RUN yum -y install gcc-c++
RUN yum -y install gcc-gfortran
RUN yum -y install perl
RUN gcc -v
COPY parallel_studio_xe_2020_composer_edition.tgz .
RUN tar xzf parallel_studio_xe_2020_composer_edition.tgz
COPY configdocker.cfg parallel_studio_xe_2020_composer_edition
RUN cd parallel_studio_xe_2020_composer_edition ; ./install.sh --silent configdocker.cfg
RUN rm -rf parallel_studio*
ENV PATH="${PATH}:/opt/intel/compilers_and_libraries_2020.0.166/linux/bin/intel64"
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/intel/compilers_and_libraries_2020.0.166/linux/compiler/lib/intel64_lin"
RUN icc -v ; ifort -v
COPY openmpi-4.0.2.tar.gz .
RUN tar xzf openmpi-4.0.2.tar.gz ; mkdir build-openmpi ; cd build-openmpi ; ../openmpi-4.0.2/configure --prefix=/opt/openmpi FC=ifort CC=icc ; make ; make install
RUN rm -rf build-openmpi openmpi-4.0.2*
ENV PATH="${PATH}:/opt/openmpi/bin"
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/openmpi/lib"
RUN mpifort -show
COPY hdf5-1.10.6.tar.gz .
RUN tar xzf hdf5-1.10.6.tar.gz ; mkdir build-hdf5 ; cd build-hdf5 ; ../hdf5-1.10.6/configure --prefix=/opt/hdf5 --enable-fortran --enable-parallel CC=mpicc FC=mpifort ; make ; make install
RUN rm -rf build-hdf5 hdf5-1.10.6*
ENV PATH="${PATH}:/opt/hdf5/bin"
ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/opt/hdf5/lib"
RUN h5pfc --show
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