-
-
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
scotch installation fails in Mac 10.14.2 with homebrew #46
Comments
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.) |
Hi, |
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. |
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. |
@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 |
brew install scotch --without-check |
same problem here, everything compiles, including scotch with this link [https://raw.githubusercontent.com/jslee02/homebrew-core/3ec5109c8d7bddb6631e9b76f3c540d66f61357f/Formula/scotch.rb], |
I have pushed 13ee435 to address the issue. Could you test formula file? |
@AleksZhuravljov, Thank you. Did you have problems with scotch decomposition, described by @matteoicardi ? |
@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. |
@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. |
Thanks @AleksZhuravljov , it works now! |
Since, it seems, formula works now, closing the issue. |
mpicc -O3 -fPIC -Drestrict=__restrict -DCOMMON_PTHREAD_BARRIER -DCOMMON_PTHREAD -DSCOTCH_CHECK_AUTO -DCOMMON_RANDOM_FIXED_SEED -DCOMMON_TIMING_OLD -DSCOTCH_RENAME -DCOMMON_FILE_COMPRESS_BZ2 -DCOMMON_FILE_COMPRESS_GZ -DSCOTCH_PTSCOTCH -I../../include -L../../lib test_scotch_dgraph_redist.c -o test_scotch_dgraph_redist -lptscotch -lscotch -lptscotcherrexit -lm -lz -lpthread -lbz2
make[1]: *** [check] Error 2
make: *** [check] Error 2
make: *** Waiting for unfinished jobs....
./test_strat_par
dyld: __dyld section not supported in /usr/local/Cellar/scotch/6.0.4_1/lib/libptscotch.dylib
make[2]: *** [check_strat_par] Abort trap: 6
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [ptcheck] Error 2
make: *** [ptcheck] Error 2
The text was updated successfully, but these errors were encountered: