<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Wadud,<br>
<br>
For most (but not all) MPI implementations you wouldn't even need
to use mpirun. You can just launch the program like you normally
would with ./app.exe and the MPI library will assume that it is
operating in a single-process environment.<br>
<br>
-Phil<br>
<br>
On 12/14/2016 11:02 AM, Wadud Miah wrote:<br>
</div>
<blockquote
cite="mid:AM4PR0501MB2707E9313A1011E70B796BDAC09A0@AM4PR0501MB2707.eurprd05.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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-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.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
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.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]-->
<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">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?<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">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
style="color:windowtext;mso-fareast-language:EN-GB"
lang="EN-US">From:</span></b><span
style="color:windowtext;mso-fareast-language:EN-GB"
lang="EN-US"> Shane Snyder [<a class="moz-txt-link-freetext" 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 class="moz-txt-link-rfc2396E" href="mailto:wadud.miah@nag.co.uk"><wadud.miah@nag.co.uk></a>;
<a class="moz-txt-link-abbreviated" 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<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>
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<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 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" style="text-align:center"
align="center"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;mso-fareast-language:EN-GB">
<hr align="center" size="2" width="100%">
</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" style="text-align:center"
align="center"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;mso-fareast-language:EN-GB">
<hr align="center" size="2" width="100%">
</span></div>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;mso-fareast-language:EN-GB"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Darshan-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Darshan-users@lists.mcs.anl.gov">Darshan-users@lists.mcs.anl.gov</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" 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;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%">
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Darshan-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Darshan-users@lists.mcs.anl.gov">Darshan-users@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/darshan-users">https://lists.mcs.anl.gov/mailman/listinfo/darshan-users</a>
</pre>
</blockquote>
<p><br>
</p>
</body>
</html>