From 5ebf3704528c7198ba28c91b94a0008e5b61e9ab Mon Sep 17 00:00:00 2001
From: mattijs <mattijs>
Date: Mon, 6 Jun 2011 11:45:38 +0100
Subject: [PATCH] ENH: paraFoam: filter out dlclose error

---
 bin/paraFoam | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/paraFoam b/bin/paraFoam
index a57505f5f9b..48eab6ebe05 100755
--- a/bin/paraFoam
+++ b/bin/paraFoam
@@ -229,7 +229,8 @@ else
         echo "created temporary '$caseFile'"
     }
 
-    paraview --data="$caseFile" "$@"
+    # For now filter out any ld.so errors. Caused by non-system compiler?
+    paraview --data="$caseFile" "$@" 2>&1 | fgrep -v 'Inconsistency detected by ld.so'
 fi
 
 
-- 
GitLab