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

Puzzling Compile error #6406

WSinc
Neuer Beitragender I
1.635Aufrufe
Why do I get that for every variable in the COMMON block?
But I only get it when I include it in DERBOX, but not TERMV.
Yet, Both have the same INCLUDE statement.

I just can't see where I have declared anything more than once...
Doing a CLEAN first makes no difference.

Does the placement of the COMMON block make any difference?
Should it be in the same folder as the other routines?
I tried moving it around, made no difference.....
0 Kudos
1 Lösung
reinhold-bader
Neuer Beitragender II
1.635Aufrufe
Hello,

by including obj001.cmn twice in derbox.F90, you have effectively declared the contained entities twice.

Regards
Reinhold

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
reinhold-bader
Neuer Beitragender II
1.636Aufrufe
Hello,

by including obj001.cmn twice in derbox.F90, you have effectively declared the contained entities twice.

Regards
Reinhold
WSinc
Neuer Beitragender I
1.635Aufrufe
Yep, my bad...

I missed the 2nd include statement.
Antworten