- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apologies, I have no formal programming training, but I have been working on a Fortran application for around 10 years now. Around 3 years ago, I reconfigured the code so that it now makes use of dynamic linking. The code is redistributed to secondary users, and until now I have managed this by using dependency walker to identify the dll's that the program references, and then copying these directly into the root directory of the application. But recent updates associated with Windows are making this increasingly difficult. There must be a straight-forward way of dealing with this problem, and any advice that you could provide would be very welcome. For reference, I use OpenMP, the MKL libraries, and COM for communicating with Excel.
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some time now, redistributable library packages have been offered for ifort as well as Visual Studio. I would think the primary alternatives you have are:
1) continue as you have done in the past
2) switch to asking users to install the redistributable packages
3) static linking of ifort libraries
1) continue as you have done in the past
2) switch to asking users to install the redistributable packages
3) static linking of ifort libraries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it possible to use static linking for some libraries, and dynamic linking for others? Some of the libraries that I link to must be dynamic...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try listing the specific names of the libraries (in your link step or library dependencies) for which you don't want the linker script to make the choice for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks - I have sorted the problem out now.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page