Hi,
For applying the MKL memory management, I have used the external functions: mkl_malloc, mkl_memstat, and mkl_free, in my Fortran program in Linux.
I write these command lines in terminal:
MKL_LIBRARY_PATH=/opt/intel/mkl/9.1.023/lib/32
MKL_INCLUDE_PATH=/opt/intel/mkl/9.1.023/include
ifort -c my_program.for -L MKL_LIBRARY_PATH -I MKL_INCLUDE_PATH -lmkl_lapack -lmkl_ia32 -lguide -lpthread
But after this command line:
ifort -o my_prog my_program.o -L MKL_LIBRARY_PATH -I MKL_INCLUDE_PATH -lmkl_lapack -lmkl_ia32 -lguide -lpthread
I have this message:
undefined reference 'mkl_malloc_'
undefined reference 'mkl_memstat_'
undefined reference 'mkl_free_'
Has anyone have this problem?
Thanks


