X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:in-reply-to; q=dns; s=default; b=m0AH z9MZDO6U/mgJzAkPQK/6hZ/1YFne9h8Cus88fBfsmCvwhjCrjmrZttoo1zmgC3ho DMXTpyt4a3VF9a7qZNG8VioI4fFRiBnqglUUKED0B3j83knSSTFrngZszC7yF3ZW 0zMuItmjgPo/zyUbRxJtH5arlZah+0/Sx39/wdo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:cc:subject:message-id:references :mime-version:content-type:in-reply-to; s=default; bh=ceGkst5Qct 5CyTKzbg3mqcasuIA=; b=ixq+96Qr/UwujpLstKvfEjtst5ICbN/zQCLY3X+wfw 9kt6fLr2eViLGak8okU/j0Wcna+xHTWBwfGe2VBckpzlBy4vTWECktZ2M7nkHuw5 YSU2Eiqj8aKFUXLcI3FK9SJvqjC5MjGybUgtgFSsEjMtMnCWKowReJHRdXIWgZaU 8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Date: Thu, 11 Apr 2013 16:59:12 -0700 From: Steve Kargl To: Angelo Graziosi Cc: Cygwin , fortran Subject: Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0 Message-ID: <20130411235912.GA31328@troutmask.apl.washington.edu> References: <51674473 DOT 3030704 AT alice DOT it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <51674473.3030704@alice.it> User-Agent: Mutt/1.5.21 (2010-09-15) On Fri, Apr 12, 2013 at 01:17:07AM +0200, Angelo Graziosi wrote: > Steve Kargl wrote > > > My > > disagreemnet is predicated on the stupidity of using a 10 line > > example subroutine without actually inspecting what it does on > > whatever OS that one chooses to use. > > It is just because one has tested that code that these problems came to > light... :-) > When testing, it would help if the results were properly represented as your initial subject line was "Random seed initialization". It seems clear to at least me your testing did not include actually inspecting what these two lines do: CALL SYSTEM_CLOCK(COUNT=clock) seed = clock + 37 * (/ (i-1), 1=1, n) /) because your subject would have been "SYSTEM_CLOCK is broken on cygwin". If you want to see an actual issue with "Random seed initialization" go read PR 52879. -- Steve -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple