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

Sandybridge configuration incorrect for recent Mac OS X #27

Closed
poulson opened this issue May 22, 2015 · 4 comments · Fixed by #108
Closed

Sandybridge configuration incorrect for recent Mac OS X #27

poulson opened this issue May 22, 2015 · 4 comments · Fixed by #108

Comments

@poulson
Copy link

poulson commented May 22, 2015

Because of the fact that Apple chose to alias gcc to clang and g++ to clang++, the current Sandybridge configuration,

, will fail since Clang does not (yet) support OpenMP.

@jedbrown
Copy link
Contributor

While I think it is despicable behavior on Apple's part, why does anyone rely on executable name to identify the compiler? $(CC) --version is more reliable.

@poulson
Copy link
Author

poulson commented May 24, 2015

I've worked around this issue in the following PR: #28

@poulson
Copy link
Author

poulson commented May 27, 2015

It seems that either libtool or install_name_tool still needs to be used so that the proper paths are searched. At the moment, otool -L on the installed blis library is clearly insufficient:

$ otool -L ~/Install/clang-3.6/mpich-3.1.4/lib/libblis.dylib 
/Users/poulson/Install/clang-3.6/mpich-3.1.4/lib/libblis.dylib:
    lib/sandybridge_osx_clang/libblis.dylib (compatibility version 0.0.0, current version 0.0.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1213.0.0)

@poulson
Copy link
Author

poulson commented May 27, 2015

This changeset appears to have fixed the issue: scibuilder@2d7d5bf

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

Successfully merging a pull request may close this issue.

2 participants