Capitalization of module names

Capitalization of module names

slowder's picture

I'm compiling some Fortran modules and their names are
getting capitalized. For example, my code is test_mod.F and it
defines the module test which comes out as TEST.mod.
Is there a flag in version 7.0 that turns off this
capitalization and keeps module names in lower case?
thanks,
Steve

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Martyn Corden (Intel)'s picture

By convention, the names of the .mod files are upper case. I do not know of a way to change this. Since the Fortran language is not case sensitive, I'm not sure why you would want to do this, apart from aesthetics. If you have a need, please submit a request to Intel Premier Support at https://premier.intel.com

Symbol names in an object file are another matter, since these may be linked to objects built outside Intel Fortran. There are several ways to control the case and name decoration of symbol names.

Martyn

gmorris's picture

> Since the Fortran language is not case sensitive,
> I'm not sure why you would want to do this, apart from
> aesthetics.

For example, it makes it more difficult to write Makefiles if the module names get uppercased.

> If you have a need, please submit a request to Intel
> Premier Support at https://premier.intel.com

Point taken... :)

Login to leave a comment.