Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by aruns07

  1. aruns07

    Double variable precision

    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
  2. aruns07

    Double variable precision

    Hi xwb, real(kind=10) gives me a size of 16 bytes. Is there a similar way of increasing the precision of 'double precision' variables ? Thanks, Arun
  3. aruns07

    Double variable precision

    Thank you very much for your effort. That answers my question. I will try it out and let you know. Thanks again, Arun
  4. aruns07

    Double variable precision

    Thanks for your help !
  5. aruns07

    Double variable precision

    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
  6. aruns07

    Double variable precision

    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
  7. aruns07

    Double variable precision

    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...
  8. aruns07

    Double variable precision

    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...
  9. aruns07

    Double variable precision

    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...

Part and Inventory Search

Back
Top