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

10037 Error

dajum
Novice
922 Views

I'm using 10.1.021 trying to get my application running in the 64 bit environment. I'm trying to build it from the command line using the same basic commands I've used in the 32 bit world. I opened the command prompt window for running on Intel64. I get the "ifort: error #10037: could not find 'link'" error. I don't have a clue what to do. I couldn't find this error described in any documentation (is it?). I like to solve these by myself since it tends to be faster but don't know where this is documented. Can you help solve this problem and hopefully point me to some documentation that describes how to do this conversion.

Thanks,

Dave

0 Kudos
6 Replies
Steven_L_Intel1
Employee
922 Views
We do not at present have documentation for error messages. In your case, I would guess that you do not have the "x64 compiler and tools" component of Visual Studio 2005/2008 installed and there was probably an error message displayed when you first opened the command prompt window. Oddly, the Professional and higher editions of VS don't install this by default. You can go to Add or Remove Programs, select Visual Studio, then "Change" it to add in the "x64 Compiler and Tools" subcomponent of C++.

If this does not help, show me what is displayed when you first bring up the build window.
0 Kudos
TimP
Honored Contributor III
922 Views
You must check that you have installed the Microsoft 64-bit C++, unless you use the ifort VSPPE option. 64-bit CL will provide a 64-bit linker, in a directory path ending with something similar to the example below. If you installed ifort before installing the 64-bit CL, repairing the ifort installation after installing CL may correct it.
Depending on various factors which you haven't divulged, it may still be necessary to specify the linker path in ifort.cfg in your installation. For example:
_______________________________________________
# This Configuration file may be used for additional switches

-Qvc8

# Path to the Microsoft Platform SDK* linker for EM64T-based applications
-Qlocation,link,"e:program filesMicrosoft platform sdkBinwin64x86amd64link.exe"
-Qoption,link,/nodefaultlib:libc.lib
__________________________________________________
This example shows the use of the command line SDK in place of Visual Studio for 64-bit compilation. If you install the VS2008 compiler, that is -Qvc9.
The nodefaultlib specification would not normally be needed; it takes care of a case where .obj files were built for the libc, when only libcmt is available in current installations.

0 Kudos
dajum
Novice
922 Views

Thanks. That got me going. Now to find all the addressing problems. We use integers as indexes into arrays. If my arrays are all less than 1,000,000,000 do I need to worry about them?

Dave

0 Kudos
Steven_L_Intel1
Employee
922 Views
You don't have to worry about using integers to index arrays, unless the arrays have more than 2GB elements in any dimension.
0 Kudos
adamsta
Beginner
922 Views
Hi, I have the same problem as the first poster, except that I do not have Visual Studio. I just paid for the Intel Visual Fortran compiler... is there any way I can link my object files without having to purchase Visual Studio? (I don't have a e:program filesMicrosoft platform sdk directory or anything similar).

Thanks!
0 Kudos
Steven_L_Intel1
Employee
922 Views
If you paid for Intel Visual Fortran, then (unless you have a Student license) you have Visual Studio 2005 Premier Partner Edition included. No additional purchase necessary. If you are downloading, download w_fc_p_10.1.024.exe and not one of the other downloads. This includes Visual Studio Premier Partner Edition.
0 Kudos
Reply