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
Beginner
374 Views

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 Replies
mattsdad
Beginner
374 Views
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?

0 Kudos
Jugoslav_Dujic
Valued Contributor II
374 Views
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).

0 Kudos
Reply