From b48befbc99c9b97c3eb78966eebf6abd18739d39 Mon Sep 17 00:00:00 2001
From: Emanuele De Rubeis <ederubei@login03.m100.cineca.it>
Date: Wed, 1 Feb 2023 15:26:57 +0100
Subject: [PATCH] PARALLELIO and CFITSIO implementation

---
 Makefile          | 4 ++--
 w-stacking-fftw.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 928bb59..f632e6e 100644
--- a/Makefile
+++ b/Makefile
@@ -36,8 +36,8 @@ OPT += -DWRITE_IMAGE
 OPT += -DPHASE_ON
 # Support CFITSIO
 OPT += -DFITSIO
-# Perform true parallel fits writing
-OPT += -DPARALLELIO
+# Perform true parallel images writing
+#OPT += -DPARALLELIO
 
 ifeq (FITSIO,$(findstring FITSIO,$(OPT)))
 	LIBS += -L$(FITSIO_LIB) -lcfitsio
diff --git a/w-stacking-fftw.c b/w-stacking-fftw.c
index 93e520d..55244ba 100644
--- a/w-stacking-fftw.c
+++ b/w-stacking-fftw.c
@@ -104,8 +104,8 @@ int main(int argc, char * argv[])
 	double resolution;
 
         // Mesh related parameters: global size
-	int grid_size_x = 4096;
-	int grid_size_y = 4096;
+	int grid_size_x = 2048;
+	int grid_size_y = 2048;
 	// Split Mesh size (auto-calculated)
 	int local_grid_size_x;
 	int local_grid_size_y;
-- 
GitLab