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

Using Intel IA64 Compiler 10.1 from Command Line

rappal
Beginner
1,478 Views

I got an evaluation copy of Inelt IA64 compiler 10.1. When I got it installed, it created the command line compiler in C:Documents and Settings Administrator. When I tried to create an executable of a test file, it created the object file OK. But it did not create the executable file. It said test.obj : fatal error link 1136 : invalid or corrupt file.

Can you tell me what is the problem.

Thanks

0 Kudos
9 Replies
Steven_L_Intel1
Employee
1,478 Views
Just checking - do you really want to build an application to run on systems with Intel Itanium processors? That's what IA-64 is. If instead you want what is called "x64", then you want the "Intel 64" compiler.

Did you install a Windows Platform Software Development Kit as specified in the system requirements? Which one?

Please post the complete log of your build session, starting with the output from when you created the "Build Environment" window.
0 Kudos
rappal
Beginner
1,478 Views

Dear Steve,

You are right. I do not have Intel Itanium Processor. In fact my lap top has and AMD Turion 64X2 processor. Then Should I download the X64 version of the compiler and install the same? I also installed it along with Visual Studio 2008. I was trying to make command line work before trying it out with Windows. I will wait for your answer before downloading the X64 compiler.

Thanks

Rappal

0 Kudos
Steven_L_Intel1
Employee
1,478 Views
Yes, you want the "_intel64" compiler. Or you could choose the _novsppe version which also gets you the IA-32 compiler. Make sure you get the current version, 10.1.024. You can get this from the Intel Registration Center after registering your serial number.
0 Kudos
rappal
Beginner
1,478 Views

Dear Steve,

I downloaded IA-32 _nonvsppe version and got the latest 10.1.024. After I installed it and I linked it, I got the same error. Then I set the path to c:Program FilesMicrosoft Visual Studio 9.0VCin since I found a link.exe there. I tried to link the obj file. But that did not create the .exe file. Then I again tried to do ifort but it did not work since the path had been changed. So I exited and came back and did a second time with just ifort test.f90. This time it worked. But then I again checked now before sending this Post. Then I found out that there are two executables for

one for IA-32 and the second for Intel 64. The IA-32 works but the R(64) gives the Link error. I must have used the Intel R(64) the first time. The 64 may require some other includes and globals I guess. Can you elaborate.

I plan to try using the Visual Studio Enviornment next.

Thanks for your help

Rappal

0 Kudos
TimP
Honored Contributor III
1,478 Views
The Intel64 compiler requires the VC9 X64 support, which is an additional option in VS2008 installation.
0 Kudos
Steven_L_Intel1
Employee
1,478 Views
Tim is correct.

  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.
You will then need to reinstall the Fortran compiler.
0 Kudos
rappal
Beginner
1,478 Views

Thnaks Tim and Steve,

I put in the VC 9 X64 support as mentioned by Tim and followed the steps by Steve and reinstalled the Intel Compiler. It created the executable by Intel 64 compiler version. However the executablecreated by Intel 64gave an error message saying it is not a"Valid Win32 Application"

As I mentioned, my laptop is an AMD Turion 64 X2processor (mobile Technology) and that maybe the reason. You can just let me know the reason for this problem. I can still manage with the IA-32 compiler.

Thanks for your support.

Rappal

0 Kudos
TimP
Honored Contributor III
1,478 Views
The Intel64 .exe will run only under a 64-bit Windows, such as XP64, Vista64, Server 2003 64-bit. The message indicates that you are running a 32-bit version of Windows. Your laptop should support XP64 or Vista64. This would be a new OS installation. Unless you have more than 2GB RAM, there may be no advantage for you in the X64 OS.
There were problems with Turion-64 X1 not supporting all SSE2 instructions, so that you would not have been able to use SSE2 options even with the 32-bit ifort, but that should have been fixed by X2.
0 Kudos
rappal
Beginner
1,478 Views

Thanks Tim. My OS is Windows XP Professional Service Pack 2. I have only 1 GB Ram. I will stick with IA-32 for the time being.

Rappal

0 Kudos
Reply