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

help for beginers

juliobp
Principiante
2.569 Vistas
I recently installed Intel Visual Fortran 11.0.66 for Windows and I have the following problem: when I try to build a solution I recive 2 fatal error messages:

Description file
error LNK2001: unresolved external symbol __aligned_free libifcoremt.lib(for_vm.obj)
error LNK2001: unresolved external symbol __aligned_malloc libcoeremt.lib(for_vm.obj)

I dont know if this is from the compiler or the Developer Studio, I also tried to edit the Tools->Optios->Intel Visual Fortran->Compilers Executables, Libraries, and Includes features with no result. Am I missing something?
0 kudos
12 Respuestas
Steven_L_Intel1
Empleados
2.569 Vistas
In Visual Studio, click Help > About and then click Copy Info. Paste the results into a reply here.

Is this solution a mixed-language application?
juliobp
Principiante
2.569 Vistas
In Visual Studio, click Help > About and then click Copy Info. Paste the results into a reply here.

Is this solution a mixed-language application?


Microsoft Visual Studio 2005
Version 8.0.50727.42 (RTM.050727-4200)
Microsoft .NET Framework
Version 2.0.50727 SP1

Installed Edition: IDE Standard

Intel Visual Fortran Compiler Integration
Intel Visual Fortran Compiler Integration for Microsoft Visual Studio* 2005, 11.0.3452.2005, Copyright (C) 2002-2008 Intel Corporation
* Other names and brands may be claimed as the property of others.


No it's not a mixed language solution
Steven_L_Intel1
Empleados
2.569 Vistas
Ok, looks as if you're using the bundled Microsoft Visual Studio Premier Partner Edition. Fine. Please copy and paste into a reply the contents of the Tools > Options > Intel Fortran > Compiler > Libraries list.
juliobp
Principiante
2.569 Vistas
Ok, looks as if you're using the bundled Microsoft Visual Studio Premier Partner Edition. Fine. Please copy and paste into a reply the contents of the Tools > Options > Intel Fortran > Compiler > Libraries list.
Compiler:
$(IFortInstallDir)Bin
$(CommonProgramFiles)IntelShared FilesIa32Bin
$(VSInstallDir)Common7ide
$(VCInstallDir)bin
$(VSInstallDir)Common7Tools
$(VSInstallDir)Common7Toolsbin
$(VCInstallDir)PlatformSDKbin
$(FrameworkSDKDir)bin
$(FrameworkDir)$(FrameworkVersion)
C:Archivos de ProgramaIntelCompiler11.0�66fortranBinIA32
C:Archivos de programaIntelCompiler11.0�66fortranlibia32
$(PATH)

Libraries:
$(IFortInstallDir)libia32
$(VCInstallDir)atlmfclib
$(VCInstallDir)lib
$(VCInstallDir)PlatformSDKlib
$(FrameworkSDKDir)lib
C:Archivos de programaIntelCompiler11.0�66fortranlibia32

includes
$(IFortInstallDir)include
$(IFortInstallDir)includeia32
$(VCInstallDir)atlmfcinclude
$(VCInstallDir)include
$(VCInstallDir)PlatformSDKinclude
$(FrameworkSDKDir)include
Steven_L_Intel1
Empleados
2.569 Vistas
That looks correct, though I would recommend removing the last line under Libraries. Ok, now right click on your project, select Properties, Linker, General. Change "Show Progress" to "Display all progress messages". Rebuild the project. In the Debug or Release subfolder, there will be a Buildlog.htm file. Attach it to a reply here. See here for instructions on how to attach files, and don't forget the last few steps.
juliobp
Principiante
2.569 Vistas
That looks correct, though I would recommend removing the last line under Libraries. Ok, now right click on your project, select Properties, Linker, General. Change "Show Progress" to "Display all progress messages". Rebuild the project. In the Debug or Release subfolder, there will be a Buildlog.htm file. Attach it to a reply here. See here for instructions on how to attach files, and don't forget the last few steps.

may I ask for your e-mail adress?
juliobp
Principiante
2.569 Vistas
That looks correct, though I would recommend removing the last line under Libraries. Ok, now right click on your project, select Properties, Linker, General. Change "Show Progress" to "Display all progress messages". Rebuild the project. In the Debug or Release subfolder, there will be a Buildlog.htm file. Attach it to a reply here. See here for instructions on how to attach files, and don't forget the last few steps.

may I ask for your e-mail adress?
Steven_L_Intel1
Empleados
2.569 Vistas
It's Steve.Lionel at intel.com , but I was suggesting that you attach here in the forum.
Steven_L_Intel1
Empleados
2.569 Vistas
I removed your posts where you inserted the contents of the build log. I had asked that you attach the file rather than insert it into a post, using the instructions I linked to earlier.

In any case, I see some problems.

1. The linker being used is not the correct one.
2. There is a copy (perhaps old) of libcmtd.lib in the Visual Studio 8VCPlatformSDKLIB folder - it does not belong there.

Please do this:

1. Uninstall Intel Visual Fortran
2. Uninstall the Microsoft Visual Studio Premier Partner Edition
3. Delete the folder Program FilesMicrosoft Visual Studio 8
4. Reinstall Intel Visual Fortran

Let me know how this works.
sarma_amras
Nuevo Colaborador I
2.569 Vistas
Hope your problem is solved.
If not solved then what is happenening is that a symbol referenced in libifcormt.lib is present in some librarry of Intel fortran under IA32->libs folder.
Just find which lib has this symbol defined and add it in the linker->input of your project setting.

Regards
Kameswara Sarma

juliobp
Principiante
2.569 Vistas
...
Let me know how this works.

It worked. I tested with some apps I made. it ran nice!.
I have another question: I have some applications that use the old CVF 6.0 that used to include the IMSL routines, just by adding the "USE NUMERICAL_LIBRARIES" statement to the program. How can I add this functionality to IVF?
Steven_L_Intel1
Empleados
2.569 Vistas
Glad to hear it.

Regarding NUMERICAL_LIBRARIES, you had the Professional Edition of CVF which included the IMSL libraries. We also offer that, as "Intel Visual Fortran Professional Edition with IMSL", but there is not an upgrade path I'm sorry to say. On the other hand, you do have the Intel Math Kernel Library which has some overlap with IMSL so perhaps it will have the routines you need.
Responder