- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I recently downloaded the ifort compiler and the mkl library
for evaluation on a 2xE5520 system, SUSE Linux Enterprise
Server 11, x86 64-bit. I got the compiler to work well and it's
quite impressive. However, I cannot get the most basic dfti
call to work. I hope you may have an idea of what I'm doing
wrong?
Jon
PROGRAM test
use mkl_dfti
implicit none
type(DFTI_DESCRIPTOR), pointer :: desc
integer :: ierror
ierror=DftiCreateDescriptor(desc,DFTI_DOUBLE,DFTI_COMPLEX,1,32)
print*,DFTI_DOUBLE,DFTI_COMPLEX,'ierror=',ierror,DftiErrorMessage(ierror)
END PROGRAM test
jr@sv:~> f95 -c mkl_dfti.f90
jr@sv:~> f95 -free -c test.f
jr@sv:~> f95 test.o -o f -Wl, --start-group /home/jr/intel/mkl/10.2.4.032/lib/em64t/libmkl_intel_ilp64.a /home/jr/intel/mkl/10.2.4.032/lib/em64t/libmkl_intel_thread.a /home/jr/intel/mkl/10.2.4.032/lib/em64t/libmkl_core.a /home/jr/intel/mkl/10.2.4.032/lib/em64t/libiomp5.a -Wl,--end-group
jr@sv:~> ./f
36 32 ierror= 2
MKL DFTI ERROR: Incorrect status
jr@sv:~> ./f
36 32 ierror= 2
MKL DFTI ERROR: Invalid configuration parameters
jr@sv:~>
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
code is OK. The commands you're using are strange (if you say you're using Intel compiler) (is this G95 compiler you're invoking?). ifort is what you normally use. Are all libraries and include(s) correct?
A.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since you are linking with ILP64 interface, you should use compiler option that makes default integer 8-byte. For gnu fortran compiler it is -fdefault-integer-8, for ifort it is -i8.
To avoid various incompatibilities in future, it is better to use mkl_gf_ilp6 + mkl_gnu_thread with GNU fortran compiler, and use mkl_intel_ilp64 + mkl_intel_thread with Intel fortran compiler. With your testcase, ifort vs f95 should make no difference.
Thanks
Dima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using ifort through a link f95 -> /home/jrotvig/intel/Compiler/11.1/069/bin/intel64/ifort.
The libraries seem to be ok.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use the link f95 -> /home/jrotvig/intel/Compiler/11.1/069/bin/intel64/ifort.
You are right, it was the -i8 that was missing. It now works well.
Thanks,
Jon

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page