Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Capitalization of module names

slowder
Beginner
1,016 Views
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

0 Kudos
2 Replies
Martyn_C_Intel
Employee
1,016 Views
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
0 Kudos
gmorris
Beginner
1,016 Views
> 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... :)
0 Kudos
Reply