From b4b9771813dd8192cf6d62c215ba8d8a259395fc Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Wed, 12 Jul 2017 02:02:49 +0200
Subject: [PATCH] Fixing OpenMPI running on OSX

---
 install | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/install b/install
index 9c2dd0071..da5082a40 100755
--- a/install
+++ b/install
@@ -511,6 +511,10 @@ bash_library="$bash_library\""
 echo "$bash_path" > $HOME/openfpm_vars
 echo "$bash_library" >> $HOME/openfpm_vars
 
+if [ x"$platform" = x"osx" ]; then
+    echo "TMPDIR=/tmp/" >> $HOME/openfpm_vars
+fi
+
 echo -e "$installation_report"
 echo ""
 echo ""
-- 
GitLab