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

Memory realse in Fortran

liubing84
Beginner
621 Views
Hello
I am using MKL 10.1 and programming in Fortran (VS 2005). I want to release memory, and the user notes suggest using MKL_FreeBuffers() or MKL_DISABLE_FAST_MM. Dose this mean that i just add MKL_FreeBuffers()at the end of my codes. And,how to set MKL_DISABLE_FAST_MM. Thank you!
0 Kudos
1 Reply
Todd_R_Intel
Employee
621 Views
Yes, just call MKL_FreeBuffers() at the end of your code or anywhere else where you'd like to release memory buffers created for internal use by MKL. The calling sequence is documented in the reference manual in the "Support Functions" chapter. MKL_DISABLE_FAST_MM is an environment variable that should be set as with other environment variables (e.g., the control panel on Windows, the user shell, or using system calls from your program).

-Todd
0 Kudos
Reply