Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26736 Discussions

OpenMP (/Qopenmp_stubs) on Windows causing insufficient virtual memory error

Simon_K_
Beginner
162 Views

Dear Intel Community,

I think I discovered a bug causing insufficient virtual memory when trying to allocate arrays.

Setup VS 2017 Community and Intel Fortran Compiler 17.0.2.187 and 17.0.4.210 (32-bit and 64-bit), with VS 2013 Ultimate the same problem occurs.

The following minimalistic example already fails to run, when using Compiler flags:

/Qopenmp_stubs /libs:qwins /dbglibs

linker flags:

/SUBSYSTEM:WINDOWS and /SUBSYSTEM:CONSOLE

Example works with /Qopenmp or Intel Fortran Compiler 15.0.6.285 (with the above given flags)

 

    program Console2

    implicit none
    real*8, allocatable  :: testArr(:)
    
    allocate(testArr(1))

    end program Console2

 

Did I do something wrong or is there a bug?

 

Kind regards,

Simon Klarmann

 

 

0 Kudos
2 Replies
Xiaoping_D_Intel
Employee
162 Views

I have reproduced the error and opened a bug report for it. The track bug ID is CMPLRS-43555.

 

Thanks,
Xiaoping Duan

Intel Customer Support

Stacey_C_
Beginner
162 Views

We are having this problem as well.  How can we follow the status of this bug?

Reply