Commit 84d092c1 authored by Emanuele De Rubeis's avatar Emanuele De Rubeis
Browse files

New Makefile with CFITSIO implementation

parent d3efe10f
Loading
Loading
Loading
Loading
+7 −2
Original line number Original line Diff line number Diff line
@@ -27,14 +27,19 @@ endif


#OPT += -DNVIDIA
#OPT += -DNVIDIA
# perform one-side communication (suggested) instead of reduce (only if MPI is active)
# perform one-side communication (suggested) instead of reduce (only if MPI is active)
OPT += -DONE_SIDE
#OPT += -DONE_SIDE
# write the full 3D cube of gridded visibilities and its FFT transform
# write the full 3D cube of gridded visibilities and its FFT transform
#OPT += -DWRITE_DATA
#OPT += -DWRITE_DATA
# write the final image
# write the final image
OPT += -DWRITE_IMAGE
OPT += -DWRITE_IMAGE
# perform w-stacking phase correction
# perform w-stacking phase correction
OPT += -DPHASE_ON
#OPT += -DPHASE_ON
# Support CFITSIO
OPT += -DFITSIO


ifeq (FITSIO,$(findstring FITSIO,$(OPT)))
	LIBS += -L$(FITSIO_LIB) -lcfitsio
endif


DEPS = w-stacking.h w-stacking-fftw.c w-stacking.cu phase_correction.cu
DEPS = w-stacking.h w-stacking-fftw.c w-stacking.cu phase_correction.cu
COBJ = w-stacking.o w-stacking-fftw.o phase_correction.o
COBJ = w-stacking.o w-stacking-fftw.o phase_correction.o