<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
p.style1, li.style1, div.style1
{mso-style-name:style1;
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Times New Roman",serif;
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<style type="text/css">.style1 {font-family: "Times New Roman";}</style></head><body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US">Hi Shane,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US">Yes, you are right that I am trying to profile a Fortran code. Thanks for letting me know about the pre-release. I will wait for it once it is released as I don’t have an urgent
need for it yet. Thanks for the quick resolution. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US">Wadud.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext">From:</span></b><span lang="EN-US" style="color:windowtext"> Darshan-users [mailto:darshan-users-bounces@lists.mcs.anl.gov]
<b>On Behalf Of </b>Shane Snyder<br>
<b>Sent:</b> 31 October 2017 16:36<br>
<b>To:</b> darshan-users@lists.mcs.anl.gov<br>
<b>Subject:</b> Re: [Darshan-users] Darshan not creating trace file and not complaining<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Wadud,<br>
<br>
It looks like you are trying to run one of the NAS benchmark codes, which I believe are Fortran programs, right?<br>
<br>
This is due to a known "issue" with OpenMPI2 where the Fortran bindings are calling PMPI_ routines directly, bypassing Darshan's use of the MPI profiling interface (PMPI). Basically, Darshan is unable to intercept any MPI calls, including MPI_Init/Finalize
which is where Darshan initializes its data structures and does the generation of the log file, respectively. No error is generated for the same reason: Darshan never initializes itself and doesn't think it should be instrumenting anything. If interested in
more details, check out this github issue: <a href="https://github.com/open-mpi/ompi/issues/3954">
https://github.com/open-mpi/ompi/issues/3954</a><br>
<br>
Ignoring the philosophical question of whether the "issue" here lies with the MPI implementation or tools that use the MPI profiling interface (this issue affects all PMPI tools, not just Darshan), we've actually spent some time developing a workaround for
this issue recently, so you are in luck!<br>
<br>
I have not gone through with making a pre-release version of Darshan with this workaround publicly available, though I really have been meaning to. I will definitely make sure to do that today, and will send an update to this mailing list when its ready so
you (and others) are aware. So, you have a couple of options:<br>
<br>
1.) Wait for that pre-release to come out later this afternoon, or<br>
2.) Check out the master branch of the Darshan git repo (<a href="https://xgitlab.cels.anl.gov/darshan/darshan">https://xgitlab.cels.anl.gov/darshan/darshan</a>)<br>
<br>
Either should resolve the issue, but be sure to let us know if not.<br>
<br>
Thanks,<br>
--Shane<o:p></o:p></p>
<div>
<p class="MsoNormal">On 10/31/2017 10:51 AM, Wadud Miah wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div id="divtagdefaultwrapper">
<p><span style="font-size:12.0pt">Hi everyone,<o:p></o:p></span></p>
<p><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt">I built Darshan 3.1.4 with OpenMPI 2.0.2 and gcc 7.2.1 using the following configure flags:<o:p></o:p></span></p>
<p><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt">./configure --with-mem-align=8 --with-log-path-by-env=DARSHAN_LOGPATH --with-jobid-env=NONE CC=mpicc --prefix=/usr/local/darshan-3.1.4-ompi<o:p></o:p></span></p>
<p><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt">I have also attached the config.log file. When I run my application with LD_PRELOAD, Darshan does not create any trace file and neither does it complain:<o:p></o:p></span></p>
<p><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">[miahw@bedale bin]$ export DARSHAN_LOGPATH=.<br>
[miahw@bedale bin]$ LD_PRELOAD=/usr/local/darshan-3.1.4-ompi/lib/libdarshan.so mpirun -n 4 ./bt.A.4.mpi_io_full
<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">[ ... lots of application output ... ]<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">[miahw@bedale bin]$ ls<br>
bt.A.4 bt.A.4.mpi_io_full btio.full.out inputbt.data<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">As you can see, there is no trace file in the current working directory. Any help will be greatly appreciated.
<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks in advance,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Wadud.<o:p></o:p></span></p>
</div>
<p><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div id="Signature">
<div id="divtagdefaultwrapper">
<p style="background:white"><span style="font-size:12.0pt">---------------------------------------<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:12.0pt">Dr. Wadud Miah<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:12.0pt">Numerical Algorithms Group<o:p></o:p></span></p>
<p style="background:white"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p style="background:white"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
<p><b><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#666666">Disclaimer</span></b><span style="font-size:10.0pt;font-family:"Verdana",sans-serif;color:#666666"><o:p></o:p></span></p>
<p><span style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#666666">The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford
OX2 8DR, United Kingdom.<br>
<br>
This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.<o:p></o:p></span></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Darshan-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Darshan-users@lists.mcs.anl.gov">Darshan-users@lists.mcs.anl.gov</a><o:p></o:p></pre>
<pre><a href="https://lists.mcs.anl.gov/mailman/listinfo/darshan-users">https://lists.mcs.anl.gov/mailman/listinfo/darshan-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br /><br /><p style="font-family: Verdana; font-size:10pt; color:#666666;"><b>Disclaimer</b></p><p style="font-family: Verdana; font-size:8pt; color:#666666;">The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.<br /><br />This e-mail has been scanned for all viruses and malware, and may have been automatically archived by Mimecast Ltd, an innovator in Software as a Service (SaaS) for business.</p></body></html>