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

Seg fault with Intel's MKL and parallel MPB #11

Open
amrit-poudel opened this issue Mar 18, 2016 · 1 comment
Open

Seg fault with Intel's MKL and parallel MPB #11

amrit-poudel opened this issue Mar 18, 2016 · 1 comment

Comments

@amrit-poudel
Copy link

Intel's MKL library and parallel MPB do not seem to get along very well. I get segmentation fault during make check.

Outputting check-epsilon...
solve_kpoint (0,0,0):
tefreqs:, k index, k1, k2, k3, kmag/2pi, te band 1, te band 2, te band 3, te band 4, te band 5, te band 6, te band 7, te band 8
Solving for bands 2 to 8...
[node253:27731] *** Process received signal ***
[node253:27731] Signal: Segmentation fault (11)
[node253:27731] Signal code: Invalid permissions (2)
[node253:27731] Failing at address: 0x2331420
[node253:27731] [ 0] /lib64/libpthread.so.0() [0x336060f710]
[node253:27731] [ 1] [0x2331420]
[node253:27731] *** End of error message ***

However, the serial version of MPB seems to work fine with Intel's MKL.

The parallel MPB and OPENBLAS also work well.

I was just wondering why parallel MPB won't work with MKL. If this is related to fftw3 issue (an earlier issue, which is now closed), I am not sure why serial version works just fine with MKL.

I am currently using gcc 4.8.5, Intel 2015 MKL, and mpb 1.5

@stevengj
Copy link
Collaborator

stevengj commented Apr 6, 2016

That's probably because MKL exports FFTW-like bindings for its FFTs, whereas MPB needs the real FFTW library. Linking both MKL and FFTW probably causes the linker to get confused.

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

No branches or pull requests

2 participants