-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
OpenFOAMv2306 and scotch library linking #87
Comments
I looks very like empty Do you have any personal configuration for third party libraries (ex. |
No, I do not have any specific configuration. |
Foundation's OpenFOAM and ESI's OpenFOAM have different way of searching for third party libraries. Guess, if you look through the compilation log, you find these lines:
As you said, you do not have any special configuration for scotch, then, guess, your Simple solution would be to create
Setup OpenFOAM environment and run Maybe it could be proposed as a feature request in ESI's repository to modify |
Thanks a lot, issue resolved. Would be nice to have it as a standard feature though. |
hi, can you give me some information how to fix this problem? I have the same problem! Thank you very much! |
Hi, Could you elaborate? What did not work for you in the message #87 (comment)? |
Thank you very much! I compile the ESI version, OpenFOAM v2306.
==> skip scotch (no header) So, I don't know how to fix this problem! Can you give me some advices or tips ? Thank you very much Yang Wang |
Editing this comment to add more useful information. After speaking to a colleague who is an OpenFOAM master and also a Mac user I've managed to get scotch to link. $ brew install scotch $ brew info scotch
Note that scotch is located here: After you've extracted or cloned OpenFOAM edit etc/config.sh/scotch to include:
then you can build OpenFOAM |
You set Maybe also you should use brew's Scotch instead of custom formula. I made it when Scotch was removed from formulas. |
Thanks @mrklein for this excellent resource. As a by the way (broadly related to this issue), OpenFOAM.com versions (e.g. v2312) no longer need patches for macOS; however, your guide is still useful regarding installing dependencies with Homebrew and creating a case-sensitive disk image. It might be useful to add a comment on this in the wiki; failing that, at least this thread will help those who search for it. |
@philipcardiff Thank you for the comment. So, the solution would be to remove mention of custom tap and to change formula name to simple |
@nolankucd 's solution works for me: (i) |
Updated wiki. Do you think it OK now? |
This looks good to me. |
Hi,
I tried to compile the OpenFOAM v2306 as the normal process suggested here (https://github.com/mrklein/openfoam-os-x/wiki/OpenFOAM(R)-release-&-Homebrew), without applying any patch.
However, when running decomposePar I get this message:
Similar process was followed with v10 (with patch) and that has correct linking for this library.
Do you have any suggestion to manually link the libraries (without building new scotch lib)?
The text was updated successfully, but these errors were encountered: