trouble using gfortran
Jerry DeLisle
jvdelisle@verizon.net
Thu Apr 20 22:13:00 GMT 2006
Paul Thomas wrote:
> Silvain,
>
> Steve and Tobias have already given you good advice - your English is
> fine but you need to explain more what you are trying to do and what
> goes wrong with it.
>
> As general bit of advice, it is worth while checking if you assume in
> your code that all variables and pointers are initialized to zero/null.
> gfortran does not do this for you but many other compilers do. In the
> last six months, I have found this to be the biggest hinderance, by far,
> to people getting existing code up and running with gfortran. HJ Lu,
> myself and now Jerry DeLisle are all trying to get the quantum chemistry
> package, tonto, to run. HJ has found that it is full of assumed NULL
> initializations.
> I have found the same, recently with a tokamak equilibrium code, proteus.
>
> Who would vote for -fzero-all-variables and -fnull-pointers?
>
> Paul
>
>
I would vote for the -finitialize.
How would this be accomplished? and who would like to take it on?
Jerry
More information about the Fortran
mailing list