- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi! I have several subroutines into a library (libmylibrary.a) and i call a mkl function in my main program. How can i call all with linux commands, for example, first i call my library and then the mkl library, its correct???
ifort mod.f90 main.f90 -L. -lmylibrary -L$MKLPATH -I$MKLINCLUDE -lmkl_intel-ilp64 -lmkl_intel_thread -lmkl_core -lpthtread
Thanks!
Pedro
ifort mod.f90 main.f90 -L. -lmylibrary -L$MKLPATH -I$MKLINCLUDE -lmkl_intel-ilp64 -lmkl_intel_thread -lmkl_core -lpthtread
Thanks!
Pedro
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Could you give more details? Are you asking about the link order of the libraries?
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora