Skip to content

Commit

Permalink
Merge pull request #895 from lkotipal/move-includepaths
Browse files Browse the repository at this point in the history
Move submodule include paths
  • Loading branch information
ykempf authored Aug 22, 2024
2 parents 0ebc1c3 + d5b7bca commit c81422d
Show file tree
Hide file tree
Showing 28 changed files with 9 additions and 195 deletions.
12 changes: 0 additions & 12 deletions MAKE/Makefile.Freezer
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ LNK = mpic++
ifeq ($(DISTRIBUTION_FP_PRECISION),SPF)
#Single-precision
VECTORCLASS = VEC8F_AGNER
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
# VECTORCLASS = VEC8F_FALLBACK
# INC_VECTORCLASS = -I$(LIBRARY_PREFIX)/../vlasiator/vlasovsolver
else
#Double-precision
VECTORCLASS = VEC4D_AGNER
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
# VECTORCLASS = VEC4D_FALLBACK
# INC_VECTORCLASS = -I$(LIBRARY_PREFIX)/../vlasiator/vlasovsolver
endif
Expand Down Expand Up @@ -70,13 +68,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX)/vlsv/lib

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include

#header libraries

INC_EIGEN = -isystem ./submodules/eigen/
#INC_DCCRG = -I$(LIBRARY_PREFIX)/dccrg_new_neighbours
INC_DCCRG = -I./submodules/dccrg
INC_FSGRID = -I./submodules/fsgrid



7 changes: 0 additions & 7 deletions MAKE/Makefile.arriesgado
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,5 @@ LIB_ZOLTAN = -L${LIBRARY_PREFIX}/lib -lzoltan
INC_VLSV = -I$(LIBRARY_PREFIX)/include
LIB_VLSV = -L$(LIBRARY_PREFIX)/lib -lvlsv

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

LIB_PROFILE = -L${LIBRARY_PREFIX}/lib -lphiprof -Wl,-rpath=${LIBRARY_PREFIX}/lib
INC_PROFILE = -I${LIBRARY_PREFIX}/include
INC_TOPO =

INC_EIGEN = -isystem ./submodules/eigen/
4 changes: 0 additions & 4 deletions MAKE/Makefile.bsc_jetsontx
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ LIB_ZOLTAN = -L${LIBRARY_PREFIX}/lib -lzoltan
INC_VLSV = -I$(LIBRARY_PREFIX)/vlsv
LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

LIB_PROFILE = -L${LIBRARY_PREFIX}/phiprof/lib -lphiprof -Wl,-rpath=${LIBRARY_PREFIX}/phiprof/lib
INC_PROFILE = -I${LIBRARY_PREFIX}/phiprof/include
INC_TOPO =
Expand Down
7 changes: 0 additions & 7 deletions MAKE/Makefile.carrington_gcc_openmpi
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,3 @@ INC_ZOLTAN = -isystem $(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BR
#LIB_PAPI = -L$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/carrington/papi/lib -lpapi -Wl,-rpath=$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/carrington/papi/lib
#INC_PAPI = -isystem $(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/carrington/papi/include
LIB_PAPI = -lpapi

#header libraries
INC_EIGEN = -isystem ./submodules/eigen/
INC_FSGRID = -I./submodules/fsgrid/
INC_DCCRG = -I./submodules/dccrg/
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/

6 changes: 0 additions & 6 deletions MAKE/Makefile.cubbli20
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ LIB_JEMALLOC = #-L$(LIBRARY_PREFIX)/lib -ljemalloc

ifeq ($(DISTRIBUTION_FP_PRECISION),SPF)
#Single-precision
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
VECTORCLASS = VEC4F_FALLBACK
else
#Double-precision
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
VECTORCLASS = VEC4D_FALLBACK
endif

Expand Down Expand Up @@ -97,10 +95,6 @@ LIB_ZOLTAN = -L$(LIBRARY_PREFIX)/Zoltan/build/lib -lzoltan
INC_VLSV = -I$(LIBRARY_PREFIX)/vlsv
LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include
LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib

Expand Down
7 changes: 0 additions & 7 deletions MAKE/Makefile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,3 @@ LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof-2.0-beta/lib -lphiprof

INC_PAPI = -I$(LIBRARY_PREFIX)/papi/include
LIB_PAPI = -L$(LIBRARY_PREFIX)/papi/lib -lpapi

#header libraries

INC_EIGEN = -isystem ./submodules/eigen/
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_FSGRID = -I./submodules/fsgrid
7 changes: 3 additions & 4 deletions MAKE/Makefile.github_actions
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,12 @@ LIB_SILO = -lsiloh5
INC_PAPI =
LIB_PAPI = -lpapi

INC_DCCRG = -I${GITHUB_WORKSPACE}/submodules/dccrg
INC_EIGEN = -I${GITHUB_WORKSPACE}/submodules/eigen
INC_FSGRID = -I${GITHUB_WORKSPACE}/submodules/fsgrid

LIB_PROFILE = -I $(LIBRARY_PREFIX)/include ${GITHUB_WORKSPACE}/libraries/lib/libphiprof.a
INC_PROFILE =
INC_TOPO =

# Works without but as an example: arch-specific INCLUDE paths be like this:
INC_DCCRG = -I${GITHUB_WORKSPACE}/submodules/dccrg
INC_FSGRID = -I${GITHUB_WORKSPACE}/submodules/fsgrid
INC_VECTORCLASS = -isystem ${GITHUB_WORKSPACE}/submodules/vectorclass/ -isystem ${GITHUB_WORKSPACE}/submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ${GITHUB_WORKSPACE}/submodules/eigen/
9 changes: 0 additions & 9 deletions MAKE/Makefile.hawk_gcc_mpt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,11 @@ LNK = mpicxx
ifeq ($(DISTRIBUTION_FP_PRECISION),SPF)
#Single-precision
VECTORCLASS = VEC8F_AGNER
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
# VECTORCLASS = VEC8F_FALLBACK
# INC_VECTORCLASS = -I$(HOME)/vlasiator/vlasovsolver
else
#Double-precision
VECTORCLASS = VEC4D_AGNER
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
# VECTORCLASS = VEC4D_FALLBACK
# VECTORCLASS = VEC8D_FALLBACK
# INC_VECTORCLASS = -I$(HOME)/vlasiator/vlasovsolver
Expand Down Expand Up @@ -97,10 +95,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/$(MPI_BRAND)/$(MPI_VERSION)/$(CC_BRAND)/$(CC_B

INC_PAPI = -I/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-gcc-9.2.0-hxfnx7kt/include
LIB_PAPI = -L/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-gcc-9.2.0-hxfnx7kt/lib -lpapi

#header libraries

INC_DCCRG = -I./submodules/dccrg
INC_FSGRID = -I./submodules/fsgrid
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
10 changes: 0 additions & 10 deletions MAKE/Makefile.hawk_gcc_openmpi
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/$(MPI_BRAND)/$(MPI_VERSION)/$(CC_BRAND)/$(CC_B

INC_PAPI = -I/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-gcc-9.2.0-hxfnx7kt/include
LIB_PAPI = -L/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-gcc-9.2.0-hxfnx7kt/lib -lpapi

#header libraries

INC_DCCRG = -I./submodules/dccrg
INC_FSGRID = -I./submodules/fsgrid
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/



10 changes: 0 additions & 10 deletions MAKE/Makefile.hawk_intel_mpt
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/$(MPI_BRAND)/$(MPI_VERSION)/$(CC_BRAND)/$(CC_B

INC_PAPI = -I/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-intel-19.1.0-wlgbb2mr/include
LIB_PAPI = -L/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-intel-19.1.0-wlgbb2mr/lib -lpapi

#header libraries

INC_DCCRG = -I./submodules/dccrg
INC_FSGRID = -I./submodules/fsgrid
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/



10 changes: 0 additions & 10 deletions MAKE/Makefile.hawk_intel_openmpi
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/$(MPI_BRAND)/$(MPI_VERSION)/$(CC_BRAND)/$(CC_B

INC_PAPI = -I/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-intel-19.1.0-wlgbb2mr/include
LIB_PAPI = -L/opt/hlrs/spack/rev-004_2020-06-17/papi/c048e224f-intel-19.1.0-wlgbb2mr/lib -lpapi

#header libraries

INC_DCCRG = -I./submodules/dccrg
INC_FSGRID = -I./submodules/fsgrid
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/



4 changes: 0 additions & 4 deletions MAKE/Makefile.home
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ LIB_VLSV = -lvlsv
INC_SILO = -I${HOME}/include
LIB_SILO = -L${HOME}/lib -lsilo

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

LIB_PROFILE = -L${HOME}/phiprof/lib -lphiprof
INC_PROFILE = -I${HOME}/phiprof/include
INC_TOPO =
Expand Down
4 changes: 0 additions & 4 deletions MAKE/Makefile.horakons
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv
INC_SILO = -I$(LIBRARY_PREFIX)/include
LIB_SILO = -L$(LIBRARY_PREFIX)/lib -lsilo

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

INC_PAPI = -I$(LIBRARY_PREFIX)/papi_install/include/
LIB_PAPI = -L$(LIBRARY_PREFIX)/papi_install/lib/ -lpapi

Expand Down
4 changes: 0 additions & 4 deletions MAKE/Makefile.kstppd
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv
INC_SILO = -I$(LIBRARY_PREFIX)/include
LIB_SILO = -L$(LIBRARY_PREFIX)/lib -lsilo

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

INC_PAPI = -I$(LIBRARY_PREFIX)/papi-5.4.3/src
LIB_PAPI = -L$(LIBRARY_PREFIX)/papi-5.4.3/src -lpapi

Expand Down
6 changes: 0 additions & 6 deletions MAKE/Makefile.lumi_cpeGnu
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX2)/vlsv

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -lgfortran -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include

#header libraries
INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.lumi_cray
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX)/vlsv

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -lgfortran -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.lumi_gnu
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX)/vlsv

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -lgfortran -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.lumi_gnu358
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX)/vlsv

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -lgfortran -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid/
INC_DCCRG = -I./submodules/dccrg/
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
6 changes: 0 additions & 6 deletions MAKE/Makefile.mahti_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX)/vlsv

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include

# header libraries
INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
7 changes: 0 additions & 7 deletions MAKE/Makefile.marconi
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,3 @@ LIB_JEMALLOC = -L$(LIBRARY_PREFIX)/jemalloc/lib -ljemalloc -Wl,-rpath,$(LIBRARY_
#system
INC_PAPI = -I$(LIBRARY_PREFIX)/papi/include
LIB_PAPI = -L$(LIBRARY_PREFIX)/papi/lib -lpapi -lpfm

#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.perlmutter_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,3 @@ LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv -Wl,-rpath=$(LIBRARY_PREFIX)/vlsv

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof -lgfortran -Wl,-rpath=$(LIBRARY_PREFIX)/phiprof/lib
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.puhti_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND

LIB_PAPI = -L$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/lib -lpapi -Wl,-rpath=$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/lib
INC_PAPI = -I$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.puhti_intel
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND

LIB_PAPI = -L$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/lib -lpapi -Wl,-rpath=$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/lib
INC_PAPI = -I$(LIBRARY_PREFIX)/hpcx-mpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.puhti_pgi
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/openmpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_

#LIB_PAPI = -L$(LIBRARY_PREFIX)/openmpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/lib -lpapi -Wl,-rpath=$(LIBRARY_PREFIX)/openmpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/lib
#INC_PAPI = -I$(LIBRARY_PREFIX)/openmpi/$(MPT_VERSION)/$(CC_BRAND)/$(CC_BRAND_VERSION)/papi/include


#header libraries

INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
6 changes: 0 additions & 6 deletions MAKE/Makefile.ukko_gcc_openmpi
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,3 @@ INC_ZOLTAN = -I$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(
#LIB_PAPI = -L$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/ukko/papi/lib -lpapi -Wl,-rpath=$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/carrington/papi/lib
#INC_PAPI = -I$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/ukko/papi/include
LIB_PAPI = -lpapi

#header libraries
INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/
8 changes: 0 additions & 8 deletions MAKE/Makefile.vorna_gcc
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,3 @@ INC_PROFILE = -I$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$

LIB_PAPI = -L$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/vorna/papi/lib -lpapi -Wl,-rpath=$(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/vorna/papi/lib
INC_PAPI = -isystem $(LIBRARY_PREFIX)/$(CC_BRAND)/$(CC_BRAND_VERSION)/$(MPT_BRAND)/$(MPT_VERSION)/vorna/papi/include

#header libraries
INC_FSGRID = -I./submodules/fsgrid
INC_DCCRG = -I./submodules/dccrg
INC_VECTORCLASS = -isystem ./submodules/vectorclass/ -isystem ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -isystem ./submodules/eigen/


8 changes: 0 additions & 8 deletions MAKE/Makefile.yann
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@

ifeq ($(DISTRIBUTION_FP_PRECISION),SPF)
#Single-precision
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
VECTORCLASS = VEC8F_AGNER
else
#Double-precision
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
VECTORCLASS = VEC4D_AGNER
endif

Expand Down Expand Up @@ -63,15 +61,9 @@ LIB_ZOLTAN = -L$(LIBRARY_PREFIX)/zoltan/lib -lzoltan
INC_VLSV = -I$(LIBRARY_PREFIX)/vlsv
LIB_VLSV = -L$(LIBRARY_PREFIX)/vlsv -lvlsv

INC_DCCRG = -I./submodules/dccrg

INC_FSGRID = -I./submodules/fsgrid

INC_JEMALLOC = -I$(LIBRARY_PREFIX)/jemalloc/include
LIB_JEMALLOC = -L$(LIBRARY_PREFIX)/jemalloc/lib -ljemalloc

LIB_PROFILE = -L$(LIBRARY_PREFIX)/phiprof/lib -lphiprof
INC_PROFILE = -I$(LIBRARY_PREFIX)/phiprof/include
INC_TOPO =

INC_EIGEN = -isystem ./submodules/eigen/
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ ifneq (,$(findstring testpackage,$(MAKECMDGOALS)))
COMPFLAGS += -DIONOSPHERE_SORTED_SUMS -DINITIALIZE_ALIGNED_MALLOC_WITH_NAN
endif

# Use submodules by default
# This can be overridden in architecture-specific makefiles
INC_FSGRID = -I./submodules/fsgrid/
INC_DCCRG = -I./submodules/dccrg/
INC_VECTORCLASS = -I ./submodules/vectorclass/ -I ./submodules/vectorclass-addon/vector3d/
INC_EIGEN = -I ./submodules/eigen/

include MAKE/Makefile.${ARCH}

Expand Down

0 comments on commit c81422d

Please sign in to comment.