From lai at lindaspaces.com  Mon Mar 13 16:19:31 2006
From: lai at lindaspaces.com (Jennifer Lai)
Date: Mon, 13 Mar 2006 10:19:31 -0500
Subject: [Rd] problem building R-patched on x86-64 with PGI 6.1
In-Reply-To: <Pine.LNX.4.64.0603110749470.6922@gannet.stats.ox.ac.uk>
References: <39B6DDB9048D0F4DAD42CB26AAFF0AFAFED913@usctmx1106.merck.com>
	<Pine.LNX.4.64.0603110749470.6922@gannet.stats.ox.ac.uk>
Message-ID: <44158D83.10607@lindaspaces.com>

Prof Brian Ripley wrote:

>
>> As those of you who saw my post on R-help know, I've been trying to 
>> build
>> R-patched on a dual Opteron box running Scyld Beowulf, using the PGI 6.1
>> compilers.  The build went fine, but I couldn't get it to pass make
>> check-all.  Jennifer Lai, who reported success with PGI 6.0 previously,
>> seems to have the same problem with 6.1.  Here are the particulars:
>>
>> Since R requires IEEE754 conformance, the flag to use for PGI is -Kieee.
>> (BTW, configure still insist on sticking in -mieee-fp, which generates a
>> warning.)  With that flag, the build runs into trouble with the first
>> example in ?optim.  Running it by hand gives me:
>
>
> Well, configure insists on doing so because we were told it was correct.
> (Will change.)  Is -Kieee always correct for PG?
> Looking at
>
> http://www.amd.com/us-en/assets/content_type/DownloadableAssets/dwamd_PGI_nov603.pdf 
>
>
> suggests you might want to try -pc64 -Kieee.
>
Thanks, Prof. Ripley! The optim example pass the sanity check with -pc64 
-Kieee flag.
"make check" now fails at reg-tests-1.R


Regards,
Jennifer



[Rd] problem building R-patched on x86-64 with PGI 6.1
Jennifer Lai