Commit 8dbe85f9 by Francois Gygi

use /usr/lib64 libraries


git-svn-id: http://qboxcode.org/svn/qb/trunk@534 cba15fb0-1239-40c8-b417-11db7ca47a34
parent 5fe12e5d
......@@ -3,7 +3,7 @@
# x8664_gcc.mk
#
#-------------------------------------------------------------------------------
# $Id: x8664_gcc.mk,v 1.3 2007-10-19 16:24:06 fgygi Exp $
# $Id: x8664_gcc.mk,v 1.4 2007-10-31 05:11:47 fgygi Exp $
#
PLT=Linux_x8664
#-------------------------------------------------------------------------------
......@@ -21,18 +21,20 @@
-DAPP_NO_THREADS -DXML_USE_NO_THREADS -DUSE_XERCES
FFTWDIR=$(HOME)/software/fftw/Linux_x8664/fftw-2.1.3/fftw
BLASDIR=$(HOME)/software/atlas/ATLAS/lib/Linux_P4E64SSE3
#BLASDIR=$(HOME)/software/atlas/ATLAS/lib/Linux_P4E64SSE3
BLASDIR=/usr/lib64
LAPACKDIR=$(HOME)/software/lapack/LAPACK
INCLUDE = -I$(MPIDIR)/include -I$(FFTWDIR) -I$(XERCESCDIR)/include
CXXFLAGS= -g -D$(PLT) $(INCLUDE) $(PLTFLAGS) $(DFLAGS)
LIBPATH = -L$(GCCDIR)/lib -L$(FFTWDIR)/.libs -L/usr/X11R6/lib \
-L$(MPIDIR)/lib -L$(BLASDIR) \
-L$(MPIDIR)/lib -L$(LAPACKDIR) -L$(BLASDIR) \
-L$(XERCESCDIR)/lib
LIBS = $(PLIBS) -lfftw \
-llapack -lf77blas -latlas -lm -lmpich -lgfortran \
-llapack -lblas -lm -lmpich -lgfortran \
$(XERCESCDIR)/lib/libxerces-c.a
LDFLAGS = $(LIBPATH) $(LIBS)
......@@ -49,15 +51,13 @@
FBLACSLIB = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT)
# Scalapack libraries
SCALAPACK_DIR = $(HOME)/software/scalapack/Linux_x8664/SCALAPACK
#SCALAPACK_DIR = $(HOME)/software/scalapack/Linux_x8664/SCALAPACK
SCALAPACK_DIR = $(HOME)/software/scalapack/Linux_x8664/scalapack-1.8.0
#PBLASLIB = $(SCALAPACK_DIR)/pblas_$(PLAT).a
SCALAPACKLIB = $(SCALAPACK_DIR)/libscalapack.a
#TOOLSLIB = $(SCALAPACK_DIR)/tools_$(PLAT).a
#REDISTLIB = $(SCALAPACK_DIR)/redist_$(PLAT).a
LAPACKLIB = -llapack
BLASLIB = -lf77blasf -latlas
# Parallel libraries
#PLIBS = $(SCALAPACKLIB) $(PBLASLIB) $(TOOLSLIB) $(REDISTLIB) $(CBLACSLIB)
PLIBS = $(SCALAPACKLIB) $(CBLACSLIB)
......
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