<?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 What is a &amp;quot;look file&amp;quot;? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124171#M132383</link>
    <description>&lt;P&gt;What is a "look file"?&lt;/P&gt;

&lt;P&gt;The directories do not appear out of order. Perhaps the .bashrc change is not accomplishing the setup desired.&lt;/P&gt;

&lt;P&gt;In a terminal window can you try executing the following commands to see whether the compiler reports IA-32:&lt;/P&gt;

&lt;P&gt;ifort -V&lt;BR /&gt;
	source ./compilervars.sh ia32&lt;BR /&gt;
	ifort -V&lt;/P&gt;</description>
    <pubDate>Fri, 30 Dec 2016 23:25:35 GMT</pubDate>
    <dc:creator>Kevin_D_Intel</dc:creator>
    <dc:date>2016-12-30T23:25:35Z</dc:date>
    <item>
      <title>32-bit option does not work on IFC 2017 on Mac OS 10</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124170#M132382</link>
      <description>&lt;P&gt;I am trying to compile my code in 32 bit on my Macbook Pro 2016.&lt;/P&gt;

&lt;P&gt;I have added the line to the .bashrc&lt;BR /&gt;
	source /opt/intel/bin/compilervars.sh ia32&lt;/P&gt;

&lt;P&gt;When I view my look file it shows that it is compiling in 64 bit.&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.1.126 Build 20161013&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em;"&gt;Copyright (C) 1985-2016 Intel Corporation. &amp;nbsp;All rights reserved.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;My ia32 and intel64 folders in the /opt/intel/compilers_and_libraries_2017.1.126/mac/bin folder are different&lt;/P&gt;

&lt;P&gt;I have attached pics to show the differences.&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_3520.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9352iE9876A852DF8DE1C/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="IMG_3520.jpg" alt="IMG_3520.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="IMG_3521.jpg"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/9353i520084D8EECE8847/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="IMG_3521.jpg" alt="IMG_3521.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 22:01:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124170#M132382</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2016-12-30T22:01:53Z</dc:date>
    </item>
    <item>
      <title>What is a "look file"?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124171#M132383</link>
      <description>&lt;P&gt;What is a "look file"?&lt;/P&gt;

&lt;P&gt;The directories do not appear out of order. Perhaps the .bashrc change is not accomplishing the setup desired.&lt;/P&gt;

&lt;P&gt;In a terminal window can you try executing the following commands to see whether the compiler reports IA-32:&lt;/P&gt;

&lt;P&gt;ifort -V&lt;BR /&gt;
	source ./compilervars.sh ia32&lt;BR /&gt;
	ifort -V&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 23:25:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124171#M132383</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2016-12-30T23:25:35Z</dc:date>
    </item>
    <item>
      <title>Here are the results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124172#M132384</link>
      <description>&lt;P&gt;Here are the results&lt;/P&gt;

&lt;P&gt;
	&lt;STYLE type="text/css"&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff; min-height: 13.0px}
span.s1 {font-variant-ligatures: no-common-ligatures}
	&lt;/STYLE&gt;
&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Brians-MacBook-Pro-2:rs40fa.09.25.2014 brian.allison$ source /opt/intel/bin/compilervars.sh ia32&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Brians-MacBook-Pro-2:rs40fa.09.25.2014 brian.allison$ ifort -V&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Intel(R) Fortran Intel(R) 64 Compiler for applications running on IA-32, Version 17.0.1.126 Build 20161013&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Copyright (C) 1985-2016 Intel Corporation.&amp;nbsp; All rights reserved.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Brians-MacBook-Pro-2:rs40fa.09.25.2014 brian.allison$&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So it looks like if I type &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Menlo; font-size: 11px; font-variant-ligatures: no-common-ligatures;"&gt;source /opt/intel/bin/compilervars.sh ia32&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="s1"&gt;on the terminal window, IFC runs 32 bit&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;So why is the line in the .bashrc line being ignored?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Where do I put the source line so that it runs 32 bit when terminal is opened?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 23:35:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124172#M132384</guid>
      <dc:creator>Brian_A_</dc:creator>
      <dc:date>2016-12-30T23:35:11Z</dc:date>
    </item>
    <item>
      <title>You can keep the source</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124173#M132385</link>
      <description>&lt;P&gt;You can keep the source command for the compilervars in &lt;STRONG&gt;.bashrc &lt;/STRONG&gt;but need to add to &lt;STRONG&gt;.bash_profile&lt;/STRONG&gt; code to source &lt;STRONG&gt;.bashrc&lt;/STRONG&gt;. The following minimal setup works on my system. The two files each have a single line in my case as shown below.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;.bash_profile:&lt;/STRONG&gt;&lt;BR /&gt;
	if [ -f ~/.bashrc ]; then . ~/.bashrc; fi&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;.bashrc:&lt;/STRONG&gt;&lt;BR /&gt;
	source /opt/intel/bin/compilervars.sh ia32&lt;/P&gt;

&lt;P&gt;Why it is ignored relates to OS X (macOS). These references have details why:&lt;BR /&gt;
	&lt;A href="http://superuser.com/questions/147043/where-to-find-the-bashrc-file-on-mac-os-x-snow-leopard-and-lion"&gt;http://superuser.com/questions/147043/where-to-find-the-bashrc-file-on-mac-os-x-snow-leopard-and-lion&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="http://apple.stackexchange.com/questions/12993/why-doesnt-bashrc-run-automatically"&gt;http://apple.stackexchange.com/questions/12993/why-doesnt-bashrc-run-automatically&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="http://apple.stackexchange.com/questions/119711/why-doesnt-mac-os-x-source-bashrc"&gt;http://apple.stackexchange.com/questions/119711/why-doesnt-mac-os-x-source-bashrc&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2016 00:18:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/32-bit-option-does-not-work-on-IFC-2017-on-Mac-OS-10/m-p/1124173#M132385</guid>
      <dc:creator>Kevin_D_Intel</dc:creator>
      <dc:date>2016-12-31T00:18:25Z</dc:date>
    </item>
  </channel>
</rss>

