<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
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;
        mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.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;
        mso-fareast-language:EN-US;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {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]-->
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Hi Shane,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">that worked perfectly fine. Thanks for your quick help and assistance.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Wadud.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><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;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB"> Shane Snyder [mailto:ssnyder@mcs.anl.gov]
<br>
<b>Sent:</b> 14 December 2016 16:10<br>
<b>To:</b> Wadud Miah <wadud.miah@nag.co.uk>; darshan-users@lists.mcs.anl.gov<br>
<b>Subject:</b> Re: [Darshan-users] Darshan I/O profiling of sequential code<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Yes, adding MPI_INIT & MPI_FINALIZE to your code should allow you to generate Darshan logs fine. Let us know if you have any issues.<br>
<br>
--Shane<span style="font-size:12.0pt;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<div>
<p class="MsoNormal">On 12/14/2016 10:02 AM, Wadud Miah wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:windowtext">Hi Shane,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Thanks for the quick reply. I will probably just enclose the sequential code using MPI_INIT() and MPI_FINALIZE() and execute it using mpirun -n 1 ./app.exe. Do you think that will work?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Regards,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">Wadud.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></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;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB"> Shane Snyder [<a href="mailto:ssnyder@mcs.anl.gov">mailto:ssnyder@mcs.anl.gov</a>]
<br>
<b>Sent:</b> 14 December 2016 15:57<br>
<b>To:</b> Wadud Miah <a href="mailto:wadud.miah@nag.co.uk"><wadud.miah@nag.co.uk></a>;
<a href="mailto:darshan-users@lists.mcs.anl.gov">darshan-users@lists.mcs.anl.gov</a><br>
<b>Subject:</b> Re: [Darshan-users] Darshan I/O profiling of sequential code</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Wadud,<br>
<br>
Right now, Darshan can only instrument MPI applications. It intercepts MPI_Init and MPI_Finalize to initialize itself and to produce the output log file, respectively. It also uses MPI communication and I/O operations at shutdown time to aggregate data across
 all processes and write to the log file. Breaking the MPI dependencies isn't exactly straightforward, but we have at least been thinking about how to extend Darshan to non-MPI codes. Recent changes to the architecture have been a step in the right direction
 but there's still work to do to get us all the way there.<br>
<br>
We will continue to think about this and will certainly keep the mailing list updated with any progress we make.<br>
<br>
Thanks,<br>
--Shane<o:p></o:p></p>
<div>
<p class="MsoNormal">On 12/14/2016 09:35 AM, Wadud Miah wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I have built Darshan using Intel MPI (2017) and would like to profile a sequential code using Darshan. I have used the same Darshan library to profile an MPI code it works fine. I execute the following command line for a sequential code
 :<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">$ export DARSHAN_LOGPATH=.<o:p></o:p></p>
<p class="MsoNormal">$ LD_PRELOAD=/home/pr1ebt00/pr1ebt05/darshan-3.1.2-impi/lib/libdarshan.so ~/gbmoldd/utilities/joinfiles.exe<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">but it doesn’t create any Darshan output file. Do you know if I can profile sequential codes using Darshan? If so, how can I do this?
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Wadud.<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">-----------------------------------</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Dr. Wadud Miah</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Computational Scientist</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">Numerical Algorithms Group</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB">01865 518035</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></div>
<p>The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:<o:p></o:p></p>
<p>Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>This e-mail has been scanned for all viruses by Microsoft Office 365. <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
</span><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"><span style="font-size:12.0pt"><br>
<br>
________________________________________________________________________<br>
This e-mail has been scanned for all viruses by Star.<br>
________________________________________________________________________</span><o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-GB">
<hr size="2" width="100%" align="center">
</span></div>
<p>The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:<o:p></o:p></p>
<p>Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.<o:p></o:p></p>
<p> <o:p></o:p></p>
<p>This e-mail has been scanned for all viruses by Microsoft Office 365. <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-GB">
<hr size="2" width="100%" align="center">
</span></div>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;mso-fareast-language:EN-GB"><br>
<br>
________________________________________________________________________<br>
This e-mail has been scanned for all viruses by Star.<br>
________________________________________________________________________<o:p></o:p></span></p>
</div>
<hr width="100%">
<p>The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is:</p>
<p>Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.</p>
<p> </p>
<p>This e-mail has been scanned for all viruses by Microsoft Office 365. </p>
<hr width="100%">
</body>
</html>