Skip to content
Snippets Groups Projects
Commit 8c1f0983 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Compile filters for blosc and zfp

parent 9ac05eb5
No related branches found
No related tags found
No related merge requests found
all: enstools.done
all: enstools.done libpressio.done h5z-blosc.done h5z-zfp.done
hdf5.done:
./compile_hdf5.sh
......@@ -20,11 +20,20 @@ stdcompat.done:
./compile_stdcompat.sh
touch $@
h5z-blosc.done: hdf5.done cblosc.done
./compile_h5z-blosc.sh
touch $@
h5z-zfp.done: hdf5.done zfp.done
./compile_h5z-zfp.sh
touch $@
libpressio.done: sz.done cblosc.done zfp.done stdcompat.done
./compile_libpressio.sh
touch $@
enstools.done: libpressio.done
enstools.done: hdf5.done
./install_enstools.sh
touch $@
......
#!/bin/bash -l
set -xuve
source ../environment.sh
source etc/shared_functions.sh
# compile eccodes
SW=h5z-blosc
REPOSITORY=https://github.com/Blosc/hdf5-blosc.git
VERSION=${H5Z_BLOSC_VERSION}
INSTALLDIR=$(get_install_base)/${SW}/${VERSION}
mkdir -p ${INSTALLDIR}
# create temporal folder and switch into it
switch2build
# Clone repository and enter directory
TAG_NAME=v${VERSION}
TAG_NAME=master
git clone ${REPOSITORY} -b ${TAG_NAME} source
cd source
# compile and install
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=${INSTALLDIR}
make
make install
# Somehow the Makefile doesn't copy these two required files
cp libblosc_filter.so ${INSTALLDIR}/lib
cp libH5Zblosc.so ${INSTALLDIR}/lib
#!/bin/bash -l
set -xuve
source ../environment.sh
source etc/shared_functions.sh
# compile eccodes
SW=h5z-zfp
REPOSITORY=https://github.com/LLNL/H5Z-ZFP.git
VERSION=${H5Z_ZFP_VERSION}
INSTALLDIR=$(get_install_base)/${SW}/${VERSION}
echo ${INSTALLDIR}
mkdir -p ${INSTALLDIR}
# create temporal folder and switch into it
switch2build
TAG_NAME=v${VERSION}
# Clone repository and enter directory
git clone ${REPOSITORY} -b ${TAG_NAME} source
cd source
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=${INSTALLDIR}
make
make install
switch2base_cleanup
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