<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Jiri,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
For some background, Darshan enforces some internal memory limits to avoid ballooning memory usage at runtime. Specifically, all of our instrumentation modules should pre-allocate file records for up to 1,024 files opened by the app -- if your app opens more
 than 1,024 files per-process, Darshan stops instrumenting and issues those warning messages when parsing the log file.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We have users hit this issue pretty frequently now, and we actually just wrapped up development of some new mechanisms to help out with this. They were just merged into our main branch, and we will be formally releasing a pre-release version of this code in
 the next week or so. For the time being, you should be able to use the 'main' branch of our repo (<a href="https://github.com/darshan-hpc/darshan" id="LPNoLPOWALinkPreview">https://github.com/darshan-hpc/darshan</a>) to leverage this new functionality.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
There are 2 new mechanisms that can help out, both of which require you to provide a configuration file to Darshan at runtime:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<ul style="list-style-position: inside;">
<li>MAX_RECORDS setting can be used to bump up the number of pre-allocated records for different modules. In your case, you might try to bump up the default number of records for the POSIX, MPI-IO, and STDIO modules  by setting something like this in your config
 file (this would allow you to instrument up to 4000 files per-process for each of these modules):</li><ul>
<li>MAX_RECORDS    4000    POSIX,MPI-IO,STDIO</li></ul>
<li>An alternative (or complementary) approach to bumping up the record limit is to limit instrumentation to particular files. You can use the NAME_EXCLUDE setting to avoid instrumenting specific directory paths, file extensions, etc by specifying regular expressions.
 E.g, the following settings would avoid instrumenting files with .so prefixes or files located in a directory we don't care about for all modules (* denotes all modules):</li><ul>
<li>NAME_EXCLUDE    .so$    *</li><li>NAME_EXCLUDE    ^/path/to/avoid    *</li></ul>
</ul>
<div>I'm attaching the updated runtime documentation for Darshan for your reference. Section 8 provides a ton of details on how to provide a config file to Darshan that should help clear up any missing gaps in my description above.</div>
<div><br>
</div>
<div>Please let us know if you have any further questions or issues, though!</div>
<div><br>
</div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
--Shane<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Darshan-users <darshan-users-bounces@lists.mcs.anl.gov> on behalf of Jiří Nádvorník <nadvornik.ji@gmail.com><br>
<b>Sent:</b> Sunday, April 24, 2022 3:00 PM<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov <darshan-users@lists.mcs.anl.gov><br>
<b>Subject:</b> [Darshan-users] Module contains incomplete data</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I just tried out Darshan and the potential output seems perfect for my HDF5 MPI application! Although I'm not able to get there :(.</div>
<div><br>
</div>
<div>I have a log that has a big stamp "This darshan log contains incomplete data".</div>
<div><br>
</div>
<div>When I run:</div>
<div>darshan-parser --show-incomplete  mylog.darshan |grep incomplete<br>
</div>
<div>Output is:</div>
<div># *WARNING*: The POSIX module contains incomplete data!<br>
# *WARNING*: The MPI-IO module contains incomplete data!<br>
# *WARNING*: The STDIO module contains incomplete data!<br>
</div>
<div><br>
</div>
<div>Would you be able to point me to some setting that would improve the measurements? Can I actually rely on the profiling results if it says the data is incomplete in some of the categories?</div>
<div><br>
</div>
<div>Thank you very much for your help!</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Jiri</div>
<div><br>
</div>
</div>
</div>
</body>
</html>