Skip to content
Snippets Groups Projects
Commit afc3b40f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Running CI again

parent 9f4a2da8
No related branches found
No related tags found
No related merge requests found
Pipeline #4567 failed
......@@ -36,9 +36,9 @@ ls openfpm_dependencies
cp openfpm_dependencies/$branch/openfpm_vars_$branch $HOME/openfpm_vars_$branch
source $HOME/openfpm_vars_$branch
echo "RUNNING pdata $nproc with $mpi_options"
mpirun $mpi_options -np $nproc ./build/src/pdata
if [ $? -ne 0 ]; then
curl -X POST --data "payload={\"icon_emoji\": \":jenkins:\", \"username\": \"jenkins\" , \"attachments\":[{ \"title\":\"Error:\", \"color\": \"#FF0000\", \"text\":\"$hostname failed to complete the openfpm_pdata test \" }] }" https://hooks.slack.com/services/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
exit 1 ;
fi
......
......@@ -12,15 +12,15 @@ if [ -d "$1/HDF5" -a -f "$1/HDF5/include/hdf5.h" ]; then
fi
if [ ! -d "$1/ZLIB" -a x"$platform" != x"cygwin" ]; then
rm zlib-1.2.11.tar.gz
rm -rf zlib-1.2.11
wget https://zlib.net/fossils/zlib-1.2.11.tar.gz
rm zlib-1.2.12.tar.gz
rm -rf zlib-1.2.12
wget https://zlib.net/fossils/zlib-1.2.12.tar.gz
if [ $? -ne 0 ]; then
echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
exit 1
fi
tar -xf zlib-1.2.11.tar.gz
cd zlib-1.2.11
tar -xf zlib-1.2.12.tar.gz
cd zlib-1.2.12
CC=mpicc ./configure --prefix=$1/ZLIB
make -j $2
......
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