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

Help with compiler errors 6405, 10298

dajum
Novice
5,835 Views

I get these errors during compilation of my project.


C:\sf61\proces\save.f(583): error #6405: The same named entity from different modules and/or program units cannot be referenced.   [COMPL]
ifort: error #10298: problem during post processing of parallel object compilation
compilation aborted for C:\sf61\proces\save.f (code 1)
Unable to open argument file, C:\Users\dave\AppData\Local\Temp\8132104arg3.

I also get the same errors except for the last argument file message for another routine using the same COMPL variable.

Interestingly enough, If I do another build only one file, but not both give the error.

I'm 100% certain there is only one definition of COMPL in a module.  But I'm concerned about the #10298 error and why it can't find the argument file.   Are these all related? These lines are all contiguous in the output window.

If I change every usage from COMPL to C0MPL (using a zero instead of O). the code all compiles and links fine.  And there is no reference to a COMPL in the .map file.  I do have variables COMP and COMPW defined in the same module. But I can't live with using a zero as the name gets used by our users, and I need it to be consistent.

Making a sample is nearly impossible and the code is proprietary.  I could break out pieces, to show, but that usually isn't too helpful. 

0 Kudos
21 Replies
andrew_4619
Honored Contributor III
690 Views
I suspect that having the #17 error is actually a bug in your code if you look at it closely. Maybe you were modifying the ifport variable not your own in those instances?
0 Kudos
Reply