- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using 'ifort' under cygwin to compile some fortran and netcdf libraries. At link time
I get the following error.
Fatal error cannot open "MSVCRT"
ifort: error: problem during multi-file optimization compilation (code 1)
any suggestions...?
thanks..
I get the following error.
Fatal error cannot open "MSVCRT"
ifort: error: problem during multi-file optimization compilation (code 1)
any suggestions...?
thanks..
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like a problem with the LIB path. How do you set up your paths; are you using 32-bit ifort? I open an ifort Build Environment window, then start cygwin.bat in that window. This relies on both ifortvars.bat and ifort.cfg being set up, to avoid cygwin tool paths over-riding the Microsoft paths. Neither Microsoft nor Intel support this, so it is up to you to get it working.
cygwin link and ar work (usually) with 32-bit ifort, but not with 64-bit ifort. You might want to avoid using cygwin link, in case that is part of your problem. For example, you could un-install cygwin binutils as a test.
There is an apparently known problem where the Windows environment variables aren't always accessible. Microsoft apparently doesn't intend to fix it, unless it can be shown repeatably to impact customers using exclusively Microsoft tools under Vista. We have shown that it happens also under SFU with XP. I don't know any solution to that, except to try over.
cygwin link and ar work (usually) with 32-bit ifort, but not with 64-bit ifort. You might want to avoid using cygwin link, in case that is part of your problem. For example, you could un-install cygwin binutils as a test.
There is an apparently known problem where the Windows environment variables aren't always accessible. Microsoft apparently doesn't intend to fix it, unless it can be shown repeatably to impact customers using exclusively Microsoft tools under Vista. We have shown that it happens also under SFU with XP. I don't know any solution to that, except to try over.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks..it worked. I tried using the intel build environment and opening a cygwin shell within it...

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