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

Lost ability to compile using X64 for 64 bit platforms.

blischke
Beginner
5,883 Views
I'm running IVF version 11 on Windows XP, on a 32 bit machine. I've been compiling for both 32 bit and 64 bit PCs. I recently began getting the error "Intel Fortran Compiler for 'x64' not installed". The most recent 64 bit executable I have built is from July 1st. I can compile 32 bit executables with no problem. I haven't made any changes to my PC, but my IT seems to push through updates every couple of days, so who knows what they may have changed.

I've tried modifying the install, and repairing the install, using the install disk, with no luck. I haven't tried uninstalling and reinstalling, because I can't just uninstall the 64 bit compiler, I seem to have to uninstall everything, and I'm worried I will lose all my settings.

Possibly relevant: If I go to Tools -> Options -> Intel Fortran -> Compilers, under the Target Platform dropdown, only win32 is available. I've never looked at this page before, so I don't know if x64 should also be an option, but it seems like it should. There's only one Selected Compiler option as well (Intel Fortran 11.0.061 [IA32]).

x64 and win32 both show up as Active solution platform options in the configuration manager.

Any ideas on how to get x64 working again with a minimum of hassle?

ETA: I'm running in the MS Visual Studio 2008 IDE, and have been for close to a year.
0 Kudos
29 Replies
blischke
Beginner
1,584 Views
blischke, I'm going to suggest that you start over. Uninstall Intel Visual Fortran and Microsoft Visual Studio. Reinstall Visual Studio, selecting a Custom install and making sure that the C++ x64 support is installed, like this:

[snip]

When done with this, install the _novsshell.exe version of Intel Visual Fortran.

It's working! I didn't have to uninstall it, I just ran autorun.exe on the MS Visual Studio install DVD. I thought I might get an option to repair, but I didn't see any options for Custom Install, Repair, or anything.

I've got a link error for mkl_something.lib, but I can probably track that one down.

Thanks.
0 Kudos
Steven_L_Intel1
Employee
1,584 Views
Weird... But I'm glad you're back in business.
0 Kudos
blischke
Beginner
1,584 Views
Weird... But I'm glad you're back in business.

I thought I could figure this out, but I can't. It's complaining that it can't open mkl_intel_c.lib. I have that file, but it's in C:Program FilesIntelCompiler11.0�75fortranmklia32lib. There is no corresponding MKL directory with ...ia32_intel64lib, or ...intel64lib. Theres a directory ...em64tlib, but it doesn't have a file with that name.

Do I just add the ...ia32lib directory to the library paths? That doesn't seem right.

I remember that it was very difficult to figure out which files to link to for running the MKl when I first got it. In the Properties -> Linker -> Input -> Additional Dependencies for the project I'm trying to compile, I have listed the libraries mkl_intel_c.lib mkl_sequential.lib mkl_core.lib. I don't remember how these were determined.
0 Kudos
Steven_L_Intel1
Employee
1,584 Views
What is referencing mkl_intel_c.lib? That's not a correct name for Intel 64. Here's what the documentation says:

Intel 64 and IA-64 architectures, static linking
mkl_intel_ lp64.lib mkl_intel_ thread_lp64.lib mkl_core.lib libiomp5md.lib
Intel 64 and IA-64 architectures, dynamic linking
mkl_intel_ lp64_dll.lib mkl_intel_ thread_lp64_ dll.lib mkl_core_dll. lib libiomp5md.lib
0 Kudos
blischke
Beginner
1,584 Views
What is referencing mkl_intel_c.lib? That's not a correct name for Intel 64. Here's what the documentation says:

Intel 64 and IA-64 architectures, static linking
mkl_intel_ lp64.lib mkl_intel_ thread_lp64.lib mkl_core.lib libiomp5md.lib
Intel 64 and IA-64 architectures, dynamic linking
mkl_intel_ lp64_dll.lib mkl_intel_ thread_lp64_ dll.lib mkl_core_dll. lib libiomp5md.lib

I think I overwrote the x64 configuration properties with the win32 configuration properties when I was trying to get the x64 compiler to be found. I changed imkl_intel_c.lib to mkl_intel_lp64.lib, and fixed some other things that were using the win32 properties, and I got it to compile and link. Thanks again.

No idea if it will run yet...
0 Kudos
giovanni_fusinadrdc-
1,584 Views
Quoting - blischke

I think I overwrote the x64 configuration properties with the win32 configuration properties when I was trying to get the x64 compiler to be found. I changed imkl_intel_c.lib to mkl_intel_lp64.lib, and fixed some other things that were using the win32 properties, and I got it to compile and link. Thanks again.

No idea if it will run yet...

I still did not get Visual Studio 2005 for Window Vista 64bit to comile for the x64 version. I am using Intel Visual FORTRAN 10.1 (build 30). I couldn't use the version 11 of the program you asked us to download andtry, but I first tried to repair the Visual Studio 2005 running the setup.exe for Visual Studio and selecting the repair option. That didn't work so I unistalled the Intel FORTRAN compiler and installedw_fc_p_10.1.030_novsppe (suppose to have have both 32 and 64 bitversions which I saw with custom install). Still the x64 platform target does not show up in Visual Studio and I can'tcompile for64bit version (x64). I can compile for win32 target platform though. Not sure how the original poster got his x64 target back.
0 Kudos
Steven_L_Intel1
Employee
1,584 Views
If the x64 target does not show up in Visual Studio, that suggests you don't have the x64 support installed. Please go through these steps:

If you are using Visual Studio 2005/2008 Standard Edition or or Visual Studio 2005 Premier Partner Edition or Visual Studio 2008 Shell, 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
giovanni_fusinadrdc-
1,584 Views
Quoting - blischke

I think I overwrote the x64 configuration properties with the win32 configuration properties when I was trying to get the x64 compiler to be found. I changed imkl_intel_c.lib to mkl_intel_lp64.lib, and fixed some other things that were using the win32 properties, and I got it to compile and link. Thanks again.

No idea if it will run yet...

I reinstalled Visual Studio 2005 (custom install enablingVisual C++/x64 Compiler and Tools option) and Intel Visual Fortran (win32 and x64 novsppe version). Seems it will not create an x64 target without enabling the Visual C++/x64 Compiler and Tools. Itnow will compile for x64 platform.
0 Kudos
Steven_L_Intel1
Employee
1,584 Views
That is correct and is called out in the release notes. I'm glad to hear that you got it working.
0 Kudos
Reply