<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
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 class="moz-txt-link-freetext" 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 class="moz-txt-link-freetext" 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<br>
<br>
<div class="moz-cite-prefix">On 10/31/2017 10:51 AM, Wadud Miah
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM4PR0501MB216110BBF49A164F62AD38A2C05E0@AM4PR0501MB2161.eurprd05.prod.outlook.com">
<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>
<style type="text/css">.style1 {font-family: "Times New Roman";}</style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p>Hi everyone,</p>
<p><br>
</p>
<p>I built Darshan 3.1.4 with OpenMPI 2.0.2 and gcc 7.2.1 using
the following configure flags:</p>
<p><br>
</p>
<p><span>./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</span></p>
<p><br>
</p>
<p>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:</p>
<p><br>
</p>
<div>[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
<br>
</div>
<div>[ ... lots of application output ... ]<br>
<div>[miahw@bedale bin]$ ls<br>
bt.A.4 bt.A.4.mpi_io_full btio.full.out inputbt.data<br>
</div>
<div><br>
</div>
<div>As you can see, there is no trace file in the current
working directory. Any help will be greatly appreciated.
<br>
</div>
</div>
<div><br>
</div>
<div>Thanks in advance,</div>
<div>Wadud.<br>
</div>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color:
rgb(0, 0, 0); background-color: rgb(255, 255, 255);
font-family:
Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple
Color Emoji","Segoe UI
Emoji",NotoColorEmoji,"Segoe UI
Symbol","Android Emoji",EmojiSymbols;">
<p>---------------------------------------<br>
</p>
<p>Dr. Wadud Miah</p>
<p>Numerical Algorithms Group</p>
<p><br>
</p>
<p><br>
</p>
</div>
</div>
</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>
<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>
<br>
</body>
</html>