Open abukowski21 opened 2 weeks ago
Talked with Gabor just now. The issue is with intent(in)
strings. When the string is passed from another routine, it can (should?) use len=*
. Then other strings can use the LEN()
of that, if necessary. Then allegedly Fortran has support to automatically allocate string lengths. So we may not even need to set a length. Not sure which versions of fortran compilers that's true for.
So I'll tackle this one
Of course, related to #14 .
A couple of things prevent GITM from compiling with Nag compiler. Some use nag - and SWMF is tested with Nag - so it is worthwhile to fix this.
The problems I'm aware of:
*
instead ofiCharLenHme_
'(L)'
->*
in lineread(iSamiUnit, '(L)', iostat=iError) CorotationAdded
if (any(ieee_is_nan(geopt))) then
instead ofif (count(isnan(geopt)) >0) then
These are the errors I know of now, but there could be more