Skip to content
Snippets Groups Projects
Commit e68db671 authored by Wittenburg, William's avatar Wittenburg, William
Browse files

Add zeromq, zfp, mpi4py, and ADIOS1 to the testing image

parent 2743e2fa
No related branches found
No related tags found
1 merge request!253Finish image buildout
runOnCircle.sh runOnCircle.sh
postComment.sh postComment.sh
*.cmake
...@@ -4,10 +4,10 @@ RUN yum -y update && \ ...@@ -4,10 +4,10 @@ RUN yum -y update && \
yum -y install \ yum -y install \
bzip2-devel.x86_64 \ bzip2-devel.x86_64 \
curl \ curl \
git \
gcc \ gcc \
gcc-c++ \ gcc-c++ \
gcc-gfortran \ gcc-gfortran \
git \
gmake \ gmake \
hdf5-devel.x86_64 \ hdf5-devel.x86_64 \
numpy.x86_64 \ numpy.x86_64 \
...@@ -16,6 +16,8 @@ RUN yum -y update && \ ...@@ -16,6 +16,8 @@ RUN yum -y update && \
RUN yum -y update && \ RUN yum -y update && \
yum -y install \ yum -y install \
czmq-devel \
mpi4py-openmpi.x86_64 \
ohpc-base \ ohpc-base \
openmpi-gnu7-ohpc \ openmpi-gnu7-ohpc \
phdf5-gnu7-openmpi-ohpc \ phdf5-gnu7-openmpi-ohpc \
...@@ -23,6 +25,8 @@ RUN yum -y update && \ ...@@ -23,6 +25,8 @@ RUN yum -y update && \
WORKDIR /home/adios2 WORKDIR /home/adios2
# Now get some packages from source and build them, starting with CMake
RUN curl -O https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.tar.gz && \ RUN curl -O https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.tar.gz && \
mkdir -p /opt/cmake && \ mkdir -p /opt/cmake && \
cd /opt/cmake && \ cd /opt/cmake && \
...@@ -31,6 +35,35 @@ RUN curl -O https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.tar.gz && \ ...@@ -31,6 +35,35 @@ RUN curl -O https://cmake.org/files/v3.6/cmake-3.6.0-Linux-x86_64.tar.gz && \
ln -s /opt/cmake/cmake-3.6.0-Linux-x86_64/bin/cmake /usr/local/bin/cmake && \ ln -s /opt/cmake/cmake-3.6.0-Linux-x86_64/bin/cmake /usr/local/bin/cmake && \
ln -s /opt/cmake/cmake-3.6.0-Linux-x86_64/bin/cpack /usr/local/bin/cpack && \ ln -s /opt/cmake/cmake-3.6.0-Linux-x86_64/bin/cpack /usr/local/bin/cpack && \
ln -s /opt/cmake/cmake-3.6.0-Linux-x86_64/bin/ctest /usr/local/bin/ctest && \ ln -s /opt/cmake/cmake-3.6.0-Linux-x86_64/bin/ctest /usr/local/bin/ctest && \
# Clone and build zfp master
mkdir /opt/zfp && \
cd /opt/zfp && \
mkdir build install && \
git clone https://github.com/LLNL/zfp.git src && \
cd build && \
cmake -DCMAKE_INSTALL_PREFIX:String=/opt/zfp/install ../src/ && \
make install && \
cd ../ && \
rm -rf build src && \
# Clone ADIOS1 and build two versions
mkdir -p /opt/adios1/1.12.0 && \
cd /opt/adios1/1.12.0 && \
curl -OL https://github.com/ornladios/ADIOS/archive/v1.12.0.tar.gz && \
tar -zxvf v1.12.0.tar.gz && \
mkdir build-gnu-485 build-gnu-710 && \
mkdir gnu-4.8.5 gnu-7.1.0 && \
cd build-gnu-485 && \
cd /opt/adios1/1.12.0 && \
rm -rf ADIOS-1.12.0 build-gnu-485 build-gnu-710 v1.12.0.tar.gz && \
# Make the directory where CircleCI can clone the ADIOS2 source
mkdir -p /home/adios2/hidecirclesource mkdir -p /home/adios2/hidecirclesource
WORKDIR /home/adios2 WORKDIR /home/adios2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment