Cyrillique
Newbie | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору 2 KChernov: Спасибо за ответ! Я с библиотеками знаком шапочно, как посмотреть, что там внутри? Вообще, у меня такое впечатление, что тут как-то Си замешан. Потому, что хотя линкер пишет "unresolved external symbol _DSS_CREATE", такой функции действительно нет, а есть DSS_CREATE! Символ подчёркивания откуда взялся - не ясно... Более того, в самом модуле есть закомментаренная строка !DEC$ ATTRIBUTES C, REFERENCE, ALIAS:'_DSS_CREATE' :: DSS_CREATE Конкретно я пишу конечно-элементную прогу, и мне надо решать линейное уравнение с разреженной симметричной матрицей в сжатом виде (верхняя треугольная, только ненулевые элементы по строкам). Можно и IMSL использовать, наверное, но для неё способ хранения матриц другой, лень переделывать код. Да и MKL поновее как будто... 2 Хренометр: А как распаковать библиотеку? А вот что написано в руководстве про связывание библиотек MKL с программой. Some possible variants with the Intel® Fortran version 9.0 compiler are as follows (other supported compilers, except CVF specifically called out below, would be used accordingly): IA-32 ifort myprog.f mkl_c.lib libguide.lib cdecl interface for static linking of user code myprog.f, LAPACK, and kernel. ifort myprog.f mkl_lapack95.lib mkl_c.lib libguide.lib cdecl interface for static linking of user code myprog.f, Fortran-95 LAPACK interface, and kernel. ifort myprog.f mkl_blas95.lib mkl_c.lib libguide.lib cdecl interface for static linking of user code myprog.f, Fortran-95 BLAS interface, and kernel. df myprog.f mkl_s.lib libguide.lib CVF default interface for static linking of user code myprog.f, LAPACK, and kernel. ifort myprog.f mkl_c_dll.lib libguide.lib cdecl interface for dynamic linking of user code myprog.f. DLL dispatcher will load the appropriate DLL for the processor dynamic kernel. df myprog.f mkl_s_dll.lib libguide.lib CVF default interface for dynamic linking of user code myprog.f. DLL dispatcher will load the appropriate DLL for the processor dynamic kernel. ifort myprog.f mkl_solver.lib mkl_c.lib libguide.lib cdecl interface for static linking of user code myprog.f, the sparse solver and possibly other routines with Intel MKL (including the kernels needed to support the sparse solver). For this release, the following library was not included in the list of default libraries: mkl_solver.lib (sparse solver library) Но, блин, я ж указал ему пути, чего он ещё хочет! |