Are namelists portable?

NAMELIST is a nice feature that doesn’t get the attention it deserves, in my opinion. They are not obsolescent (the standard does not use the term deprecated)…

You should find NAMELIST input to be portable among conforming compilers and platform-independent barring some circumstances with CHARACTER variables outside of default character set in Fortran with which I do not have much experience.

But NAMELIST output is unfortunately a different story, please see this thread.

2 Likes