- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I just started using the new version of IMSL (and the new visual studio) and have a couple of questions:
1. the new feature to me is that there are several libraries (static, dynamic and some others). to use them, i need to include one of the 6 options on those libraries in my main code. how can i know if i need to use static or dynamic one? so far in my application both libraries work, but i am still not sure how can i give the preference to one of them.
2. can i link imsl to the visual studio once and for all? so far i could link it through project properties for each project separately. but i would like it automatically be included for any of my projects.
thanks!
I just started using the new version of IMSL (and the new visual studio) and have a couple of questions:
1. the new feature to me is that there are several libraries (static, dynamic and some others). to use them, i need to include one of the 6 options on those libraries in my main code. how can i know if i need to use static or dynamic one? so far in my application both libraries work, but i am still not sure how can i give the preference to one of them.
2. can i link imsl to the visual studio once and for all? so far i could link it through project properties for each project separately. but i would like it automatically be included for any of my projects.
thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are four sets of libraries with combinations of static vs. shared, HPC (uses Intel MKL) or non-HPC. Typically I recommend using the static or shared based on how you link your own application. If you choose the static libraries and do not also enable OpenMP in your application, you will need to add the line:
!DEC$ OBJCOMMENT LIB:'libiomp5md.lib'
to the source after the INCLUDE of 'link_fnl_static.h'. The INCLUDE is how best to specify which set of libraries you want.
I'm not sure I understand the second question. You do need to set up the INCLUDE and LIBRARY paths for IMSL in the Visual Studio Tools > Options > Intel Visual Fortran > Compilers page. This will apply to all your projects until you install a new version of the compiler. Please see Installing and Using the IMSL Libraries for more details.

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