Hi,
I am trying to install scalapack. I have the following error when i am
running "make exe" command. The "make" command was successful. I would be
glad if i can get some help regarding this error.
Thanks in advance,
make exe
( cd /home/wenhuaguan/scalapack/scalapack-1.8.0/PBLAS/TESTING; make single
double complex complex16 )
make[1]: Entering directory
`/home/wenhuaguan/scalapack/scalapack-1.8.0/PBLAS/TESTING'
rm -f PB_Cwarn.c PB_Cwarn.o
ln -s
/home/wenhuaguan/scalapack/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cwarn.c
PB_Cwarn.c
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpicc -c -O4 -DAdd_
-DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cwarn.c
rm -f PB_Cabort.c PB_Cabort.o
ln -s
/home/wenhuaguan/scalapack/scalapack-1.8.0/PBLAS/SRC/PTOOLS/PB_Cabort.c
PB_Cabort.c
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpicc -c -O4 -DAdd_
-DNO_IEEE -DUsingMpiBlacs -DTestingPblas PB_Cabort.c
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpif90 -c -O3
psblas1tst.f
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpif90 -c -O3
psblastst.f
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpif90 -c slamch.f
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpif90 -c -O3 pblastst.f
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpif90 -o
/home/wenhuaguan/scalapack/scalapack-1.8.0/TESTING/xspblas1tst psblas1tst.o
psblastst.o slamch.o pblastst.o PB_Cwarn.o PB_Cabort.o
/home/wenhuaguan/scalapack/scalapack-1.8.0/libscalapack.a
/home/wenhuaguan/BLACS/LIB/blacsF77init_MPI-LINUX-0.a
/home/wenhuaguan/BLACS/LIB/blacs_MPI-LINUX-0.a
/home/wenhuaguan/BLACS/LIB/blacsF77init_MPI-LINUX-0.a
/home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a
/home/wenhuaguan/blas/blas_LINUX.a
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-1.0.8p1/lib/libmpich.a
/home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a(xerbla.o)(.text+0x15): In
function `xerbla_':
: undefined reference to `s_wsfe'
/home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a(xerbla.o)(.text+0x29): In
function `xerbla_':
: undefined reference to `do_fio'
/home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a(xerbla.o)(.text+0x3d): In
function `xerbla_':
: undefined reference to `do_fio'
/home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a(xerbla.o)(.text+0x44): In
function `xerbla_':
: undefined reference to `e_wsfe'
/home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a(xerbla.o)(.text+0x52): In
function `xerbla_':
: undefined reference to `s_stop'
make[1]: ***
[/home/wenhuaguan/scalapack/scalapack-1.8.0/TESTING/xspblas1tst] Error 2
make[1]: Leaving directory
`/home/wenhuaguan/scalapack/scalapack-1.8.0/PBLAS/TESTING'
make: *** [pblasexe] Error 2
The make.inc is displayed as below:
[wenhuaguan at dawning scalapack-1.8.0]$ vim SLmake.inc
# $(HOME)/SCALAPACK
#
home = /home/wenhuaguan/scalapack/scalapack-1.8.0
#
# The platform identifier to suffix to the end of library names
#
PLAT = LINUX
#
# BLACS setup. All version need the debug level (0 or 1),
# and the directory where the BLACS libraries are
#
BLACSDBGLVL = 0
BLACSdir = /home/wenhuaguan/BLACS/LIB
#
# MPI setup; tailor to your system if using MPIBLACS
# Will need to comment out these 6 lines if using PVM
#
USEMPI = -DUsingMpiBlacs
SMPLIB =
/home/wenhuaguan/mpich2-1.0.8p1/mpich2-1.0.8p1/lib/libmpich.a
BLACSFINIT = $(BLACSdir)/blacsF77init_MPI-$(PLAT)-$(BLACSDBGLVL).a
BLACSCINIT = $(BLACSdir)/blacsCinit_MPI-$(PLAT)-$(BLACSDBGLVL).a
BLACSLIB = $(BLACSdir)/blacs_MPI-$(PLAT)-$(BLACSDBGLVL).a
TESTINGdir = $(home)/TESTING
#
# PVMBLACS setup, uncomment next 6 lines if using PVM
#
#USEMPI =
#SMPLIB = $(PVM_ROOT)/lib/$(PLAT)/libpvm3.a
#BLACSFINIT =
#BLACSCINIT =
#BLACSLIB = $(BLACSdir)/blacs_PVM-$(PLAT)-$(BLACSDBGLVL).a
#TESTINGdir = $(HOME)/pvm3/bin/$(PLAT)
CBLACSLIB = $(BLACSCINIT) $(BLACSLIB) $(BLACSCINIT)
FBLACSLIB = $(BLACSFINIT) $(BLACSLIB) $(BLACSFINIT)
#
# The directories to find the various pieces of ScaLapack
#
PBLASdir = $(home)/PBLAS
SRCdir = $(home)/SRC
TESTdir = $(home)/TESTING
PBLASTSTdir = $(TESTINGdir)
TOOLSdir = $(home)/TOOLS
REDISTdir = $(home)/REDIST
REDISTTSTdir = $(TESTINGdir)
#
# The fortran and C compilers, loaders, and their flags
#
F77 = /home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpif90
CC = /home/wenhuaguan/mpich2-1.0.8p1/mpich2-install/bin/mpicc
NOOPT =
F77FLAGS = -O3 $(NOOPT)
DRVOPTS = $(F77FLAGS)
CCFLAGS = -O4
SRCFLAG =
F77LOADER = $(F77)
CCLOADER = $(CC)
F77LOADFLAGS =
CCLOADFLAGS =
#
# C preprocessor defs for compilation
# (-DNoChange, -DAdd_, -DUpCase, or -Df77IsF2C)
#
CDEFS = -DAdd_ -DNO_IEEE $(USEMPI)
#
# The archiver and the flag(s) to use when building archive (library)
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo
#
ARCH = ar
ARCHFLAGS = cr
RANLIB = ranlib
#
# The name of the libraries to be created/linked to
#
SCALAPACKLIB = $(home)/libscalapack.a
BLASLIB = /home/wenhuaguan/blas/blas_LINUX.a
LAPACKLIB = /home/wenhuaguan/lapack-3.1.1/lapack_LINUX.a
#LAPACKLIB = /home/wenhuaguan/lapack_3.2.1/lapack-3.2.1/lapack_LINUX.a
#
PBLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(LAPACKLIB) $(BLASLIB)
$(SMPLIB)
PRLIBS = $(SCALAPACKLIB) $(CBLACSLIB) $(SMPLIB)
RLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(CBLACSLIB) $(LAPACKLIB)
$(BLASLIB) $(SMPLIB)
LIBS = $(PBLIBS)
--
Magrate DLUT
--
Magrate DLUT
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.cs.utk.edu/private/scalapack/attachments/20090518/73ac725f/attachment.htm
|