From d3efe10f60953fc6cff8dfa48f977affa3f1f5f3 Mon Sep 17 00:00:00 2001
From: Emanuele De Rubeis <ederubei@login01.m100.cineca.it>
Date: Tue, 17 Jan 2023 17:41:54 +0100
Subject: [PATCH] Makefile for M100 with CFITSIO implementation

---
 Build/Makefile.M100 | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Build/Makefile.M100 b/Build/Makefile.M100
index 1fa008e..eaf92e2 100644
--- a/Build/Makefile.M100
+++ b/Build/Makefile.M100
@@ -1,3 +1,4 @@
+
 CC       =  gcc
 CXX      =  g++
 
@@ -5,8 +6,11 @@ MPICC    =  mpicc
 MPIC++   =  mpiCC
 
 
-#FFTW_INCL=  -I/home/taffoni/sw/include
-#FFTW_LIB=  -L/home/taffoni/sw/lib
+FFTW_INCL=  -I/cineca/prod/opt/libraries/fftw/3.3.8/spectrum_mpi--10.4.0--binary/include/
+FFTW_LIB=  /cineca/prod/opt/libraries/fftw/3.3.8/spectrum_mpi--10.4.0--binary/lib
+
+FITSIO_INCL= -I/m100_work/IscrC_CD-DLS/cfitsio-3.49
+FITSIO_LIB= /m100_work/IscrC_CD-DLS/cfitsio-3.49
 
 
 NVCC = nvcc
@@ -15,6 +19,6 @@ NVLIB = -L/cineca/prod/opt/compilers/cuda/10.1/none/lib64/ -lcudart -lcuda
 
 OMP= -fopenmp
 
-CFLAGS +=  -I. $(FFTW_INCL) $(GSL_INCL) $(MPI_INCL)
+CFLAGS +=  -I. $(FFTW_INCL) $(GSL_INCL) $(MPI_INCL) $(FITSIO_INCL)
 
 OPTIMIZE = $(OMP) -O3 -mtune=native
-- 
GitLab