- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting errors when tried to run old 2014 Fortran codes by using 2022 Intel Fortran Parallel Studio compiler:
userLogic.for(823): warning #6717: This name has not been given an explicit type. [INTCRY]
call splitString(fileName, UCA(intcry(submodelName,100000)))
---------------------------------------^
userLogic.for(863): warning #6717: This name has not been given an explicit type. [INTCRY]
UCA(intcry(submodelName,status))=crew(Person)%status
-----------^
userLogic.for(896): warning #6717: This name has not been given an explicit type. [INTCRY]
crew(Person)%cutfat =UCA(intcry(submodelName,cutfat))
-------------------------------------^
userLogic.for(927): warning #6717: This name has not been given an explicit type. [TCABP]
crew(Person)%asinda(213) = tcabp !TCD 8/16/2013
----------------------------------^
userLogic.for(1024): error #6405: The same named entity from different modules and/or program units cannot be referenced. [PI]
use variablesa, only: ts, tc, twall, pi, rb, xlen=>xl, ctof
--------------------------------------------^
userLogic.for(1031): warning #6717: This name has not been given an explicit type. [NGARM]
CALL SETGARMENT( NGARM )
--------------------------------^
All errors are like 'not given an explicit type'. How can I fix this problem?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Of the numerous messages that you reported, only one is an error message. The others are warnings, which you can ignore, suppress or turn into errors by using suitable compiler options.
The error message tells you that PI has been declared in more than one module that is USEd in the current source file. This error would have been flagged as such even by an older version of the compiler. You need to fix this error.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page