Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

internal error: 0_13171

qtl
Beginner
248 Views
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
Alexander_W_Intel
248 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
qtl
Beginner
248 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
Reply