[Smeagol-discuss] compilation problem with linpack
ambavale sagar
sagarambavale at yahoo.co.in
Fri Sep 5 12:42:39 IST 2008
Hi all ,
I am trying to compile the Smeagol 1.0b
with intel fortran10, mkl10 and lam-mpi on my x86_64 quad core dual
processor (xeon) workstation. I am getting error regarding LINPACK, though i've chosen siesta provided linpack.F. The last few lines of error report are:
::::::::::::
ifort -c -g -DMPI ../NETransport/negfk.F
ifort -c -g ../NETransport/negf2g.f
ifort -c -g -DMPI ../NETransport/negf2k.F
ifort -c -g -DMPI ../NETransport/localdos.F
ifort -c -g ../NETransport/gaucheb.f
cc -static linpack.o -o linpack
/usr/lib/gcc/x86_64-redhat-linux/4.1.1/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
linpack.o: In function `zgedi':
/home/phy/smeagol.1.0b/Src/linpack.F:123: undefined reference to `zscal_'
/home/phy/smeagol.1.0b/Src/linpack.F:133: undefined reference to `zaxpy_'
/home/phy/smeagol.1.0b/Src/linpack.F:155: undefined reference to `zaxpy_'
/home/phy/smeagol.1.0b/Src/linpack.F:162: undefined reference to `zswap_'
linpack.o: In function `zgefa':
/home/phy/smeagol.1.0b/Src/linpack.F:262: undefined reference to `zscal_'
/home/phy/smeagol.1.0b/Src/linpack.F:276: undefined reference to `zaxpy_'
collect2: ld returned 1 exit status
make: *** [linpack] Error 1
[phy at localhost Src]$
My arch.make file is
******************************
FC=ifort
FC_ASIS=$(FC)
#
FFLAGS= -w -xP -O3 -mp1
FFLAGS_DEBUG= -g
LDFLAGS= -static
COMP_LIBS=
RANLIB=echo
#
NETCDF_LIBS=
NETCDF_INTERFACE=
DEFS_CDF=
#from sgi64-lam(sagar)
MPI_INTERFACE=libmpi_f90.a
MPI_INCLUDE=/opt/MPI/lam-7.1.4/lam/include
MPI_LIBS=-L/opt/MPI/lam-7.1.4/lam/lib -llamf77mpi -lmpi -llam
DEFS_MPI=-DMPI
#
GUIDE=/opt/intel/mkl/10.0.1.014/lib/em64t/libguide.a
LAPACK=/opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_lapack.a
BLAS=/opt/intel/mkl/10.0.1.014/lib/em64t/libmkl_em64t.a
LIBS=$(LAPACK) $(BLAS) $(GUIDE) -lpthread -lsvml
SYS=nag
DEFS= $(DEFS_CDF) $(DEFS_MPI)
#
.F.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(DEFS) $<
.f.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $<
.F90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $(DEFS) $<
.f90.o:
$(FC) -c $(FFLAGS) $(INCFLAGS) $<
***************************************************
In makefile, for linpack I have selected Siesta provided subroutine.
# If want to use SIESTA provided LINPACK subroutines
# contained in file linpack.F you should uncomment
# the lines below
#
LINPACKOBJ=linpack.o
LINPACK=linpack
$(LINPACK): $(LINPACKOBJ)
One more thing... shouldn't i write anything in the field asking for lapack except uncommenting them?
# If you wish to use vendor specific lapack driver
# subroutines you should uncomment the following lines
#
SMEAGOLLAPACK =
SMEAGOLPACKOBJ=
#
.......................................
Thank you.
regards
Sagar Ambavale
Research student
The M.S.University of barroda
India
Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tchpc.tcd.ie/pipermail/smeagol-discuss/attachments/20080905/cce3bf9d/attachment.html
More information about the Smeagol-discuss
mailing list