Coder Social home page Coder Social logo

Question about source installation about ginan HOT 5 CLOSED

JJaraG avatar JJaraG commented on July 26, 2024
Question about source installation

from ginan.

Comments (5)

smcclusky avatar smcclusky commented on July 26, 2024

Hi JJ,
Thanks for the question. Until recently all our Mac OSX testing had been done on OSX Intel (x86 silicon) systems, using only the native Clang Apple compiler.

I have not seen your specific boost "boost_stacktrace_backtrace" problem with Ginan builds before, but I also have never tried to build using the GCC - GNU 13.2.0 compiler on OSX. I have seen mention of the Boost "boost_stacktrace_backtrace" libraries missing problem in stackoverflow. So it is not necessarily a Ginan specific problem I think.

Have you tried to find on your system the specific: boost_stacktrace_backtraceConfig.cmake and boost_stacktrace_backtrace-config.cmake and adding the appropriate prefix as suggested? You could possibly do that via CMake toolchain file as per below?

I have just been working on the Ginan Apple Silicon build problem myself last week as now I finally have a Apple Silicon Mac.
I have not done a lot of testing, but I have a solution that works on the latest OSX release (Sonoma 14.5) using the latest Ginan v3 develop-weekly snapshot and the native AppleClang compiler v15. Below is my recipe:

I use the Brew package manager to do the Ginan dependancy installation as per:
https://github.com/GeoscienceAustralia/ginan/blob/develop-weekly/scripts/installation/apple.md

Ie: brew install boost cmake eigen netcdf-cxx netcdf mongo-c-driver mongo-cxx-driver openblas openssl@3 yaml-cpp libomp

Get the latest Ginan develop-weekly snapshot from GitHub: https://github.com/GeoscienceAustralia/ginan/tree/develop-weekly

Then from the ginan/src/build directory I do:
cmake -DCMAKE_TOOLCHAIN_FILE=compile_mac_arm64.cmake ..

This uses the new toolchain file (compile_mac_arm64.cmake ) that I needed to create to get CMake to find the brew installed OpenMP libraries and includes.

Let me know if any of this helps, else I will need to see if I can get the GCC compiler installed on my Mac to be able to reproduce your problem I think.

from ginan.

JJaraG avatar JJaraG commented on July 26, 2024

from ginan.

JJaraG avatar JJaraG commented on July 26, 2024

from ginan.

polytopes-design avatar polytopes-design commented on July 26, 2024

The Friday updates will usually contain any improvements that have been made to the source code over the previous week. It is not necessary to update for real-time, but feel free to pull the updates and new features as they become available.

from ginan.

JJaraG avatar JJaraG commented on July 26, 2024

Thanks a lot! The help has been very useful

Best,
Jorge

from ginan.

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.