<?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 Hello Mike, in Intel® MPI Library</title>
    <link>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182707#M6734</link>
    <description>&lt;P&gt;Hello Mike,&lt;/P&gt;&lt;P&gt;I have also faced the same issue after setting the limits, for single-core its working fine but more than 2 its give me the same error,&amp;nbsp;there is no installation problem I guess.&lt;/P&gt;&lt;P&gt;We will get back to you after debugging it.&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 07:14:00 GMT</pubDate>
    <dc:creator>AbhishekD_Intel</dc:creator>
    <dc:date>2020-02-05T07:14:00Z</dc:date>
    <item>
      <title>IMPI Creates Large Files on Startup</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182706#M6733</link>
      <description>&lt;P&gt;Operating system and version: CentOS Linux release 7.5.1804&lt;BR /&gt;Intel MPI version: 2019.5.281&lt;BR /&gt;Compiler and version: 19.0.5.281&lt;BR /&gt;Fabric: Mellanox Technologies MT27500&lt;BR /&gt;Libfabric version: 1.7.2&lt;/P&gt;&lt;P&gt;I have a quick question regarding Intel MPI and large (&amp;gt; 1GB) files created by MPI at runtime. We maintain part of a large code and the standard test suite for this code imposes a limit on file size to keep the tests small. File size is restricted using "limit filesize 1024m" (csh), but I also tested with "limit -f 1024000" (BASH) with the same results. When I start mpirun for any code requesting more than a single core, I apparently exceed this filesize limit and the code crashes. A minimal example:&lt;/P&gt;
&lt;PRE class="brush:fortran; class-name:dark;"&gt;   program hello
   include 'mpif.h'
   integer rank, size, ierror, tag, status(MPI_STATUS_SIZE)

   call MPI_INIT(ierror)
   call MPI_COMM_SIZE(MPI_COMM_WORLD, size, ierror)
   call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierror)
   print*, 'node', rank, ': Hello world'
   call MPI_FINALIZE(ierror)
   end&lt;/PRE&gt;

&lt;P&gt;This runs fine when called as follows:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;#!/bin/bash
ulimit -f 1024000
nproc=1
mpirun -n $nproc -ppn $nproc ./mpi-test&lt;/PRE&gt;

&lt;P&gt;It also runs fine without the ulimit and with nproc increased, but crashes with the ulimit and nproc &amp;gt;= 2 with the following error:&lt;/P&gt;

&lt;PRE class="brush:bash; class-name:dark;"&gt;===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 0 PID 78358 RUNNING AT pc-beethoven.cluster
=   KILLED BY SIGNAL: 25 (File size limit exceeded)
===================================================================================

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   RANK 1 PID 78359 RUNNING AT pc-beethoven.cluster
=   KILLED BY SIGNAL: 9 (Killed)
===================================================================================
&lt;/PRE&gt;

&lt;P&gt;As this minimal example doesn't read or write any files, I guess the files must belong to mpirun. Is this "normal" behavior with IMPI (something I need to contact the main developers about), or does it indicate a problem with our IMPI installation?&lt;/P&gt;
&lt;P&gt;Thanks in advance for any help!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 14:17:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182706#M6733</guid>
      <dc:creator>Mike_D_6</dc:creator>
      <dc:date>2020-02-04T14:17:23Z</dc:date>
    </item>
    <item>
      <title>Hello Mike,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182707#M6734</link>
      <description>&lt;P&gt;Hello Mike,&lt;/P&gt;&lt;P&gt;I have also faced the same issue after setting the limits, for single-core its working fine but more than 2 its give me the same error,&amp;nbsp;there is no installation problem I guess.&lt;/P&gt;&lt;P&gt;We will get back to you after debugging it.&lt;/P&gt;&lt;P&gt;-Abhishek&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 07:14:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182707#M6734</guid>
      <dc:creator>AbhishekD_Intel</dc:creator>
      <dc:date>2020-02-05T07:14:00Z</dc:date>
    </item>
    <item>
      <title>Hello Abhishek,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182708#M6735</link>
      <description>&lt;P&gt;Hello Abhishek,&lt;/P&gt;&lt;P&gt;Thanks, that's good to know. In case it helps at all for comparison, the minimum value for "limit filesize" as a function of number of cores that we get for this example is:&lt;/P&gt;&lt;P&gt;1 core: limit filesize 2&lt;BR /&gt;2 cores: limit filesize 1661460&lt;BR /&gt;4 cores: limit filesize 1745940&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2020 13:27:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182708#M6735</guid>
      <dc:creator>Mike_D_6</dc:creator>
      <dc:date>2020-02-06T13:27:36Z</dc:date>
    </item>
    <item>
      <title>Hi Mike,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182709#M6736</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;The required filesize that you are observing is part of our shared memory fabric / user memory implementation and allocating a shared memory heap from /dev/shm. Therefore it actually works as intended.&lt;/P&gt;&lt;P&gt;You could theoretically disable it by switching off the shared memory implementation and also disabling the shared memory for user allocations.:&lt;/P&gt;&lt;P&gt;I_MPI_SHM=off&lt;/P&gt;&lt;P&gt;I_MPI_SHM_HEAP_VSIZE=0&lt;/P&gt;&lt;P&gt;However you would also loose shared memory communication performance.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 16:03:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182709#M6736</guid>
      <dc:creator>Michael_Intel</dc:creator>
      <dc:date>2020-02-11T16:03:36Z</dc:date>
    </item>
    <item>
      <title>Hi Michael,</title>
      <link>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182710#M6737</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;That makes sense, thanks a lot for looking into it! I'll inform the main developers of our code so that we can implement a workaround.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Mike&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 13:38:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-MPI-Library/IMPI-Creates-Large-Files-on-Startup/m-p/1182710#M6737</guid>
      <dc:creator>Mike_D_6</dc:creator>
      <dc:date>2020-02-12T13:38:12Z</dc:date>
    </item>
  </channel>
</rss>

