Using gidpost library file in Multithreaded mode
Posted: Wed Jan 06, 2021 5:47 am
Dear All,
I'm trying to use gidpost (v2.7) for my simulation model and encountering some errors as shown in the attached file.
My computing environment is:
IDE: Visual Studio Community 2019
Compiler: Intel Fortran Compiler Classic 2021.1.1
Platform: X64
For testing, I tried to run an example file (gidpost.F90). It worked just fine when running the program on Runtime Library: Debug Multithread DLL mode via Linking gidpost.lib zlib.lib hdf5.lib which are located in binaries\win\vs2017 folder.
When running the program on Runtime Library: Debug Multithreaded (or Multithreaded) mode, I got several error messages saying "unresolved external symbol" as shown in the attached file.
Does this mean that the library files can't be statically-linked by default?
I would really appreciate if you can point me how to statically link these library files to a Fortran code or provide me static version of the library files as I'm not familiar with cMake stuff.
(My program uses the oneMKL version of Paradiso solver, which doesn't support dynamic linking on Windows...)
Thanks in advance,
Kenji
I'm trying to use gidpost (v2.7) for my simulation model and encountering some errors as shown in the attached file.
My computing environment is:
IDE: Visual Studio Community 2019
Compiler: Intel Fortran Compiler Classic 2021.1.1
Platform: X64
For testing, I tried to run an example file (gidpost.F90). It worked just fine when running the program on Runtime Library: Debug Multithread DLL mode via Linking gidpost.lib zlib.lib hdf5.lib which are located in binaries\win\vs2017 folder.
When running the program on Runtime Library: Debug Multithreaded (or Multithreaded) mode, I got several error messages saying "unresolved external symbol" as shown in the attached file.
Does this mean that the library files can't be statically-linked by default?
I would really appreciate if you can point me how to statically link these library files to a Fortran code or provide me static version of the library files as I'm not familiar with cMake stuff.
(My program uses the oneMKL version of Paradiso solver, which doesn't support dynamic linking on Windows...)
Thanks in advance,
Kenji