Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Bus error when using MKL 10.3 beta

Chang_Lei
Beginner
283 Views
The system environment is Intel XeonE5450,16GB memory,Redhat Enterprise Linux 5.2,Intel Fortran Compiler 10.1.
In order to use interge8 address, I followed Gennady's suggestionand installed MKL 10.3 beta in my own directory( I do not have root authorization).
I tested a small scale case in which interge4 address issufficient and the compile and link command is:
ifortmkl_dfti.f90 mkl_poisson.f90 ..myprogram.f90-L/myPath.../mkl/lib/intel64/ -Wl,--start-group -lmkl_intel_ilp64 -lmkl_sequential -lmkl_core -Wl,--end-group -lpthread

The compile was successful andLD_LIBRARY_PATH was correctly set. But when I run the object file "a.out", bus error happened.
I know it's about invoking poisson library in MKL because before that everything is ok(I have some screen outputs).
Thanks in advance.
0 Kudos
1 Reply
Gennady_F_Intel
Moderator
283 Views
for supportring ILP64 interfaces you have to use special compiler's options i8 ( for Fortran ) and-DMKL_ILP64 for C/C++ compilers.
therefore, compiling for ILP64 you have to use the following command line
ifort -i8 -I/include
See more info into MKL User's Guide, Chapter 3..
--Gennady
0 Kudos
Reply