Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
告知
Important Update: Community Platform Migration​. Learn more​>

Array PARAMETERs

John4
高評価コントリビューター I
2,158件の閲覧回数
Hi,

When I try to compile the code below with the -stand switch, I get a warning stating that the array expressions do not conform. Am I doing something wrong? Thanks.

[cpp]module mod1
    !ifort -c -stand mod1.f90
    integer, parameter :: IDENTITY(2, 2) = RESHAPE([1, 0, 0, 1], [2, 2])
    integer, parameter :: DKR(2, 2) = IDENTITY
end module mod1[/cpp]

0 件の賞賛
1 解決策
Steven_L_Intel1
従業員
2,158件の閲覧回数
It's a compiler bug - I can see that it's already fixed in our internal sources. I'm not sure when the fix will appear.

元の投稿で解決策を見る

1 返信
Steven_L_Intel1
従業員
2,159件の閲覧回数
It's a compiler bug - I can see that it's already fixed in our internal sources. I'm not sure when the fix will appear.
返信