Changeset 9759


Ignore:
Timestamp:
09/10/11 09:48:11 (14 years ago)
Author:
Eric.Larour
Message:

Switched Dakota sources from library compilation to conditional compilation into the libpISSM.a library
Reason is that CreateQmuParameters creates a symbolic circular dependency problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/ad/Makefile.am

    r9758 r9759  
    1616if AD
    1717lib_LIBRARIES += libAD.a
    18 endif
    19 
    20 if DAKOTA
    21 lib_LIBRARIES += libDAKOTA.a
    2218endif
    2319
     
    548544endif
    549545#}}}
    550 #DAKOTA library  {{{1
     546#DAKOTA sources  {{{1
    551547
    552548if DAKOTA
    553 libDAKOTA_a_SOURCES = ./objects/DakotaPlugin.h\
     549libpISSM_a_SOURCES += ./objects/DakotaPlugin.h\
    554550                                          ./objects/DakotaPlugin.cpp\
    555551                                          ./modules/InputUpdateFromDakotax/InputUpdateFromDakotax.h\
     
    561557                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
    562558                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h\
    563                                           ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
    564559                                          ./modules/Dakotax/Dakotax.h\
    565560                                          ./modules/Dakotax/Dakotax.cpp\
     
    570565                                          ./modules/Dakotax/DescriptorIndex.cpp\
    571566                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.cpp\
     567                                          ./modules/ModelProcessorx/Qmu/CreateParametersQmu.cpp\
    572568                                          ./modules/AverageOntoPartitionx/AverageOntoPartitionx.h
    573 
    574569
    575570libDAKOTA_a_CXXFLAGS = -fPIC -D_PARALLEL_   -D_C_ $(CXXOPTFLAGS)
     
    592587endif
    593588
    594 if DAKOTA
    595 LDADD +=    ./libDAKOTA.a ./libpISSM.a
    596 endif
    597 
    598589#External packages
    599590LDADD += $(PETSCLIB) $(TAOLIB) $(FLIBS) $(PLAPACKLIB)  $(MUMPSLIB) $(SCALAPACKLIB)  $(BLACSLIB) $(HYPRELIB) $(MLLIB) $(DAKOTALIB) $(METISLIB) $(CHACOLIB) $(SCOTCHLIB) $(BLASLAPACKLIB)  $(MKLLIB) $(MPILIB) $(MATHLIB) $(FORTRANLIB) $(GRAPHICSLIB) $(MULTITHREADINGLIB) $(ADICLIB)
Note: See TracChangeset for help on using the changeset viewer.