diff --git a/build_pdata.sh b/build_pdata.sh index 835f36183f06694551dc2cb9bb6bcbf855ea3b8a..dff0d80eb7fc4e88892cabf1c33d7db6331ef740 100644 --- a/build_pdata.sh +++ b/build_pdata.sh @@ -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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 diff --git a/src/Vector/vector_dist_unit_test.hpp b/src/Vector/vector_dist_unit_test.hpp index 68921c245a3281384632d925a0920bf577c1495f..922f657473c774708a7a96c8991dae23814c63de 100644 --- a/src/Vector/vector_dist_unit_test.hpp +++ b/src/Vector/vector_dist_unit_test.hpp @@ -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, CartDecomposition<2,float> > vd(k,box,bc,ghost); + vector_dist<2,float, Point_test > 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 > >(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);