#------------------------------------------------------------------------------- # # Copyright (c) 2008 The Regents of the University of California # # This file is part of Qbox # # Qbox is distributed under the terms of the GNU General Public License # as published by the Free Software Foundation, either version 2 of # the License, or (at your option) any later version. # See the file COPYING in the root directory of this distribution # or . # #------------------------------------------------------------------------------- # # franklin.nersc.gov # #------------------------------------------------------------------------------- # $Id:$ # PLT=x86_64 #------------------------------------------------------------------------------- XERCESCDIR=$(HOME)/software/xerces/xerces-c-src_2_8_0 PLTOBJECTS = readTSC.o CXX=CC LD=$(CXX) OPT= -fastsse -Minline=levels:10 PLTFLAGS += $(OPT) -DIA32 -DUSE_FFTW -D_LARGEFILE_SOURCE \ -D_FILE_OFFSET_BITS=64 -DUSE_MPI -DSCALAPACK -DADD_ \ -DAPP_NO_THREADS -DXML_USE_NO_THREADS -DUSE_XERCES \ -DMPICH_IGNORE_CXX_SEEK FFTWDIR=/opt/fftw/2.1.5/cnos/ INCLUDE = --include_directory$(FFTWDIR)/include \ --include_directory$(XERCESCDIR)/include CXXFLAGS= -D$(PLT) $(INCLUDE) $(PLTFLAGS) $(DFLAGS) LIBPATH = -L$(FFTWDIR)/lib -L$(XERCESCDIR)/lib LIBS = -lfftw $(XERCESCDIR)/lib/libxerces-c.a -pgf90libs LDFLAGS = $(LIBPATH) $(LIBS)