From d0c3eb14481785cb6490142fc908031cf6e77617 Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Mon, 31 May 2021 15:59:30 +0200
Subject: [PATCH] Disable CUDA ON CPU on Mac

---
 build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sh b/build.sh
index 7f2d8030c..0eb3cc7b9 100755
--- a/build.sh
+++ b/build.sh
@@ -33,6 +33,7 @@ if [ x"$hostname" == x"cifarm-ubuntu-node"  ]; then
 	echo "Ubuntu node"
 	./install_MPI_mpich.sh $HOME/openfpm_dependencies/openfpm_pdata/$branch/ 4
 	export PATH="/opt/bin:$PATH"
+	foward_options="--enable-cuda-on-cpu"
 fi
 
 if [ x"$hostname" == x"cifarm-mac-node.mpi-cbg.de"  ]; then
@@ -91,7 +92,6 @@ fi
 #echo "StrictHostKeyChecking=no" > $HOME/.ssh/config
 #chmod 600 $HOME/.ssh/config
 
-foward_options="--enable-cuda-on-cpu"
 install_options=
 if [ x"$comp_type" == x"full" ]; then
         install_options="-s "
-- 
GitLab