LAPACK Archives

[Lapack] lapack 3.2 compilation problem

Professor Grayson,
Since 3.2,  LAPACK moved to fortran 90 standard, so you cannot use g77  
to build the library anymore. gfortran, g95 are fine.
For more details on LAPACK 3.2 release, please read the
Let me know if you have any other question.
Julie Langou
On Nov 24, 2008, at 8:36 AM, 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  
           INTRINSIC          MAX, MIN, SQRT, MAXLOC
   Invalid declaration of or reference to symbol `maxloc' at (^)  
[initially seen at (^)]
                          ITEMP = MAXLOC( WORK( (N+J):(2*N) ), 1 )
                                          1          2
   Invalid token at (2) in expression or subexpression at (1)
                          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 -- 
   Thread model: posix
   gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
   u123$ uname -a
   Linux 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
     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

Julie Langou; Research Associate in Computer Science
Innovative Computing Laboratory;
University of Tennessee from Denver, Colorado ;-)

-------------- next part --------------
An HTML attachment was scrubbed...

<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