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

Compiling, Optimizations, Different Processors

Ernie_P_1
Beginner
892 Views
Hi,

The PC that I am developing on has an Intel Pentium M processor, IA-32 architecture.
The PC that my customer will be running my programs on has Dual-Core Intel, IA-64 architecture.

Do I need to compile/build on his PCin order toget an .exe that is optimized for his PC or can I optimize for his PC using my 'lesser' PC?

Thanks,
EP
0 Kudos
4 Replies
Steven_L_Intel1
Employee
892 Views
You can use any optimization option you choose, including those that will result in an EXE you can't run on the Pentium M. I do this all the time.

I'm going to assume that your customer actually has "Intel 64 architecture". IA-64 is Itanium which is an entirely different processor family (and requires a different compiler, though it's part of the product.) Is your customer running the system in 64-bit mode? If so, you might want to build an "x64" configuration for him.
0 Kudos
Ernie_P_1
Beginner
892 Views
Hi Steve,

Thanks for the reply. You're correct - my customer does have Intel 64 architecture, not IA-64.

I'm trying to create an x64 configuration via Build -> Configuration Manager, and then creating a new Solution Platform. In the "New Solution Platform" window, I'm unable to check the checkbox "Create new project platforms" as it is grayed out. In the Project Platform drop-down that currently shows Win32, there is no option to select 'New'.

I guess I'm unsure how to ceate the X64 configuration for my project. My assumption is that I need X64 as the project platform in addition to an X64 Active solution platform. I am using VS 2005 Pro v8. If I install 'X64 Compiler and Tools', would this enable the option to create new project platforms?

Thanks
EP
0 Kudos
Les_Neilson
Valued Contributor II
892 Views
Quoting - Ernie P.

I guess I'm unsure how to ceate the X64 configuration for my project. My assumption is that I need X64 as the project platform in addition to an X64 Active solution platform. I am using VS 2005 Pro v8. If I install 'X64 Compiler and Tools', would this enable the option to create new project platforms?

Thanks
EP

Ernie,
Yes you will need to install the 64 bit compilers (both Fortran and C/C++ if you are using mixed languages) before you can create 64 bit projects and exes.
Then in a solution when you select Project->Properties-> Configuration Manager you will be able to select "New" and create a X64 platform.

Les
0 Kudos
srimks
New Contributor II
892 Views
Quoting - Ernie P.
Hi,

The PC that I am developing on has an Intel Pentium M processor, IA-32 architecture.
The PC that my customer will be running my programs on has Dual-Core Intel, IA-64 architecture.

Do I need to compile/build on his PCin order toget an .exe that is optimized for his PC or can I optimize for his PC using my 'lesser' PC?

Thanks,
EP

You 'll have lots of problems if you switch from 32-bit to 64-bit, so better try everything on customer PC, i.e Intel-64, a 64-bit system. Try also to check if the Operating-System & Compilers, both are all 64-bit on your customer system.

~BR
0 Kudos
Reply