- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I used to use an old version of the intel fortran compiler (ifc) to
compile a home made program for academic use. Now, I need to use the
quite new version of ifort and I'm wondering if they have the same
options. With ifc, I used the following options:
compile a home made program for academic use. Now, I need to use the
quite new version of ifort and I'm wondering if they have the same
options. With ifc, I used the following options:
ifc -cpp -c -I$(include file) -cm -FI -Vaxlib -01 -mp -xW -pc64 -tpp7 -r8
Also, I need to use the library libguide.a . I wonder that it usually
belonged to the mkl folder and now, this library does not exists in
the new mkl version. What I have to do? I tried exhaustively to google
it but no sucess at all.
Thank you in advance,
the new mkl version. What I have to do? I tried exhaustively to google
it but no sucess at all.
Thank you in advance,
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
-cpp is now -fpp. You can drop -cm, -xW, -tpp7, -Vaxlib
libguide.a has been replaced by libiomp5.a, but you would normally use -openmp to get that. If you are linking to any objects or libraries compiled by ifc, you will need to recompile them with ifort.
libguide.a has been replaced by libiomp5.a, but you would normally use -openmp to get that. If you are linking to any objects or libraries compiled by ifc, you will need to recompile them with ifort.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The linking instructions for MKL have changed entirely since the days of libguide.
On the MKL forum, there is this link advisor tool to show you how to specify those libraries. As Steve said, you would often prefer to use ifort -openmp option to bring in OpenMP libraries in the link step, although that tool will tell you the actual library names.
On the MKL forum, there is this link advisor tool to show you how to specify those libraries. As Steve said, you would often prefer to use ifort -openmp option to bring in OpenMP libraries in the link step, although that tool will tell you the actual library names.

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