I have trubble while installing LAPACK on my ubuntu linux system.
I modified the make.inc file:
- Code: Select all
####################################################################
# 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 = ifort
#OPTS = -O4 -u -f -mt
#OPTS = -u -f -dalign -native -xO5 -xarch=v8plusa
OPTS = -O2
DRVOPTS = $(OPTS)
NOOPT =
#NOOPT = -u -f -mt
LOADER = ifort
#LOADOPTS = -mt
LOADOPTS =
#
# 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
#
# 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
in order to use my intel fortran compiler with the relevant options.
I haven't modified the Makefile so far, I just tried to run it, and I get the following error message:
- Code: Select all
ifort: command line error: Unrecognized keyword 'lic_lib=sunperf' for option '-x'
make[2]: *** [../xlintsts] Error 1
make[2]: Leaving directory `/home/quazzani/LAPACK/TESTING/LIN'
make[1]: *** [xlintsts] Error 2
make[1]: Leaving directory `/home/quazzani/LAPACK/TESTING'
make: *** [testing] Error 2
I don't understand this error message. It would be very nice if anyone could help me out with that, please note that I am a beginner with all that.
best,
Rhita

