Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 ディスカッション

ERROR WITH IFORT: conflicting attirbutes!!!!

gambato79
ビギナー
416件の閲覧回数

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 件の賞賛
1 返信
Ron_Green
モデレーター
416件の閲覧回数

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

返信