Closed massisenergy closed 2 years ago
The homebrew scotch won’t work because they refuse to add a compiler flag. You need to to use the scotch.rb in my repo.
Or, you can add a issue so they can know the severity of the problem and hopefully they’ll make a change.
Also seems like your scotch library is not properly linked. You probably need to modify etc/config.sh/scotch and change the path(mentioned in README).
Hello again,
Sorry I didn't find any instruction in the Readme.md, how to use the scotch.rb
. I checked in my home-brew scotch installation, but there also exists no scotch.rb
, that I could just replace to make it work. Can you please instruct me in detail?
This is not related to OpenFOAM so I’m not really responsible for this part. I suggest you learn how to use OpenFOAM on Linux then try it on Mac.
You need to download the script and do brew install --build-from-source scotch.rb
. Then change the PATH in etc/config.sh/scotch
to /opt/homebrew/opt/scotch
Thanks so much Xue! Decomposition using the scotch
method is working now 🙂. I learnt how to use a custom .rb
with brew install --build-from-source
.
My OpenFoam installation in ArchLinux just worked out of the box, never posed the requirement of any modification during building so...
Maybe add this part download the script and do brew install --build-from-source scotch.rb
into the readme for newbies like me?
Hi Guanyang Xue,
Happy that it's working and single core performance seems better than my desktop with i9 + 32GB RAM. Found another problem now. Parallel run with the method
simple
is working but it blurts out the following when I tried to usescotch
:Is it working for you? How do I go about this?
I have installed
scotch
from home-brew: