Giter Site home page Giter Site logo

Comments (14)

AleksZhuravlyov avatar AleksZhuravlyov commented on August 21, 2024 1

brew install scotch --without-check

from openfoam-os-x.

mrklein avatar mrklein commented on August 21, 2024 1

I have pushed 13ee435 to address the issue. Could you test formula file?

from openfoam-os-x.

mrklein avatar mrklein commented on August 21, 2024

Hi,

Thanks for the report. I do not have access to macOS Mojave, so I won't be able to reproduce the error and fix it. Maybe one day Homebrew will include Scotch in core, right now, you can skip the library installation (it you do not plan to use Scotch decomposition.)

from openfoam-os-x.

aqeelahmed168 avatar aqeelahmed168 commented on August 21, 2024

Hi,
Thanks for the response.
How can I install this library manually, is there any other option?
I have tried a couple of times to install version 5.0 and 4.1 but the compilation stopped at some point. Not same location in both cases. Mixing scotch has to do anything with that ?
I followed the instructions as mentioned for here
https://github.com/mrklein/openfoam-os-x/wiki/OpenFOAM(R)-release-&-Homebrew
Also, the version numbering needs to be updated in your guide. The 5.0 is 5-0 on OpenFOAM server if the new download is required.

from openfoam-os-x.

michaelaye avatar michaelaye commented on August 21, 2024

just wondering, do you have a reason to go through the painful self compilation instead of using the docker containers? They should have all libraries required. I am using the docker containers successfully on macOS 10.13.6 (High Sierra), but don't see a reason why they shouldn't work on Mojave, as that's the idea of container-ization.

from openfoam-os-x.

aqeelahmed168 avatar aqeelahmed168 commented on August 21, 2024

I am already using docker. I though direct compilation would create an environment like we get in Linux. Able to directly run through terminal and use multi presserros.

from openfoam-os-x.

mrklein avatar mrklein commented on August 21, 2024

@aqeelahmed168 I need more details. Theoretically missing Scotch should not interfere with compilation (as build scripts check library availability and skip corresponding part if library is not installed). Could you post the error message?

Concerning initial error, since in fact it is not a problem of compilation, but a problem of running tests, maybe you can remove tests from scotch formula (comment out everything between test do and corresponding end in scotch.rb).

from openfoam-os-x.

matteoicardi avatar matteoicardi commented on August 21, 2024

same problem here, everything compiles, including scotch with this link [https://raw.githubusercontent.com/jslee02/homebrew-core/3ec5109c8d7bddb6631e9b76f3c540d66f61357f/Formula/scotch.rb],
but then decomposePar and all other parallel utilities give me "section not supported" on the scotch dylib

from openfoam-os-x.

AleksZhuravlyov avatar AleksZhuravlyov commented on August 21, 2024

@mrklein, I had scotch, which was installed as "brew install scotch --without-check". I've made "brew remove scotch" and "brew install scotch.rb" using 13ee435 and scotch was installed without errors.

from openfoam-os-x.

mrklein avatar mrklein commented on August 21, 2024

@AleksZhuravljov, Thank you. Did you have problems with scotch decomposition, described by @matteoicardi ?

from openfoam-os-x.

AleksZhuravlyov avatar AleksZhuravlyov commented on August 21, 2024

@mrklein I didn't. I guess it can depend on the solver which is used. And I actually don't use parallel utilities. I can test a project where can be such a problem if you pick up one.

from openfoam-os-x.

mrklein avatar mrklein commented on August 21, 2024

@AleksZhuravljov: well, if you do not decompose a case, you should not encounter the error. Let's wait for someone, who does decompose their cases.

from openfoam-os-x.

matteoicardi avatar matteoicardi commented on August 21, 2024

Thanks @AleksZhuravljov , it works now!

from openfoam-os-x.

mrklein avatar mrklein commented on August 21, 2024

Since, it seems, formula works now, closing the issue.

from openfoam-os-x.

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.