From owner-sc22wg5@open-std.org  Thu Oct 22 07:16:12 2009
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id D3941C76BB7; Thu, 22 Oct 2009 07:16:12 +0200 (CET DST)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from ns.nag-j.co.jp (218-42-159-107.cust.bit-drive.ne.jp [218.42.159.107])
	by www2.open-std.org (Postfix) with ESMTP id 16F46C178E4
	for <sc22wg5@open-std.org>; Thu, 22 Oct 2009 07:16:10 +0200 (CET DST)
Received: from 218-42-159-108.cust.bit-drive.ne.jp ([218.42.159.108] helo=Marucomputer)
	by ns.nag-j.co.jp with smtp (Exim 4.50)
	id 1N0q0Y-00034s-4r
	for sc22wg5@open-std.org; Thu, 22 Oct 2009 14:14:42 +0900
Message-ID: <76AB2275605D4CE480A84B0D39736B0A@Marucomputer>
From: "Malcolm Cohen" <malcolm@nag-j.co.jp>
To: "SC22WG5" <sc22wg5@open-std.org>
References: <20091020111544.C0F5CC178E3@www2.open-std.org><20091020154252.946EAC178E3@www2.open-std.org><20091021161933.1B2FCC178E3@www2.open-std.org><20091021171501.21FA4C178E3@www2.open-std.org><20091021175702.E4D26C178E3@www2.open-std.org> <20091022043326.83DB9C178E4@www2.open-std.org>
In-Reply-To: <20091022043326.83DB9C178E4@www2.open-std.org>
Subject: Re: [ukfortran] (SC22WG5.4104) (j3.2006) Standard	intrinsics	and coarrays
Date: Thu, 22 Oct 2009 14:16:31 +0900
Organization: ??NAG
MIME-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=response
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Mailer: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

Aleksandar Donev wrote:
> In the case of a "shared" generator, I am not sure I understand exactly what 
> is meant, guaranteed, or processor dependent. Is it obvious to others and I am 
> just being dense?

Yes it is obvious.

In a "shared" generator there is a single seed and a single sequence.  Images 
take values from that single sequence.

In a "separate" generator, each image has a seed and a sequence.  Each image 
takes values from its own sequence.

It is trivial to discover this by careful syncing between two images and a 
sequence of random_seed and random_number calls.

>    It is processor dependent whether all images use a common
>    generator or whether each image uses a separate one.

Perhaps we should require that it should be one or the other.

Cheers,
-- 
................................Malcolm Cohen, Nihon NAG, Tokyo.
 

