<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
One thing you can check is setting <code>DARSHAN_INTERNAL_TIMING=1</code> in your environment — this will make Darshan print out a little bit of internal library timing information at initialize/finalize time which could give us a better clue about how far
Darshan is getting.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Just guessing, but is it possible the job isn't calling <code>MPI_Finalize()</code>? That's when Darshan generates the log file for MPI applications. Usually, I would expect some sort of warning message if the app
<i>does </i>call <code>MPI_Finalize()</code> and Darshan doesn't succeed in generating the log file. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Using <code>LD_PRELOAD</code> is also usually pretty fail-safe in terms of ensuring Darshan properly intercepts what the app is doing. That said, is it possible the app is somehow statically linking the MPI library? You could run
<code>ldd <wrf_executable_path></code> and ensure that you see libmpi.so listed? That would confirm MPI is linked dynamically which would theoretically be easy to instrument using
<code>LD_PRELOAD</code> the way you are.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
--Shane</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 Wadud Miah <wadud.miah@ku.ac.ae><br>
<b>Sent:</b> Thursday, November 14, 2024 11:34 PM<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov <darshan-users@lists.mcs.anl.gov><br>
<b>Subject:</b> [Darshan-users] Darshan trace file not created for WRF</font>
<div> </div>
</div>
<div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; height:0px; max-height:0px; opacity:0; overflow:hidden">
Hi, I am trying to profile the I/O of WRF and have the following settings: export DARSHAN_LOGPATH=/home/miahw/WRF_WADUD_PRE-COMPILED LD_PRELOAD=/home/miahw/openmpi-4. 1-darshan-3. 4. 5/lib/libdarshan. so mpirun -n $SLURM_NTASKS /apps/ku/gcc-9_4/openmpi-4_1/wrf/4. 0/WRF/run/wrf. exe</div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerStart</div>
<div dir="ltr" id="x_pfptBannerdazsms7" style="display:block!important; text-align:left!important; margin:16px 0px 16px 0px!important; padding:8px 16px 8px 16px!important; border-radius:4px!important; min-width:200px!important; background-color:#D0D8DC!important; background-color:#D0D8DC; border-top:4px solid #90a4ae!important; border-top:4px solid #90a4ae">
<div id="x_pfptBannerdazsms7" style="float:left!important; display:block!important; margin:0px 0px 1px 0px!important; max-width:600px!important">
<div id="x_pfptBannerdazsms7" style="display:block!important; visibility:visible!important; background-color:#D0D8DC!important; color:#000000!important; color:#000000; font-family:'Arial',sans-serif!important; font-family:'Arial',sans-serif; font-weight:bold!important; font-weight:bold; font-size:14px!important; line-height:18px!important; line-height:18px">
This Message Is From an External Sender </div>
<div id="x_pfptBannerdazsms7" style="display:block!important; visibility:visible!important; background-color:#D0D8DC!important; color:#000000!important; color:#000000; font-weight:normal; font-family:'Arial',sans-serif!important; font-family:'Arial',sans-serif; font-size:12px!important; line-height:18px!important; line-height:18px; margin-top:2px!important">
This message came from outside your organization. </div>
</div>
<div style="clear:both!important; display:block!important; visibility:hidden!important; line-height:0!important; font-size:0.01px!important; height:0px">
</div>
</div>
<div style="display:none!important; display:none; visibility:hidden; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; opacity:0; overflow:hidden">
ZjQcmQRYFpfptBannerEnd</div>
<style>
<!--
#x_pfptBannerdazsms7
{display:block!important;
visibility:visible!important;
opacity:1!important;
background-color:#D0D8DC!important;
max-width:none!important;
max-height:none!important}
-->
</style>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:Aptos}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif}
span.x_EmailStyle17
{font-family:"Aptos",sans-serif;
color:windowtext}
p.x_signature365-kklz5nd0, li.x_signature365-kklz5nd0, div.x_signature365-kklz5nd0
{margin:0cm;
font-size:12.0pt;
font-family:"Aptos",sans-serif;
color:black}
.x_MsoChpDefault
{font-size:11.0pt}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div class="x_WordSection1">
<p class="x_MsoNormal">Hi,</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">I am trying to profile the I/O of WRF and have the following settings:</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">export DARSHAN_LOGPATH=/home/miahw/WRF_WADUD_PRE-COMPILED</p>
<p class="x_MsoNormal">LD_PRELOAD=/home/miahw/openmpi-4.1-darshan-3.4.5/lib/libdarshan.so mpirun -n $SLURM_NTASKS /apps/ku/gcc-9_4/openmpi-4_1/wrf/4.0/WRF/run/wrf.exe</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">However, no trace file gets created and the job stdout and stderr does not contain any Darshan warning/error messages. Can anyone suggest a way to increase debug level to investigate this further?
</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Regards,</p>
<p class="x_MsoNormal"> </p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:0cm 0cm 0cm 0cm">
<div id="x_signature-365-signature">
<div>
<div>
<p class="x_signature365-kklz5nd0"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span></p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="709" style="width:531.75pt; border-collapse:collapse; float:left">
<tbody>
<tr style="height:46.2pt">
<td width="707" style="width:530.4pt; padding:0cm 0cm 0cm 0cm; height:46.2pt">
<p class="x_signature365-kklz5nd0"><b><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">Dr. Wadud Miah</span></b><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><br>
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">Scientific Computing Support Senior Specialist</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><br>
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">Scientific Computing Support</span></p>
</td>
</tr>
<tr>
<td width="707" style="width:530.4pt; padding:0cm 0cm 0cm 0cm">
<p class="x_signature365-kklz5nd0"><b><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span></b></p>
</td>
</tr>
</tbody>
</table>
<p class="x_signature365-kklz5nd0"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; display:none"> </span></p>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="709" style="width:531.75pt; border-collapse:collapse; float:left">
<tbody>
<tr style="height:46.2pt">
<td width="160" style="width:119.8pt; padding:0cm 0cm 0cm 0cm; height:46.2pt">
<p class="x_signature365-kklz5nd0"><b><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><img width="139" height="32" id="x_Picture_x0020_1" style="width:1.4479in; height:.3333in" data-outlook-trace="F:1|T:1" src="cid:image001.png@01DB373F.CF33FE00"></span></b></p>
</td>
<td width="1" style="width:.75pt; border:none; border-left:solid #2559A1 1.5pt; padding:0cm 0cm 0cm 0cm; height:46.2pt">
<p class="x_signature365-kklz5nd0"><span style="font-size:10.0pt"> </span></p>
</td>
<td width="184" style="width:138.05pt; padding:0cm 0cm 0cm 0cm; height:46.2pt">
<p class="x_signature365-kklz5nd0"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">wadud.miah@ku.ac.ae</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><br>
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">T : +971 2 312 5531</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><br>
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"> </span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
<a href="https://urldefense.us/v3/__http://www.ku.ac.ae/__;!!G_uCfscf7eWS!aYrOJexVEUI_aBsvJBX359JyrV6pDqJPV7BOfA-ksBygzTWbJSaXmwo9oLuAmmNwnmRmzbgv0pPylKnEHmW-3ITcXISP6DeL$">
<span style="color:#2559A1">ku.ac.ae</span></a></span></p>
</td>
<td width="358" style="width:268.55pt; padding:0cm 0cm 0cm 0cm; height:46.2pt">
<p class="x_signature365-kklz5nd0"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">PO. Box 127788,</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">Abu Dhabi, UAE</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><br>
</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1">Khalifa University</span><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1"><br>
</span><a href="https://urldefense.us/v3/__http://www.ku.ac.ae/social__;!!G_uCfscf7eWS!aYrOJexVEUI_aBsvJBX359JyrV6pDqJPV7BOfA-ksBygzTWbJSaXmwo9oLuAmmNwnmRmzbgv0pPylKnEHmW-3ITcXJTLlL2k$" target="_blank" title="SocialMedia_Links"><span style="font-size:10.0pt; font-family:"Calibri",sans-serif; color:#2559A1; text-decoration:none"><img border="0" width="131" height="19" id="x_Picture_x0020_2" style="width:1.3645in; height:.1979in" data-outlook-trace="F:1|T:1" src="cid:image002.png@01DB373F.CF33FE00"></span></a></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<p class="x_signature365-kklz5nd0"> </p>
<div>
<table class="x_MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="752" style="width:564.0pt; border-collapse:collapse">
<tbody>
<tr>
<td width="100%" style="width:100.0%; padding:.75pt .75pt .75pt .75pt">
<p class="x_signature365-kklz5nd0"><b><span style="font-size:8.0pt; color:#737373">"Disclaimer</span></b><span style="font-size:8.0pt; color:#737373">: This email and any attachments are intended solely for the use of the recipient(s) and may contain confidential
or legally privileged information. If you are not the intended recipient, please notify the sender immediately and delete this email. Any unauthorized review, use, or distribution is prohibited. The views expressed in this email are those of the sender and
may not reflect the official policies or position of Khalifa University of Science and Technology."</span></p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>