- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
With ifort 19.x I get a segfault when I pass a temporary array of a certain length to an internal procedure. This works fine with gfortran and pgf90. Is this a bug in the compiler?
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are most likely running out of stack. Try compiling with -heap-arrays. .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You SEGFAULT here:
real ( 8), dimension(n) :: at,bt
or here:
at-bt
Not in the subroutine.
And it is stack overflow just as Steve have pointed out.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page