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

ERROR WITH IFORT: conflicting attirbutes!!!!

gambato79
Beginner
415 Views

Hi all,

I wrote a code with a include file : numeri.inc

integer nevas,neqns

integer nelem

parameter(nelem=10)

integer nnods

parameter (nnods=2)

etc......

I'm compiling it with ifort but I have this error:

fortcom: Error: numeri.inc, line 6 : Conflicting attributes or multiple declaration of name.

I controlled my code and I haven't define nelem in the code too, so I think that the error is due to a conflicting attributes...but I can understand how.

Can you help me, please????

0 Kudos
1 Reply
Ron_Green
Moderator
415 Views

It's not clear from what you have shown where the problem lies. I would need to see the declarations in the including procedure to determine where the conflict lies.

In cases like this, it is best if you can create a simple reproducer. A simplified include file, and a very simple including file for this case. Once that is done, tar it up and open a problem report on premier.intel.com.

thanks

0 Kudos
Reply