From b69a1d1c042e6321d0e08d10d865c301efdfd5f5 Mon Sep 17 00:00:00 2001 From: Emanuele De Rubeis Date: Thu, 23 Nov 2023 16:29:19 +0100 Subject: [PATCH] General updates on the code, remove PARALLELIO --- Makefile | 9 +++------ fourier_transform.c | 49 +++++++++------------------------------------ main.c | 15 ++++++++++++-- 3 files changed, 25 insertions(+), 48 deletions(-) diff --git a/Makefile b/Makefile index f2a9e74..afdd14c 100644 --- a/Makefile +++ b/Makefile @@ -52,9 +52,6 @@ OPT += -DPHASE_ON # Support CFITSIO !!! Remember to add the path to the CFITSIO library to LD_LIBRARY_PATH #OPT += -DFITSIO -# Perform true parallel images writing -OPT += -DPARALLELIO - # Normalize uvw in case it is not done in the binMS #OPT += -DNORMALIZE_UVW @@ -74,13 +71,13 @@ OPT += -DGAUSS #OPT += -DNVIDIA #use cuda for GPUs -OPT += -DCUDACC +#OPT += -DCUDACC # use GPU acceleration via OMP #OPT += -DACCOMP # perform stacking on GPUs -OPT += -DGPU_STACKING +#OPT += -DGPU_STACKING # use NVIDIA GPU to perform the reduce #OPT += -DNCCL_REDUCE @@ -89,7 +86,7 @@ OPT += -DGPU_STACKING #OPT += -DRCCL_REDUCE # use GPU to perform FFT -OPT += -DCUFFTMP +#OPT += -DCUFFTMP #support for AMD GPUs #OPT += __HIP_PLATFORM_AMD__ diff --git a/fourier_transform.c b/fourier_transform.c index e7379c9..83efcaf 100644 --- a/fourier_transform.c +++ b/fourier_transform.c @@ -282,49 +282,18 @@ void write_fftw_data(){ #endif //FITSIO - for (int isector=0; isector