GITMCode / GITM

The Global Ionosphere/Thermosphere Model
Apache License 2.0
9 stars 8 forks source link

[BUG]: GITM can't compile with Nag fortran compiler #12

Open abukowski21 opened 2 weeks ago

abukowski21 commented 2 weeks ago

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:

These are the errors I know of now, but there could be more

abukowski21 commented 1 week 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 .