Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

linking error on compilation

dray1234
Beginner
450 Views

I am having problem compiling my program using Intel Fortran 9.1 -25 (trial version) and Visual Studio 2005.

I am getting an error saying :

fatal error LNK1112: module machine type 'IA64' conflicts with target machine type 'X86'.

Any help will be appreciated.

Thanks

0 Kudos
2 Replies
Steven_L_Intel1
Employee
450 Views

Somehow you have things configured that it is using the compiler for Intel Itanium, but is linking with the IA-32 linker. Which edition (Standard, Professional, Team System, etc.) of Visual Studio do you have? In the Visual Studio toolbar, to the right of the configuration name (Debug or Release), is another dropdown menu that usually says "Win32" or perhaps "x64". Does yours say something different?

In VS, select Tools..Options..Intel Fortran..General. For Target Platform, select Win32. Does the Executables list start with "$(IFortInstallDir)Bin"?

0 Kudos
dray1234
Beginner
450 Views
Thanks for your reply. I uninstalled the Itanium part of the fortran compiler and that took care of the error.
0 Kudos
Reply