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

Intel MKL BLACS fatal error

Jump to solution

Hello,

My program ends prematurely with the following message:

Intel MKL BLACS fatal error: cannot allocate memory, aborted. srun: error: n2176: task 0: Exited with exit code 255

The function call that seem to fail is:

blacs_gridinit(icontext,'r',nprows,npcols)

The first call goes well but the second doesn't (Newton's algorithm), even though function

blacs_exit(1)

is used to exit BLACS. Any idea where it comes from?

0 Kudos

Accepted Solutions
Highlighted
Employee
92 Views

Hi Thomas,

In order to troubleshoot this issue, please answer the following questions:

1) Which Operating system (OS) are you running? What is the OS version?

2) Which compiler are you using? What is the version number?

3) What is the system configuration?

4) Can you provide me with code sample so that I can reproduce the error? Without the reproducer, it would be difficult to solve this issue.

5) Relating to question #5, please provide the instructions on how to compile/link the code as well as running instructions.

Best regards,

Khang

View solution in original post

0 Kudos
3 Replies
Highlighted
Employee
93 Views

Hi Thomas,

In order to troubleshoot this issue, please answer the following questions:

1) Which Operating system (OS) are you running? What is the OS version?

2) Which compiler are you using? What is the version number?

3) What is the system configuration?

4) Can you provide me with code sample so that I can reproduce the error? Without the reproducer, it would be difficult to solve this issue.

5) Relating to question #5, please provide the instructions on how to compile/link the code as well as running instructions.

Best regards,

Khang

View solution in original post

0 Kudos
Highlighted
92 Views

Hi Khang,

The problem is solved: blacs_gridinit() needs to be called only once at the beginning of the program, not at each matrix inversion.

0 Kudos
Highlighted
Employee
92 Views

Hi Thomas,

I am glad that you are able to figure out the problem.

For your information, you can also submit your issue to the Intel online service center or you email me directly.

Best regards,

Khang

0 Kudos