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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. TwirlySocrates

    gFortran bug, or something else?

    Again, thanks for your help ... I've done a simple test, and it doesn't seem to be working I've done this INTEGER,PARAMETER :: dp= selected_real_kind(15,100) REAL(dp), PARAMETER :: pi = 3.1415926535897932384626 and later display the value: WRITE(*,"(A, F15.10)") "Pi = ", pi...
  2. TwirlySocrates

    gFortran bug, or something else?

    I have some questions about Modules ... I'm at my wits end - I have no idea what's wrong. I have a module defined in a file timestepping.F90 MODULE timestepping integer nstepmax, nwrite integer nstepmax_sp, nwrite_sp real*8 time, dt, dt_sp, dt_write, dt_sp_write REAL*8...
  3. TwirlySocrates

    gFortran bug, or something else?

    Another thing - if I do this REAL(dp) A,B B = max(1.0,A) I'm warned that the two arguments are of different types. Should I worry about this? Again, thank you for all your help. That FORTRAN wiki is very helpful.
  4. TwirlySocrates

    gFortran bug, or something else?

    How do you give that dp a global scope? Or is that actually what I want to do? I have a bunch of #include "bla.h" which would have REAL(dp), but I can't figure out where to put the corresponding integer,parameter :: dp=selected_real_kind(15,307) commands
  5. TwirlySocrates

    gFortran bug, or something else?

    Thanks, this is extremely helpful. What would be a good (preferably free) online reference for looking up the different standards? I'd like to use fortran 95 standard, and so I'm using -std=f95. I get a number of complaints from the compiler, but I don't always know the the proper syntax for...
  6. TwirlySocrates

    gFortran bug, or something else?

    I've been using .F95 files, so I would assume the compiler is using fortran 95 Ok, thanks guys. One last question: What do all those options do?
  7. TwirlySocrates

    gFortran bug, or something else?

    Hi, I'm running numerical sediment chemistry models in FORTRAN. I have a very bizarre problem: I frequently debug my source code by using PRINT*, commands to write numbers to the console. There's a couple of PRINT*, commands which, once removed from my source code, the program goes completely...

Part and Inventory Search

Back
Top