<?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 Thanks Ian and Tim. I found in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098004#M126038</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Thanks Ian and Tim. I found where the link.exe was but now I get a different error:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Etienne@Etienne-PC MINGW64 ~/bmad_dist&lt;BR /&gt;
	$ ifort Hello.f90 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Intel Fortran\Microsoft Files\VC\Bin\amd64"&lt;BR /&gt;
	Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.148 Build 20141023&lt;BR /&gt;
	Copyright (C) 1985-2014 Intel Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;Microsoft (R) Incremental Linker Version 10.00.40219.01&lt;BR /&gt;
	Copyright (C) Microsoft Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;-out:Hello.exe&lt;BR /&gt;
	-subsystem:console&lt;BR /&gt;
	Hello.obj&lt;BR /&gt;
	LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;

&lt;P&gt;Any thoughts? My environmental variables are:&lt;/P&gt;

&lt;P&gt;$ printenv&lt;BR /&gt;
	HOMEPATH=\Users\Etienne&lt;BR /&gt;
	APPDATA=C:\Users\Etienne\AppData\Roaming&lt;BR /&gt;
	MANPATH=/mingw64/share/man:/usr/local/man:/usr/share/man:/usr/man:/share/man&lt;BR /&gt;
	ACC_CMAKE_VERSION=2.8.5&lt;BR /&gt;
	ACC_EXE=/home/Etienne/bmad_dist/production/bin&lt;BR /&gt;
	ProgramW6432=C:\Program Files&lt;BR /&gt;
	ORIGINAL_TEMP=/c/Users/Etienne/AppData/Local/Temp&lt;BR /&gt;
	HOSTNAME=Etienne-PC&lt;BR /&gt;
	ORIGINAL_TMP=/c/Users/Etienne/AppData/Local/Temp&lt;BR /&gt;
	DIST_OS=MINGW64_NT-6.1&lt;BR /&gt;
	INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses&lt;BR /&gt;
	PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel&lt;BR /&gt;
	TERM=xterm&lt;BR /&gt;
	SHELL=/usr/bin/bash&lt;BR /&gt;
	ACC_DEBUG=/home/Etienne/bmad_dist/debug/bin&lt;BR /&gt;
	KMP_DUPLICATE_LIB_OK=TRUE&lt;BR /&gt;
	WINDIR=C:\Windows&lt;BR /&gt;
	DIST_BUILD=TRUE&lt;BR /&gt;
	GINODATA=C:\Users\Public\Documents\gino\v8.0&lt;BR /&gt;
	ACC_BUILD_SYSTEM=/home/Etienne/bmad_dist/build_system&lt;BR /&gt;
	PGPLOT_FONT=/home/Etienne/bmad_dist/PGPLOT/grfont.dat&lt;BR /&gt;
	ACC_PLOT_DISPLAY_TYPE=QT&lt;BR /&gt;
	PUBLIC=C:\Users\Public&lt;BR /&gt;
	OLDPWD=/c/Users/Etienne/Desktop&lt;BR /&gt;
	CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files&lt;BR /&gt;
	G95_LIBRARY_PATH=C:\Program Files\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;C:\Program Files\g95\lib&lt;BR /&gt;
	USERDOMAIN=Etienne-PC&lt;BR /&gt;
	ORIGINAL_PATH=/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/&lt;BR /&gt;
	MSYSTEM_CHOST=x86_64-w64-mingw32&lt;BR /&gt;
	ALLUSERSPROFILE=C:\ProgramData&lt;BR /&gt;
	MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic&lt;BR /&gt;
	OS=Windows_NT&lt;BR /&gt;
	IFORT_COMPILER15=C:\Program Files (x86)\Intel\Composer XE 2015\&lt;BR /&gt;
	windows_tracing_flags=3&lt;BR /&gt;
	BMAD_LAYOUT=/home/Etienne/bmad_dist/config/bmad/layout&lt;BR /&gt;
	!::=::\&lt;BR /&gt;
	GINO=C:\ginointel32&lt;BR /&gt;
	windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log&lt;BR /&gt;
	USER=Etienne&lt;BR /&gt;
	TEMP=/tmp&lt;BR /&gt;
	COMMONPROGRAMFILES=C:\Program Files\Common Files&lt;BR /&gt;
	VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\&lt;BR /&gt;
	temp=C:\Users\Etienne\AppData\Local\Temp&lt;BR /&gt;
	tmp=C:\Users\Etienne\AppData\Local\Temp&lt;BR /&gt;
	GCC_MINOR_VER=1&lt;BR /&gt;
	DIST_CONFIG=/home/Etienne/bmad_dist/config&lt;BR /&gt;
	ACC_BUILD_EXES=Y&lt;BR /&gt;
	IFORT_COMPILER13=C:\Program Files (x86)\Intel\Composer XE 2013\&lt;BR /&gt;
	QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip&lt;BR /&gt;
	DIST_F90=gfortran&lt;BR /&gt;
	CONFIG_SITE=/mingw64/etc/config.site&lt;BR /&gt;
	USERNAME=Etienne&lt;BR /&gt;
	ACC_COMPILER_TOOLSET=mingw64-msys&lt;BR /&gt;
	DIST_PLATFORM_VERSION=2&lt;BR /&gt;
	DIST_UTIL=/home/Etienne/bmad_dist/util&lt;BR /&gt;
	PROCESSOR_LEVEL=6&lt;BR /&gt;
	INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\&lt;BR /&gt;
	ProgramFiles(x86)=C:\Program Files (x86)&lt;BR /&gt;
	ACC_ENABLE_OPENMP=N&lt;BR /&gt;
	PATH=/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/Etienne/bmad_dist/util:C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64&lt;BR /&gt;
	BMAD_LAT=/home/Etienne/bmad_dist/config/bmad/lat&lt;BR /&gt;
	MINGW_PACKAGE_PREFIX=mingw-w64-x86_64&lt;BR /&gt;
	PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\&lt;BR /&gt;
	FP_NO_HOST_CHECK=NO&lt;BR /&gt;
	SYSTEMDRIVE=C:&lt;BR /&gt;
	PWD=/home/Etienne/bmad_dist&lt;BR /&gt;
	VSSHELL2010INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\&lt;BR /&gt;
	DIST_BASE_DIR=/home/Etienne/bmad_dist&lt;BR /&gt;
	USERPROFILE=C:\Users\Etienne&lt;BR /&gt;
	LANG=en_US.UTF-8&lt;BR /&gt;
	ACC_ENABLE_SHARED=N&lt;BR /&gt;
	MSYSTEM_PREFIX=/mingw64&lt;BR /&gt;
	ACC_ENABLE_MPI=N&lt;BR /&gt;
	TZ=America/New_York&lt;BR /&gt;
	PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[35m\]$MSYSTEM\[\e[0m\] \[\e[33m\]\w\[\e[0m\]\n\$&lt;BR /&gt;
	LOGONSERVER=\\ETIENNE-PC&lt;BR /&gt;
	DIST_MOD=/home/Etienne/bmad_dist/modules&lt;BR /&gt;
	CommonProgramW6432=C:\Program Files\Common Files&lt;BR /&gt;
	MINGW_CHOST=x86_64-w64-mingw32&lt;BR /&gt;
	LOCALAPPDATA=C:\Users\Etienne\AppData\Local&lt;BR /&gt;
	PROCESSOR_ARCHITECTURE=AMD64&lt;BR /&gt;
	DIST_ARCH=x86_64&lt;BR /&gt;
	DIST_SETUP_QUIET=N&lt;BR /&gt;
	ProgramData=C:\ProgramData&lt;BR /&gt;
	HOME=/home/Etienne&lt;BR /&gt;
	SHLVL=1&lt;BR /&gt;
	ACC_ROOT_DIR=/home/Etienne/bmad_dist&lt;BR /&gt;
	PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC&lt;BR /&gt;
	GCC_VER_STR=GNU Fortran (Rev1, Built by MSYS2 project) 6&lt;BR /&gt;
	USE_CWD_BASEDIR=Y&lt;BR /&gt;
	HOMEDRIVE=C:&lt;BR /&gt;
	MSYSTEM_CARCH=x86_64&lt;BR /&gt;
	GCC_MAJOR_VER=6&lt;BR /&gt;
	PGPLOT_DIR=/home/Etienne/bmad_dist/PGPLOT&lt;BR /&gt;
	COMSPEC=C:\Windows\system32\cmd.exe&lt;BR /&gt;
	MSYSTEM=MINGW64&lt;BR /&gt;
	TMP=/tmp&lt;BR /&gt;
	SYSTEMROOT=C:\Windows&lt;BR /&gt;
	PROCESSOR_REVISION=2a07&lt;BR /&gt;
	PRINTER=Canon MP990 series USB&lt;BR /&gt;
	ACC_SET_GMAKE_JOBS=1&lt;BR /&gt;
	DIST_EXE=/home/Etienne/bmad_dist/bin&lt;BR /&gt;
	DIST_INC=/home/Etienne/bmad_dist/include&lt;BR /&gt;
	CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip&lt;BR /&gt;
	DIST_F90_REQUEST=gfortran&lt;BR /&gt;
	ACC_ENABLE_GFORTRAN_OPTIMIZATION=Y&lt;BR /&gt;
	PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig&lt;BR /&gt;
	DIST_OS_ARCH=MINGW64_NT-6.1_x86_64&lt;BR /&gt;
	ACLOCAL_PATH=/mingw64/share/aclocal:/usr/share/aclocal&lt;BR /&gt;
	MINGW_PREFIX=/mingw64&lt;BR /&gt;
	PROGRAMFILES=C:\Program Files&lt;BR /&gt;
	INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/share/info&lt;BR /&gt;
	ACC_PLOT_PACKAGE=plplot&lt;BR /&gt;
	NUMBER_OF_PROCESSORS=4&lt;BR /&gt;
	DIST_LIB=/home/Etienne/bmad_dist/lib&lt;BR /&gt;
	TAO_DIR=/home/Etienne/bmad_dist/tao&lt;BR /&gt;
	SESSIONNAME=Console&lt;BR /&gt;
	DIST_PLATFORM=MINGW64_NT-6.1_x86_64_gfortran&lt;BR /&gt;
	COMPUTERNAME=ETIENNE-PC&lt;BR /&gt;
	_=/usr/bin/printenv&lt;/P&gt;

&lt;DIV style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Fri, 19 Aug 2016 20:43:01 GMT</pubDate>
    <dc:creator>Sagan__David</dc:creator>
    <dc:date>2016-08-19T20:43:01Z</dc:date>
    <item>
      <title>ifort with MingW</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097995#M126029</link>
      <description>&lt;P&gt;I have to use the MingW environment for a project on Windows due to some compile scripts not being workable under Visual Studio. I would like to use ifort with MingW but I don't know how to set this up (Note: I already use ifort with VS). Is this possible? Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 19:29:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097995#M126029</guid>
      <dc:creator>Sagan__David</dc:creator>
      <dc:date>2016-08-15T19:29:14Z</dc:date>
    </item>
    <item>
      <title>Do you mean that you use C -</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097996#M126030</link>
      <description>&lt;P&gt;Do you mean that you use C - Fortran interoperability and wish to use gcc or g++ in place of ICL or C++?&amp;nbsp; This seems to imply run-time library conflicts, as the Microsoft libraries are required by ifort.&lt;/P&gt;

&lt;P&gt;On the other hand, if you use gnu make or a shell such as bash, that should be feasible to use with ifort/cl command line.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 22:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097996#M126030</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-08-15T22:00:00Z</dc:date>
    </item>
    <item>
      <title>C - Fortran interoperability</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097997#M126031</link>
      <description>&lt;P&gt;C - Fortran interoperability is needed eventually but for now I just want to be able to compile/link with ifort on the command line. Now if I type "which ifort" in MingW I get nothing so there is a setup that is needed and I am not able to find any information on the web on how to do this. Thanks for any help.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2016 23:11:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097997#M126031</guid>
      <dc:creator>Sagan__David</dc:creator>
      <dc:date>2016-08-15T23:11:28Z</dc:date>
    </item>
    <item>
      <title>Start a normal ifort command</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097998#M126032</link>
      <description>&lt;P&gt;Start a normal ifort command prompt, then from within that command run x:\mingw\msys\1.0\msys.bat.&amp;nbsp; That should have you running in an msys shell environment (is that what you mean by "the MinGW environment"?) with all the ifort environment variables set correctly.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 06:00:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097998#M126032</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2016-08-16T06:00:27Z</dc:date>
    </item>
    <item>
      <title>If Ian's advice results in</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097999#M126033</link>
      <description>&lt;P&gt;If Ian's advice results in ifort picking the wrong link command, you can set the -Qlocation,link option for ifort to point to the Microsoft VC\bin or VC\bin\amd64 folder where their link.exe resides.&lt;/P&gt;

&lt;P&gt;I hesitated to answer along the lines which Ian did because I didn't know what you meant by MinGW environment, and didn't want to ask too many off-topical details.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 13:08:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1097999#M126033</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-08-16T13:08:11Z</dc:date>
    </item>
    <item>
      <title>By "MinGW environment" I mean</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098000#M126034</link>
      <description>&lt;P&gt;By "MinGW environment" I mean a shell running MinGW. &amp;nbsp;In response to Ian's post, I start with a shell with ifort setup (the ifort command is reognized). One problem now is that there is no file I can find with a name that is close to "msys.bat" (I am running msys2 not msys). So instead I run C:\msys64\mingw64.exe which spawns a shell running MinGW. Now the problem is that the ifort command is not defined.&lt;/P&gt;

&lt;P&gt;Now in the MinGW shell I use the following commands to setup ifort:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&amp;nbsp; '/c/Program Files (x86)/Intel/Composer XE 2015/bin/ipsxe-comp-vars.bat' intel64 vs2010&lt;/P&gt;

	&lt;P&gt;&amp;nbsp; export PATH=${PATH}:'C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64'&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;But now using ifort the linking fails with &lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;&amp;nbsp;"link: unknown option --s"&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em;"&gt;. I assume this is the linker picking the wrong link command as per Tim's comment. However I don't understand how to "&lt;/SPAN&gt;&lt;SPAN style="font-size: 12px;"&gt;set the -Qlocation,link option".&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Anyone have any ideas? -- Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:17:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098000#M126034</guid>
      <dc:creator>Sagan__David</dc:creator>
      <dc:date>2016-08-16T14:17:40Z</dc:date>
    </item>
    <item>
      <title>I guess there is a GNU link</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098001#M126035</link>
      <description>&lt;P&gt;I guess there is a GNU link.exe earlier in the PATH than the Ifort linker.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 14:46:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098001#M126035</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2016-08-16T14:46:28Z</dc:date>
    </item>
    <item>
      <title>So... I think you are using</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098002#M126036</link>
      <description>&lt;P&gt;So... I think you are using mingw-w64 and want to work in an MSYS2 environment running the bash shell or similar.&amp;nbsp; If so, as TimP suggests try something like:&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;&lt;U&gt;
&amp;gt;h:\msys64\usr\bin\bash.exe

ian@DOLORES  /u/projects/FortranMisc/2016
$ PATH=/bin:$PATH

ian@DOLORES  /u/projects/FortranMisc/2016
$ cat 2016-08-17\ helloworld.f90
PROGRAM HelloWorld
  IMPLICIT NONE
  PRINT "(A)", 'Hello world'
END PROGRAM HelloWorld

ian@DOLORES  /u/projects/FortranMisc/2016
$ ifort 2016-08-17\ helloworld.f90 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64"
Intel(R) Visual Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0 Beta Build 20160517
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

ifort: NOTE: The Beta evaluation period for this product ends on 7-oct-2016 UTC.
Microsoft (R) Incremental Linker Version 14.00.24213.1
Copyright (C) Microsoft Corporation.  All rights reserved.

"-out:2016-08-17 helloworld.exe"
-subsystem:console
"2016-08-17 helloworld.obj"

ian@DOLORES  /u/projects/FortranMisc/2016
$ ./2016-08-17\ helloworld.exe
Hello world&lt;/U&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 21:16:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098002#M126036</guid>
      <dc:creator>IanH</dc:creator>
      <dc:date>2016-08-16T21:16:15Z</dc:date>
    </item>
    <item>
      <title>No, the path set in location</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098003#M126037</link>
      <description>&lt;P&gt;No, the path set in location,link is the folder in the vs installation which contains link.exe. for intel64:&lt;/P&gt;

&lt;P&gt;-Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\AMD64"&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 22:05:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098003#M126037</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2016-08-16T22:05:00Z</dc:date>
    </item>
    <item>
      <title>Thanks Ian and Tim. I found</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098004#M126038</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Thanks Ian and Tim. I found where the link.exe was but now I get a different error:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Etienne@Etienne-PC MINGW64 ~/bmad_dist&lt;BR /&gt;
	$ ifort Hello.f90 /Qlocation,link,"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Intel Fortran\Microsoft Files\VC\Bin\amd64"&lt;BR /&gt;
	Intel(R) Visual Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.1.148 Build 20141023&lt;BR /&gt;
	Copyright (C) 1985-2014 Intel Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;Microsoft (R) Incremental Linker Version 10.00.40219.01&lt;BR /&gt;
	Copyright (C) Microsoft Corporation. &amp;nbsp;All rights reserved.&lt;/P&gt;

&lt;P&gt;-out:Hello.exe&lt;BR /&gt;
	-subsystem:console&lt;BR /&gt;
	Hello.obj&lt;BR /&gt;
	LINK : fatal error LNK1104: cannot open file 'ifconsol.lib'&lt;/P&gt;

&lt;P&gt;Any thoughts? My environmental variables are:&lt;/P&gt;

&lt;P&gt;$ printenv&lt;BR /&gt;
	HOMEPATH=\Users\Etienne&lt;BR /&gt;
	APPDATA=C:\Users\Etienne\AppData\Roaming&lt;BR /&gt;
	MANPATH=/mingw64/share/man:/usr/local/man:/usr/share/man:/usr/man:/share/man&lt;BR /&gt;
	ACC_CMAKE_VERSION=2.8.5&lt;BR /&gt;
	ACC_EXE=/home/Etienne/bmad_dist/production/bin&lt;BR /&gt;
	ProgramW6432=C:\Program Files&lt;BR /&gt;
	ORIGINAL_TEMP=/c/Users/Etienne/AppData/Local/Temp&lt;BR /&gt;
	HOSTNAME=Etienne-PC&lt;BR /&gt;
	ORIGINAL_TMP=/c/Users/Etienne/AppData/Local/Temp&lt;BR /&gt;
	DIST_OS=MINGW64_NT-6.1&lt;BR /&gt;
	INTEL_LICENSE_FILE=C:\Program Files (x86)\Common Files\Intel\Licenses&lt;BR /&gt;
	PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel&lt;BR /&gt;
	TERM=xterm&lt;BR /&gt;
	SHELL=/usr/bin/bash&lt;BR /&gt;
	ACC_DEBUG=/home/Etienne/bmad_dist/debug/bin&lt;BR /&gt;
	KMP_DUPLICATE_LIB_OK=TRUE&lt;BR /&gt;
	WINDIR=C:\Windows&lt;BR /&gt;
	DIST_BUILD=TRUE&lt;BR /&gt;
	GINODATA=C:\Users\Public\Documents\gino\v8.0&lt;BR /&gt;
	ACC_BUILD_SYSTEM=/home/Etienne/bmad_dist/build_system&lt;BR /&gt;
	PGPLOT_FONT=/home/Etienne/bmad_dist/PGPLOT/grfont.dat&lt;BR /&gt;
	ACC_PLOT_DISPLAY_TYPE=QT&lt;BR /&gt;
	PUBLIC=C:\Users\Public&lt;BR /&gt;
	OLDPWD=/c/Users/Etienne/Desktop&lt;BR /&gt;
	CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files&lt;BR /&gt;
	G95_LIBRARY_PATH=C:\Program Files\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;C:\Program Files\g95\lib&lt;BR /&gt;
	USERDOMAIN=Etienne-PC&lt;BR /&gt;
	ORIGINAL_PATH=/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/&lt;BR /&gt;
	MSYSTEM_CHOST=x86_64-w64-mingw32&lt;BR /&gt;
	ALLUSERSPROFILE=C:\ProgramData&lt;BR /&gt;
	MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic&lt;BR /&gt;
	OS=Windows_NT&lt;BR /&gt;
	IFORT_COMPILER15=C:\Program Files (x86)\Intel\Composer XE 2015\&lt;BR /&gt;
	windows_tracing_flags=3&lt;BR /&gt;
	BMAD_LAYOUT=/home/Etienne/bmad_dist/config/bmad/layout&lt;BR /&gt;
	!::=::\&lt;BR /&gt;
	GINO=C:\ginointel32&lt;BR /&gt;
	windows_tracing_logfile=C:\BVTBin\Tests\installpackage\csilogfile.log&lt;BR /&gt;
	USER=Etienne&lt;BR /&gt;
	TEMP=/tmp&lt;BR /&gt;
	COMMONPROGRAMFILES=C:\Program Files\Common Files&lt;BR /&gt;
	VS90COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\&lt;BR /&gt;
	temp=C:\Users\Etienne\AppData\Local\Temp&lt;BR /&gt;
	tmp=C:\Users\Etienne\AppData\Local\Temp&lt;BR /&gt;
	GCC_MINOR_VER=1&lt;BR /&gt;
	DIST_CONFIG=/home/Etienne/bmad_dist/config&lt;BR /&gt;
	ACC_BUILD_EXES=Y&lt;BR /&gt;
	IFORT_COMPILER13=C:\Program Files (x86)\Intel\Composer XE 2013\&lt;BR /&gt;
	QTJAVA=C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip&lt;BR /&gt;
	DIST_F90=gfortran&lt;BR /&gt;
	CONFIG_SITE=/mingw64/etc/config.site&lt;BR /&gt;
	USERNAME=Etienne&lt;BR /&gt;
	ACC_COMPILER_TOOLSET=mingw64-msys&lt;BR /&gt;
	DIST_PLATFORM_VERSION=2&lt;BR /&gt;
	DIST_UTIL=/home/Etienne/bmad_dist/util&lt;BR /&gt;
	PROCESSOR_LEVEL=6&lt;BR /&gt;
	INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\&lt;BR /&gt;
	ProgramFiles(x86)=C:\Program Files (x86)&lt;BR /&gt;
	ACC_ENABLE_OPENMP=N&lt;BR /&gt;
	PATH=/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/Etienne/bmad_dist/util:C:\Program Files (x86)\Intel\Composer XE 2015\bin\intel64&lt;BR /&gt;
	BMAD_LAT=/home/Etienne/bmad_dist/config/bmad/lat&lt;BR /&gt;
	MINGW_PACKAGE_PREFIX=mingw-w64-x86_64&lt;BR /&gt;
	PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\&lt;BR /&gt;
	FP_NO_HOST_CHECK=NO&lt;BR /&gt;
	SYSTEMDRIVE=C:&lt;BR /&gt;
	PWD=/home/Etienne/bmad_dist&lt;BR /&gt;
	VSSHELL2010INSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\&lt;BR /&gt;
	DIST_BASE_DIR=/home/Etienne/bmad_dist&lt;BR /&gt;
	USERPROFILE=C:\Users\Etienne&lt;BR /&gt;
	LANG=en_US.UTF-8&lt;BR /&gt;
	ACC_ENABLE_SHARED=N&lt;BR /&gt;
	MSYSTEM_PREFIX=/mingw64&lt;BR /&gt;
	ACC_ENABLE_MPI=N&lt;BR /&gt;
	TZ=America/New_York&lt;BR /&gt;
	PS1=\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[35m\]$MSYSTEM\[\e[0m\] \[\e[33m\]\w\[\e[0m\]\n\$&lt;BR /&gt;
	LOGONSERVER=\\ETIENNE-PC&lt;BR /&gt;
	DIST_MOD=/home/Etienne/bmad_dist/modules&lt;BR /&gt;
	CommonProgramW6432=C:\Program Files\Common Files&lt;BR /&gt;
	MINGW_CHOST=x86_64-w64-mingw32&lt;BR /&gt;
	LOCALAPPDATA=C:\Users\Etienne\AppData\Local&lt;BR /&gt;
	PROCESSOR_ARCHITECTURE=AMD64&lt;BR /&gt;
	DIST_ARCH=x86_64&lt;BR /&gt;
	DIST_SETUP_QUIET=N&lt;BR /&gt;
	ProgramData=C:\ProgramData&lt;BR /&gt;
	HOME=/home/Etienne&lt;BR /&gt;
	SHLVL=1&lt;BR /&gt;
	ACC_ROOT_DIR=/home/Etienne/bmad_dist&lt;BR /&gt;
	PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC&lt;BR /&gt;
	GCC_VER_STR=GNU Fortran (Rev1, Built by MSYS2 project) 6&lt;BR /&gt;
	USE_CWD_BASEDIR=Y&lt;BR /&gt;
	HOMEDRIVE=C:&lt;BR /&gt;
	MSYSTEM_CARCH=x86_64&lt;BR /&gt;
	GCC_MAJOR_VER=6&lt;BR /&gt;
	PGPLOT_DIR=/home/Etienne/bmad_dist/PGPLOT&lt;BR /&gt;
	COMSPEC=C:\Windows\system32\cmd.exe&lt;BR /&gt;
	MSYSTEM=MINGW64&lt;BR /&gt;
	TMP=/tmp&lt;BR /&gt;
	SYSTEMROOT=C:\Windows&lt;BR /&gt;
	PROCESSOR_REVISION=2a07&lt;BR /&gt;
	PRINTER=Canon MP990 series USB&lt;BR /&gt;
	ACC_SET_GMAKE_JOBS=1&lt;BR /&gt;
	DIST_EXE=/home/Etienne/bmad_dist/bin&lt;BR /&gt;
	DIST_INC=/home/Etienne/bmad_dist/include&lt;BR /&gt;
	CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip&lt;BR /&gt;
	DIST_F90_REQUEST=gfortran&lt;BR /&gt;
	ACC_ENABLE_GFORTRAN_OPTIMIZATION=Y&lt;BR /&gt;
	PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig&lt;BR /&gt;
	DIST_OS_ARCH=MINGW64_NT-6.1_x86_64&lt;BR /&gt;
	ACLOCAL_PATH=/mingw64/share/aclocal:/usr/share/aclocal&lt;BR /&gt;
	MINGW_PREFIX=/mingw64&lt;BR /&gt;
	PROGRAMFILES=C:\Program Files&lt;BR /&gt;
	INFOPATH=/usr/local/info:/usr/share/info:/usr/info:/share/info&lt;BR /&gt;
	ACC_PLOT_PACKAGE=plplot&lt;BR /&gt;
	NUMBER_OF_PROCESSORS=4&lt;BR /&gt;
	DIST_LIB=/home/Etienne/bmad_dist/lib&lt;BR /&gt;
	TAO_DIR=/home/Etienne/bmad_dist/tao&lt;BR /&gt;
	SESSIONNAME=Console&lt;BR /&gt;
	DIST_PLATFORM=MINGW64_NT-6.1_x86_64_gfortran&lt;BR /&gt;
	COMPUTERNAME=ETIENNE-PC&lt;BR /&gt;
	_=/usr/bin/printenv&lt;/P&gt;

&lt;DIV style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px;"&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Aug 2016 20:43:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098004#M126038</guid>
      <dc:creator>Sagan__David</dc:creator>
      <dc:date>2016-08-19T20:43:01Z</dc:date>
    </item>
    <item>
      <title>You need at least a LIB</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098005#M126039</link>
      <description>&lt;P&gt;You need&amp;nbsp;at least a &lt;STRONG&gt;LIB &lt;/STRONG&gt;setting. You can get the needed details from an Intel compiler&amp;nbsp;pre-initialized command-prompt. Command-prompt shortcuts are under a path like:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Intel Parallel Studio XE 2015\Compiler and Performance Libraries\Command Prompt with Intel Compiler XE v15.0 Update 1&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Start the&amp;nbsp;command-prompt for the Intel 64 environment and then just echo it with:&amp;nbsp; &lt;STRONG&gt;echo %LIB%&lt;/STRONG&gt;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 21:06:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098005#M126039</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2016-08-19T21:06:07Z</dc:date>
    </item>
    <item>
      <title>OK that worked. Much thanks.</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098006#M126040</link>
      <description>&lt;P&gt;OK that worked. Much thanks.&lt;/P&gt;

&lt;P&gt;Procedure was:&lt;BR /&gt;
	On intel side:&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;echo %LIB%&lt;BR /&gt;
	On MingW side:&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp;export LIB='stuff-from-intel-side'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 18:18:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifort-with-MingW/m-p/1098006#M126040</guid>
      <dc:creator>Sagan__David</dc:creator>
      <dc:date>2016-09-15T18:18:46Z</dc:date>
    </item>
  </channel>
</rss>

