Giter Club home page Giter Club logo

Comments (5)

lebarsfa avatar lebarsfa commented on May 29, 2024

Hello,

I can confirm the same issue for the first point on our MacBook with M1 chip, contrary to other configurations. For this type of Mac, Codac was built with FILIB interval library (because it was the only one that builds easily in this configuration), contrary to Intel x86_64 Mac or PC with Ubuntu which are with GAOL.
With some changes including those proposed in goualard-f/GAOL#4 , here are some temporary Python 3.9 and 3.10 wheels using GAOL, which would need to be installed with something similar to sudo pip3 uninstall -y codac ; pip3 uninstall -y codac ; pip3 install *.whl to overwrite the existing version :

Note that I tried also to find a solution for FILIB by adding compiler flags such as -ffloat-store -frounding-math -fno-fast-math -ffp-contract=off to the build process but that did not seem to completely solve the problem, contrary to GAOL. To be checked...

For the second point, do you have an example to reproduce the problem, it might be a separate issue?

from codac.

marialuizacvianna avatar marialuizacvianna commented on May 29, 2024

Thank you very much for your answer, Fabrice. First problem is now solved.
You can reproduce the second problem with the example code for tplanes that you can find on the following link:

https://github.com/codac-team/codac/blob/master/examples/robotics/06_loops_proofs/06_loops_proofs.py

from codac.

lebarsfa avatar lebarsfa commented on May 29, 2024

OK, I can confirm the problem on our Mac M1, we will need to check more in details...

from codac.

lebarsfa avatar lebarsfa commented on May 29, 2024

Here are new Python .whl with preliminary fixes for both problems: https://github.com/lebarsfa/codac/releases/tag/v1.2.1-tplane-fix. Download the .whl corresponding to your Python version, e.g. https://github.com/lebarsfa/codac/releases/download/v1.2.1-tplane-fix/codac-1.2.1-cp39-cp39-macosx_11_0_arm64.whl for Python 3.9, and e.g. run in your download folder sudo pip3 uninstall -y codac ; pip3 uninstall -y codac ; pip3 install *.whl to overwrite the existing version.

from codac.

marialuizacvianna avatar marialuizacvianna commented on May 29, 2024

Problems solved, thank you so much!

from codac.

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.