Commit aa1d7717 authored by Pietro Incardona's avatar Pietro Incardona

Fixing clang compilation

parent d68964b8
......@@ -229,11 +229,12 @@ then
module load boost/1.60.0
module load gcc/5.3.0
module load openmpi/1.10.2-gnu
module load petsc/3.3-p7
module unload bullxmpi
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/incard/PARMETIS/lib:/home/incard/METIS/lib:/home/incard/HDF5/lib"
./install -s -c"CXX=mpic++ --with-boost=/sw/taurus/libraries/boost/1.60.0"
./install -s -c"CXX=mpic++ --with-boost=/sw/taurus/libraries/boost/1.60.0 --with-petsc=$PETSC_DIR "
make
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_pdata test \" }] }" https://hooks.slack.com/services/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
......
......@@ -478,7 +478,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_periodic_test_use_2d )
Ghost<2,float> ghost2(0.05001 / factor);
// Distributed vector
vector_dist<2,float, Point_test<float>, CartDecomposition<2,float> > vd(k,box,bc,ghost);
vector_dist<2,float, Point_test<float> > vd(k,box,bc,ghost);
auto it = vd.getIterator();
......@@ -534,7 +534,7 @@ BOOST_AUTO_TEST_CASE( vector_dist_periodic_test_use_2d )
// Iterate only on the ghost particles
auto itg = vd.getGhostIterator();
count_local_n_local(vd,itg,bc,box,dom_ext,l_cnt,nl_cnt,n_out);
count_local_n_local<2,vector_dist<2,float, Point_test<float> > >(vd,itg,bc,box,dom_ext,l_cnt,nl_cnt,n_out);
// No particle on the ghost must be inside the domain
BOOST_REQUIRE_EQUAL(l_cnt,0ul);
......
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