Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* libcpml.a and povray :-)
@ 1999-03-06  5:00 Hans Aschauer
  1999-03-07  5:00 ` Greg Lindahl
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hans Aschauer @ 1999-03-06  5:00 UTC (permalink / raw)


Hi all,
I just installed the new cpml--library from compaq and tested
it with povray-3.02 on my 21164@533.
The results are pretty good, eg. for the oak2.pov in level3:

with libm:
time x-povray +i oak2.pov  +o out.tga -L/usr/libexec/povray/include/ +D
-W320 -H200 
[...]
 Time For Trace:    0 hours  1 minutes   9.0 seconds (69 seconds)
    Total Time:    0 hours  1 minutes   9.0 seconds (69 seconds)
68.37user 0.29system 1:09.61elapsed 98%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (238major+276minor)pagefaults 0swaps 

with libcpml:
time ../../source/unix/x-povray +i oak2.pov  +o out.tga 
-L../../include/ +D -W320 -H200
[...]
Time For Trace:    0 hours  0 minutes  40.0 seconds (40 seconds)
    Total Time:    0 hours  0 minutes  40.0 seconds (40 seconds)
38.82user 0.25system 0:39.71elapsed 98%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (231major+275minor)pagefaults 0swaps

Compiling and installing povray with libcpml was simple: I just replaced
the '-lm' with '-L/usr/local/lib -lcpml" (assuming it is installed
there).
While linking, I got errors like "unresolved reference to __atan2" for
two
or three .o--files which went away after #include'ing 
"/usr/local/include/cpml.h".

My own simulation software (sqrt() and pow() -- bound) got a boost
from 3.65s to 0.95s in my standard test case...

-- Hans
Hans.Aschauer@Physik.uni-muenchen.de



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-08  5:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-06  5:00 libcpml.a and povray :-) Hans Aschauer
1999-03-07  5:00 ` Greg Lindahl
1999-03-07  5:00 ` Lee Bo-sung
1999-03-08  5:00 ` News Man

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox