Commit 7d6976ab authored by incardon's avatar incardon

Fixing IO on CI Farm

parent 7740f125
#! /bin/bash
source $HOME/.bashrc
source $HOME/openfpm_vars_$3
echo "$PATH"
hostname=$(hostname)
branch=$3
# Make a directory in /tmp/openfpm_data
......@@ -15,6 +13,18 @@ then
module load boost/1.54.0
fi
if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de" ]; then
export LD_LiBRARY_PATH="$LD_LIBRARY_PATH:$HOME/openfpm_dependencies/openfpm_io/$branch/HDF5/lib"
fi
if [ x"$hostname" == x"cifarm-ubuntu-node" ]; then
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/openfpm_dependencies/openfpm_io/$branch/HDF5/lib"
fi
if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de" ]; then
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$HOME/openfpm_dependencies/openfpm_io/$branch/HDF5/lib"
fi
./build/src/io
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$2 failed to complete the openfpm_io test \" }] }" https://hooks.slack.com/services/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
......
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