<?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   in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743293#M2139</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I found two simple solutions for this drawback:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Solution 1 : using install_name_tool &amp;nbsp;fort for &lt;SPAN style="font-family: Menlo; font-size: 11px; line-height: normal;"&gt;libiomp5.dylib in your executable file only (if you recompile you'll need to do this again...)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;install_name_tool -change libiomp5.dylib /opt/intel/composer_xe_2013_sp1.2.139/compiler/lib/libiomp5.dylib /executable_file&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;solution 2 : it's a similar solution provided by xiaoping-duan&amp;nbsp;(valid until reboot only) if you don't use any other fortran compile on mac as I, put it .bash_profile. Take care only .bash_profile to run on MAC OS x is a little bit weird! Please check the following link&amp;nbsp;http://apple.stackexchange.com/questions/107441/os-x-mavericks-bash-profile-paths-dont-work&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;source /opt/intel/composer_xe_2013_sp1.2.139/bin/ifortvars.sh&amp;nbsp; intel64&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;and now it`s working fine...&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Best wishes,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;ileao&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;OBJECT cotype="cs" id="SILOBFWOBJECTID" style="width: 0px; height: 0px; display: block;" type="cosymantecnisbfw"&gt;&lt;/OBJECT&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 31 Aug 2014 20:56:04 GMT</pubDate>
    <dc:creator>ILeao</dc:creator>
    <dc:date>2014-08-31T20:56:04Z</dc:date>
    <item>
      <title>Compiling and Runing an OpenMP code with Intel Fortran 11.1 on Mac OS X from the command line</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743290#M2136</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I am trying to compile and run an OpenMP code (that worked under Linux) from the command line from Mac without success so far:&lt;/P&gt;
&lt;P&gt;to compile I enter (F77):&lt;/P&gt;
&lt;P&gt;" ifort -o 'executable' 'sourcecode.f' -openmp "&lt;/P&gt;
&lt;P&gt;export OMP variable (for example):&lt;/P&gt;
&lt;P&gt;" export OMP_NUM_THREADS=2 "&lt;/P&gt;
&lt;P&gt;and to run the code:&lt;/P&gt;
&lt;P&gt;" ./'executable' "&lt;/P&gt;
&lt;P&gt;This gives me the following error message:&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;DIV id="_mcePaste"&gt;dyld: Library not loaded: libiomp5.dylib&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;Referenced from: /Users/andreasf/2_CLASSES/fall2009/MAE_609-HighPerformanceComputing/HW-2_OMP&amp;amp;MPI/./pi&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;Reason: image not found&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;Trace/BPT trap&lt;/DIV&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;"&lt;/P&gt;
&lt;P&gt;What am I doing wrong?&lt;/P&gt;
&lt;P&gt;Does the path for the omp libraries have to be included in the .bashrc? This is the line in my .bashrc so far:/opt/intel/Compiler/11.1/080/bin/ifortvars.sh intel64.&lt;/P&gt;
&lt;P&gt;How does the procedure look like, if F90 is used?&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;Andreas&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2010 03:05:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743290#M2136</guid>
      <dc:creator>Andreas_Hoffie</dc:creator>
      <dc:date>2010-01-20T03:05:27Z</dc:date>
    </item>
    <item>
      <title>Compiling and Runing an OpenMP code with Intel Fortran 11.1 on</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743291#M2137</link>
      <description>&lt;P&gt;The error was caused by missing ifort environment variables. The correct line is:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;source&lt;/STRONG&gt; /opt/intel/Compiler/11.1/080/bin/ifortvars.sh intel64&lt;/P&gt;
&lt;P&gt;If you want to set it up in your login shell the line needs to be put into ".bash_login" or ".bash_profile" instead of ".bashrc".&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:33:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743291#M2137</guid>
      <dc:creator>Xiaoping_D_Intel</dc:creator>
      <dc:date>2010-01-20T07:33:05Z</dc:date>
    </item>
    <item>
      <title>Compiling and Runing an OpenMP code with Intel Fortran 11.1 on</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743292#M2138</link>
      <description>Its working. Thank you!</description>
      <pubDate>Wed, 20 Jan 2010 23:45:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743292#M2138</guid>
      <dc:creator>Andreas_Hoffie</dc:creator>
      <dc:date>2010-01-20T23:45:08Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743293#M2139</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I found two simple solutions for this drawback:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Solution 1 : using install_name_tool &amp;nbsp;fort for &lt;SPAN style="font-family: Menlo; font-size: 11px; line-height: normal;"&gt;libiomp5.dylib in your executable file only (if you recompile you'll need to do this again...)&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;install_name_tool -change libiomp5.dylib /opt/intel/composer_xe_2013_sp1.2.139/compiler/lib/libiomp5.dylib /executable_file&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;solution 2 : it's a similar solution provided by xiaoping-duan&amp;nbsp;(valid until reboot only) if you don't use any other fortran compile on mac as I, put it .bash_profile. Take care only .bash_profile to run on MAC OS x is a little bit weird! Please check the following link&amp;nbsp;http://apple.stackexchange.com/questions/107441/os-x-mavericks-bash-profile-paths-dont-work&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;source /opt/intel/composer_xe_2013_sp1.2.139/bin/ifortvars.sh&amp;nbsp; intel64&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;and now it`s working fine...&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Best wishes,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;ileao&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;OBJECT cotype="cs" id="SILOBFWOBJECTID" style="width: 0px; height: 0px; display: block;" type="cosymantecnisbfw"&gt;&lt;/OBJECT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Aug 2014 20:56:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-and-Runing-an-OpenMP-code-with-Intel-Fortran-11-1-on/m-p/743293#M2139</guid>
      <dc:creator>ILeao</dc:creator>
      <dc:date>2014-08-31T20:56:04Z</dc:date>
    </item>
  </channel>
</rss>

