Visible to Intel only — GUID: GUID-A48399A4-C0D4-4108-BC63-7E52A6E20A87
Visible to Intel only — GUID: GUID-A48399A4-C0D4-4108-BC63-7E52A6E20A87
Fortran Module Naming Conventions
Fortran module entities (data and procedures) have external names that differ from other external entities. Module names use the convention:
Linux
modulename_mp_entity_
Windows
_MODULENAME_mp_ENTITY
modulename is the name of the module. On Windows, the name is uppercase by default.
entity is the name of the module procedure or module data contained within MODULENAME. On Windows, ENTITY is uppercase by default.
_mp_ is the separator between the module and entity names and is always lowercase (except when option assume std_mod_proc_name or option standard-semantics is specified).
For example:
MODULE mymod INTEGER a CONTAINS SUBROUTINE b (j) INTEGER j END SUBROUTINE END MODULE
On Linux, this results in the following symbols being defined in the compiled object file.
mymod_mp_a_ mymod_mp_b_
The following symbols are defined in the compiled object file on Windows operating systems based on IA-32 architecture:
_MYMOD_mp_A _MYMOD_mp_B
On Windows, there is no beginning underscore.