Commit b301c4fb authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello

Update Makefile

parent 97713936
# Gaia GSRPar Makefile
COMPILER = /opt/openmpi_icc/bin/mpic++ -openmp -DOMP
JOB_SCHED_VERSION=-smp
CFLAGS_I = --instrument
EXTRA = -std=c99 -O3 -Wall -Wno-unused -mcmodel=large
BASE_DIR= /home/fvitello/ompss-ee-master
COMMON_DIR=$(BASE_DIR)/common-files
CONFIG_DIR=.config
GFLAGS=
PARAVER=extrae.xml trace.sh
SCRIPTS=run-once.sh multirun.sh
MPI_CHECK=$(MPI_LIB_DIR)/libmpi.so
MKL_CHECK=$(MKL_LIB_DIR)/libmkl_sequential.so
ATLAS_CHECK=$(ATLAS_LIB_DIR)/libatlas.a
COMPILER = /opt/ompss/bin/mcc
##COMPILER = /opt/openmpi_icc/bin/mpic++
COMPILERCPP = /opt/openmpi_icc/bin/mpic++ -openmp -DOMP
COMPILERCPP = /opt/ompss/bin/mcxx --ompss -DOMP
##COMPILERCPP = /opt/openmpi_icc/bin/mpic++
CC = $(COMPILERCPP)
......@@ -31,12 +50,12 @@ MEMREQ= memRequest.o
INCLUDE = -I$(GAIAINC) -I/opt/local/include -I/opt/openmpi_icc/include/ -I/opt/cfitsio3_1_0/include/
INCLUDE = -I$(GAIAINC) -I/opt/local/include -I/opt/openmpi_icc/include/ -I/opt/cfitsio3_1_0/include/ -I/opt/openmpi/include -pthread
#INCLUDE = -I$(GAIAINC)
#CFLAGS= $(INCLUDE) -std=c99
CPPFLAGS= $(INCLUDE) -g -fsanitize=address -mllvm -asan-stack
CPPFLAGS= $(INCLUDE)
LIB = -L$(CFITSIOLIB) -lcfitsio -lm
CPPFLAGS= $(INCLUDE) $(CFLAGS_I) $(EXTRA)
LIB = -pthread -L/usr/local/pbspro/lib -Wl,-rpath -Wl,/usr/local/pbspro/lib -Wl,-rpath -Wl,/opt/openmpi/lib -Wl,--enable-new-dtags -L/opt/openmpi/lib -lmpi -L$(CFITSIOLIB) -lcfitsio -lm
all: GaiaGsrParSim
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment