[FLASH-USERS] Segmentation fault due to POINTER_INTENT_OUT
Klaus Weide
klaus at flash.uchicago.edu
Sat Nov 11 00:32:50 EST 2017
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
More information about the flash-users
mailing list