I'll reply to the original as I tend to feel unhappy about some of the replies.
>Hi, My query consists of two questions:
>
>1) When I compile a FORTRAN 77 code by a NAG f90 compiler Version 2.2, a
>strange error is encountered at the very last line of the code, i.e.,
>the END statement. The Error is:
>
>Error: zgbbrd.f, line 466: Unknown intrinsic function DCONJG
> detected at END@<end-of-statement>
>
>I am compiling the code with the help of following options:
>
>f90 -c -O -u -V -x77 -dusty -w zgbbrd.f
>
>I am unable to get rid of this error. It looks like the f90 compiler is
>unable to recognize the intrinsic function DCONJG. Please suggest some
>remedy.
I live on a different platform. However, regardless, this should not be a
compiler error. It is a linkage error. And the error message is not good.
What all the -(minus) this and that do, I do not know, unless one is turning on
something that assumes that all functions are available or in libraries.
Though this is not standard fortran, the compiler should not pretend to know
about it (which seems to me the case here with the error). The linker should
say something like routine/function not found -- banal.
This is a non-standard Digital(Compaq) intrinsic (not generic IIRC). Since
Fortran is a mathematical language, can't it get some of the definitions of
complex functions and intrinsics right?? IIRC, there is some oddity regarding
using complex with double precision (ends up with single precision precision) --
I've given up and use my own.
>2) Has someone tried to run LAPACK90 example programmes in the SUN Unix
>environment, using a NAG f90 compiler?
No, wrong platform for me. However, I use the NAG libraries a lot and would
hate to suspect that they are at fault. (O.K., I should be on the database for
about three numerical problems).
Regards, Paddy
Paddy O'Brien,
Transmission Development,
TransGrid,
PO Box A1000, Sydney South,
NSW 2000, Australia
Tel: +61 2 9284-3063
Fax: +61 2 9284-3050
Email: [log in to unmask]
Either "\'" or "\s" (to escape the apostrophe) seems to work for most people,
but that little whizz-bang apostrophe gives me little spam.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|