Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Diff of /trunk/gadget/Makefile
[mareframe] / trunk / gadget / Makefile Repository:
ViewVC logotype

Diff of /trunk/gadget/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1, Mon Feb 10 17:09:07 2014 UTC revision 19, Wed May 25 16:36:33 2016 UTC
# Line 6  Line 6 
6                -Wreorder -Wwrite-strings -Wsynth -Wchar-subscripts \                -Wreorder -Wwrite-strings -Wsynth -Wchar-subscripts \
7                -Wuninitialized -W -pedantic                -Wuninitialized -W -pedantic
8    
9  #DEFINE_FLAGS = -D DEBUG -D INTERRUPT_HANDLER -g -O  #DEFINE_FLAGS = -D DEBUG -D INTERRUPT_HANDLER -g -O3
10  DEFINE_FLAGS = -D NDEBUG -D INTERRUPT_HANDLER -O3  DEFINE_FLAGS = -D NDEBUG -O3#-D INTERRUPT_HANDLER -O3
11    #DEFINE_FLAGS = -D NDEBUG -D INTERRUPT_HANDLER -O3 -pg
12  #-s  #-s
13    
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  ##########################################################################  ##########################################################################
# Line 24  Line 27 
27  #CXXFLAGS = $(GCCWARNINGS) $(DEFINE_FLAGS) -D GADGET_NETWORK  #CXXFLAGS = $(GCCWARNINGS) $(DEFINE_FLAGS) -D GADGET_NETWORK
28  #OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) $(SLAVEOBJECTS)  #OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS) $(SLAVEOBJECTS)
29  ##########################################################################  ##########################################################################
30  # 2. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler  # 2. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler - sequential
31    #CXX = g++
32    #LIBDIRS = -L. -L/usr/local/lib
33    #LIBRARIES = -lm
34    #CXXFLAGS = $(DEFINE_FLAGS)
35    #OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS)
36    ##########################################################################
37    # 2,5. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler and OpenMP Reproducible
38    #CXX = g++
39    #LIBDIRS = -L. -L/usr/local/lib
40    #LIBRARIES = -lm
41    #CXXFLAGS = $(DEFINE_FLAGS) -fopenmp
42    #OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS)
43    ##########################################################################
44    # 2,6. Linux, Mac, Cgwin or Solaris, without MPI, using g++ compiler and OpenMP Speculative
45  CXX = g++  CXX = g++
46  LIBDIRS = -L. -L/usr/local/lib  LIBDIRS = -L. -L/usr/local/lib
47  LIBRARIES = -lm  LIBRARIES = -lm
48  CXXFLAGS = $(DEFINE_FLAGS)  CXXFLAGS = $(DEFINE_FLAGS) -fopenmp -DSPECULATIVE
49  OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS)  OBJECTS = $(GADGETINPUT) $(GADGETOBJECTS)
50  ##########################################################################  ##########################################################################
51  # 3. Solaris, without pvm3, using CC compiler  # 3. Solaris, without pvm3, using CC compiler
# Line 50  Line 67 
67      area.o time.o keeper.o maininfo.o printinfo.o runid.o global.o stochasticdata.o \      area.o time.o keeper.o maininfo.o printinfo.o runid.o global.o stochasticdata.o \
68      timevariable.o formula.o readaggregation.o readfunc.o readmain.o readword.o \      timevariable.o formula.o readaggregation.o readfunc.o readmain.o readword.o \
69      actionattimes.o livesonareas.o lengthgroup.o conversionindex.o selectfunc.o \      actionattimes.o livesonareas.o lengthgroup.o conversionindex.o selectfunc.o \
70      suitfunc.o suits.o popinfo.o popinfomemberfunctions.o popratio.o popstatistics.o \      suitfunc.o suits.o popinfomemberfunctions.o popratio.o popstatistics.o \
71      interruptinterface.o agebandmatrix.o agebandmatrixmemberfunctions.o tags.o \      interruptinterface.o agebandmatrix.o agebandmatrixmemberfunctions.o tags.o \
72      interrupthandler.o agebandmatrixratio.o agebandmatrixratiomemberfunctions.o \      interrupthandler.o agebandmatrixratio.o agebandmatrixratiomemberfunctions.o \
73      migrationarea.o rectangle.o ludecomposition.o multinomial.o regressionline.o \      migrationarea.o rectangle.o ludecomposition.o multinomial.o regressionline.o \
# Line 80  Line 97 
97      predatorptrvector.o preyptrvector.o printerptrvector.o stockptrvector.o \      predatorptrvector.o preyptrvector.o printerptrvector.o stockptrvector.o \
98      migrationareaptrvector.o rectangleptrvector.o otherfoodptrvector.o \      migrationareaptrvector.o rectangleptrvector.o otherfoodptrvector.o \
99      tagptrvector.o optinfoptrvector.o errorhandler.o modelvariablevector.o \      tagptrvector.o optinfoptrvector.o errorhandler.o modelvariablevector.o \
100      stockvariable.o modelvariable.o migrationproportion.o      stockvariable.o modelvariable.o migrationproportion.o matrix.o
101    
102        GADGETCLASSES = agebandmatrixmemberfunctions.cc grow.cc growermemberfunctions.cc
103    
104  SLAVEOBJECTS = netdata.o slavecommunication.o pvmconstants.o  SLAVEOBJECTS = netdata.o slavecommunication.o pvmconstants.o
105    
# Line 89  Line 108 
108    
109  LDFLAGS = $(CXXFLAGS) $(LIBDIRS) $(LIBRARIES)  LDFLAGS = $(CXXFLAGS) $(LIBDIRS) $(LIBRARIES)
110    
111    partial :       $(OBJECTS)
112                    $(CXX) -c $(LDFLAGS) $(GADGETCLASSES)
113    
114  gadget  :       $(OBJECTS)  gadget  :       $(OBJECTS)
115                  $(CXX) -o $(GADGET) $(OBJECTS) $(LDFLAGS)                  $(CXX) -o $(GADGET) $(OBJECTS) $(LDFLAGS)
116    

Legend:
Removed from v.1  
changed lines
  Added in v.19

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge