- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi Forum:
I am wondering if anyone experience issue with a program with multiple DLLs, each is statically linked with MKL?
--Rich Lee
KLA-Tencor
Enlace copiado
3 Respuestas
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
If you have multiple links against static OpenMP library, you can expect difficulty. You should see the run-time error about multiple instances of OpenMP. Defaults are set such that this shouldn't happen by accident.
Static linking would inflate the size of the .dll and might lead to run-time issues with MKL load time or memory consumption.
Static linking would inflate the size of the .dll and might lead to run-time issues with MKL load time or memory consumption.
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Is their the possiblity of adding API for Static Linkingg
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
we were using sequential version. Namely,
For both A.dll and B.dll we statically linked with
mkl_intel_c.lib
mkl_sequential.lib
mkl_core.lib
Then in our application, we first use A.dll to perform some mkl operations. Later we use B.dll to use mkl functionality again.
In some cases, in using B.dll, we get a dll initialization exception. restarting application (without using the part that will load A.dll) resolved the problem. That makes me thinking there are some MKL initialization which can only be executed once in the same application.
I resolved it by making both A.dll and B.dll using SDL (mkl_rt.dll).
Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla