Lapack install

Open discussion regarding features, bugs, issues, vendors, etc.

Postby moulaye » Tue Mar 28, 2006 11:24 am

Hellow,
Thank for help. You are very nice. :D
moulaye
 
Posts: 9
Joined: Mon Mar 20, 2006 10:37 am
Location: paris

LAPACK with ATLAS on Apple OSX 10.4 G5 using g95

Postby antonio » Fri Jun 09, 2006 9:45 am

Hi,
I tried to install LAPACK on an Apple OSX 10.4 G5 using g95
and I wanted to build that using ATLAS 3.6.0
(which I compiled & tested successfully previously)
Note: I have got Xcode 2.3, gcc 4.0.1
plus g95 (downloaded binary)


The make.inc is as follows:

####################################################################
# 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 = _APPLE_G5_OSX
#
# 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 = g95
OPTS = -ffixed-form -fno-underscoring -Wall -fbounds-check -O3
DRVOPTS = $(OPTS)
NOOPT = -ffloat-store
LOADER = g95
LOADOPTS = -lSystemStubs -Wall
#-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 = ranlib
#
# The location of the libraries to which you will link. (The
# machine-specific, optimized BLAS library should be used whenever
# possible.)
#
BLASDIR = /Users/admin/toni4/NANO_06/ATLAS/lib/OSX_UNKNOWNAltiVec_2/
BLASLIB = -L$(BLASDIR) -lf77blas -latlas
#BLASLIB = blas$(PLAT).a
LAPACKLIB = lapack$(PLAT).a
TMGLIB = tmglib$(PLAT).a
EIGSRCLIB = eigsrc$(PLAT).a
LINSRCLIB = linsrc$(PLAT).a

I got the errmsg:

g95 -lSystemStubs -Wall sblat2.o \
-L/Users/admin/toni4/NANO_06/ATLAS/lib/OSX_UNKNOWNAltiVec_2/ -lf77blas -latlas -o ../xblat2s
ld: Undefined symbols:
_fprintf$LDBLStub
_vfprintf$LDBLStub
make[1]: *** [../xblat2s] Error 1
make: *** [blas_testing] Error 2


The -lSystemStubs and -ffloat-store
are something that comes from the
g95 troubleshooting page (for OSX10.4 and LAPACK)
http://g95.sourceforge.net
but it does no seem to male any difference here
...

does someone have a brilliant idea?


Thanks a lot
Antonio
antonio
 
Posts: 1
Joined: Fri Jun 09, 2006 9:28 am

Previous

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 5 guests