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:
- A couple of character length issues. For example, src/ModHmeModel.f90 should use
* instead of iCharLenHme_
- src/ModSami.f90
'(L)' -> * in line read(iSamiUnit, '(L)', iostat=iError) CorotationAdded
- Nan checks. For example
if (any(ieee_is_nan(geopt))) then instead of if (count(isnan(geopt)) >0) then
These are the errors I know of now, but there could be more