Re: Problems with intel fortran compiler version 8
From: Steve Lionel (Steve.Lionel_at_intel.com)
Date: 06/29/04
- Next message: Jan Vorbrüggen: "Re: how to use 1D array as a multidimensional array"
- Previous message: Steve Lionel: "Re: Tales for Intel"
- In reply to: BB: "Problems with intel fortran compiler version 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 29 Jun 2004 11:06:08 -0400
On Mon, 28 Jun 2004 16:08:45 GMT, BB <mail@mail.com> wrote:
>I have found two problems with the NASA overflow code using Intel Fortran
>8 for linux. I'm using the latest version (just updated today) and have
>posted my problems to premier.intel.com. Item number 1 concerns reading
>a namelist file.
Your program opens unit 5 and reads from unit *. These are not necessarily
the same units, and in Intel Fortran, they are not. Some implementations may
allow this, others may not. The standard certainly does not imply that this
should work. Please use the same unit number consistently.
>I'm also getting a segfault using an automatic array. I'm running on a
>workstation with 2GB memory, so it shouldn't be a memory size. Linux
>version is Redhat 7.3. This program also works under Intel 7 and
>Portland Group.
This program declares a 10MB automatic array. In some compilers, including
ifc 7.1, these are created on the heap. In Intel Fortran 8, they are created
on the stack. You need to be sure that your stack is large enough (I found
20MB to be sufficient.)
ulimit may or may not actually raise the stack limit sufficiently, depending
on the particular Linux implementation used, system installation parameters,
phase of the moon, etc. You can try the "limit" command to see what it
actually got set to. Try setting a specific large value rather than trying
for "unlimited".
Steve Lionel
Software Products Division
Intel Corporation
Nashua, NH
User communities for Intel Software Development Products
http://softwareforums.intel.com/
Intel Fortran Support
http://developer.intel.com/software/products/support/
- Next message: Jan Vorbrüggen: "Re: how to use 1D array as a multidimensional array"
- Previous message: Steve Lionel: "Re: Tales for Intel"
- In reply to: BB: "Problems with intel fortran compiler version 8"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|