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

arnoldi tests failing with MKL blas on recent master #11921

Closed
dmbates opened this issue Jun 28, 2015 · 13 comments
Closed

arnoldi tests failing with MKL blas on recent master #11921

dmbates opened this issue Jun 28, 2015 · 13 comments

Comments

@dmbates
Copy link
Member

dmbates commented Jun 28, 2015

Using

julia> versioninfo()
Julia Version 0.4.0-dev+5679
Commit 7c65815 (2015-06-28 19:05 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i5-5200U CPU @ 2.20GHz
  WORD_SIZE: 64
  BLAS: libmkl_rt
  LAPACK: libmkl_rt
  LIBM: libimf
  LLVM: libLLVM-3.6.1

I get a segfault in test/linalg/arnoldi.jl

signal (11): Segmentation fault
mkl_blas_avx2_zdotc at /opt/intel/composer_xe_2015.3.187/mkl/lib/intel64/libmkl_avx2.so (unknown line)
zneupd_ at /home/bates/git/julia4/usr/bin/../lib/libarpack.so (unknown line)
@ViralBShah
Copy link
Member

I believe it has always failed - due to differences in the Fortran calling conventions.

@ViralBShah
Copy link
Member

See the resolution in #7547. The real solution though is #2167.

@tkelman
Copy link
Contributor

tkelman commented Jun 29, 2015

I think @dmbates answered this question earlier today but he was on the other side of the room and I didn't entirely hear him, is this copy of Julia built with all-Intel compilers along with MKL? I think that's the main configuration we attempt to support, rather than mixing MKL and gfortran.

@ViralBShah
Copy link
Member

I am closing this one, since the two other issues I refer to cover this.

@StefanKarpinski
Copy link
Member

@ViralBShah, could you provide an answer to @tkelman's question for future reference? Maybe document it if that's the case?

@ViralBShah
Copy link
Member

@tkelman 's question is answered in #7547, but that may not be immediately obvious from my comments. Basically - build everything with intel compilers if you want to use MKL.

@kshyatt
Copy link
Contributor

kshyatt commented Jun 30, 2015

Hasn't building Julia with icc on Windows been broken for over a year? I don't know if MKL is even supposed to work on Windows, but if it is, that kind of sucks.

@jiahao
Copy link
Member

jiahao commented Jun 30, 2015

ICC v15 works, but not v14

@kshyatt
Copy link
Contributor

kshyatt commented Jun 30, 2015

Awesome, thanks for the info!

@jiahao
Copy link
Member

jiahao commented Jun 30, 2015

Not sure about Windoze, sorry. Compiling Julia with icc has been borked on Linux also.

@tkelman
Copy link
Contributor

tkelman commented Jun 30, 2015

On Windows, icc and ifort are visual-studio-style, so they might sort of work but no one has tried AFAIK. Windows ifort also does not use trailing underscores, so lots of patches would be required (or a dedicated fcall).

@ViralBShah
Copy link
Member

Won't there be some command line option to turn on the right number of underscores?

@tkelman
Copy link
Contributor

tkelman commented Jun 30, 2015

I don't think that is available on the Windows version of ifort.

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

6 participants