All right. I just fell back on an older version of gfortran and it compiles now. Conclusion: Don't install gfortran 4.8 on a mac running snow leopard. Although I still don't understand why it doesn't work at this moment. Thanks again Norbert!
Cheers,
kees
Yeah. Ok. I see.
So I've brought it down to the following:
module timers
implicit none
public
!integer, private :: time_array(8)
!real, private :: a3600, a60, a001
integer,private :: time_array(8)
real,private :: a3600=3600.
real,private :: a60=60.
!real,private :: a001=0.001
!a3600=3600...
Ok. Thanks again for your help Norbert. It's appreciated.
All right, seems to me something weird is going on here. This is the updated code:
module timers
implicit none
public
integer, private :: time_array(8)
real, private :: a3600, a60, a001
a3600 = 3600.
a60 = 60.
a001 = 0.001
contains...
Hi Norbert,
Thanks for your post. I realize that this is sloppy, but that doesn't solve the problem.
It seems like it really has to do with the value of 0.001 ??
Is it not allowed to use floats in such a format (in version 4.8)?
Thanks anyway.
Kees
Hi all,
Just new to the forum, but I think it's great that these forums exist!
I'm running MAC OS X 10.6 on a macbook pro. I just installed gfortran version 4.8 (which was probably the latest one, because it was chosen by default) through the homebrew 'package manager' on this macbook. I used...
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.