Commit 9dd90080 by Francois Gygi

thunder IA64 Itanium2 makefile header


git-svn-id: http://qboxcode.org/svn/qb/trunk@378 cba15fb0-1239-40c8-b417-11db7ca47a34
parent d7ad0eb3
#-------------------------------------------------------------------------------
#
# thunder.mk
#
#-------------------------------------------------------------------------------
# $Id: thunder.mk,v 1.1 2005-03-17 23:24:37 fgygi Exp $
#
PLT=LINUX
#-------------------------------------------------------------------------------
GCCDIR=/usr/local/tools/gnu/gcc/3.3.3-chaos_2_ia64
MPIDIR=/usr/lib/mpi
#XERCESCDIR=$(HOME)/software/xml/ia64/xerces-c-src2_2_0-ia64-icc-8.0
XERCESCDIR=$(HOME)/software/xml/ia64/xerces-c-src_2_5_0
XERCESCLIBDIR=$(XERCESCDIR)/lib
CXX=icpc
LD=$(CXX)
PLTFLAGS += -DUSE_FFTW -DUSE_CSTDIO_LFS -D_LARGEFILE_SOURCE \
-D_FILE_OFFSET_BITS=64 -DUSE_MPI -DSCALAPACK -DADD_ \
-DAPP_NO_THREADS -DXML_USE_NO_THREADS -DUSE_XERCES
FFTWDIR=$(HOME)/software/fftw/ia64/fftw-2.1.3/fftw
BLASDIR=/opt/intel/mkl/lib/64
INCLUDE = -I$(MPIDIR)/include -I$(FFTWDIR) -I$(XERCESCDIR)/include
CXXFLAGS= -O2 -D$(PLT) $(INCLUDE) $(PLTFLAGS) $(DFLAGS)
LIBPATH = -L$(GCCDIR)/lib -L$(FFTWDIR)/.libs \
-L$(MPIDIR)/lib -L$(BLASDIR) -L/usr/lib \
-L$(XERCESCLIBDIR)
LIBS = $(PLIBS) -lfftw \
-lmkl -lmkl_lapack -lm -lmpi -lpmpi \
-lelan -lg2c -openmp $(XERCESCLIBDIR)/libxerces-c.a
LDFLAGS = $(LIBPATH) $(LIBS)
PLAT=IA64
# Blacs libraries
BLACSDBGLVL = 0
BLACSdir = $(HOME)/software/blacs/ia64/BLACS/LIB
BLACSCINIT = $(BLACSdir)/blacsCinit_MPI-$(PLAT)-$(BLACSDBGLVL).a
BLACSLIB = $(BLACSdir)/blacs_MPI-$(PLAT)-$(BLACSDBGLVL).a
CBLACSLIB = $(BLACSCINIT) $(BLACSLIB) $(BLACSCINIT)
# Scalapack libraries
SCALAPACK_DIR = $(HOME)/software/scalapack/ia64/SCALAPACK
SCALAPACKLIB = $(SCALAPACK_DIR)/libscalapack.a
LAPACKLIB = -lmkl_lapack
BLASLIB = -lmkl
# Parallel libraries
PLIBS = $(SCALAPACKLIB) $(CBLACSLIB)
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
.C.s:
$(CXX) $(CXXFLAGS) $(INCLUDE) -S $<
#-------------------------------------------------------------------------------
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment