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

Confused by such error message

lorinsz
Beginner
2,340 Views

I'm developing a programe solving large-scale matrix equation using frontal-solver algorithm.(Ax = b)

After compiling and linking (they are both OK), I excuted the programe and got following message:

------------------------------------------------------------------

forrtl: severe (41): insufficient virtual memory

*********************************(some other message)

Incrementally linked image--PC correlation disabled.

--------------------------------------------------------------------

so what's the meaning? Could someone tell me that?

Thx~~~~~

"Insufficient virtual memory": I donot think my programe need too much memory, since the matrix I input is not very large, just 900-by-900.

0 Kudos
4 Replies
Steven_L_Intel1
Employee
2,340 Views
It does indeed mean that your program uses "too much memory". You're using CVF, right?

Add at the end of your compile command

/traceback /link /incremental:no

and it should tell you at what line the error occurred. That may help you figure out the problem.
0 Kudos
lorinsz
Beginner
2,340 Views

Thanks for you reply. Yes, I'm using CVF 6.6, so do you mean I have to use the command prompt to compile and link the program? Using DF ... ?

0 Kudos
Steven_L_Intel1
Employee
2,340 Views
No - if you're using the IDE, just build in a debug configuration, run under the debugger and see where it stops. It's probably on an ALLOCATE but it might be somewhere else.
0 Kudos
lorinsz
Beginner
2,340 Views

Great!

I've found the error now, it's really about ALLOCATE.

thx Steve.

0 Kudos
Reply