[FLASH-USERS] Segmentation fault due to POINTER_INTENT_OUT

Yingchao Lu yingchao.lu at gmail.com
Sat Nov 11 01:14:21 EST 2017


It seems _CRAYFTN is not defined.

On Fri, Nov 10, 2017 at 11:32 PM, Klaus Weide <klaus at flash.uchicago.edu>
wrote:

> On Fri, 10 Nov 2017, Yingchao Lu wrote:
>
> > This is the whole list of opts.
> > .....
>
> Yingchao,
>
> I was thinking more of a list of preprocessor macros that are defined by
> the 'ftn' compiler that you are using.  From some documentation I can
> access online, it appears that the test
>
>    #ifdef _CRAYFTN
>
> can be used to detect this compiler. However, I do not know how to test
> for a specific version.
>
> Anyway, you should probably just add something like
>
> #  ifdef __ABSOFT__
> #    undef POINTER_INTENT_OUT
> #    define POINTER_INTENT_OUT pointer
> #  endif
>
> in an appropriate place in FortranLangFeatures.fh - for example, right
> before or after the corresponding lines for __ABSOFT__ .
>
>
> Klaus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20171111/8887f114/attachment.htm>


More information about the flash-users mailing list