Capitalization of module names

Capitalization of module names

Ritratto di slowder

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 post / 0 new
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Ritratto di Martyn Corden (Intel)

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

Ritratto di gmorris

> 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... :)

Accedere per lasciare un commento.