<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hello, in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920042#M85238</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;Create a small test program in Fortran, open the IFort command window, and compile+link that program. If everything works, proceed to the next step.If not, you need to get this part working before trying anything else. Note that Cygwin plays no part in this step, unless %PATH% has already been modified by your Cygwin installation.&lt;/P&gt;
&lt;P&gt;I attempted to run a line command in the Visual Studio Command Prompt, just combining all options from Makefile together:&lt;/P&gt;
&lt;P&gt;ifort myprog.f ukf.f -l"C:\Program Files\NAG\FL23\flw6i23dcl\lib\FLW6U23DC_nag.lib"&lt;/P&gt;
&lt;P&gt;I got the following error message:&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10006: ignoring unknown option '/lC:\Program Files\...\FLW6I23DC_nag.lib"&lt;/P&gt;
&lt;P&gt;Microsoft (R) Incremental Linker Version 10.00.30319.01&lt;/P&gt;
&lt;P&gt;-out:myprog.exe -subsystem:console myprog.obj ukf.obj LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;It means that the linker does not work properly and the NAG library is not found where it is.&lt;/P&gt;
&lt;P&gt;I checked other threads in the forum and found the following discussion:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/302907"&gt;http://software.intel.com/en-us/forums/topic/302907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I have different version of VS and I use the Command Prompt (so I assume I have to modify some bat-files instead of setting options insider the VS?)&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2013 17:49:18 GMT</pubDate>
    <dc:creator>Valerie_L_</dc:creator>
    <dc:date>2013-01-22T17:49:18Z</dc:date>
    <item>
      <title>ifort with NAG under 64-bit Windows</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920033#M85229</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying to migrate with my research code from Linux HPC cluster to 64-bit Windows (changed job recently and got a new PC).&lt;/P&gt;
&lt;P&gt;The code is a set of Matlab and Fortran subroutines, which also call stand-alone NAG Fortran library. It all worked well in the old configuration with pgf90 compiler and Mark21 NAG library under Linux.&lt;/P&gt;
&lt;P&gt;Now I have Mark23 NAG library and Intel 64 Visual Studio, of which I use 'ifort' in command line.&lt;/P&gt;
&lt;P&gt;In my Makefile, the compilation lines&amp;nbsp;are as follows:&lt;/P&gt;
&lt;P&gt;LIBDIR = 'C:/Program Files/NAG/FL23/flw6i23dcl/bin/' LIBNAME = FLW6I23DC_nag.dll&lt;/P&gt;
&lt;P&gt;OBJS1 = myprog.f ukf.f OBJS2 = contour.f cdens_subr.f potfit_subr.f&lt;/P&gt;
&lt;P&gt;myprog: $(OBJS1)&lt;/P&gt;
&lt;P&gt;$(FC)&amp;nbsp;$(OBJS1) $(LIBDIR)$(LIBNAME)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;When I run the&amp;nbsp;package (via Matlab envelope code), I&amp;nbsp;get the following error message:&lt;/P&gt;
&lt;P&gt;------------------------------------&lt;/P&gt;
&lt;P&gt;ifort myprog.f ukf.f 'C:/Program Files/NAG/FL23/flw6i23dcl/bin/'FLW6I23DC_nag.dll&lt;/P&gt;
&lt;P&gt;Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.089 Build 20120731&lt;/P&gt;
&lt;P&gt;Copyright (C) 1985-2012 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10161: unrecognized source type 'C:/Program Files/NAG/FL23/flw6i23dcl/bin/FLW6I23DC_nag.dll'; object file assumed&lt;/P&gt;
&lt;P&gt;ipo: warning #11010: file format not recognized for C:/Program Files/NAG/FL23/flw6i23dcl/bin/FLW6I23DC_nag.dll&lt;/P&gt;
&lt;P&gt;link: unknown option -- s&lt;/P&gt;
&lt;P&gt;Try `link --help' for more information.&lt;/P&gt;
&lt;P&gt;Makefile:15: recipe for target `myprog' failed&lt;/P&gt;
&lt;P&gt;make: *** [myprog] Error 1&lt;/P&gt;
&lt;P&gt;---------------------&lt;/P&gt;
&lt;P&gt;I also tried static library from the same Mark23, and it did not work either. Not to mention that I tried 'nagfor' compiler before that - I managed to obtain an executable, but it crashed at call saying about division by zero (which did not happen with 'pgf90').&lt;/P&gt;
&lt;P&gt;I would be very grateful if you advised how to resolve the compilation issue with 'ifort'.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie Livina&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 13:57:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920033#M85229</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-21T13:57:57Z</dc:date>
    </item>
    <item>
      <title>Valerie,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920034#M85230</link>
      <description>&lt;P&gt;Valerie,&lt;/P&gt;
&lt;P&gt;Unlike on Linux where you link to .so files directly, Windows requires that you link to the "import library" that is produced when a DLL is linked. This has a .lib file type so it may look like a static library, but typically the size is much smaller.&lt;/P&gt;
&lt;P&gt;In general, mixing object code from different Fortran compilers doesn't work as there are often naming conflicts for the libraries. Using a DLL should work. What goes wrong when you link to the .lib that goes with the DLL?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 14:47:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920034#M85230</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-21T14:47:02Z</dc:date>
    </item>
    <item>
      <title>Quote:</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920035#M85231</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;link: unknown option -- s&lt;/P&gt;
&lt;P&gt;Try `link --help' for more information.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;These messages indicate that you have Cygwin (or MINGW or something similar) installed, and the Intel Fortran compiler is finding the Cygwin "link.exe" (which does symbolic links) instead of the MS linker, which has the same name. You have to fix your PATH, or do the equivalent in the IDE, so that the MS linker is found before the Cygwin utility.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2013 17:35:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920035#M85231</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-21T17:35:12Z</dc:date>
    </item>
    <item>
      <title>&gt; In general, mixing object</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920036#M85232</link>
      <description>&lt;P&gt;&amp;gt; In general, mixing object code from different Fortran compilers doesn't work as there are often naming conflicts for the libraries. Using a DLL should work. What goes wrong when you link to the .lib that goes with the DLL?&lt;/P&gt;
&lt;P&gt;Then I have the same problem as I mentioned in my initial post. The reply below, by mesej4, mentions cygwin - indeed, I use cygwin to run the package, to imitate the linux environment under which the code was built. Is it possible to do this with ifort under Windows, or do I have to rebuild the code completely?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 10:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920036#M85232</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T10:14:55Z</dc:date>
    </item>
    <item>
      <title>&gt; These messages indicate</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920037#M85233</link>
      <description>&lt;P&gt;&amp;gt; These messages indicate that you have Cygwin (or MINGW or something similar) installed, and the Intel Fortran compiler is finding the Cygwin "link.exe" (which does symbolic links) instead of the MS linker, which has the same name. You have to fix your PATH, or do the equivalent in the IDE, so that the MS linker is found before the Cygwin utility.&lt;/P&gt;
&lt;P&gt;You are right, I do use cygwin to be able to use the same Makefiles etc. Would you please advise how can I make the MS linker work (as you said, be found before the cygwin)?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 10:17:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920037#M85233</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T10:17:16Z</dc:date>
    </item>
    <item>
      <title>Valerie,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920038#M85234</link>
      <description>&lt;P&gt;Valerie,&lt;/P&gt;
&lt;P&gt;It is perfectly fine to use Cygwin or some such package to emulate a Linux/Unix command line environment, but when the names of commonly used tools (such as LINK.exe) may clash you have to set the environment up properly.&lt;/P&gt;
&lt;P&gt;Perhaps the simplest solution for you is to rename the Cygwin tool link.exe to something else and, if you do use it (probably not), to remember the new name and to change scripts that use this tool.&lt;/P&gt;
&lt;P&gt;Another way is to modify Cygwin.bat (the Cygwin startup script) so that it does not modify PATH, and to &lt;EM&gt;append&lt;/EM&gt; the Cygwin "bin" directory to PATH after opening the Intel Compiler command window (this is the approach that I am most comfortable with).&lt;/P&gt;
&lt;P&gt;A third way is to use the /Qlocation option of the compiler, either in the compiler invocation line or in the compiler configuration file(s) (with default names &lt;EM&gt;ifort.cfg&lt;/EM&gt; and &lt;EM&gt;icl.cfg&lt;/EM&gt;). Please read about these options in the Intel Fortran User Guide under &lt;EM&gt;Using Configuration Files&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;If your environment is already modified to include the Cygwin bin directory in PATH, you may need to modify it, using the System-&amp;gt;Advanced-&amp;gt;Environment control panel.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 12:18:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920038#M85234</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-22T12:18:00Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920039#M85235</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Thank you very much for your advice. When I renamed cygwin's 'link.exe' (into 'link_cygwin.exe') and ran my code, I got error message:&lt;/P&gt;
&lt;P&gt;-------------------------&lt;/P&gt;
&lt;P&gt;ifort myprog.f ukf.f 'C:/Program Files/NAG/FL23/flw6i23dcl/bin/'FLW6I23DC_nag.dll -o myprogIntel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.089 Build 20120731&lt;/P&gt;
&lt;P&gt;Copyright (C) 1985-2012 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10161: unrecognized source type 'C:/Program Files/NAG/FL23/flw6i23dcl/bin/FLW6I23DC_nag.dll'; object file assumed&lt;/P&gt;
&lt;P&gt;ipo: warning #11010: file format not recognized for C:/Program Files/NAG/FL23/flw6i23dcl/bin/FLW6I23DC_nag.dll&lt;/P&gt;
&lt;P&gt;ifort: error #10037: could not find 'link'&lt;/P&gt;
&lt;P&gt;Makefile:14: recipe for target `myprog' failed&lt;/P&gt;
&lt;P&gt;make: *** [myprog] Error 127&lt;/P&gt;
&lt;P&gt;ans =&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;---------------------&lt;/P&gt;
&lt;P&gt;I understand the Cygwin terminal lacks some settings that the command line of the Visual studio Command prompt has, to set up linking properly. I had a look at 'vcvarsall.bat' in the Visual Studio, and attempted to use the commands of the addressed 'vcvars32.bat' in the 'cygwin.bat'. I also changed for another NAG library, .lib instead of .dll. Now I get the following linking message with my code:&lt;/P&gt;
&lt;P&gt;---------&lt;/P&gt;
&lt;P&gt;ifort myprog.f ukf.f 'C:/Program Files/NAG/FL23/flw6i23dcl/lib/'FLW6I23DC_nag.lib -o contourprog&lt;/P&gt;
&lt;P&gt;Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.089 Build 20120731&lt;/P&gt;
&lt;P&gt;Copyright (C) 1985-2012 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/P&gt;
&lt;P&gt;ifort: error #10037: could not find 'link'&lt;/P&gt;
&lt;P&gt;Makefile:20: recipe for target `contourprog' failed&lt;/P&gt;
&lt;P&gt;make: *** [contourprog] Error 127&lt;/P&gt;
&lt;P&gt;ans =&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;/P&gt;
&lt;P&gt;-------&lt;/P&gt;
&lt;P&gt;&amp;gt; Another way is to modify Cygwin.bat (the Cygwin startup script) so that it does not modify PATH, and to append the Cygwin "bin" directory to PATH after opening the Intel Compiler command window (this is the approach that I am most comfortable with).&lt;/P&gt;
&lt;P&gt;Do you mean that I have to call the Intel Compiler Command Prompt and run cygwin from&amp;nbsp;inside instead of running Cygwin first? Right now I start with cygwin (where, as I hope, I modified the startup bat-file suitably for ifort) and run Matlab from there, with recompilations via Makefile. As I understand from the message above, ifort linking is still missing. How can I configure this in cygwin?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 14:17:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920039#M85235</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T14:17:53Z</dc:date>
    </item>
    <item>
      <title>Valerie,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920040#M85236</link>
      <description>&lt;P&gt;Valerie,&lt;/P&gt;
&lt;P&gt;It is not easy to give you specific instructions since we do not know how your environment is set up, why you use Cygwin and what part of Cygwin you need. Therefore, here is a suggestion to break the logjam.&lt;/P&gt;
&lt;P&gt;1. Create a small test program in Fortran, open the IFort command window, and compile+link that program. If everything works, proceed to the next step.If not, you need to get this part working before trying anything else. Note that Cygwin plays no part in this step, unless %PATH% has already been modified by your Cygwin installation.&lt;/P&gt;
&lt;P&gt;2. Change to the directory containing your major application and Issue the command &lt;EM&gt;nmake&lt;/EM&gt; instead of &lt;EM&gt;make&lt;/EM&gt;. If that goes through and builds the application, you don't need Cygwin for this work at all.&lt;/P&gt;
&lt;P&gt;3. If &lt;EM&gt;nmake&lt;/EM&gt; did not work well in Step 2, you need to use GNU make. In the same IFort command window as above, add the Cygwin bin directory to PATH. If Cygwin is in c:\cygwin, do&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C:&amp;gt; Path %path%;c:\cygwin\bin&lt;/P&gt;
&lt;P&gt;so that the Cygwin path is added at the end of the previous path. Note that you are not starting Cygwin's own command shell. You are simply enabling the Cygwin tools (such as GNU make) to be used as needed.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 14:33:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920040#M85236</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-22T14:33:59Z</dc:date>
    </item>
    <item>
      <title>Valerie, to add to what</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920041#M85237</link>
      <description>&lt;P&gt;Valerie, to add to what mecej4 says, you need to properly establish the Intel compiler environment. Normally this is done through an invocation of the compilervars.bat script found in the compiler's BIN folder - it takes an argument of either ia32 or intel64 to set the target platform. I don't know how you'd do this from Cygwin.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 16:54:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920041#M85237</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-22T16:54:12Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920042#M85238</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;nbsp;Create a small test program in Fortran, open the IFort command window, and compile+link that program. If everything works, proceed to the next step.If not, you need to get this part working before trying anything else. Note that Cygwin plays no part in this step, unless %PATH% has already been modified by your Cygwin installation.&lt;/P&gt;
&lt;P&gt;I attempted to run a line command in the Visual Studio Command Prompt, just combining all options from Makefile together:&lt;/P&gt;
&lt;P&gt;ifort myprog.f ukf.f -l"C:\Program Files\NAG\FL23\flw6i23dcl\lib\FLW6U23DC_nag.lib"&lt;/P&gt;
&lt;P&gt;I got the following error message:&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10006: ignoring unknown option '/lC:\Program Files\...\FLW6I23DC_nag.lib"&lt;/P&gt;
&lt;P&gt;Microsoft (R) Incremental Linker Version 10.00.30319.01&lt;/P&gt;
&lt;P&gt;-out:myprog.exe -subsystem:console myprog.obj ukf.obj LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;
&lt;P&gt;---&lt;/P&gt;
&lt;P&gt;It means that the linker does not work properly and the NAG library is not found where it is.&lt;/P&gt;
&lt;P&gt;I checked other threads in the forum and found the following discussion:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://software.intel.com/en-us/forums/topic/302907"&gt;http://software.intel.com/en-us/forums/topic/302907&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;But I have different version of VS and I use the Command Prompt (so I assume I have to modify some bat-files instead of setting options insider the VS?)&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:49:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920042#M85238</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T17:49:18Z</dc:date>
    </item>
    <item>
      <title>Dear Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920043#M85239</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;&amp;gt; Valerie, to add to what mecej4 says, you need to properly establish the Intel compiler environment. Normally this is done through an invocation of the compilervars.bat script found in the compiler's BIN folder - it takes an argument of either ia32 or intel64 to set the target platform.&lt;/P&gt;
&lt;P&gt;Yes, I tried to find 'compilervars.bat' in the \VC\bin subfolder (where 'vcvars32.bat' is). It does not exist in the whole Studio installation. Was it renamed in the recent versions of VS?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 17:54:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920043#M85239</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T17:54:17Z</dc:date>
    </item>
    <item>
      <title>This is an Intel file - you</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920044#M85240</link>
      <description>&lt;P&gt;This is an Intel file - you need to look in C:\Program Files (x86)\Intel\Composer XE 2013\bin&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 18:06:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920044#M85240</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-22T18:06:22Z</dc:date>
    </item>
    <item>
      <title>The Intel compiler start up</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920045#M85241</link>
      <description>&lt;P&gt;The Intel compiler start up batch files are not in the VC directory, but in the compiler's own directory; this depends on where the compiler was installed. On my system, for example, I see (I had to replace backslashes, which the forum software swallows up, by forward slashes)&lt;/P&gt;
&lt;P&gt;[bash]&amp;nbsp;Directory of c:/Program Files (x86)/Intel/Composer XE 2013/bin&lt;BR /&gt;&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,700 compilervars.bat&lt;BR /&gt;10/17/2012&amp;nbsp; 02:26 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11,052 compilervars_arch.bat&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,700 iclvars.bat&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3,700 ifortvars.bat&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 857 ipsxe-comp-vars.bat&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,350 vsshell2008vars_arch.bat&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,394 vsshell2010vars_arch.bat&lt;BR /&gt;10/09/2012&amp;nbsp; 09:45 PM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1,393 vsshell2012vars_arch.bat[/bash]&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 18:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920045#M85241</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-22T18:08:00Z</dc:date>
    </item>
    <item>
      <title>Dear Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920046#M85242</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;I see that the Command Promt startup option is "vcvarsall.bat" x86&lt;/P&gt;
&lt;P&gt;As I understand it, this is the name of the bat-file in the new version? How can I modify it to make the compiler work with&amp;nbsp;'ifconsole.lib', please?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 18:18:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920046#M85242</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T18:18:30Z</dc:date>
    </item>
    <item>
      <title>Dear Steve and macej4,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920047#M85243</link>
      <description>&lt;P&gt;Dear Steve and macej4,&lt;/P&gt;
&lt;P&gt;Thank you for your messages.&lt;/P&gt;
&lt;P&gt;I just found the bat.file, and in the Studio Command Prompt I typed the following:&lt;/P&gt;
&lt;P&gt;compilervars.bat intel64 vs2010shell&lt;/P&gt;
&lt;P&gt;I got the error message:&lt;/P&gt;
&lt;P&gt;------&lt;/P&gt;
&lt;P&gt;Intel(R) Composer X 2013 (package 089)&lt;/P&gt;
&lt;P&gt;The specified configuration type is missing. The tools for the configuration might not be installed.&lt;/P&gt;
&lt;P&gt;-----&lt;/P&gt;
&lt;P&gt;Was it an incorrect command or do I have to add something in the path?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 18:29:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920047#M85243</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-22T18:29:51Z</dc:date>
    </item>
    <item>
      <title>Can you try this without</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920048#M85244</link>
      <description>&lt;P&gt;Can you try this without Cygwin? Use the command prompt shortcut under Intel Parallel Studio XE 2013. Start that, CD to a writable folder and try building a "hello world" program.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2013 19:05:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920048#M85244</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-22T19:05:42Z</dc:date>
    </item>
    <item>
      <title>Dear Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920049#M85245</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;&amp;gt; Can you try this without Cygwin? Use the command prompt shortcut under Intel Parallel Studio XE 2013. Start that, CD to a writable folder and try building a "hello world" program.&lt;/P&gt;
&lt;P&gt;Yes, I am trying this without Cygwin. I just discovered that in my installation of Visual Studio I have two shortcuts for command prompt. One is called "Visual Studio Command Prompt 2010",&amp;nbsp;executing startup command&lt;/P&gt;
&lt;P&gt;""C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"" x86&lt;/P&gt;
&lt;P&gt;The second one is "Intel 64 Visual Studio 2010 mode", executing startup command&lt;/P&gt;
&lt;P&gt;""C:\Program Files (x86)\Intel\Composer XE 2013\bin\ipsxe-comp-vars.bat" intel64 vs2010"&lt;/P&gt;
&lt;P&gt;When I start the second one (on startup, without any command typed), it gives the same message "The specified configuration type is missing. The tools for the configuration might not be installed.&lt;/P&gt;
&lt;P&gt;So, I start the first one which sets&amp;nbsp;up correctly. As you suggested, I created a 'hello world' code. When I type&lt;/P&gt;
&lt;P&gt;ifort -c code.f&lt;/P&gt;
&lt;P&gt;it compiles it and creates obj-file.&lt;/P&gt;
&lt;P&gt;When I attempt to&lt;/P&gt;
&lt;P&gt;link code.obj&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;ifort code.f&lt;/P&gt;
&lt;P&gt;I get the same message&lt;/P&gt;
&lt;P&gt;LINK: fatal erroe LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;
&lt;P&gt;As I understand it, there&amp;nbsp;may be&amp;nbsp;something wrong with LIB environmental variable? How can I set it correctly for the use of ifort&amp;nbsp;in the Command Prompt?&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 13:25:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920049#M85245</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-23T13:25:15Z</dc:date>
    </item>
    <item>
      <title>Valerie,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920050#M85246</link>
      <description>&lt;P&gt;Valerie,&lt;/P&gt;
&lt;P&gt;Please do not use the Visual Studio command prompt shortcuts for Fortran work.&amp;nbsp; Use one of the shortcuts under Start &amp;gt; All Programs &amp;gt; Intel Parallel Studio XE 2013 &amp;gt; Command Prompt &amp;gt; Parallel Studio XE with Intel Compiler XE 13.0&lt;/P&gt;
&lt;P&gt;However, the second command you typed should have worked.&lt;/P&gt;
&lt;P&gt;Please do this - in Visual Studio, select Help &amp;gt; About. Click "Copy Info" then paste the result into a reply here.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 16:12:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920050#M85246</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2013-01-23T16:12:47Z</dc:date>
    </item>
    <item>
      <title>Dear Steve,</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920051#M85247</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;&amp;gt; Please do not use the Visual Studio command prompt shortcuts for Fortran work.&amp;nbsp; Use one of the shortcuts under Start &amp;gt; All Programs &amp;gt; Intel Parallel Studio XE 2013 &amp;gt; Command Prompt &amp;gt; Parallel Studio XE with Intel Compiler XE 13.0&lt;/P&gt;
&lt;P&gt;Thank you very much for this hint. In the path you suggested I found two shortcuts&lt;/P&gt;
&lt;P&gt;1) IA-32 Visual Studio 2010 mode which executes startup command&lt;/P&gt;
&lt;P&gt;"C:\Program Files (x86)\Intel\Composer XE 2013\bin\ipsxe-comp-vars.bat" ia32 vs2010"&lt;/P&gt;
&lt;P&gt;2) Intel 64 Visual Studio 2010 mode which attempts to execute startup command&lt;/P&gt;
&lt;P&gt;"C:\Program Files (x86)\Intel\Composer XE 2013\bin\ipsxe-comp-vars.bat" intel64 vs2010"&lt;/P&gt;
&lt;P&gt;but this Command Prompt starts with error message: "The specified configuration type is missing. The Tools for the configuration might&amp;nbsp; not be installed.&lt;/P&gt;
&lt;P&gt;So, the first Command Prompt starts normally and does compile and links the 'hello world' code, generating exe-file which works&amp;nbsp;as expected.&lt;/P&gt;
&lt;P&gt;Now as I know that IA-32 Command Prompt can compile, I attempt to compile my code in the command line (without Makefile) to see if I use the right options for 'ifort' with NAG library:&lt;/P&gt;
&lt;P&gt;ifort myprog.f ukf.f -L"C:/Program Files/NAG/FL23/flw6i23dcl/bin/'FLW6I23DC_nag.dll"&lt;/P&gt;
&lt;P&gt;I get error messages:&lt;/P&gt;
&lt;P&gt;------&lt;/P&gt;
&lt;P&gt;ifort: command line warning #10006: ignoring unknown option '/LC:\Program Files\...\FLW6I23DC_nag.lib'&lt;/P&gt;
&lt;P&gt;ukf.obj: error LNK2019: unresolved external symbol _F07FDF referenced in function _UKF&lt;/P&gt;
&lt;P&gt;myprog.exe: fatal error LNK1120: 1 unresolved externals&lt;/P&gt;
&lt;P&gt;-----&lt;/P&gt;
&lt;P&gt;Is&amp;nbsp;this is because I&amp;nbsp;try to use 64-bit library in the environment set for 32-bit or do I have to use special compiler/linker options for NAG?&lt;/P&gt;
&lt;P&gt;&amp;gt; Please do this - in Visual Studio, select Help &amp;gt; About. Click "Copy Info" then paste the result into a reply here.&lt;/P&gt;
&lt;P&gt;Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel Microsoft .NET Framework Version 4.0.30319 RTMRel&lt;/P&gt;
&lt;P&gt;Installed Version: IDE Standard&lt;/P&gt;
&lt;P&gt;Microsoft Visual Web Developer 2010&lt;/P&gt;
&lt;P&gt;Intel(R) Visual Fortran&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Package ID: w_fcompxe_2013.0.089 Intel(R) Visual Fortran Composer XE 2013 Integration for Microsoft Visual Studio* 2010, 13.0.3588.2010, Copyright (C) 2002-2012 Intel Corporation&lt;/P&gt;
&lt;P&gt;Yours sincerely&lt;/P&gt;
&lt;P&gt;Valerie&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 17:55:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920051#M85247</guid>
      <dc:creator>Valerie_L_</dc:creator>
      <dc:date>2013-01-23T17:55:25Z</dc:date>
    </item>
    <item>
      <title>You cannot link 32-bit</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920052#M85248</link>
      <description>&lt;P&gt;You cannot link 32-bit objects (which your Intel IA-32 compiler produces) with the 64-bit NAG library. You should either install the Intel 64-bit compiler, or obtain the 32-bit NAG FL library to go with the 32-bit Fortran compiler.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2013 18:20:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-NAG-under-64-bit-Windows/m-p/920052#M85248</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2013-01-23T18:20:59Z</dc:date>
    </item>
  </channel>
</rss>

