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

Error #10037 Could not find 'link'

denis_sornincea_fr
880 Views

When running Ifort from the dos windows the compiler gives back:

error #10037 Could not find 'link'

It is my firts run of Intel Visual FORTRAN on 64 bits.

I try to compile the ipo_sample_main.f90 from the sample folder.

the file is copied/past in the ifort.exe folder.

Which kind of 'link' is lacking

Which path to give if using the "/link" option of ifort?

How can i solve the problem?

thank you for answering,

Best regards,

D.

0 Kudos
5 Replies
mecej4
Honored Contributor III
880 Views
Whether you have the necessary Microsoft tools (LINK, LIB, associated libraries, DLLs, etc.) properly installed depends on how you installed the Intel Fortran compiler and Visual Studio (or V.S.Express). You can usually find an entry to the VS tools through the Start Menu.

If you have a properly installed VS, all you have to do is to enter the proper directory paths into a couple of start-up batch files (ifortvars.bat, ifortvars32.bat) and a configuration file (ifort.cfg).

Normally, the IFort installer searches for a Visual Studio installation and prepares functional start-up batch files and configuration files for you, even offering to modify your default environment to suit; however, if it does not locate VS properly, some manual intervention is needed.
0 Kudos
TimP
Honored Contributor III
880 Views
VS Express doesn't support X64 development. The linker and libraries normally are supplied by VS2005 or 2008; X64 development SDK may also work with command line, but then you would have to edit the linker path into ifort.cfg yourself.
0 Kudos
Les_Neilson
Valued Contributor II
880 Views
Denis,

Which dos prompt?


You need touse the one from :
Start->Programs->Intel Software Development Tools-> -> Fortran Build Environment for applications running on Intel 64

This should set up all the necessary paths needed.

Les
0 Kudos
Steven_L_Intel1
Employee
880 Views
My guess is that you did not configure Visual Studio for 64-bit development. This is described in the Release Notes - here are the steps:

2.1.1 Configure Visual Studio for 64-bit Applications
If you are using Microsoft Visual Studio 2005* or 2008 and will be developing 64-bit applications
(for the Intel 64 or IA-64 architectures) you may need to change the configuration of Visual
Studio to add 64-bit support.
If you are using Visual Studio 2005/2008 Standard 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
denis_sornincea_fr
880 Views
Thank you very muchfor you answer,

I effectivelly try to use the SDK
May be do you know the syntax to give the path in .cfg , i do not find informations about this.
I am going to checkthe installationproblemesfrom the X64 configuration.

best regards,

Denis
0 Kudos
Reply