From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d9b40c5272b75360,start X-Google-Attributes: gid111c93,public From: Hans Aschauer Subject: libcpml.a and povray :-) Date: 1999/03/06 Message-ID: <36E1521C.5CE32B37@physik.uni-muenchen.de>#1/1 X-Deja-AN: 451905702 Distribution: world Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: LMU Muenchen Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha 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