Coarrays and -fdefault-integer-8

Dan Nagle danlnagle@me.com
Sun Mar 11 16:34:00 GMT 2018


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




More information about the Fortran mailing list