Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
mjr1n1@yahoo.com
May 30, 2007 8:59 PM PDT
Fatal error cannot open "MSVCRT"
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..
tim18
Total Points:
68,767
Status Points:
68,767
Black Belt
May 31, 2007 7:28 AM PDT
Rate
 
#1
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.


mjr1n1@yahoo.com
June 1, 2007 8:55 AM PDT
Rate
 
#2 Reply to #1
Thanks..it worked. I tried using the intel build environment and opening a cygwin shell within it...






Intel Software Network Forums Statistics

8474 users have contributed to 31606 threads and 100656 posts to date.
In the past 24 hours, we have 30 new thread(s) 109 new posts(s), and 163 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to gemm(A,A,A) like possible? The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member Kevin Johnson