<?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: Re:ifx: missing clang_rt.msan to link Fortran program in debug build type in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534312#M168668</link>
    <description>&lt;P&gt;I will try to minimize it and post it later.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 19:53:10 GMT</pubDate>
    <dc:creator>MehdiChinoune</dc:creator>
    <dc:date>2023-10-16T19:53:10Z</dc:date>
    <item>
      <title>ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533430#M168622</link>
      <description>&lt;P&gt;Since approximately 4 months my project started failing with debug build type:&lt;/P&gt;&lt;LI-CODE lang="none"&gt;[38/40] Linking Fortran shared library src/libtdcs_e_2e.so
FAILED: src/libtdcs_e_2e.so 
: &amp;amp;&amp;amp; /opt/intel/oneapi/compiler/2023.2.1/linux/bin/ifx -fPIC -warn all -stand f18 -standard-semantics -xHost -g -check all -fpe-all=0 -traceback -ipo  -ipo -shared -nofor-main -Wl,-soname,libtdcs_e_2e.so -o src/libtdcs_e_2e.so src/CMakeFiles/tdcs_e_2e.dir/conhyp.F90.o src/CMakeFiles/tdcs_e_2e.dir/conhyp_h.F90.o src/CMakeFiles/tdcs_e_2e.dir/constants.F90.o src/CMakeFiles/tdcs_e_2e.dir/fdcs_e2e.F90.o src/CMakeFiles/tdcs_e_2e.dir/fdcs_e2e_h.F90.o src/CMakeFiles/tdcs_e_2e.dir/input.F90.o src/CMakeFiles/tdcs_e_2e.dir/input_h.F90.o src/CMakeFiles/tdcs_e_2e.dir/integration.F90.o src/CMakeFiles/tdcs_e_2e.dir/integration_h.F90.o src/CMakeFiles/tdcs_e_2e.dir/special_functions.F90.o src/CMakeFiles/tdcs_e_2e.dir/special_functions_h.F90.o src/CMakeFiles/tdcs_e_2e.dir/trigo.F90.o src/CMakeFiles/tdcs_e_2e.dir/trigo_h.F90.o src/CMakeFiles/tdcs_e_2e.dir/utils.F90.o src/CMakeFiles/tdcs_e_2e.dir/utils_h.F90.o   &amp;amp;&amp;amp; :
ifx: warning #10182: disabling optimization; runtime debug checks enabled
ld: cannot find -lclang_rt.msan: No such file or directory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 09:47:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533430#M168622</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-13T09:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533487#M168624</link>
      <description>&lt;P&gt;"-check all" includes "-check uninit". WIth ifx 2023.2.x "-check uninit" is enabled for the first time. "-check uninit" did nothing in earlier versions.&lt;/P&gt;
&lt;P&gt;Do you have the HPC Toolkit installed? The toolkit includes the msan (LLVM memory sanitizer) libraries you need. If not, do that and try again.&lt;/P&gt;
&lt;P&gt;If you have the HPC Toolkit installed, please run "echo $LIBRARY_PATH" and report it here.&lt;/P&gt;
&lt;P&gt;If you are blocked from developing, "-check all,nouninit" is a workaround for you while we determine what the issue is in your environment.&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>Fri, 13 Oct 2023 14:41:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533487#M168624</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-10-13T14:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533512#M168627</link>
      <description>&lt;P&gt;Yes, I am using HPC Toolkit through APT by installing&lt;/P&gt;&lt;LI-CODE lang="none"&gt;$ wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB \
            | gpg --dearmor | sudo tee /usr/share/keyrings/oneapi-archive-keyring.gpg &amp;gt; /dev/null
$ echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | sudo tee /etc/apt/sources.list.d/oneAPI.list
$ sudo apt update
$ sudo apt install --no-install-recommends -y intel-oneapi-compiler-fortran
$ source /opt/intel/oneapi/setvars.sh&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;echo $LIBRARY_PATH:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;/opt/intel/oneapi/mpi/2021.10.0//libfabric/lib:/opt/intel/oneapi/mpi/2021.10.0//lib/release:/opt/intel/oneapi/mpi/2021.10.0//lib:/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin:/opt/intel/oneapi/compiler/2023.2.1/linux/lib&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 15:22:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533512#M168627</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-13T15:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533634#M168635</link>
      <description>&lt;P&gt;Thanks for the information!&lt;/P&gt;
&lt;P&gt;I checked with the compiler developer who works on the uninitialized variable feature. He suggests removing&amp;nbsp;&lt;SPAN&gt;/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin from LIBRARY_PATH. There is a known issue that might be related to what you are seeing.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please let me know how that works for you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 19:48:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533634#M168635</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-10-13T19:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533762#M168639</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Removing&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin from LIBRARY_PATH (andLD_LIBRARY_PATH) doesn't fix the issue.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Oct 2023 04:02:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1533762#M168639</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-14T04:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534151#M168655</link>
      <description>&lt;P&gt;Okay...&lt;/P&gt;
&lt;P&gt;Can you please post a reproducer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 14:04:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534151#M168655</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-10-16T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534174#M168659</link>
      <description>&lt;P&gt;This is my project&amp;nbsp;&lt;A href="https://github.com/MehdiChinoune/tdcs-e-2e" target="_blank"&gt;https://github.com/MehdiChinoune/tdcs-e-2e&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It uses CMake as a buildsystem.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 15:11:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534174#M168659</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-16T15:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534189#M168660</link>
      <description>&lt;P&gt;What OS are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 15:52:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534189#M168660</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-10-16T15:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534224#M168666</link>
      <description>&lt;P&gt;Ubuntu 22.04 through GitHub Actions.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 16:48:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534224#M168666</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-16T16:48:29Z</dc:date>
    </item>
    <item>
      <title>Re:ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534268#M168667</link>
      <description>&lt;P&gt;Thank you for the OS info.&lt;/P&gt;&lt;P&gt;I should have been more specific. Do you have a minimal reproducer? For example, do you have the same linker problem with a "Hello World" program?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Oct 2023 18:51:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534268#M168667</guid>
      <dc:creator>Barbara_P_Intel</dc:creator>
      <dc:date>2023-10-16T18:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Re:ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534312#M168668</link>
      <description>&lt;P&gt;I will try to minimize it and post it later.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 19:53:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1534312#M168668</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-16T19:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1536327#M168784</link>
      <description>&lt;P&gt;A minimal reproducer:&lt;/P&gt;&lt;P&gt;main.f90&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt;program test
  print*, "Hello"
end program&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="none"&gt;$ echo "${LIBRARY_PATH}"
/opt/intel/oneapi/mpi/2021.10.0//libfabric/lib:/opt/intel/oneapi/mpi/2021.10.0//lib/release:/opt/intel/oneapi/mpi/2021.10.0//lib:/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin:/opt/intel/oneapi/compiler/2023.2.1/linux/lib
$ LIBRARY_PATH="${LIBRARY_PATH/"/opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64
_lin"/}"
$ echo "${LIBRARY_PATH}"
/opt/intel/oneapi/mpi/2021.10.0//libfabric/lib:/opt/intel/oneapi/mpi/2021.10.0//lib/release:/opt/intel/oneapi/mpi/2021.10.0//lib::/opt/intel/oneapi/compiler/2023.2.1/linux/lib
$ ifx -check all  main.f90
ld: cannot find /opt/intel/oneapi/compiler/2023.2.1/linux/compiler/lib/intel64_lin/msan/for_main.o: No such file or directory
ld: cannot find -lclang_rt.msan: No such file or directory&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 12:12:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1536327#M168784</guid>
      <dc:creator>MehdiChinoune</dc:creator>
      <dc:date>2023-10-23T12:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: ifx: missing clang_rt.msan to link Fortran program in debug build type</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1536555#M168791</link>
      <description>&lt;P&gt;-check all,nouninit&lt;/P&gt;
&lt;P&gt;does fix the problem, correct?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately the memory sanitizer files needed by ifx were packaged with our C++ compiler.&amp;nbsp; If you install the dpc++/c++ compiler this will also fix the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A point to keep in mind - if your application uses external libraries, like MKL or NetCDF, HDF5, Lapack, etc those libraries will have to be built with -check uninit or -fsanitize=memory with icx.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Probably easier to disable uninit for now.&amp;nbsp; Even the 2024.0 version to be released soon has memory sanitizer problems.&amp;nbsp; We have a redesign going into 2024.1, but that release is in the first quarter of 2024.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These new technologies are painful.&amp;nbsp; but eventually we'll get it right.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2023 21:20:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ifx-missing-clang-rt-msan-to-link-Fortran-program-in-debug-build/m-p/1536555#M168791</guid>
      <dc:creator>Ron_Green</dc:creator>
      <dc:date>2023-10-23T21:20:12Z</dc:date>
    </item>
  </channel>
</rss>

