M. Ahmad wrote:
>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>
That is because you are compiling a code that is not actually Fortran 77.
>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.
DCONJG is not an intrinsic function in Fortran 66, Fortran 77, Fortran 90, or
Fortran 95.
The intrinsic function you want is simply "CONJG". In Fortran 90 and 95,
CONJG is a generic intrinsic which handles all precisions of COMPLEX
(in Fortran 77 there was no double-precision COMPLEX, thus the extensions).
>2) Has someone tried to run LAPACK90 example programmes in the SUN Unix
>environment, using a NAG f90 compiler?
Well, more recent versions of the compiler (f95 4.0 for example) have a
"-dcfuns" option to allow these to be compiled easily. The version you
are using is rather old. But just fixing the mistake in the source code
(LAPACK90 should not have used DCONJG!) should work.
Cheers,
--
...........................Malcolm Cohen, NAG Ltd., Oxford, U.K.
([log in to unmask])
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|