Skip to content
Snippets Groups Projects
Commit b301c4fb authored by Fabio Roberto Vitello's avatar Fabio Roberto Vitello
Browse files

Update Makefile

parent 97713936
No related branches found
No related tags found
No related merge requests found
# Gaia GSRPar Makefile # 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++ ##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++ ##COMPILERCPP = /opt/openmpi_icc/bin/mpic++
CC = $(COMPILERCPP) CC = $(COMPILERCPP)
...@@ -31,12 +50,12 @@ MEMREQ= memRequest.o ...@@ -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) #INCLUDE = -I$(GAIAINC)
#CFLAGS= $(INCLUDE) -std=c99 #CFLAGS= $(INCLUDE) -std=c99
CPPFLAGS= $(INCLUDE) -g -fsanitize=address -mllvm -asan-stack CPPFLAGS= $(INCLUDE) -g -fsanitize=address -mllvm -asan-stack
CPPFLAGS= $(INCLUDE) CPPFLAGS= $(INCLUDE) $(CFLAGS_I) $(EXTRA)
LIB = -L$(CFITSIOLIB) -lcfitsio -lm 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 all: GaiaGsrParSim
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment