<?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 Compiling Fortran application for AMD machines in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579508#M171237</link>
    <description>&lt;P&gt;I am working on distributing an application to customers using computers with AMD processors. We've used the Intel Fortran compiler till now and would like to keep using it rather than setting up a second AMD-based build process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two questions then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Are there going to be any issues compiling using the Intel compiler if the application is going to be run on non-Intel machines? If it will run, are there any potential hiccups I should watch out for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Our application uses OpenMP, and part of this requires that our customers have the latest OpenMP runtime library. Up till now, we've just had them download the Intel Runtime Distributables, and that's been working great. However, it seems that the AMD machines don't like the Intel OpenMP library (libiomp5.so on Linux). Can we compile with the Intel compiler and then have the application use the AMD library on the customer's computer? Does anyone know how to get the AMD equivalent of the Intel Runtime Distributables? Or would this cause a problem requiring us to use a different compiler?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cory&lt;/P&gt;</description>
    <pubDate>Mon, 11 Mar 2024 20:38:43 GMT</pubDate>
    <dc:creator>CoryG</dc:creator>
    <dc:date>2024-03-11T20:38:43Z</dc:date>
    <item>
      <title>Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579508#M171237</link>
      <description>&lt;P&gt;I am working on distributing an application to customers using computers with AMD processors. We've used the Intel Fortran compiler till now and would like to keep using it rather than setting up a second AMD-based build process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two questions then:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Are there going to be any issues compiling using the Intel compiler if the application is going to be run on non-Intel machines? If it will run, are there any potential hiccups I should watch out for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Our application uses OpenMP, and part of this requires that our customers have the latest OpenMP runtime library. Up till now, we've just had them download the Intel Runtime Distributables, and that's been working great. However, it seems that the AMD machines don't like the Intel OpenMP library (libiomp5.so on Linux). Can we compile with the Intel compiler and then have the application use the AMD library on the customer's computer? Does anyone know how to get the AMD equivalent of the Intel Runtime Distributables? Or would this cause a problem requiring us to use a different compiler?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cory&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 20:38:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579508#M171237</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2024-03-11T20:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579515#M171238</link>
      <description>&lt;P&gt;1) As long as you don't use the -x (/Qx) option, no problem.&lt;/P&gt;&lt;P&gt;2) This is news to me, and probably to Intel as well. What problem are you seeing?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 21:04:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579515#M171238</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-03-11T21:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579530#M171241</link>
      <description>&lt;P&gt;I am still waiting to hear back from the customers as to exactly what error they are seeing when trying to install the runtime libraries. I will update you as soon as I hear. So we should be able to compile on Intel and run on any type of machine with the runtime libraries from Intel?&lt;/P&gt;&lt;P&gt;Just for curiosity's sake, what is the -x option and why would it make a difference?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 22:20:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579530#M171241</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2024-03-11T22:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579556#M171242</link>
      <description>&lt;P&gt;1) There are notes like this in many places in the Intel Fortran DGR (Developer Guide and Reference).&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;NOTE&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Using this option enables vectorization at default optimization levels for both Intel®&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;microprocessors and non-Intel microprocessors. Vectorization may call library routines that&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;can result in additional performance&amp;nbsp;gain on Intel microprocessors than on non-Intel&lt;BR /&gt;microprocessors.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;2) Also a surprise to me that there's a problem. As Steve wrote, what is the error?&lt;/P&gt;
&lt;P&gt;Intel certainly won't support use of AMD's OpenMP library if problems arise. I sincerely doubt that the mix has been tested by Intel or AMD.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Mar 2024 23:28:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579556#M171242</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2024-03-11T23:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579624#M171244</link>
      <description>&lt;P&gt;1) Gotcha. Thanks!&lt;/P&gt;&lt;P&gt;2) Still waiting to hear back on that one. So we should be able to download the Intel OpenMP library on an AMD machine and it will work?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 02:52:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579624#M171244</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2024-03-12T02:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579796#M171249</link>
      <description>&lt;P&gt;No problem using OneAPI fortran on AMD machines. I use ifort since it is faster for complex arithmetic. Actually, the Intel generated executables with ifort run 30% faster than those compiled with latest AMD compilers//libraries. ifx runs about the same time, again die to llvm based compilers not omptimizin complex arithmetic as well. Here are my compilation options:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MKLROOT := /usr/ifc/mkl/2024.0&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NLIBS = -L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -I${MKLROOT}/lib/modules&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CFLAGS= -free -warn all -nogen-interfaces -diag-disable=10448 -Ofast -march=SSE4.2,CORE-AVX2 -qopenmp -I${MKLROOT}/incl&lt;BR /&gt;ude&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Check the locations as I sometimes move things around. You may change -march options. Note that for some reason -Ofast is better than -fast on AMDs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 12:41:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579796#M171249</guid>
      <dc:creator>Umar__Sait</dc:creator>
      <dc:date>2024-03-12T12:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579853#M171251</link>
      <description>&lt;P&gt;That all sounds good. I guess the issue that needs to be addressed is getting the OpenMP library installed. Here's the error from our end user (they are using Debian 12):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;CPU: AMD Ryzen Threadripper PRO 5955WX s (32) @ 4.000GHz&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Kernel release: 5.10.0-28-amd64&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Installing libiomp5 on an AMD processor should not work, but I attempted it anyhow:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;$ wget -O-&amp;nbsp;&lt;A href="https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB&lt;/A&gt;&amp;nbsp;| gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg &amp;gt; /dev/null&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;--2024-03-12 11:50:43--&amp;nbsp;&amp;nbsp;&lt;A href="https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Resolving&amp;nbsp;&lt;A href="http://apt.repos.intel.com/" target="_blank" rel="noopener"&gt;apt.repos.intel.com&lt;/A&gt;&amp;nbsp;(&lt;A href="http://apt.repos.intel.com/" target="_blank" rel="noopener"&gt;apt.repos.intel.com&lt;/A&gt;)... 104.77.42.40, 2a02:26f0:3000:298::a87, 2a02:26f0:3000:290::a87&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Connecting to&amp;nbsp;&lt;A href="http://apt.repos.intel.com/" target="_blank" rel="noopener"&gt;apt.repos.intel.com&lt;/A&gt;&amp;nbsp;(&lt;A href="http://apt.repos.intel.com/" target="_blank" rel="noopener"&gt;apt.repos.intel.com&lt;/A&gt;)|104.77.42.40|:443... connected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;HTTP request sent, awaiting response... 200 OK&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Length: 4738 (4.6K) [application/vnd.exstream-package]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Saving to: ‘STDOUT’&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;-&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 100%[===================================================================&amp;gt;]&amp;nbsp;&amp;nbsp; 4.63K&amp;nbsp; --.-KB/s&amp;nbsp;&amp;nbsp;&amp;nbsp; in 0s&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;2024-03-12 11:50:43 (448 MB/s) - written to stdout [4738/4738]&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;$ echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg]&amp;nbsp;&lt;A href="https://apt.repos.intel.com/oneapi" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/oneapi&lt;/A&gt;&amp;nbsp;all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg]&amp;nbsp;&lt;A href="https://apt.repos.intel.com/oneapi" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/oneapi&lt;/A&gt;&amp;nbsp;all main&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;$ sudo apt update&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Err:3&amp;nbsp;&lt;A href="https://apt.repos.intel.com/oneapi" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/oneapi&lt;/A&gt;&amp;nbsp;all InRelease&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;&amp;nbsp; The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BAC6F0C353D04109&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;Reading package lists... Done&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;W: GPG error:&amp;nbsp;&lt;A href="https://apt.repos.intel.com/oneapi" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/oneapi&lt;/A&gt;&amp;nbsp;all InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY BAC6F0C353D04109&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;E: The repository '&lt;A href="https://apt.repos.intel.com/oneapi" target="_blank" rel="noopener"&gt;https://apt.repos.intel.com/oneapi&lt;/A&gt;&amp;nbsp;all InRelease' is not signed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;N: Updating from such a repository can't be done securely, and is therefore disabled by default.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN&gt;N: See apt-secure(8) manpage for repository creation and user configuration details.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:27:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579853#M171251</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2024-03-12T15:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579865#M171253</link>
      <description>&lt;P&gt;Looks like they were able to get libiomp5 installed by installing intel-mkl. Thanks for all the input!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:59:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579865#M171253</guid>
      <dc:creator>CoryG</dc:creator>
      <dc:date>2024-03-12T15:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579900#M171255</link>
      <description>&lt;P&gt;In addition to the note Barbara quoted, the -x option adds a run-time check to the main program to see what the processor type is, and if it is not an Intel processor or one that doesn't support the instruction set specified in the -x option, it displays an error message and stops execution.&amp;nbsp; The exception is -xHost, which optimizes for the processor you compiled on, and works for non-Intel processors as well. You don't want to use -xHost for code you are distributing to others.&lt;/P&gt;&lt;P&gt;The -arch option is similar to -x in that it lets you specify a minimum instruction set, but adds no check, so if the processor doesn't support an instruction used, the program may fail.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 19:31:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1579900#M171255</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2024-03-12T19:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling Fortran application for AMD machines</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1580230#M171266</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/306493"&gt;@CoryG&lt;/a&gt;,&amp;nbsp;that's good that installing MKL got&amp;nbsp;&lt;SPAN&gt;libiomp5 installed. That's not ideal, of course.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;There is an Intel Forum for Installation issues, if you want to follow up on that. Here's a &lt;A href="https://community.intel.com/t5/oneAPI-Registration-Download/bd-p/registration-download-licensing-instal" target="_blank" rel="noopener"&gt;link&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 20:25:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Compiling-Fortran-application-for-AMD-machines/m-p/1580230#M171266</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2024-03-13T20:25:21Z</dc:date>
    </item>
  </channel>
</rss>

