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

heap corruption after for_deallocate

Calin_M_
Beginner
455 Views

Hi,

I am using ifort Version 13.1.3.198 Build 20130607. I am experiencing a heap corruption inside an OpenMP loop during a function stack creation, always after a call to for_deallocate. I found on you website a possible related issue (DPD200338962 at https://software.intel.com/en-us/articles/intel-composer-xe-2013-compilers-sp1-fixes-list). I don't know yet if the IT guys installed SP1 for this version on my machine. 

Since a compiler upgrade is not possible at this time, could you detail a bit the conditions of issue DPD200338962, maybe I can find a workaround to my problem.

Thanks,

Calin

0 Kudos
1 Solution
Steven_L_Intel1
Employee
455 Views

The issue you mention was triggered by the use of /heap-arrays. If you're using that, try removing it. You might need to adjust the linker stack size and OpenMP thread stack size.

View solution in original post

0 Kudos
3 Replies
Steven_L_Intel1
Employee
456 Views

The issue you mention was triggered by the use of /heap-arrays. If you're using that, try removing it. You might need to adjust the linker stack size and OpenMP thread stack size.

0 Kudos
Calin_M_
Beginner
455 Views

Thanks Steve, life saver. Indeed I am using /heap-arrays0. The crash disappeared after removing this option.

On the other hand I would like to keep this option. Where can I download SP1 for my version (13.1.3.198 Build 20130607)? I assume it is for free.

Calin

0 Kudos
Steven_L_Intel1
Employee
455 Views

2013 SP1 was really just a new major version, we should have called it 2014. You can download the latest your license permits at https://registrationcenter.intel.com/

0 Kudos
Reply