minimum gfortran version

Post here if you have a question about the installation process

minimum gfortran version

Postby mvanhorn » Tue Oct 04, 2011 2:24 pm

Is there a minimum version of GNU Fortran necessary to build LAPACK/BLAS?

I'm having compile issues, and I'm guessing it's because the system I'm trying to build it on is using an old distribution (and the user doesn't want to change).

Thanks!
mvanhorn
 
Posts: 3
Joined: Tue Oct 04, 2011 2:01 pm

Re: minimum gfortran version

Postby admin » Thu Oct 06, 2011 2:17 am

No I don't think so.
Which version of gfortran are you using and what are your issues?
admin
Site Admin
 
Posts: 504
Joined: Wed Dec 08, 2004 7:07 pm

Re: minimum gfortran version

Postby mvanhorn » Thu Oct 06, 2011 8:13 am

Thank you for your response.

The version of GNU Fortran is

# f77 --version
GNU Fortran (GCC) 3.4.3 (cAos Linux 3.4.3)

The errors are, during the make:

g77 -g -g -O0 -c slamch.f -o slamch.o
slamch.f: In function `slamch':
slamch.f:63: warning:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Reference to unimplemented intrinsic `DIGITS' at (^) (assumed EXTERNAL)
slamch.f:63:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Invalid declaration of or reference to symbol `digits' at (^) [initially seen at (^)]
slamch.f:63: warning:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Reference to unimplemented intrinsic `EPSILON' at (^) (assumed EXTERNAL)
slamch.f:63:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Invalid declaration of or reference to symbol `epsilon' at (^) [initially seen at (^)]
slamch.f:63: warning:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Reference to unimplemented intrinsic `HUGE' at (^) (assumed EXTERNAL)
slamch.f:63:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Invalid declaration of or reference to symbol `huge' at (^) [initially seen at (^)]
slamch.f:63: warning:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Reference to unimplemented intrinsic `MAXEXPONENT' at (^) (assumed EXTERNAL)
slamch.f:63:
INTRINSIC DIGITS, EPSILON, HUGE, MAXEXPONENT,
^
Invalid declaration of or reference to symbol `maxexponent' at (^) [initially seen at (^)]
slamch.f:64: warning:
$ MINEXPONENT, RADIX, TINY
^
Reference to unimplemented intrinsic `MINEXPONENT' at (^) (assumed EXTERNAL)
slamch.f:64:
$ MINEXPONENT, RADIX, TINY
^
Invalid declaration of or reference to symbol `minexponent' at (^) [initially seen at (^)]
slamch.f:64: warning:
$ MINEXPONENT, RADIX, TINY
^
Reference to unimplemented intrinsic `RADIX' at (^) (assumed EXTERNAL)
slamch.f:64:
$ MINEXPONENT, RADIX, TINY
^
Invalid declaration of or reference to symbol `radix' at (^) [initially seen at (^)]
slamch.f:64: warning:
$ MINEXPONENT, RADIX, TINY
^
Reference to unimplemented intrinsic `TINY' at (^) (assumed EXTERNAL)
slamch.f:64:
$ MINEXPONENT, RADIX, TINY
^
Invalid declaration of or reference to symbol `tiny' at (^) [initially seen at (^)]
make[1]: *** [slamch.o] Error 1

Perhaps I'm misunderstanding, but it appears to me that there are types that the compiler doesn't know about.
mvanhorn
 
Posts: 3
Joined: Tue Oct 04, 2011 2:01 pm

Re: minimum gfortran version

Postby admin » Thu Oct 06, 2011 8:17 am

I see the problem, you are using g77 ( a Fortran 77 compiler) and not gfortran.
LAPACK now includes some f90 features and you must use a f90 compiler.
If you replace g77 by gfortran in your make.inc, that should work.
Julie
admin
Site Admin
 
Posts: 504
Joined: Wed Dec 08, 2004 7:07 pm

Re: minimum gfortran version

Postby mvanhorn » Thu Oct 06, 2011 9:49 am

Okay, that helps. Thanks!
mvanhorn
 
Posts: 3
Joined: Tue Oct 04, 2011 2:01 pm

Re: minimum gfortran version

Postby D-V-C+ » Mon Mar 19, 2012 2:02 am

I'm in a situation where I have to use g77. I'm using legacy code for a scientific application that doesn't compile properly with gfortran. Is there an older version of LAPACK without the Fortran 90 components I can use?
D-V-C+
 
Posts: 3
Joined: Mon Mar 19, 2012 1:02 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron