14 |
########################################################################## |
########################################################################## |
15 |
# The name of the final executable (eg gadget-paramin or gadget.exe) |
# The name of the final executable (eg gadget-paramin or gadget.exe) |
16 |
#GADGET = gadget-paramin |
#GADGET = gadget-paramin |
17 |
GADGET = gadget |
#GADGET = gadget |
18 |
|
GADGET = gadget-ompRepro |
19 |
|
#GADGET = gadget-ompSpec |
20 |
########################################################################## |
########################################################################## |
21 |
# Pick the appropriate compiler from the following switches |
# Pick the appropriate compiler from the following switches |
22 |
########################################################################## |
########################################################################## |
35 |
#OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) |
#OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) |
36 |
########################################################################## |
########################################################################## |
37 |
# 2,5. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler and OpenMP Reproducible |
# 2,5. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler and OpenMP Reproducible |
|
#CXX = g++ |
|
|
#LIBDIRS = -L. -L/usr/local/lib |
|
|
#LIBRARIES = -lm |
|
|
#CXXFLAGS = $(DEFINE_FLAGS) -fopenmp |
|
|
#OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) |
|
|
########################################################################## |
|
|
# 2,6. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler and OpenMP Speculative: launch gadget with -omp |
|
38 |
CXX = g++ |
CXX = g++ |
39 |
LIBDIRS = -L. -L/usr/local/lib |
LIBDIRS = -L. -L/usr/local/lib |
40 |
LIBRARIES = -lm |
LIBRARIES = -lm |
41 |
CXXFLAGS = $(DEFINE_FLAGS) -fopenmp -D GADGET_OPENMP |
CXXFLAGS = $(DEFINE_FLAGS) -fopenmp |
42 |
OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) |
OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) |
43 |
########################################################################## |
########################################################################## |
44 |
|
# 2,6. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler and OpenMP Speculative |
45 |
|
#CXX = g++ |
46 |
|
#LIBDIRS = -L. -L/usr/local/lib |
47 |
|
#LIBRARIES = -lm |
48 |
|
#CXXFLAGS = $(DEFINE_FLAGS) -fopenmp -D SPECULATIVE |
49 |
|
#OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) |
50 |
|
########################################################################## |
51 |
# 3. Solaris, without pvm3, using CC compiler |
# 3. Solaris, without pvm3, using CC compiler |
52 |
#CXX = CC |
#CXX = CC |
53 |
#LIBDIRS = -L. -L/usr/local/lib |
#LIBDIRS = -L. -L/usr/local/lib |