Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tap mrklein/foam #69

Open
AleksZhuravlyov opened this issue Oct 22, 2021 · 4 comments
Open

tap mrklein/foam #69

AleksZhuravlyov opened this issue Oct 22, 2021 · 4 comments

Comments

@AleksZhuravlyov
Copy link

AleksZhuravlyov commented Oct 22, 2021

Looks like lines below from wiki:

$ brew install scotch
$ brew install parmgridgen

should be changed as follows:

$ brew install mrklein/foam/scotch
$ brew install mrklein/foam/parmgridgen

Otherwise brew reinstalls scotch from homebrew/core if brew upgrade is run.

@mrklein
Copy link
Owner

mrklein commented Oct 22, 2021

Thank you for the report. In fact, maybe I should remove tap mrklein/foam, since this tap originated as a temporary solution, when scotch was removed from core (or rather was not migrated there). core has newer version and community maintained, while version in my tap is rather old.

I will test build with core's version and update wiki accordingly.

@AleksZhuravlyov
Copy link
Author

AleksZhuravlyov commented Oct 25, 2021

This newer version of scotch does not include ptscotch.h which is required for OpenFoam, while version from your tap mrklein/foam works pretty good.

@mrklein
Copy link
Owner

mrklein commented Oct 25, 2021

It does. Formula in homebrew/core builds library incorrectly. Theoretically this should be reported to Homebrew, yet, practically it is simpler to fix this issue in custom tap. So, you are right, wiki should be corrected.

@BrushXue
Copy link

Now pt-scotch is finally added to homebrew/core. However, they don't allow me to drop -DSCOTCH_PTHREAD option, saying it is outdated and shouldn't cause any MPI problem in 2021 (which is not true for OpenFOAM).
Please file complaints to make them aware of this issue. The simple fix is to add (I tested)

        s.gsub! "-DSCOTCH_PTHREAD", ""

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants