[SciPy-user] ATLAS and LPACK

Nils Wagner nwagner at mecha.uni-stuttgart.de
Mon Sep 13 03:19:04 CDT 2004


quendor at nandor.net wrote:

> Thanks Robert Kern. I have compiled and installed ATLAS from source. I 
> am attempting to do the same with LPACK, but am struggling a little 
> with the make.inc file. It requires that the compiler and the compiler 
> options be specified. I am using the Fortran compiler 'g77'. I have 
> never used g77 and have not dug the possible compiler options. 
> Obviously, I would like to take advantage of available optimizations. 
> BTW, I am using a Mac, OS X. If someone has done this before, I would 
> appreciate any suggestions.
>
> Thanks
>
>  
>
Here comes a short example for make.inc

HTH

         Nils

####################################################################
#  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 = _LINUX
#
#  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  = g77
OPTS     = -funroll-all-loops -fno-f2c -O3
DRVOPTS  = $(OPTS)
NOOPT    =
LOADER   = g77
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   = 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
LAPACKLIB    = lapack$(PLAT).a
TMGLIB       = tmglib$(PLAT).a
EIGSRCLIB    = eigsrc$(PLAT).a
LINSRCLIB    = linsrc$(PLAT).a

>------------------------------------------------------------------------
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>  
>




More information about the SciPy-user mailing list