GithubHelp home page GithubHelp logo

Comments (8)

sherm1 avatar sherm1 commented on June 17, 2024

Is this something that was working previously and stopped working? If so, any idea what broke it? (Simbody code change, build compiler change, etc?)

from simbody.

merkys avatar merkys commented on June 17, 2024

Yes, TestBigMatrix used to pass on mips64el and ppc64el architectures. Doing some log bisecting I find the following:

Simbody version C/CXX compiler version TestBigMatrix
3.6.1 8.3.0 Passed
3.6.1 12.2.0 Failed

Thus it seems that the problem for these architectures is the update of C/CXX compiler from 8.3.0 to 12.2.0.

from simbody.

sherm1 avatar sherm1 commented on June 17, 2024

I'm not sure what to do with this. The problem appears to be an optimizer bug in the mips and ppc backends for the newer compiler, but I don't have access to those so can't confirm that compiling with optimization off allows the test to pass. Do you have an idea for how to address this problem?

from simbody.

merkys avatar merkys commented on June 17, 2024

I can try disabling optimization for these architectures just to see if that helps. How can I do that?

from simbody.

sherm1 avatar sherm1 commented on June 17, 2024

@merkys -- sorry for the delayed response!

As an experiment, please try modifying line CMakeLists.txt:400 at the top level to read
set(GCC_OPT_DISABLE -O1) or -O0 if it still fails at O1.
Then regenerate with CMake and rebuild to see of all tests pass.

If that works we can PR a conditional on the architecture.

from simbody.

merkys avatar merkys commented on June 17, 2024

Just checked, neither -O1, nor -O0 makes TestBigMatrix pass, alas.

from simbody.

sherm1 avatar sherm1 commented on June 17, 2024

Rats! That's surprising. Thanks for trying. Is the compiler you're using gcc or clang?

from simbody.

merkys avatar merkys commented on June 17, 2024

@sherm1 sorry for dropping the ball. I believe gcc is the compiler.

from simbody.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.