Re: [julia-users] Re: Julia calling MKL functions from fortran shared library

2016-11-15 Thread 博陈
在 2016年11月16日星期三 UTC+8上午12:49:13,Ángel de Vicente写道: > > Hi, > > I wanted to try this out. My test Fortran module is the following, which > I compile with: ifort -mkl -o test_mod.so test_mod.f90 -shared -fpic > , > | module testmodule > | > | implicit none > | > | double

Re: [julia-users] Re: Julia calling MKL functions from fortran shared library

2016-11-15 Thread Angel de Vicente
Hi, I wanted to try this out. My test Fortran module is the following, which I compile with: ifort -mkl -o test_mod.so test_mod.f90 -shared -fpic , | module testmodule | | implicit none | | double precision, external :: ddot | double precision, dimension(3) :: d,e | | integer :: i

[julia-users] Re: Julia calling MKL functions from fortran shared library

2016-11-15 Thread Steven G. Johnson
On Tuesday, November 15, 2016 at 4:23:11 AM UTC-5, 博陈 wrote: > > I got > Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so or libmkl_def.so. > Possibly you need to add the directory containing these files (/opt/intel/composer_xe_2015.0.090/mkl/lib or similar?) to your LD_LIBRARY_PATH