Coarrays and -fdefault-integer-8

Dan Nagle danlnagle@me.com
Sun Mar 11 17:27:00 GMT 2018


Hi,

A question occurring to me after I posted is,
Does -fdefault-integer-8 change the values of atomic_int_kind and atomic_logical_kind ?

I suppose the answer may be hardware-dependent.

> On Mar 11, 2018, at 10:57 , Dominique d'Humières <dominiq@lps.ens.fr> wrote:
> 
> OK, thanks.
> 
> Dominique
> 
>> Le 11 mars 2018 à 17:33, Dan Nagle <danlnagle@me.com> a écrit :
>> 
>> Hi,
>> 
>> Pardon me for answering a question for Damian,
>> 
>>> On Mar 11, 2018, at 05:37 , Dominique d'Humières <dominiq@lps.ens.fr> wrote:
>>> 
>> 
>>> Is is expected that the arguments of atomic_* have to be INTEGER(4)/LOGICAL(4) (atomic_int_kind)?
>> 
>> atomic_add        atom must be of atomic_int_kind
>> atomic_and        atom must be of atomic_int_kind
>> atomic_cas        atom may be of atomic_Int_kind or atomic_logical_kind
>> atomic_define     atom may be of atomic_int_kind or atomic_logical_kind
>> atomic_fetch_add  atom must be of atomic_int_kind
>> atomic_fetch_and  atom must be of atomic_int_kind
>> atomic_fetch_or   atom must be of atomic_int_kind
>> atomic_fetch_xor  atom must be of atomic_int_kind
>> atomic_or         atom must be of atomic_int_kind
>> atomic_ref        atom may be of atomic_int_kind or atomic_logical_kind
>> atomic_xor        atom must be of atomic_int_kind
>> 
>> from 1539-1 2017 (17-007r1) pg 356 - 360 HTH
>> 
>> --
>> 
>> Cheers!
>> Dan Nagle
>> 
> 


--

Cheers!
Dan Nagle




More information about the Fortran mailing list