This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
problem building BLAS and LAPACK with -fimplicit-none
- From: Barron Bichon <barron dot bichon at swri dot org>
- To: fortran at gcc dot gnu dot org
- Date: Wed, 19 Aug 2009 09:44:41 -0500
- Subject: problem building BLAS and LAPACK with -fimplicit-none
I updated and rebuilt gfortran (trunk) yesterday (though it had been
quite a while since I had last done this, so I am not implying this
problem was introduced yesterday) and I now get an error when attempting
to build several BLAS and LAPACK source files with the '-fimplicit-none'
flag. For instance, when building http://www.netlib.org/blas/dgbmv.f I
get the following error message:
> gfortran -c -fimplicit-none dgbmv.f
dgbmv.f:297.72:
END
1
Error: Symbol 'a1' at (1) has no IMPLICIT type
dgbmv.f:297.72:
END
1
Error: Symbol 'a2' at (1) has no IMPLICIT type
dgbmv.f:143.19:
INTRINSIC MAX,MIN
1
Error: Function 'max' at (1) has no IMPLICIT type
dgbmv.f:143.23:
INTRINSIC MAX,MIN
1
Error: Function 'min' at (1) has no IMPLICIT type
When '-fimplicit-none' is removed, the file compiles without error.
Tested on OS X and Linux.
Thanks,
Barron
--
Barron J. Bichon
Research Engineer
Probabilistic Mechanics
Southwest Research Institute
Phone: 210-522-2129
barron.bichon@swri.org