Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Selecting a DLL by name

mattsdad
Principiante
375 Visualizações

I have several DLLs that act like a database for different simulation models. Can Intel Fortran specify which of the DLLs to load by name? (They all have the same subroutines internally.)

0 Kudos
2 Respostas
mattsdad
Principiante
375 Visualizações
Quoting - mattsdad

I have several DLLs that act like a database for different simulation models. Can Intel Fortran specify which of the DLLs to load by name? (They all have the same subroutines internally.)


I was pointed to C:Program FilesIntelCompilerFortran10.1.011samplesDLLDynamicLoad which provides a solution for this problem in Windows.

Does anyone have an operating systemwrapper for Linux that will allow me to do this there?

Jugoslav_Dujic
Contribuidor valorado II
375 Visualizações
Quoting - mattsdad


I was pointed to C:Program FilesIntelCompilerFortran10.1.011samplesDLLDynamicLoad which provides a solution for this problem in Windows.

Does anyone have an operating systemwrapper for Linux that will allow me to do this there?

Dlopen/dlsym/dlclose are the U*x equivalent of LoadLibrary/GetProcAddress/FreeLibrary. (And that's about all I know about them).

Responder