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

TRANSPOSE(array) - code crashes

dirk_geyer
Beginner
1,401 Views
Hi all,

Running Intel Fortran Version 8.0.0.35 (Windows XP, Visual Studio 2003) my code crahes if I call the intrinsinc Fortran function TRANSPOSE. I checked the array definitions and data types (code was running on CVF 6.6), but that is all right.
The error message is that
"subscribt 2 in the array ha the value 0 which is less than the lower bound of 1"
This message is nonsens since I transpose full arrays (no index in the call) like:

REAL, DIMENSION(m,n) :: arr1
REAL, DIMENSION(n,m) :: arr2
arr2 = TRANSPOSE(arr1)

Has anyone an idea what causes that error ??

Dirk
0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,401 Views
You are using a very old version of the compiler - we have fixed many problems since then. Please log in to your Premier Support account and download version 8.0.50. There is also a 8.0.053 patch which can be applied to that.

If the problem persists, submit an example to Premier Support.
0 Kudos
John_L_4
Beginner
1,401 Views
We had this exact problem with the version you were using. Upgrading to the latest version will fix it. I'm guessing that when you first download IVF, the version you get is still 035. I wish Intel would fix this problem, since downloading 035 is a waste of time. I would always recommend going to Premier Support and downloading the lastest version.
0 Kudos
Steven_L_Intel1
Employee
1,401 Views
The problem of getting an old version will soon be fixed, to some extent, but going to Premier Support to get the current version is recommended.
0 Kudos
Reply