From 9af8930216f2504c928d48bb81a5fe2e4e5f9de2 Mon Sep 17 00:00:00 2001
From: Lukas Werner <lks.werner@fau.de>
Date: Fri, 19 Jan 2018 10:38:49 +0100
Subject: [PATCH] Dont write buffer output on cluster

---
 apps/tutorials/pe/01_ConfinedGas.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apps/tutorials/pe/01_ConfinedGas.cpp b/apps/tutorials/pe/01_ConfinedGas.cpp
index 88ac1926d..369599622 100644
--- a/apps/tutorials/pe/01_ConfinedGas.cpp
+++ b/apps/tutorials/pe/01_ConfinedGas.cpp
@@ -259,7 +259,9 @@ void rayTrace (shared_ptr<BlockForest> forest, BlockDataID storageID) {
    //WALBERLA_LOG_INFO_ON_ROOT("#gatheredIntersections: " << gatheredIntersections.size());
    
    mpi::MPIRank rank = mpi::MPIManager::instance()->rank();
+#ifdef __APPLE__
    writeTBufferToFile(tBuffer, idBuffer, pixelsHorizontal, pixelsVertical, "/Users/ng/Desktop/walberla/tbuffer_" + std::to_string(rank) + ".ppm");
+#endif
 }
 
 void testRayTracing () {
-- 
GitLab