From c59a02a19bb893126bfcf7b772cfec98134073e4 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Wed, 12 Dec 2018 22:00:51 +0100
Subject: [PATCH] Inducing a crash

---
 build.sh                                  | 2 ++
 src/Vector/tests/vector_dist_dlb_test.hpp | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index fb441064f..34810b769 100755
--- a/build.sh
+++ b/build.sh
@@ -19,6 +19,7 @@ rm -rf $HOME/openfpm_dependencies/openfpm_pdata/0
 if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de"  ]; then
 	./install_MPI_mpich.sh $HOME/openfpm_dependencies/openfpm_pdata/$branch/ 4
 	echo 4 > $HOME/openfpm_dependencies/openfpm_pdata/$branch/MPI/version
+	rm -rf $HOME/openfpm_dependencies/openfpm_pdata/full
 fi
 
 if [ x"$hostname" == x"cifarm-ubuntu-node.mpi-cbg.de"  ]; then
@@ -27,6 +28,7 @@ fi
 
 if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de"  ]; then
 	export PATH="/usr/local/bin:$PATH"
+	rm -rf $HOME/openfpm_dependencies/openfpm_pdata/full
 fi
 
 
diff --git a/src/Vector/tests/vector_dist_dlb_test.hpp b/src/Vector/tests/vector_dist_dlb_test.hpp
index c6a29a9cb..a68bfe1e4 100644
--- a/src/Vector/tests/vector_dist_dlb_test.hpp
+++ b/src/Vector/tests/vector_dist_dlb_test.hpp
@@ -304,7 +304,7 @@ template<typename vector_type> void test_dlb_vector()
 
 		//////////////////////////////////
 		
-		if (vcl.rank() == 0)
+		if (create_vcluster().rank() == 0)
 		{
 			return;
 		}
-- 
GitLab