LAPACK Archives

[Lapack] lapack 3.2 compilation problem


You can not compile LAPACK with g77. (This is true since 3.2).
You can use gfortran for example.

On Mon, 24 Nov 2008, Daniel R. Grayson wrote:


Here is a problem I had.  Let me know if you have any hints for me.

   g77 -O2 -g -c spstrf.f -o spstrf.o
   spstrf.f: In subroutine `spstrf':
   spstrf.f:102: warning:
            INTRINSIC          MAX, MIN, SQRT, MAXLOC
                                               ^
   Reference to unimplemented intrinsic `MAXLOC' at (^) (assumed EXTERNAL)
   spstrf.f:102:
            INTRINSIC          MAX, MIN, SQRT, MAXLOC
                                               ^
   Invalid declaration of or reference to symbol `maxloc' at (^) [initially 
seen at (^)]
   spstrf.f:204:
                           ITEMP = MAXLOC( WORK( (N+J):(2*N) ), 1 )
                                           1          2
   Invalid token at (2) in expression or subexpression at (1)
   spstrf.f:291:
                           ITEMP = MAXLOC( WORK( (N+J):(2*N) ), 1 )
                                           1          2
   Invalid token at (2) in expression or subexpression at (1)


   u123$ gfortran
   bash: gfortran: command not found
   u123$ g77 --v
   Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/specs
   Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--host=i386-redhat-linux
   Thread model: posix
   gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
   u123$ uname -a
   Linux u123.math.uiuc.edu 2.4.22-1.2199.4.legacy.nptl #1 Sun Feb 20 
18:21:21 EST 2005 i686 GNU/Linux
   u123$ cat /etc/issue
   Fedora Core release 1 (Yarrow)
   Kernel \r on an \m



--
             Daniel R. Grayson, Professor (retired, Emeritus)
             Department of Mathematics
             University of Illinois at Urbana-Champaign
       www:  http://www.math.uiuc.edu/~dan/
     email:  dan@Domain.Removed
   us mail:  2409 S. Vine St., Urbana, IL 61801, USA
     phone:  +1-217-367-6384 home (88.20224W, 40.08541N)
cell phone:  +1-217-377-0458
_______________________________________________
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