<?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: How get intel libraries on linux path so users can run programs without running setvars.sh? in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661561#M174954</link>
    <description>&lt;P&gt;You can put the bin paths into /etc/profile and /etc/bashrc. You can then put the location of the library directories for each one, e.g. compiler, mkl etc. into /etc/ld.so.conf.d directory.....you can create a file oneapi.conf file and list the directory paths in each line.After doing "ldconfig" and relogin everything should be available. When updates occur you need to modify these paths.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 14:53:17 GMT</pubDate>
    <dc:creator>Umar__Sait</dc:creator>
    <dc:date>2025-01-29T14:53:17Z</dc:date>
    <item>
      <title>How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661515#M174951</link>
      <description>&lt;P&gt;I'm using OneAPi compilers installed on Ubuntu using APT as per the standard instructions. I have successfully build a program which uses the mkl and iomp libraries. However, I cannot run these programs (without sourcing setvars.sh) as the intel libraries are not in the path. What are the recommended steps for allowing all users on the system to be able to run the programs?&lt;BR /&gt;&lt;BR /&gt;I tried adding source /opt/intel/oneapi/setvars.sh to a script in /etc/profile.d but this sets variables which interfere with gcc and is not acceptable. What is the best and most robust way to adjust my system so all users can run the programs created with the intel compiler suite and libraries?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 10:50:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661515#M174951</guid>
      <dc:creator>crobar</dc:creator>
      <dc:date>2025-01-29T10:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661546#M174952</link>
      <description>&lt;P&gt;I would advise using the "environment modules" mechanism &lt;A href="https://modules.sourceforge.net/" target="_blank"&gt;(https://modules.sourceforge.net/&lt;/A&gt;).&amp;nbsp; This allows users to dynamically modify their shell and library paths using the commands "module load", "module unload" etc.&amp;nbsp; The Intel installation provides a script &lt;SPAN&gt;modulefiles-setup.sh to create to create the entries for the oneAPI toolset.&amp;nbsp; You should be able to install environment modules itself via APT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 14:21:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661546#M174952</guid>
      <dc:creator>Keith_R_1</dc:creator>
      <dc:date>2025-01-29T14:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661561#M174954</link>
      <description>&lt;P&gt;You can put the bin paths into /etc/profile and /etc/bashrc. You can then put the location of the library directories for each one, e.g. compiler, mkl etc. into /etc/ld.so.conf.d directory.....you can create a file oneapi.conf file and list the directory paths in each line.After doing "ldconfig" and relogin everything should be available. When updates occur you need to modify these paths.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 14:53:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661561#M174954</guid>
      <dc:creator>Umar__Sait</dc:creator>
      <dc:date>2025-01-29T14:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661764#M174958</link>
      <description>&lt;P&gt;So installing dedicated software just to get the paths isn't really something I want to do, and I also don't want the actual users of the software to have to worry about this once I've installed it. It should 'just work' for them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seem that setting the paths manually in /etc/ld.so.conf.d seems like it might be the best way. The docs say there are symlinks in the 'latest' folder that always point to the latest version, so I think I need to add the following. What else might I need to add?&lt;/P&gt;&lt;P&gt;/opt/intel/oneapi/tbb/latest/lib/intel64/gcc4.8&lt;BR /&gt;/opt/intel/oneapi/mkl/latest/lib/intel64&lt;BR /&gt;/opt/intel/oneapi/mpi/latest/lib/release&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find it a bit disappointing that this presumably basic and common need is not really addressed anywhere, but maybe I have missed it in the documentation (I've not been super thorough)? I did wonder if the config option for setvars might be useful?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 07:15:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661764#M174958</guid>
      <dc:creator>crobar</dc:creator>
      <dc:date>2025-01-30T07:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661804#M174959</link>
      <description>&lt;P&gt;Your problem is running a program? It seems it is redistributable packages that need to be installed on the target machine to make the runtime dynamic libraries available?? The setvars is to establish a build environment.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 10:07:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661804#M174959</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2025-01-30T10:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661807#M174960</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/66560"&gt;@andrew_4619&lt;/a&gt; great you have a solution, could you point me to the Linux&amp;nbsp;&lt;SPAN&gt;redistributable packages and the instructions for installing them please?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 10:15:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661807#M174960</guid>
      <dc:creator>crobar</dc:creator>
      <dc:date>2025-01-30T10:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661814#M174961</link>
      <description>&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/tool/compilers-redistributable-libraries-by-version.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/tool/compilers-redistributable-libraries-by-version.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 12:33:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661814#M174961</guid>
      <dc:creator>andrew_4619</dc:creator>
      <dc:date>2025-01-30T12:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: How get intel libraries on linux path so users can run programs without running setvars.sh?</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661849#M174968</link>
      <description>&lt;P&gt;Instead of directly running the application, make a script that sources the setvars then runs your application. This script can also perform additional preparatory actions and post run actions as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 16:34:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/How-get-intel-libraries-on-linux-path-so-users-can-run-programs/m-p/1661849#M174968</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2025-01-30T16:34:47Z</dc:date>
    </item>
  </channel>
</rss>

