For Programmers: Free Programming Magazines  


Home > Archive > Fortran > April 2005 > Re: Problem when writing unformatted data to file using Intel Fortran Compiler









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Problem when writing unformatted data to file using Intel Fortran Compiler
Steve Lionel

2005-04-27, 3:59 pm

On Wed, 27 Apr 2005 12:17:27 +0200, Matthias Möller <moeller.matthias@gmx.de>
wrote:


>In line "write(unit=77) kdata" I get a segmentation fault. If I change
>the pointer attribute of kdata into allocatable everything works fine.
>However, I need the pointer attribute in my real code. In addition if I
>let kdata be "allocatable" but modify its output according to
>
>write(unit=77) kdata(:,:)
>
>the same segmantation fault occurs.


First, Intel offers technical support at Intel Premier Support - see the link
below for details. Second, Intel also offers a user forum for Intel Forfran
users - link also below.

Your program is running out of stack due to a stack temporary created by the
compiler. I haven't tried your case, but we did make some changes in this
area since the compiler you're using. 8.1.027 is current. The alternative is
to raise your stacksize limit.


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/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com