<?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 Re: link line advisor for pardiso solver in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1586832#M35993</link>
    <description>&lt;P&gt;Could you try linking to oneMKL dynamically?&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 22:28:42 GMT</pubDate>
    <dc:creator>Fengrui</dc:creator>
    <dc:date>2024-04-05T22:28:42Z</dc:date>
    <item>
      <title>link line advisor for pardiso solver</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1586771#M35990</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;I'm trying to compile code that uses the pardiso solver.&amp;nbsp; The machine I'm using is a linux machine. I'm using an autoconfig file to compile the code. I used the link line advisor to specify flags needed for my autoconfig and set the environment variables needed.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;The autoconfig file is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;#!/bin/sh&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;../configure \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CXXFLAGS="-O3 -fopenmp -std=c++11" \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;ARCHDIR="$HOME/XyceLibs/Parallel" \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CPPFLAGS="-DMKL_ILP64 -m64 -fPIC -I$MKLROOT/include" \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;LDFLAGS="-m64 ${MKLROOT}/lib/libmkl_scalapack_ilp64.a -Wl,--start-group ${MKLROOT}/lib/libmkl_intel_ilp64.a ${MKLROOT}/lib/libmkl_intel_thread.a ${MKLROOT}/lib/libmkl_core.a ${MKLROOT}/lib/libmkl_blacs_openmpi_ilp64.a -Wl,--end-group -liomp5 -lpthread -lm -ldl" \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;--enable-mpi \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CXX=mpicxx \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;CC=mpicc \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;F77=mpif77 \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;--enable-stokhos \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;--enable-amesos2 \&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;--prefix=$HOME/XyceInstall/Parallel \&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;when I try to compile this code, I get the error attached.&amp;nbsp; I believe I don't have the correct flags set for my autoconfig file. The config log is also attached. I'm wondering if I could get some advice on how to resolve my issue.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;The code I'm trying to compile is Xyce using trilinos with third party math functions.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 17:22:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1586771#M35990</guid>
      <dc:creator>eddywu</dc:creator>
      <dc:date>2024-04-05T17:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: link line advisor for pardiso solver</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1586832#M35993</link>
      <description>&lt;P&gt;Could you try linking to oneMKL dynamically?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 22:28:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1586832#M35993</guid>
      <dc:creator>Fengrui</dc:creator>
      <dc:date>2024-04-05T22:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: link line advisor for pardiso solver</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1588084#M36012</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/250759"&gt;@Fengrui&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the reply. Yes that helped it build. I now have the code built, but now I'm experiencing an issue with segmentation faults when trying to run my application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are the error messages I get.&amp;nbsp;&lt;/P&gt;&lt;P&gt;[imagica-thinkstation:500114] *** Process received signal ***&lt;BR /&gt;[imagica-thinkstation:500114] Signal: Segmentation fault (11)&lt;BR /&gt;[imagica-thinkstation:500114] Signal code: Address not mapped (1)&lt;BR /&gt;[imagica-thinkstation:500114] Failing at address: 0x55d84b4439a8&lt;BR /&gt;[imagica-thinkstation:500114] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f2d54842520]&lt;BR /&gt;[imagica-thinkstation:500114] [ 1] /opt/intel/oneapi/mkl/2024.0/lib/libmkl_avx2.so.2(mkl_blas_avx2_xidamax_nonan+0xa9)[0x7f2d494503c9]&lt;BR /&gt;[imagica-thinkstation:500114] [ 2] /opt/intel/oneapi/mkl/2024.0/lib/libmkl_avx2.so.2(mkl_blas_avx2_xidamax+0x40)[0x7f2d497122d0]&lt;BR /&gt;[imagica-thinkstation:500114] [ 3] /opt/intel/oneapi/mkl/2024.0/lib/libmkl_intel_thread.so.2(mkl_blas_idamax+0x3ee)[0x7f2d5a0552ee]&lt;BR /&gt;[imagica-thinkstation:500114] [ 4] /opt/intel/oneapi/mkl/2024.0/lib/libmkl_intel_ilp64.so.2(idamax+0xa6)[0x7f2d5c6bf8f6]&lt;BR /&gt;[imagica-thinkstation:500114] [ 5] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x2635fb2)[0x55a84a0d9fb2]&lt;BR /&gt;[imagica-thinkstation:500114] [ 6] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x26a8dcb)[0x55a84a14cdcb]&lt;BR /&gt;[imagica-thinkstation:500114] [ 7] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x9faa27)[0x55a84849ea27]&lt;BR /&gt;[imagica-thinkstation:500114] [ 8] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x9e045b)[0x55a84848445b]&lt;BR /&gt;[imagica-thinkstation:500114] [ 9] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x9e54e8)[0x55a8484894e8]&lt;BR /&gt;[imagica-thinkstation:500114] [10] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x9eefb2)[0x55a848492fb2]&lt;BR /&gt;[imagica-thinkstation:500114] [11] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x9ef3a8)[0x55a8484933a8]&lt;BR /&gt;[imagica-thinkstation:500114] [12] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x8e36bf)[0x55a8483876bf]&lt;BR /&gt;[imagica-thinkstation:500114] [13] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x8e6304)[0x55a84838a304]&lt;BR /&gt;[imagica-thinkstation:500114] [14] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x3b627d)[0x55a847e5a27d]&lt;BR /&gt;[imagica-thinkstation:500114] [15] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x3c1098)[0x55a847e65098]&lt;BR /&gt;[imagica-thinkstation:500114] [16] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x39b054)[0x55a847e3f054]&lt;BR /&gt;[imagica-thinkstation:500114] [17] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f2d54829d90]&lt;BR /&gt;[imagica-thinkstation:500114] [18] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f2d54829e40]&lt;BR /&gt;[imagica-thinkstation:500114] [19] /home/imagica/XyceInstall/Parallel/bin/Xyce(+0x3af465)[0x55a847e53465]&lt;BR /&gt;[imagica-thinkstation:500114] *** End of error message ***&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The autoconfig file I use to compile without error is below:&lt;/P&gt;&lt;P&gt;#!/bin/sh&lt;BR /&gt;../configure \&lt;BR /&gt;CXXFLAGS="-O3 -fopenmp -std=c++11" \&lt;BR /&gt;ARCHDIR="$HOME/XyceLibs/Parallel" \&lt;BR /&gt;CPPFLAGS="-DMKL_ILP64 -m64 -fPIC -I$MKLROOT/include" \&lt;BR /&gt;LDFLAGS=" -m64 -L${MKLROOT}/lib -lmkl_scalapack_ilp64 -Wl,--no-as-needed -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_ilp64 -liomp5 -lpthread -lm -ldl" \&lt;BR /&gt;--enable-mpi \&lt;BR /&gt;CXX=mpicxx \&lt;BR /&gt;CC=mpicc \&lt;BR /&gt;F77=mpif77 \&lt;BR /&gt;--enable-stokhos \&lt;BR /&gt;--enable-amesos2 \&lt;BR /&gt;--prefix=$HOME/XyceInstall/Parallel \&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 16:01:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/link-line-advisor-for-pardiso-solver/m-p/1588084#M36012</guid>
      <dc:creator>eddywu</dc:creator>
      <dc:date>2024-04-10T16:01:30Z</dc:date>
    </item>
  </channel>
</rss>

