Code Monkey home page Code Monkey logo

Comments (12)

Lydia823 avatar Lydia823 commented on July 29, 2024 1

I have reinstalled dealii with candi successfully, thanks a lot. @tjhei @bangerth

from candi.

bangerth avatar bangerth commented on July 29, 2024

Do you get the same error with step-1, for example?

The key reason is this line:

Library not loaded: 'libTKBO.11.dylib'

Apparently, the system does not contain this library. I don't have any idea what it is supposed to do.

from candi.

tjhei avatar tjhei commented on July 29, 2024

This error is from open cascade, which currently does not work correctly on M1. I would suggest you rerun Candi from scratch without open cascade for now.

Also see https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX
We should probably make it more obvious somewhere what works and doesn't work on ARM right now. Sorry about that.

from candi.

Lydia823 avatar Lydia823 commented on July 29, 2024

Do you get the same error with step-1, for example?

The key reason is this line:

Library not loaded: 'libTKBO.11.dylib'

Apparently, the system does not contain this library. I don't have any idea what it is supposed to do.

Hi Prof. bangerth, thanks for your reply. According to your suggestion, I have tested the example step-1, and got the same error as that with step-32. Also, I have found the file 'libTKBO.11.dylib' under the library of the oce I setup. The question now is I don't know how to make it be found in the future whenever I run dealii. I am a new hand with the mac OS system.

from candi.

Lydia823 avatar Lydia823 commented on July 29, 2024

Hi Dr. tjhei, thanks for your reply. However, I don't know what to do with your suggestion of 'rerun Candi from scratch without open cascade' because I don't know about 'cascade' and 'scratch'. (awkwardness) @tjhei

from candi.

bangerth avatar bangerth commented on July 29, 2024

"start from scratch" = do it again, in a new directory that does not contain any remnants of your previous experiment.

Without cascade: candi is driven by a configuration file in which you can switch dependencies on/off. Switch off the OpenCASCADE or OCC dependency (I don't recall how it is named, but it is one of these two names).

from candi.

Lydia823 avatar Lydia823 commented on July 29, 2024

Thanks for your kind explanation Prof. bangerth. I understand now that I need to reinstall dealii with candi and make specific configuratiion of switching off the OpenCascade. I will try that.

from candi.

tjhei avatar tjhei commented on July 29, 2024

Starting from scratch means deleting the output directory Candi produced (typically deal.ii-candi in your home directory) and running Candi again.
You can specify the packages to install on the command line as shown on the wiki page I linked above or by commenting out lines in the candi.cfg.

from candi.

Lydia823 avatar Lydia823 commented on July 29, 2024

Do you mean that when I reinstall candi I should use the commond line like this, './candi.sh -j 8 --packages="hdf5 p4est trilinos dealii", please? The important point is I should specify the parameter packages rather than with the default value, isn't it? @tjhei I didn't specify this parameter when I installed candi before.

from candi.

tjhei avatar tjhei commented on July 29, 2024

Do you mean that when I reinstall candi I should use the commond line like this, './candi.sh -j 8 --packages="hdf5 p4est trilinos dealii", please?

Yes, this is one option. Another one is to edit candi.cfg and choosing the packages you want.

I don't know what you are trying to do, so I don't know what packages you need.

from candi.

Lydia823 avatar Lydia823 commented on July 29, 2024

The goal I install candi is to install aspect. So do you know what packages should I need during candi installation, please? Thanks. @tjhei

from candi.

tjhei avatar tjhei commented on July 29, 2024

Take a look at https://github.com/geodynamics/aspect/wiki/Installation-on-ARM-OSX

from candi.

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.