Dear Siesta users,

I am getting following error during compilation of siesta code in parallel;

    dc_lapack.a liblapack.a libblas.a  /home/bjnagare/appz/libscalapack.a
/home/bjnagare/appz/blacsCinit_MPI-LINUX.a
/home/bjnagare/appz/blacs_F77_MPI-LINUX-0.a
/home/bjnagare/appz/blacs_MPI-LINUX-0.a dc_lapack.a liblapack.a libblas.a
/home/bjnagare/appz/libscalapack.a(pdgemr.o): In function `Cpdgemr2do':
pdgemr.c:(.text+0xea): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pdgemr.o): In function `pdgemr2do_':
pdgemr.c:(.text+0x159d): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pzgemr.o): In function `Cpzgemr2do':
pzgemr.c:(.text+0x6e): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pzgemr.o): In function `pzgemr2do_':
pzgemr.c:(.text+0x1381): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(PB_Cdtypeset.o): In function
`PB_Cdtypeset':
PB_Cdtypeset.c:(.text+0x1e8): undefined reference to `dsyr_'
PB_Cdtypeset.c:(.text+0x1f2): undefined reference to `dsyr_'
/home/bjnagare/appz/libscalapack.a(PB_Cztypeset.o): In function
`PB_Cztypeset':
PB_Cztypeset.c:(.text+0x1f3): undefined reference to `zgeru_'
PB_Cztypeset.c:(.text+0x207): undefined reference to `zher_'
PB_Cztypeset.c:(.text+0x22f): undefined reference to `zsymm_'
PB_Cztypeset.c:(.text+0x243): undefined reference to `zsyrk_'
PB_Cztypeset.c:(.text+0x257): undefined reference to `zsyr2k_'
/home/bjnagare/appz/libscalapack.a(pdtrmr.o): In function `Cpdtrmr2do':
pdtrmr.c:(.text+0xea): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pdtrmr.o): In function `pdtrmr2do_':
pdtrmr.c:(.text+0x13b7): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pztrmr.o): In function `Cpztrmr2do':
pztrmr.c:(.text+0x6e): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pztrmr.o): In function `pztrmr2do_':
pztrmr.c:(.text+0x12f3): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/libscalapack.a(pdlaed2.o): In function `pdlaed2_':
pdlaed2.f:(.text+0x3f): undefined reference to `blacs_pinfo_'
/home/bjnagare/appz/libscalapack.a(zvvdotu.o): In function `zvvdotu_':
zvvdotu.f:(.text+0x1d): undefined reference to `zdotu_'
/home/bjnagare/appz/blacs_MPI-LINUX-0.a(blacs_get_.o): In function
`blacs_get_':
blacs_get_.c:(.text+0x162): undefined reference to `Cblacs_pinfo'
blacs_get_.c:(.text+0x171): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/blacs_MPI-LINUX-0.a(blacs_gridmap_.o): In function
`blacs_gridmap_':
blacs_gridmap_.c:(.text+0x23): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/blacs_MPI-LINUX-0.a(blacs_get_.C): In function
`Cblacs_get':
blacs_get_.c:(.text+0x14a): undefined reference to `Cblacs_pinfo'
blacs_get_.c:(.text+0x159): undefined reference to `Cblacs_pinfo'
/home/bjnagare/appz/blacs_MPI-LINUX-0.a(Cblacs_gridmap_.C):blacs_gridmap_.c:(.text+0x1f):
more undefined references to `Cblacs_pinfo' follow
make: *** [siesta] Error 1

How I can solve this problem.
--------------------------
Here I am giving arch.make file for reference.
#
#

SIESTA_ARCH=i686-pc-linux-gnu-Intel

FPP=
FPP_OUTPUT=
FC=mpif90
RANLIB=ranlib

SYS=nag

SP_KIND=4
DP_KIND=8
KINDS=$(SP_KIND) $(DP_KIND)

FFLAGS=-g -O2
FPPFLAGS= -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT
LDFLAGS=

ARFLAGS_EXTRA=

FCFLAGS_fixed_f=
FCFLAGS_free_f90=
FPPFLAGS_fixed_F=
FPPFLAGS_free_F90=


BLAS_LIBS=libblas.a
LAPACK_LIBS=dc_lapack.a liblapack.a
BLACS_LIBS=/home/bjnagare/appz/blacsCinit_MPI-LINUX.a
/home/bjnagare/appz/blacs_F77_MPI-LINUX-0.a
/home/bjnagare/appz/blacs_MPI-LINUX-0.a
SCALAPACK_LIBS=/home/bjnagare/appz/libscalapack.a

COMP_LIBS=dc_lapack.a liblapack.a libblas.a

NETCDF_LIBS=
NETCDF_INTERFACE=

LIBS=$(SCALAPACK_LIBS) $(BLACS_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS)
$(NETCDF_LIBS)

#SIESTA needs an F90 interface to MPI
#This will give you SIESTA's own implementation
#If your compiler vendor offers an alternative, you may change
#to it here.
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=/home/bjnagare/appz/mpich/include
DEFS_MPI=-DMPI
#Dependency rules are created by autoconf according to whether
#discrete preprocessing is necessary or not.
.F.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_fixed_F)  $<
.F90.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $(FPPFLAGS) $(FPPFLAGS_free_F90) $<
.f.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_fixed_f)  $<
.f90.o:
        $(FC) -c $(FFLAGS) $(INCFLAGS) $(FCFLAGS_free_f90)  $<
==================
Thank you

Nagare


------------------------------------------
Dr. Balasaheb. J. Nagare
Lecturer in Physics,
Department of Physics,
University of Mumbai,
Santacruz(E), Mumbai-98

Reply via email to