Skip to content

Commit

Permalink
update sz library to latest release in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Mar 24, 2022
1 parent c97b8d1 commit 26b9ce3
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 32 deletions.
12 changes: 6 additions & 6 deletions scripts/ci/images/el7-gnu8-ohpc-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ ENV PATH=/opt/zfp/0.5.5/bin:${PATH} \

# Install SZ
WORKDIR /opt/sz
RUN curl -L https://github.com/disheng222/SZ/archive/v2.1.8.3.tar.gz | tar -xvz && \
RUN curl -L https://github.com/szcompressor/SZ/archive/v2.1.12.2.tar.gz | tar -xvz && \
mkdir build && \
cd build && \
source /etc/profile && \
module load gnu8 && \
export CC=gcc CXX=g++ FC=gfortran && \
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.8.3 ../SZ-2.1.8.3 && \
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.12.2 ../SZ-2.1.12.2 && \
make -j$(grep -c '^processor' /proc/cpuinfo) install && \
cd .. && \
rm -rf SZ-2.1.8.3 build
ENV PATH=/opt/sz/2.1.8.3/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.8.3/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.8.3:${CMAKE_PREFIX_PATH}
rm -rf SZ-2.1.12.2 build
ENV PATH=/opt/sz/2.1.12.2/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.12.2/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.12.2:${CMAKE_PREFIX_PATH}

# Misc cleanup of unneeded files
RUN rm -rfv \
Expand Down
12 changes: 6 additions & 6 deletions scripts/ci/images/el7-intel-ohpc-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,19 +70,19 @@ ENV PATH=/opt/zfp/0.5.5/bin:${PATH} \

# Install SZ
WORKDIR /opt/sz
RUN curl -L https://github.com/disheng222/SZ/archive/v2.1.8.3.tar.gz | tar -xvz && \
RUN curl -L https://github.com/szcompressor/SZ/archive/v2.1.12.2.tar.gz | tar -xvz && \
mkdir build && \
cd build && \
source /etc/profile && \
module load intel && \
export CC=icc CXX=icpc FC=ifort && \
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.8.3 ../SZ-2.1.8.3 && \
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.12.2 ../SZ-2.1.12.2 && \
make -j$(grep -c '^processor' /proc/cpuinfo) install && \
cd .. && \
rm -rf SZ-2.1.8.3 build
ENV PATH=/opt/sz/2.1.8.3/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.8.3/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.8.3:${CMAKE_PREFIX_PATH}
rm -rf SZ-2.1.12.2 build
ENV PATH=/opt/sz/2.1.12.2/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.12.2/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.12.2:${CMAKE_PREFIX_PATH}

# Misc cleanup of unneeded files
RUN rm -rfv \
Expand Down
12 changes: 6 additions & 6 deletions scripts/ci/images/el7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ ENV PATH=/opt/zfp/0.5.5/bin:${PATH} \

# Install SZ
WORKDIR /opt/sz
RUN curl -L https://github.com/disheng222/SZ/archive/v2.1.8.3.tar.gz | tar -xvz && \
RUN curl -L https://github.com/szcompressor/SZ/archive/v2.1.12.2.tar.gz | tar -xvz && \
mkdir build && \
cd build && \
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.8.3 ../SZ-2.1.8.3 && \
cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.12.2 ../SZ-2.1.12.2 && \
make -j$(grep -c '^processor' /proc/cpuinfo) install && \
cd .. && \
rm -rf SZ-2.1.8.3 build
ENV PATH /opt/sz/2.1.8.3/bin:${PATH}
ENV LD_LIBRARY_PATH /opt/sz/2.1.8.3/lib64:${LD_LIBRARY_PATH}
ENV CMAKE_PREFIX_PATH /opt/sz/2.1.8.3:${CMAKE_PREFIX_PATH}
rm -rf SZ-2.1.12.2 build
ENV PATH /opt/sz/2.1.12.2/bin:${PATH}
ENV LD_LIBRARY_PATH /opt/sz/2.1.12.2/lib64:${LD_LIBRARY_PATH}
ENV CMAKE_PREFIX_PATH /opt/sz/2.1.12.2:${CMAKE_PREFIX_PATH}

# Misc cleanup of unneeded files
RUN yum clean all && \
Expand Down
14 changes: 7 additions & 7 deletions scripts/ci/images/power8-el7-pgi-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ ENV PATH=/opt/zfp/0.5.5/bin:${PATH} \

# Install SZ
WORKDIR /opt/sz
RUN curl -L https://github.com/disheng222/SZ/archive/v2.1.8.3.tar.gz | tar -xvz && \
RUN curl -L https://github.com/szcompressor/SZ/archive/v2.1.12.2.tar.gz | tar -xvz && \
mkdir build && \
cd build && \
cmake \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.8.3 \
../SZ-2.1.8.3 && \
-DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.12.2 \
../SZ-2.1.12.2 && \
make -j$(grep -c '^processor' /proc/cpuinfo) install && \
cd .. && \
rm -rf SZ-2.1.8.3 build
ENV PATH=/opt/sz/2.1.8.3/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.8.3/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.8.3:${CMAKE_PREFIX_PATH}
rm -rf SZ-2.1.12.2 build
ENV PATH=/opt/sz/2.1.12.2/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.12.2/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.12.2:${CMAKE_PREFIX_PATH}

# Misc cleanup of unneeded files
RUN rm -rf /tmp/*
Expand Down
14 changes: 7 additions & 7 deletions scripts/ci/images/power8-el7-xl-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,20 @@ ENV PATH=/opt/zfp/0.5.5/bin:${PATH} \

# Install SZ
WORKDIR /opt/sz
RUN curl -L https://github.com/disheng222/SZ/archive/v2.1.8.3.tar.gz | tar -xvz && \
RUN curl -L https://github.com/szcompressor/SZ/archive/v2.1.12.2.tar.gz | tar -xvz && \
mkdir build && \
cd build && \
cmake \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.8.3 \
../SZ-2.1.8.3 && \
-DCMAKE_INSTALL_PREFIX=/opt/sz/2.1.12.2 \
../SZ-2.1.12.2 && \
make -j$(grep -c '^processor' /proc/cpuinfo) install && \
cd .. && \
rm -rf SZ-2.1.8.3 build
ENV PATH=/opt/sz/2.1.8.3/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.8.3/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.8.3:${CMAKE_PREFIX_PATH}
rm -rf SZ-2.1.12.2 build
ENV PATH=/opt/sz/2.1.12.2/bin:${PATH} \
LD_LIBRARY_PATH=/opt/sz/2.1.12.2/lib64:${LD_LIBRARY_PATH} \
CMAKE_PREFIX_PATH=/opt/sz/2.1.12.2:${CMAKE_PREFIX_PATH}

# Misc cleanup of unneeded files
RUN rm -rf /tmp/*
Expand Down

0 comments on commit 26b9ce3

Please sign in to comment.