Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
20 Views

internal error: 0_13171

Hi, I was reading two large matrices to multiply them later on.
[bash]#include
#include
#include

using namespace std;
int main(int argc, char*argv[])
{
  const int nid(13276);
  const int len(nid*nid);
  double gmat[len], ginv[len], prod[len];
  int iid, jid, ii;
  ifstream fge("rst");

  fge>>iid;  //to discard the first number
  for(iid=ii=0; iid>gmat[ii++];

  for(iid=ii=0; iid>ginv[ii++];

  return 0;
}
[/bash]

When compiling with icpc, I got an error message below:

test.cpp(8) (col. 1): internal error: 0_13171

compilation aborted for test.cpp (code 4)

Commenting out any one of the two reading blocks will eliminate the error. What's wrong was going there?
0 Kudos
2 Replies
Highlighted
20 Views

Hi,
which version of the compiler do you use? If I use the latest 12.1 compiler i can not reproduce your error. However, I can reproduce this on older versions of the compiler.
You can download the actual version of the Compiler from the Registration Center.
Alex
0 Kudos
Highlighted
Beginner
20 Views

It's icpc (ICC) 12.0.5 20110719 on my server

with icpc (ICC) 12.1.0 20110811 on my desktop there is no such error

I will then upgrade it asap.

Many thanks.
0 Kudos