- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Hi all,
I have been trying to find a way to link to LAPACK's auxiliary routines that are included in MKL, but neither my google search nor a search in the MKL documentation has shown me the way. I would appreciate it if anyone who has successfully linked to the included auxiliary routines tell me what are the linking flags and the respective USE commands (in fortran) than I should use to link to such library.
Regards,
Khosrow
I have been trying to find a way to link to LAPACK's auxiliary routines that are included in MKL, but neither my google search nor a search in the MKL documentation has shown me the way. I would appreciate it if anyone who has successfully linked to the included auxiliary routines tell me what are the linking flags and the respective USE commands (in fortran) than I should use to link to such library.
Regards,
Khosrow
Ссылка скопирована
2 Ответы
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
LAPACK's auxiliary routines are included in libmkl_lapack32.a (static) or libmkl_lapack32.so/libmkl_lapack64.so(dynamic). An example to linkis:
ifort myprog.f -l $MKLPATH -lmkl_lapack -lmkl_ia32 -libguide.lib -pthread
- Отметить как новое
- Закладка
- Подписаться
- Отключить
- Подписка на RSS-канал
- Выделить
- Печать
- Сообщить о недопустимом содержимом
Did you create the Fortran 95 interfaces in interfaces/lapack95?
On Windows open a command line window (e.g. the Intel Visual Fortran Build Environment command window) and navigate to the interfaceslapack95 subdirectory in the MKL hierarchy. Type nmake PLAT=win32 lib. You may need to build the BLAS95 interface first.
The next step is to include the interface directory in the include search path for the compiler and the linker. You can then say "USE mkl_lapack" in your Fortran code. Make sure you include the libraries in your linker (e.g. mkl_lapack95.lib mkl_c.lib libguide.lib)
On Windows open a command line window (e.g. the Intel Visual Fortran Build Environment command window) and navigate to the interfaceslapack95 subdirectory in the MKL hierarchy. Type nmake PLAT=win32 lib. You may need to build the BLAS95 interface first.
The next step is to include the interface directory in the include search path for the compiler and the linker. You can then say "USE mkl_lapack" in your Fortran code. Make sure you include the libraries in your linker (e.g. mkl_lapack95.lib mkl_c.lib libguide.lib)
Ответить
Параметры темы
- Подписка на RSS-канал
- Отметить тему как новую
- Отметить тему как прочитанную
- Выполнить отслеживание данной Тема для текущего пользователя
- Закладка
- Подписаться
- Страница в формате печати