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

Help on MDS 2005 with Fortran Compiler 10.1

juliobp
Beginner
1,431 Views

I was working with Developers Studio 2005 when a virus attack on my system hapened. I sent the machine to clean up, but now the MDS no longer can access my fortran projects. the error message that the enviroment gives everytime I try to create a Fortran project is like this: "Package Load Failure: Package 'Intel Fortran Project Package' has failed to load properly(GUID= {B68A201D-CB9B-47AF-A52F-7EEC72E217E4}). Please contact vendor for asistance. Aplication restart is recomended, due to possible environment curruption".

My question is how can I recover the functionality. I tryed to reinstal the Compiler but the MDS still gives a message error when loading or creating fortran projects. Can you advise me on this?

I have Visual Fortran Compiler v10.1.029 with MDS 2005 for Windows IA-32.

0 Kudos
12 Replies
Steven_L_Intel1
Employee
1,431 Views

First thing to try is to run the program in the attached ZIP file. If that doesn't work, try this:

  1. Uninstall "Intel Fortran Integration into Microsoft Visual Studio"
  2. In Add/Remove Programs, select Microsoft Visual Studio, Change, and then do a Repair
  3. Reinstall the Intel compiler

0 Kudos
juliobp
Beginner
1,431 Views

THANKS STEVE. The program worked, very well indeed. I still have problems compiling and linking a test program. The linker gave me the following error:

fatal error LNK1104: cannot open file "LIBCMTD.lib"

I assume that yet there is another file location error. Can you help me on this?

First thing to try is to run the program in the attached ZIP file. If that doesn't work, try this:

  1. Uninstall "Intel Fortran Integration into Microsoft Visual Studio"
  2. In Add/Remove Programs, select Microsoft Visual Studio, Change, and then do a Repair
  3. Reinstall the Intel compiler

0 Kudos
juliobp
Beginner
1,431 Views

First thing to try is to run the program in the attached ZIP file. If that doesn't work, try this:

  1. Uninstall "Intel Fortran Integration into Microsoft Visual Studio"
  2. In Add/Remove Programs, select Microsoft Visual Studio, Change, and then do a Repair
  3. Reinstall the Intel compiler

THANKS STEVE. The solution worked very well indeed. Now Iwrote a test program.The compiler showed an error like this:

"fatal error LNK1104: cannot open file "LIBCMTD.lib"

I guess that there is a file location problem.Can you help me on this one?

0 Kudos
Steven_L_Intel1
Employee
1,431 Views

This is odd. Are you building a 32-bit or 64-bit application?

In Visual Studio, select Tools > Options > Intel Fortran > Compilers. Click on the "..." button to the right of Libraries. The list should look like this:

$(IFortInstallDir)Lib
$(VCInstallDir)atlmfclib
$(VCInstallDir)lib
$(WindowsSdkDir)lib

Does it? Are there any of these missing? If so, add the missing ones, click OK and try again.

Last, look at C:Program FilesMicrosoft Visual Studio 8VClib Does this folder contain libcmtd.lib?

0 Kudos
juliobp
Beginner
1,431 Views

This is odd. Are you building a 32-bit or 64-bit application?

In Visual Studio, select Tools > Options > Intel Fortran > Compilers. Click on the "..." button to the right of Libraries. The list should look like this:

$(IFortInstallDir)Lib
$(VCInstallDir)atlmfclib
$(VCInstallDir)lib
$(WindowsSdkDir)lib

Does it? Are there any of these missing? If so, add the missing ones, click OK and try again.

Last, look at C:Program FilesMicrosoft Visual Studio 8VClib Does this folder contain libcmtd.lib?

Ok, this is what I've got:

$(IFortInstallDir)libia32;

$(VCInstallDir)atlmfclib;

$(VCInstallDir)lib;

$(VCInstallDir)PlatformSDKlib;

$(FrameworkSDKDir)lib;

I already checked if the file exist. It's there, both for 32 and 64 bits. I guess that the one that is trouble is a 64bits lib.

0 Kudos
Steven_L_Intel1
Employee
1,431 Views

Are you using 10.1 or 11.0? That list is for 11.0.

So you are developing for 64-bits? Does the file exist in C:Program FilesMicrosoft Visual Studio 8VClibamd64 ? Does such a folder even exist on your system? If not, then my guess is that you have not installed the "x64" component from Visual Studio. Do this:


If you are using Microsoft Visual Studio 2005* or 2008 and will be developing 64-bit applications (for the Intel 64 or IA-64 architectures) you may need to change the configuration of Visual Studio to add 64-bit support.

If you are using Visual Studio 2005/2008 Standard Edition or Visual Studio 2005 Premier Partner Edition, no configuration is needed to build Intel 64 architecture applications. For other editions:

  1. From Control Panel > Add or Remove Programs, select Microsoft Visual Studio 2005 (or 2008) > Change/Remove. The Visual Studio Maintenance Mode window will appear. Click Next.
  2. Click Add or Remove Features
  3. Under Select features to install, expand Language Tools > Visual C++
  4. If the box X64 Compiler and Tools is not checked, check it, then click Update. If the box is already checked, click Cancel
0 Kudos
juliobp
Beginner
1,431 Views

Are you using 10.1 or 11.0? That list is for 11.0.

Sorry if there is a confusion. I'm running 11.0 with 32bits configuration. Visual Studio 8 (2003?)

0 Kudos
Steven_L_Intel1
Employee
1,431 Views

You had said 10.1 in your original post which is why I was confused.

Please post the buildlog.htm from your Debug or Release folder. Use the yellow Pencil tool in the toolbar when editing your post to do this.

0 Kudos
juliobp
Beginner
1,431 Views

You had said 10.1 in your original post which is why I was confused.

Please post the buildlog.htm from your Debug or Release folder. Use the yellow Pencil tool in the toolbar when editing your post to do this.

Linking...
Link /OUT:"DebugQWin3.exe" /VERBOSE:LIB /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"C:Documents and SettingsjbaezapMis documentosVisual Studio 2005ProjectsQWin3QWin3debugqwin3.exe.intermediate.manifest" /DEBUG /PDB:"C:Documents and SettingsjbaezapMis documentosVisual Studio 2005ProjectsQWin3QWin3debugqwin3.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"C:Documents and SettingsjbaezapMis documentosVisual Studio 2005ProjectsQWin3QWin3debugqwin3.lib" "DebugSource1.obj"
Link: executing 'link'
LINK : warning LNK4044: unrecognized option "MANIFEST" ignored
LINK : warning LNK4044: unrecognized option "MANIFESTFILE:C:Documents and SettingsjbaezapMis documentosVisual Studio 2005ProjectsQWin3QWin3debugqwin3.exe.intermediate.manifest" ignored
Searching Libraries
 Searching C:Archivos de programaIntelCompiler11.0�66fortranlibia32libifcoremt.lib:
 Searching C:Archivos de programaIntelCompiler11.0�66fortranlibia32libifport.lib:
 Searching C:Archivos de programaIntelCompiler11.0�66fortranlibia32ifqw_mdi.lib:
 Searching C:Archivos de programaIntelCompiler11.0�66fortranlibia32ifqwin.lib:
 Searching C:Archivos de programaMicrosoft Visual Studio 8VCPlatformSDKlibuser32.lib:
 Searching C:Archivos de programaMicrosoft Visual Studio 8VCPlatformSDKlibcomctl32.lib:
 Searching C:Archivos de programaMicrosoft Visual Studio 8VCPlatformSDKlibgdi32.lib:
 Searching C:Archivos de programaMicrosoft Visual Studio 8VCPlatformSDKlibcomdlg32.lib:
 Searching C:Archivos de programaIntelCompiler11.0�66fortranlibia32libmmt.lib:
LINK : fatal error LNK1104: cannot open file "LIBCMTD.lib"
QWin3 - 1 error(s), 2 warning(s) QWin3 - 1 error(s), 2 warning(s)

0 Kudos
Steven_L_Intel1
Employee
1,431 Views

Let me suggest that when you reply you uncheck the "Quote this reply?" box, or else click in the white space below the gray quote box to enter your text.

I see a couple of interesting things here. First, the linker saying that it does not recognize certain options. That tells me that it is somehow using the wrong linker. Please do the Tools > Options thing I mentioned above except this time show the list for Executables. It should look like this:

$(IFortInstallDir)Bin
$(CommonProgramFiles)IntelShared FilesIa32Bin
$(VSInstallDir)Common7ide
$(VCInstallDir)bin
$(VSInstallDir)Common7Tools
$(VSInstallDir)Common7Toolsbin
$(VCInstallDir)PlatformSDKbin
$(FrameworkSDKDir)bin
$(FrameworkDir)$(FrameworkVersion)

There may be some entries after this which can be ignored, but should be no entries before this.

0 Kudos
juliobp
Beginner
1,431 Views

Let me suggest that when you reply you uncheck the "Quote this reply?" box, or else click in the white space below the gray quote box to enter your text.

I see a couple of interesting things here. First, the linker saying that it does not recognize certain options. That tells me that it is somehow using the wrong linker. Please do the Tools > Options thing I mentioned above except this time show the list for Executables. It should look like this:

$(IFortInstallDir)Bin
$(CommonProgramFiles)IntelShared FilesIa32Bin
$(VSInstallDir)Common7ide
$(VCInstallDir)bin
$(VSInstallDir)Common7Tools
$(VSInstallDir)Common7Toolsbin
$(VCInstallDir)PlatformSDKbin
$(FrameworkSDKDir)bin
$(FrameworkDir)$(FrameworkVersion)

There may be some entries after this which can be ignored, but should be no entries before this.


I did what you advised. The developers studio now shows the following problem:

Output
The Intel Librarian (xilink.exe) could not be found.

QWin3 - 1 error(s), 0 warning(s)

0 Kudos
Steven_L_Intel1
Employee
1,431 Views

I suggest that you uninstall Intel Visual Fortran and then reinstall it. It looks as if either some files failed to get installed or you deleted them after installation.

0 Kudos
Reply