Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fatal error LNK1104

Carlos_M_
Beginner
781 Views

I just migrated to IVF XE 2013 from ABSOFT Fortran. When I compiled my code I got a fatal error

FATAL ERROR LNK1104: cannot open file ‘ libmmt.lib’

I understand that library is for C++ multithread

My code does not have any C/C++ call or library or uses multithread 

0 Kudos
3 Replies
Steven_L_Intel1
Employee
781 Views

You're thinking of libcmt.lib. libmmt.lib is the math library. Also, even if you aren't using threading, all the libraries are thread-safe, hence the "mt" in most of their names.

Are you building from the command line or from Visual Studio? If from the command line, how did you start the command prompt session and how did you make the "ifort" command available? Please show a log of the complete command session. If you're using Visual Studio, please attach a ZIP of the buildlog.htm from the Debug or Release subfolder of your project.

0 Kudos
Carlos_M_
Beginner
781 Views

I am building from visual studio 2008.

0 Kudos
Steven_L_Intel1
Employee
781 Views

Thanks for the log - that's very helpful. Would you please check to see if C:\Program Files (x86)\Intel\Composer XE 2013\compiler\lib\ia32\libmmt.lib exists? It should be there along with the other libraries that the linker did find. I think at this point I would suggest uninstalling Intel Fortran and reinstalling and make sure that the library gets put in that folder. I'd also suggest, especially as you are a new customer. that you download and install the latest update as the one you have is about a year old now. Log in to https://registrationcenter.intel.com/ and get the latest update. Let me know if you have questions.

0 Kudos
Reply