- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
following code:
program ala
implicit none
integer, parameter :: n = 100
real, dimension(n) :: vl
integer :: i
call random_number(vl)
do i =1, 100
call vanleer(vl)
enddo
contains
subroutine vanleer(a)
implicit none
real, dimension(:), intent(in) :: a
real, dimension(size(a,1)) :: c
end subroutine vanleer
end program ala
causes sever memory leak when compiled with -heap-arrays -assume realloc_lhs. Please see attached file for additional details (including valgrind run)
Best regards,
Kacper Kowalik
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HeinzB (Intel) wrote:This is fixed in Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.1.117 Build 20121010 Thanks!Kacper
yes - we recently got aware of the memory leak caused by -heap-arrays. It is a new issue for IFORT 13.0 and is independent of -assume realloc_lhs but more general. We escalated this to engineering already: Case number is DPD200235943. We hope to get it fixed for update 1 of 13.0 compiler. I will keep you updated on any news. As a workaround I only can recommend to not use -heap-array for now and to consider an increasing the stack size ( see : http://software.intel.com/en-us/articles/intel-fortran-compiler-increase... )
Heinz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page