Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#103 make benchmark delivered raytracing error and wrong wrong ..

unexpected behavior
closed-works-for-me
Sean Morrison
2
2007-02-08
2007-02-08
pfannmoe
No

Hi after compilation I typed make benchmark. The result was:

Running the BRL-CAD Benchmark tests... please wait ...

+++++ moss
RAYTRACE ERROR
moss.pix: No such file or directory
moss.pix: WRONG WRONG WRONG WRONG WRONG WRONG
+++++ world
RAYTRACE ERROR
world.pix: No such file or directory
world.pix: WRONG WRONG WRONG WRONG WRONG WRONG
+++++ star
RAYTRACE ERROR
star.pix: No such file or directory
star.pix: WRONG WRONG WRONG WRONG WRONG WRONG
+++++ bldg391
RAYTRACE ERROR
bldg391.pix: No such file or directory
bldg391.pix: WRONG WRONG WRONG WRONG WRONG WRONG
+++++ m35
RAYTRACE ERROR
m35.pix: No such file or directory
m35.pix: WRONG WRONG WRONG WRONG WRONG WRONG
+++++ sphflake
RAYTRACE ERROR
sphflake.pix: No such file or directory
sphflake.pix: WRONG WRONG WRONG WRONG WRONG WRONG

... Done.

Total testing time elapsed: 1 second

Moreover, the reference machine was somehow 0 times faster than my one. What do those results mean?

Discussion

  • pfannmoe
    pfannmoe
    2007-02-08

    Here is the benschmark.tr.

     
    Attachments
  • pfannmoe
    pfannmoe
    2007-02-08

    Logged In: YES
    user_id=1713728
    Originator: YES

    File Added: benchmark.tr

     
  • Sean Morrison
    Sean Morrison
    2007-02-08

    • milestone: --> unexpected behavior
    • assigned_to: nobody --> brlcad
     
  • Sean Morrison
    Sean Morrison
    2007-02-08

    Logged In: YES
    user_id=785737
    Originator: NO

    There's some error ray-tracing the benchmark comparison images, hence the "No such file or directory" error. That should only happen when the ray-tracer doesn't run (at all), implying some sort of binary incompatibility or a run-time crash. Can you provide one of the *.log files as an attachment? Perhaps even just moss.log would help to see what happened for your given trace. You should have several .log files that match the names shown, any one of those should suffice to see what is going on.

     
  • pfannmoe
    pfannmoe
    2007-02-08

    The moss.log from the brlcad directory.

     
    Attachments
  • pfannmoe
    pfannmoe
    2007-02-08

    Logged In: YES
    user_id=1713728
    Originator: YES

    I found the log files. It is a problem with the shared libraries. I don´t know what that means, but I attached a log file. Does somebody know what I have to do?
    File Added: moss.log

     
  • Sean Morrison
    Sean Morrison
    2007-02-08

    • priority: 5 --> 2
    • status: open --> closed-works-for-me
     
  • Sean Morrison
    Sean Morrison
    2007-02-08

    Logged In: YES
    user_id=785737
    Originator: NO

    Thanks for the follow-up. That error is a bug in libtool, presuming you really do have /home/pfannmoe/brlcad/src/libbn/.libs/libbn.so.19 -- which is what it's looking for. Libtool is supposed to take care of "in-place execution" so that the LD_LIBRARY_PATH and other settings are automatically taken care of for you and for whatever reason, it has failed to do the right thing. This could be because of an older version of GNU Libtool being used or a particular detail of the system you're using.

    You have several options. 1) If you didn't run ./autogen.sh as your first step, run it and proceed with configure and make on a clean copy of the sources. Running autogen.sh does require the GNU autotools to be installed, but it should regenerate the libtool script and might fix this problem. 2) Try upgrading/updating your installed GNU libtool (and then rerunning ./autogen.sh etc ala option 1). 3) Ignore it. It's not a critical failure and the benchmark can actually be run after installation too.

    That is to say that the error is annoying as it should/will work if libtool does its job, but the error is otherwise fairly benign. I'd suggest option 3, proceeding with a make install. At that point you should be able to then run the benchmark successfully by invoking the "benchmark" command. The benchmark is installed when you install BRL-CAD so you should be able to run /usr/brlcad/bin/benchmark or just benchmark if you set your PATH. Hope that helps!

    Cheers!
    Sean

     
  • pfannmoe
    pfannmoe
    2007-02-09

    Logged In: YES
    user_id=1713728
    Originator: YES

    My proceeding was the following. I had everything installed that was necessary for the build of BRL-Cad except of the right libtool version. Then I installed the newest version of libtool. I prompted afterwards:

    %./autogen.sh
    %./configure -with-x11 -with-opengl --enable-optimized
    %make

    Everything seemed to work fine but make benchmark did not work. I followed the recommendation of Sean and prompted

    %make install

    and afterwards

    % export PATH=/usr/brlcad/bin:$PATH
    % export MANPATH=/usr/brlcad/man:$MANPATH

    after that again

    %benchmark

    this time everything worked fine. I was really glad to be able to send a report to the benhcmarktest adress. Also the editor mged opened and I drew and ars. However I hope that now everything works. My system is Ubuntu 6.06 (Dapper Drake) on a Amilo M 3438 G. Maybe this will help other ubuntu users.

    Cheers Joerg

     
  • pfannmoe
    pfannmoe
    2007-02-09

    Logged In: YES
    user_id=1713728
    Originator: YES

    My proceeding was the following. I had everything installed that was necessary for the build of BRL-Cad except of the right libtool version. Then I installed the newest version of libtool. I prompted afterwards:

    %./autogen.sh
    %./configure -with-x11 -with-opengl --enable-optimized
    %make

    Everything seemed to work fine but make benchmark did not work. I followed the recommendation of Sean and prompted

    %make install

    and afterwards

    % export PATH=/usr/brlcad/bin:$PATH
    % export MANPATH=/usr/brlcad/man:$MANPATH

    after that again

    %benchmark

    this time everything worked fine. I was really glad to be able to send a report to the benhcmarktest adress. Also the editor mged opened and I drew and ars. However I hope that now everything works. My system is Ubuntu 6.06 (Dapper Drake) on a Amilo M 3438 G. Maybe this will help other ubuntu users.

    Cheers Joerg