<?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 Intel oneAPI HPC toolkit and NAG Fortran Library on Linux in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-oneAPI-HPC-toolkit-and-NAG-Fortran-Library-on-Linux/m-p/1561791#M170341</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed the oneapi HPC Toolkit and the NAG Fortran library (nll6i293bl) on a linux server.&lt;/P&gt;&lt;P&gt;I am trying to compile and link an example but am getting errors. The example is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NAGLIB_FINCLUDE =&amp;nbsp;-I${NAGDIR}/lp64/nag_interface_blocks&lt;/P&gt;&lt;P&gt;NAGLIB_FLINK = ${NAGDIR}/lp64/lib/libnag_mkl.a -Wl,--start-group \ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ${NAGDIR}/mkl/lib/intel64/libmkl_intel_lp64.a \ ${NAGDIR}/mkl/lib/intel64/libmkl_intel_thread.a \ ${NAGDIR}/mkl/lib/intel64/libmkl_core.a -Wl,--end-group \&lt;/P&gt;&lt;P&gt;-L${NAGDIR}/rtl/lib/intel64 -liomp5 -lpthread -lm -ldl -lstdc++&lt;/P&gt;&lt;P&gt;ifort ${NAGLIB_FINCLUDE} a00adfe.f90 ${NAGLIB_FLINK}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a large number of errors that look something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ld: /opt/intel/oneapi/compiler/2024.0/bin/../lib/libifcoremt.a(for_diags_intel.o): in function `for__strlcpy': for_diags_intel.c:(.text+0x0): multiple definition of `for__strlcpy'; ${NAGDIR}/lp64/lib/libnag_mkl.a(for_diags_intel.o):for_diags_intel.c:(.text+0x2700): first defined here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The functions are defined twice and I am not sure how to change the link command to prevent this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any advice, I would very much appreciate it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jan 2024 08:18:14 GMT</pubDate>
    <dc:creator>LPN2024</dc:creator>
    <dc:date>2024-01-11T08:18:14Z</dc:date>
    <item>
      <title>Intel oneAPI HPC toolkit and NAG Fortran Library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-oneAPI-HPC-toolkit-and-NAG-Fortran-Library-on-Linux/m-p/1561791#M170341</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have installed the oneapi HPC Toolkit and the NAG Fortran library (nll6i293bl) on a linux server.&lt;/P&gt;&lt;P&gt;I am trying to compile and link an example but am getting errors. The example is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NAGLIB_FINCLUDE =&amp;nbsp;-I${NAGDIR}/lp64/nag_interface_blocks&lt;/P&gt;&lt;P&gt;NAGLIB_FLINK = ${NAGDIR}/lp64/lib/libnag_mkl.a -Wl,--start-group \ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ${NAGDIR}/mkl/lib/intel64/libmkl_intel_lp64.a \ ${NAGDIR}/mkl/lib/intel64/libmkl_intel_thread.a \ ${NAGDIR}/mkl/lib/intel64/libmkl_core.a -Wl,--end-group \&lt;/P&gt;&lt;P&gt;-L${NAGDIR}/rtl/lib/intel64 -liomp5 -lpthread -lm -ldl -lstdc++&lt;/P&gt;&lt;P&gt;ifort ${NAGLIB_FINCLUDE} a00adfe.f90 ${NAGLIB_FLINK}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are a large number of errors that look something like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ld: /opt/intel/oneapi/compiler/2024.0/bin/../lib/libifcoremt.a(for_diags_intel.o): in function `for__strlcpy': for_diags_intel.c:(.text+0x0): multiple definition of `for__strlcpy'; ${NAGDIR}/lp64/lib/libnag_mkl.a(for_diags_intel.o):for_diags_intel.c:(.text+0x2700): first defined here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The functions are defined twice and I am not sure how to change the link command to prevent this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any advice, I would very much appreciate it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 08:18:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-oneAPI-HPC-toolkit-and-NAG-Fortran-Library-on-Linux/m-p/1561791#M170341</guid>
      <dc:creator>LPN2024</dc:creator>
      <dc:date>2024-01-11T08:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Intel oneAPI HPC toolkit and NAG Fortran Library on Linux</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-oneAPI-HPC-toolkit-and-NAG-Fortran-Library-on-Linux/m-p/1563363#M170411</link>
      <description>&lt;P&gt;I suggest you ask the NAG support team.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2024 21:31:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Intel-oneAPI-HPC-toolkit-and-NAG-Fortran-Library-on-Linux/m-p/1563363#M170411</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2024-01-16T21:31:35Z</dc:date>
    </item>
  </channel>
</rss>

