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

g77_abi_wrappers needed on Linux for MKL as well #4520

Closed
hahnjo opened this issue Feb 12, 2015 · 2 comments
Closed

g77_abi_wrappers needed on Linux for MKL as well #4520

hahnjo opened this issue Feb 12, 2015 · 2 comments
Labels
Build issues Issues with building from source, including different choices of architecture, compilers and OS defect A clear bug or issue that prevents SciPy from being installed or used as expected
Milestone

Comments

@hahnjo
Copy link

hahnjo commented Feb 12, 2015

In scipy/_build_utils/_fortran.py, in function needs_g77_abi_wrapper, it currently says:

    # XXX: is this really true only on Mac OS X ?
    elif uses_mkl(info) and sys.platform == "darwin":
        return True

The check for the platform should be removed, I have only got it to work with the abi_wrappers. Otherwise I got the same segfaults as in #3193 (see also: https://software.intel.com/en-us/articles/mkl-single-dynamic-library-libmkl-rtso-does-not-conform-to-the-gfortran-calling-convention)

Used versions:
scipy 0.15.1
GCC 4.4.7 (RedHat 6.6)
Intel Compiler 15.0.2.164 with Intel MKL

@pv
Copy link
Member

pv commented Feb 12, 2015

The intel issue mention only the single dynamic library. Does this apply to whole MKL?

@hahnjo
Copy link
Author

hahnjo commented Feb 12, 2015

I at least got segfaults when it was compiled with the dummy wrappers and it worked when using the real wrapper...

@rgommers rgommers added defect A clear bug or issue that prevents SciPy from being installed or used as expected Build issues Issues with building from source, including different choices of architecture, compilers and OS labels Mar 2, 2015
@rgommers rgommers added this to the 0.16.0 milestone Mar 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build issues Issues with building from source, including different choices of architecture, compilers and OS defect A clear bug or issue that prevents SciPy from being installed or used as expected
Projects
None yet
Development

No branches or pull requests

3 participants