<?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 How to suppress LAMMPS output from all but rank 0 when using Intel MPI? in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-suppress-LAMMPS-output-from-all-but-rank-0-when-using/m-p/1690001#M12146</link>
    <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I am running LAMMPS using OpenMPI on both AMD and Intel CPUs.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;When I run LAMMPS on an AMD system using `mpirun` built with AOCC, the screen output only shows messages from rank 0, which is convenient.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;However, when I run LAMMPS on an Intel CPU using `mpirun` from Intel oneAPI (Intel MPI), the output includes messages from **all ranks**, making it difficult to monitor the simulation status.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Is there a way to configure `mpirun` or Intel MPI so that only rank 0 prints output to the screen (as OpenMPI+AOCC seems to do by default)?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Thu, 15 May 2025 04:37:51 GMT</pubDate>
    <dc:creator>ppk1</dc:creator>
    <dc:date>2025-05-15T04:37:51Z</dc:date>
    <item>
      <title>How to suppress LAMMPS output from all but rank 0 when using Intel MPI?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-suppress-LAMMPS-output-from-all-but-rank-0-when-using/m-p/1690001#M12146</link>
      <description>&lt;P class=""&gt;Hello everyone,&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I am running LAMMPS using OpenMPI on both AMD and Intel CPUs.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;When I run LAMMPS on an AMD system using `mpirun` built with AOCC, the screen output only shows messages from rank 0, which is convenient.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;However, when I run LAMMPS on an Intel CPU using `mpirun` from Intel oneAPI (Intel MPI), the output includes messages from **all ranks**, making it difficult to monitor the simulation status.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Is there a way to configure `mpirun` or Intel MPI so that only rank 0 prints output to the screen (as OpenMPI+AOCC seems to do by default)?&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 04:37:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-suppress-LAMMPS-output-from-all-but-rank-0-when-using/m-p/1690001#M12146</guid>
      <dc:creator>ppk1</dc:creator>
      <dc:date>2025-05-15T04:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to suppress LAMMPS output from all but rank 0 when using Intel MPI?</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/How-to-suppress-LAMMPS-output-from-all-but-rank-0-when-using/m-p/1690036#M12148</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/426460"&gt;@ppk1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I am not sure if I understand what you are trying to archive. You can use:&lt;/P&gt;
&lt;P&gt;-outfile-pattern &amp;lt;file&amp;gt;&lt;BR /&gt;Use this option to redirect stdout to the specified file.&lt;/P&gt;
&lt;P&gt;-errfile-pattern &amp;lt;file&amp;gt;&lt;BR /&gt;Use this option to redirect stderr to the specified file.&lt;BR /&gt;&lt;BR /&gt;e.g. -outfile-patter %r_out&lt;BR /&gt;to generate a separate outputfile (#rank_out in this example) for each rank.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please give some example of what is exactly different?&lt;/P&gt;</description>
      <pubDate>Thu, 15 May 2025 07:20:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/How-to-suppress-LAMMPS-output-from-all-but-rank-0-when-using/m-p/1690036#M12148</guid>
      <dc:creator>TobiasK</dc:creator>
      <dc:date>2025-05-15T07:20:02Z</dc:date>
    </item>
  </channel>
</rss>

