Skip to content
Makefile 1.02 KiB
Newer Older
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed
# Gaia GSRPar Makefile

COMPILER = mpiicpc  -qopenmp -DOMP
COMPILERCPP = mpiicpc -qopenmp -DOMP
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed
CPP= $(COMPILERCPP)


CFITSIOLIB=/opt/cluster/cfitsio/intel/2017.1/lib/ 
GAIAINC=/u/ubecciani/EuroExa/CoreApp7.2/src
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed

GAIAGSRSIM= aprod.o  lsqrblas.o  lsqr.o  solvergaiaSim.o util.o  
MEMREQ= memRequest.o  


##INCLUDE = -I$(GAIAINC) -I/opt/local/include -I/opt/local/include/mpich2  -I/opt/cluster/cfitsio/intel/2017.1/include/
INCLUDE = -I$(GAIAINC)   -I/opt/cluster/cfitsio/intel/2017.1/include/
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed
#INCLUDE = -I$(GAIAINC) 
#CFLAGS= $(INCLUDE)  -std=c99 
#CPPFLAGS= $(INCLUDE) -g -fsanitize=address -mllvm -asan-stack
#CPPFLAGS= $(INCLUDE)  -lirc -limf -lsvml
CPPFLAGS= $(INCLUDE)  
LIB = -L$(CFITSIOLIB) -lcfitsio -lm
all:	MemReq GaiaGsrParSim
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed
###all: GaiaGsrPar MemReq GaiaGsrParTest GaiaFits2Bin GaiaBin2Fits GaiaBin2Reduced 

GaiaGsrParSim: $(GAIAGSRSIM)
	$(CPP) $(CPPFLAGS) -o GaiaGsrParSim $(GAIAGSRSIM) $(INCLUDE) $(LIB)

MemReq: $(MEMREQ)
	$(CPP) $(CPPFLAGS) -o MemReq $(MEMREQ) $(INCLUDE) $(LIB)
Fabio Roberto Vitello's avatar
Fabio Roberto Vitello committed

clean:
	rm -f *.o core