LAPACK Archives

[Lapack] error in LAPACK

Hi Dokim,

The symbols appear to be related to the math functions. Check your 
compiler environment setup - you probably will get the same error for a 
simple test program that calls e.g., cos(x).
Indeed, the routine slarnv.f (in the src directory) contains some 
cosine, sine and log functions.
You have 2 ways to proceed:
 - First, try to find the library needed for these functions, add the 
missing library in the linking sequence and it will fix your problem.
 - Second, use the Sunperf library by setting the BLASLIB variable from 
your make.inc to -xlic_lib=sunperf 
Second method  is recommended

Sincerely
Julie
dokim wrote:
I think that the "xlintsts" exacutable file is not generated. the
following is the exact error message:

 Undefined                       first referenced
 symbol                             in file
__vcosf_                            ../../lapack_SUN4SOL2.a(slarnv.o)
__vlogf_                            ../../lapack_SUN4SOL2.a(slarnv.o)
ld: fatal: Symbol referencing errors. No output written to ../xlintsts
*** Error code 1
make: Fatal error: Command failed for target `../xlintsts'
Current working directory /home/dokim/LAPACK/TESTING/LIN
*** Error code 1
make: Fatal error: Command failed for target `xlintsts'
Current working directory /home/dokim/LAPACK/TESTING
*** Error code 1
make: Fatal error: Command failed for target `testing'


Machine that I used is
machine : sunOS 5.0 Generic_117171-05 sun4u sparc SUNW,Ultra-80
compiler : f77 (I am not sure what kind of compiler is, probable, sun
studio)
BLAS library : that is in the LAPACK package

The make.inc file that I used is
####################################################################
#  LAPACK make include file.                                       #
#  LAPACK, Version 3.0                                             #
#  June 30, 1999                                                  #
####################################################################
#
SHELL = /bin/sh
#
#  The machine (platform) identifier to append to the library names
#
PLAT = _SUN4SOL2
#
#  Modify the FORTRAN and OPTS definitions to refer to the
#  compiler and desired compiler options for your machine.  NOOPT
#  refers to the compiler options desired when NO OPTIMIZATION is
#  selected.  Define LOADER and LOADOPTS to refer to the loader and
#  desired load options for your machine.
#
FORTRAN  = f77
#OPTS     = -O4 -u -f -mt
#OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa
OPTS     = -u -f -dalign -native -xO5 -xarch=v8plusa
DRVOPTS  = $(OPTS)
NOOPT    = -u -f
#NOOPT    = -u -f -mt
LOADER   = f77
#LOADOPTS = -mt
LOADOPTS = -f -dalign -native -xO5 -xarch=v8plusa
#
#  The archiver and the flag(s) to use when building archive (library)
#  If you system has no ranlib, set RANLIB = echo.
#
ARCH     = ar
ARCHFLAGS= cr
#RANLIB   = echo
RANLIB = ranlib

#
#  The location of the libraries to which you will link.  (The
#  machine-specific, optimized BLAS library should be used whenever
#  possible.)
#

BLASLIB      = ../../blas$(PLAT).a
#BLASLIB     = -xlic_lib=sunperf_mt
#BLASLIB     = -xlic_lib=sunperf
LAPACKLIB    = lapack$(PLAT).a
TMGLIB       = tmglib$(PLAT).a
EIGSRCLIB    = eigsrc$(PLAT).a
LINSRCLIB    = linsrc$(PLAT).a


Thanks in advance.

Donghwan Kim
Department of Economics
SUNY at Stony Brook
Stony Brook, NY 11794-4384
Phone: (631) 807-9033 
e-mail: dokim@Domain.Removed

_______________________________________________
Lapack mailing list
Lapack@Domain.Removed
http://lists.cs.utk.edu/listinfo/lapack
  


<Prev in Thread] Current Thread [Next in Thread>


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or