* Request for Jim ( was Re: POVray success!!)
[not found] <9704032026.AA28992@halfpint.rtp.avanticorp.com>
@ 1997-04-03 21:59 ` Terry L. Ridder
0 siblings, 0 replies; 2+ messages in thread
From: Terry L. Ridder @ 1997-04-03 21:59 UTC (permalink / raw)
Hello Jim;
This is very good to know about the OSF compiler.
Would you have the time to download the latest POV version 3.01 and
try that version under OSF?
We have found the POV version 3.00b does work under Linux/Alpha, but
POV version 3.01 does not work.
Also just out of curiosity what Alpha are you running?
My son and I have run several tests on this test scene and the best
time we have so far is 5 hours 28 minutes on a PC164 433Mhz , 128Mb,
2Mb, Linux 2.0.27, and gcc 2.7.2.1.
On Thu, 3 Apr 1997, Jim Nance wrote:
> Hello all,
> About a week ago there was some discussion of problems running povray
> under Linux/Alpha. Since I can not run Linux/Alpha on the machine I have
> currently, I decided to try to debug the problem under Digital Unix.
> I was getting an FPE just like the people running Linux were so I assumed
> that I was seeing the same problem. Well you know what they say about
> assuming :-) It seems that I have uncovered a bug in the Digital Unix
> libc function F_pow() which is used in place of pow() when certain optimizer
> flags are passed to the compiler. Its nice to know that we are not the
> only ones who have bugs. After I sent off a bug report to DEC,
> I recompiled povray with less agressive optimization and it runs fine.
>
> I really don't know what all the output means, though it does generate a
> nice image I can look at in xv. I am posting it here in case anyone is
> interested.
>
> Thanks,
>
> Jim
>
<snip>
>
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."
"And every hour of every day I'm learning more
the more I learn, the less I know about before
the less I know, the more I want to look around
digging deep for clues on higher ground."
==Higher Ground== UB40
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Request for Jim ( was Re: POVray success!!)
[not found] <Pine.LNX.3.91.970404060422.7061A-100000@edgar.blauedonau.com>
@ 1997-04-07 19:34 ` Jim Nance
0 siblings, 0 replies; 2+ messages in thread
From: Jim Nance @ 1997-04-07 19:34 UTC (permalink / raw)
> > > This is very good to know about the OSF compiler.
> > > Would you have the time to download the latest POV version 3.01 and
> > > try that version under OSF?
OK,
I got the 3.01 POV source and compiled and ran. I encounterd the SIGFPE
that I posted about earlier, and fixed it by changing line 328 of super.c
like this:
- if (v0 * v1 < 0.0)
+ if ((v0>0 && v1<0) || (v0<0 && v1>0))
I think that will be faster anyway.
It now runs fine and the rendered image looks good too. I assume that this
runs on the other platforms because v0*v1 will generate INF or NaN while it
generates an FPE on the alpha. There is a compiler switch to control this:
-ieee
Ensure support of all portable features of the IEEE Standard for Binary
Floating-Point Arithmetic (ANSI/IEEE Std 754-1985), including the
treatment of denormalized numbers, NaNs, and infinities and the han-
dling of error cases. This flag also sets the _IEEE_FP C preprocessor
macro.
If your program must use IEEE signaling features that are not portable
across different IEEE implementations, see the ieee(3) reference page
for a discussion of how to access them under the Digital UNIX operating
system.
but the people from Digital told me not to use it unless I had to because it
slowed things down a lot. I don't think gcc has a flag like this, but I dont
know this for certain.
On a related note, does anyone know if glibc will compile under Digital Unix?
I would love to be able to make statically linked DU binaries that I could
distribute w/o having to worry about Digital Unix license problems. Actually,
if I knew where to get it I would just try to compile it, so I am really
asking for a pointer to the source.
Thanks,
Jim
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-04-07 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <9704032026.AA28992@halfpint.rtp.avanticorp.com>
1997-04-03 21:59 ` Request for Jim ( was Re: POVray success!!) Terry L. Ridder
[not found] <Pine.LNX.3.91.970404060422.7061A-100000@edgar.blauedonau.com>
1997-04-07 19:34 ` Jim Nance
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox