Coder Social home page Coder Social logo

error: '__m256d' about chrono HOT 4 OPEN

cekees avatar cekees commented on June 21, 2024
error: '__m256d'

from chrono.

Comments (4)

Milad-Rakhsha avatar Milad-Rakhsha commented on June 21, 2024

I am aware of this issue and I believe that this has to do with the CMake configuration for AVX support. So, at the configuration stage in CMAKE it is found that your system does support AVX. Consequently, CHRONO_HAS_AVX is defined in the build/chrono/ChConfig.h, which is included in ChMatrix.h. This allows for vectorized matrix multiplications. However, it seems like your system does not find the immintrin.h for some reason at the build stage. Could you see if this system header file is available in your compiler's include? I think a work around is to add the path of the immintrin.h to your CPATH.
By the way what commit produces this error?

from chrono.

coopergeodynamics avatar coopergeodynamics commented on June 21, 2024

Hi! I'm having a similar problem of being unable to build Chrono projects and not able to resolve it. I just installed Chrono on my Mac (Big Sur).

Same errors about expected characters. For example:

/usr/local/include/chrono/core/ChMatrix.h:129:93: error: expected '>'
/usr/local/include/chrono/core/ChMatrix.h:129:48: note: to match this '<'
using ChRowVectorRef = Eigen::Ref<Eigen::Matrix<double, 1, Eigen::Dynamic, Eigen::RowMajor>>;
^
/usr/local/include/chrono/core/ChMatrix.h:129:93: error: expected a type
using ChRowVectorRef = Eigen::Ref<Eigen::Matrix<double, 1, Eigen::Dynamic, Eigen::RowMajor>>;
^
/usr/local/include/chrono/core/ChMatrix.h:129:93: error: expected '>'
/usr/local/include/chrono/core/ChMatrix.h:129:34: note: to match this '<'

I tried to point to immintrin.h with a symbolic link within the include folder, but that didn't seem to help.

from chrono.

rserban avatar rserban commented on June 21, 2024

Sorry for the late reply. Did you resolve this issue?
If not, could please try to disable SIMD support during CMake configuration (uncheck USE_SIMD)?

from chrono.

coopergeodynamics avatar coopergeodynamics commented on June 21, 2024

I didn't resolve the issue and the suggestion above unfortunately didn't help. Any other thoughts?

from chrono.

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.