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:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=NBAx9aso5QLM/gs3 YBqQZpgCKMNYlHH3c/oVKmjH3tvEqspLZnLFUhcsUd1lPafw+1vn2HX6BM6Ilr6y al1CU+0Fst907VJD2+cgp3isihK2cyHZBtbXExqyIRgZFwerTpggiNHj6Q4k/7du YATRZaLhaphqfXUTz9xrEm8A8Dk= 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:message-id:date:from:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=rNnEqQ9yierqg0baGDIpx0 ns4ag=; b=Z9+jzEVz82jbufHIIcKX/GDC4S7dlPnD5/9jqwgH8NS55oQB5OfwN7 9aDXkOOxGwOurnTzQPqzANDk84u8kub236lgnL0lum/Gth6FpE17QU6PntJdu6Pi AiHwPyY654/OZykEASRcXkBEYJkcYvF+8zz7ZMvlCB7H1U95rXoiY= 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=-5.8 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RP_MATCHES_RCVD autolearn=ham version=3.3.1 Message-ID: <5167C71F.4060409@alice.it> Date: Fri, 12 Apr 2013 10:34:39 +0200 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Steve Kargl CC: Cygwin , fortran Subject: Re: Cygwin with clock_gettime and CLOCK_MONOTONIC - gives always 0 References: <51674473 DOT 3030704 AT alice DOT it> <20130411235912 DOT GA31328 AT troutmask DOT apl DOT washington DOT edu> In-Reply-To: <20130411235912.GA31328@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Ciao Steve, Il 12/04/2013 1.59, Steve Kargl ha scritto: > 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 I DID that: http://gcc.gnu.org/ml/fortran/2013-04/msg00033.html It is only at the end of it that was opened the new on Cygwin: http://cygwin.com/ml/cygwin/2013-04/msg00184.html BTW, it contains also the link to the first... :) Ciao, Angelo. > 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. > -- 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