Hi xwb,
That really helped! Some functions which accept only double variables generated errors, but I used the dble() function to do the type cast.
One more question, are you familiar with the LAPACK library routines ?
Thanks,
Arun
Hi xwb,
I still am receiving this error:
gfortran -ffree-form test1.f95
test1.f95:4.11:
real(kind=3) r16
1
Error: Kind 3 not supported for type REAL at (1)
Thanks,
Arun
Hello xwb,
I get an error message again:
node22/geology> gfortran -ffree-form test1.f
test1.f:4.12:
real(kind=16) r16
1
Error: Kind 16 not supported for type REAL at (1)
Thanks for looking on to this,
Arun
Hi xwb,
Thanks for your continuous help. I tried compiling your test program and I got an error at first:
test.f:3.7:
real*16 r16
1
Error: Old-style type declaration REAL*16 not supported at (1)
And the command I used was:
gfortran -ffree-form test.f
Then I modified the declaration...
Thanks for the reply, xwb. I am a bit more clear about the things.
I think I am using Fortran 2003, on Debian Linux. But am not sure, so I am copying in the version dump below. Hope this gives you the info you asked for:
node22/geology> gfortran -v
Using built-in specs.
Target...
Hi ,
I am a beginner and I am trying to help a professor, to execute his Fortran program. He wants to setup the size of DOUBLE variables to 128 bits during compile time. I came across this option to set double variables default precision to 64 bits (-fdefault-double-8). Is there any other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.