title: ifort: error #10037: could not find 'link'
body: <p>I downloaded and installed evaluation software of:
  <code>Intel Parallel Studio XE Professional Edition for Fortran Windows.</code> My system is a 64 bit, Windows 7 OS. During its installation I was asked to download and install also: <code>Microsoft Visual C++ 2013 Redistributable(x64)- 12.0.21005</code> . </p>
  
  <p>I am trying to compile my source files using the command line. </p>
  
  <p>In order for the command <code>ifort</code> to be recognized, I added the directory: </p>
  
  <pre><code>C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.0.110\windows\bin\intel64
  </code></pre>
  
  <p>to the PATH environment variable . (This folder contains the file <code>ifort.exe</code>).    </p>
  
  <p>However, when I try to compile a simple 'Hello World' program by the command:</p>
  
  <pre><code>ifort hello.for
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>ifort: error #10037: could not find 'link'
  </code></pre>
  
  <p>The file 'hello.obj' , however, was created.  </p>
  
  <h2>The steps I tried in order to fix this error (but that made no difference):</h2>
  
  <p>1) I tried to add to the PATH environment variable the directory:</p>
  
  <pre><code>C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.0.110\windows\bin\intel64_gfx
  </code></pre>
  
  <p>This folder contains the file: <code>gfx_linker.exe</code>, which I thought is the needed linker. </p>
  
  <p>2) I tried to change the configuration of Visual Studio to add 64-bit support,  according to the 4 steps Steve Lionel (Intel) sugested in (<a href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/300121" rel="nofollow">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/300121</a>), but the window that appeared (after pressing the change option in the 'Uninstall or change a program utility' of the control panel) showed no 'x64 compiler&amp;tools' checkbox option, only a repair button option, which made no difference.</p>
  
  <p>3) I tried to update the ifort installation, as Tim Prince suggested in  (<a href="https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/280266" rel="nofollow">https://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/topic/280266</a>). I tried to do it through the 'Uninstall or change a program utility' in the control panel. But selecting the 'Repair' option in the window that appeared blocked the completion of the process by stating that 'repair cannot be done because no available sources were found', and selecting the 'Modify' option, blocked me in the step of 'selecting components to modify'  (nothing I chose enabled the 'next' button).</p>
  
  <p>4)  Before calling ifort I tried to execute the cammand:</p>
  
  <pre><code>"C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016.0.110\windows\bincompilervars.bat" intel64 vs2013  
  </code></pre>
  
  <p>as Steve Lionel (Intel) suggested in the previous link, but got the error:</p>
  
  <pre><code>ERROR: Visual Studio 2013 is not found in the system.
  </code></pre>
  
  <p>Right now I'm out of options, and beg for help to show me how to fix this error of ifort not being able to find the 'link'.</p>