-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefile.arch
41 lines (30 loc) · 1004 Bytes
/
Makefile.arch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
### ###
### THIS IS AN EXAMPLE OF AN ARCHITECTURE-DEPENDENT MAKEFILE ###
### ###
### Make a copy of this file for your personal use and ###
### adjust the include and library paths below ###
# C++ compiler and flags
CMP=mpic++
CXXFLAGS=-O3 -std=c++17 -Wall -pedantic -DPROFILE -DNDEBUG
MATHFLAGS=-ffast-math -funroll-loops
# Archiver
AR = ar
# Linker and flags
LNK=mpic++
# Default project (set to "example_particle" in Makefile)
#SIM=
###### include and library paths #####
# Miscellaneous files:
INC=
# Boost
INC_BOOST=-I/usr/include/boost
LIB_BOOST=-L/usr/lib/ -lboost_program_options
# ParGrid (no LIB)
INC_PARGRID=-I$(HOME)/bin/pargrid/
LIB_PARGRID=
# VLSV file format
INC_VLSV=-I$(HOME)/bin/vlsv/
LIB_VLSV=-L$(HOME)/bin/vlsv/ -lvlsv
# Zoltan
INC_ZOLTAN=-I$(HOME)/bin/Zoltan-3.901/build/include/
LIB_ZOLTAN=-L$(HOME)/bin/Zoltan-3.901/build/lib/ -lzoltan