<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks Sandra! I updated our svn repository so that this fix will
go out with our next release.<br>
<br>
-Phil<br>
<br>
On 05/02/2011 06:58 AM, <a class="moz-txt-link-abbreviated" href="mailto:8schroed@informatik.uni-hamburg.de">8schroed@informatik.uni-hamburg.de</a> wrote:
<blockquote
cite="mid:20110502125854.71kchi01a8s0ksw8@webmail.informatik.uni-hamburg.de"
type="cite">Hello,
<br>
<br>
I tried to run Darshan with Fortran. For testing I wrote a short
program which is using MPICH2 and MPI-I/O (see the attachment
hello-world-mpi.f90).
<br>
<br>
After compiling the code with Darshan and running the executable,
Darshan didn't generate a logfile. To find the cause I analysed
the Mapfile "$tmpfile" which is created with the build. The main
interesting part in this file shows the symbols of MPI-functions:
<br>
<br>
0x0000000000400b58 mpi_comm_rank_
<br>
0x0000000000400b68 mpi_file_close_
<br>
0x0000000000400b78 mpi_file_open_
<br>
<br>
....
<br>
<br>
0x0000000000400bd8 mpi_file_write_
<br>
0x0000000000400be8 mpi_init_
<br>
0x0000000000400bf8 mpi_finalize_
<br>
0x0000000000400c08 mpi_comm_size_
<br>
<br>
But in mpif90 (of Darshan) the "grep"-command in line 84 is
searching for "MPI" in upper case even though "MPI" is written in
lower case in the Mapfile:
<br>
<br>
grep MPI $tmpfile
<br>
<br>
As a result the script "mpif90" of MPICH2 is executed instead of
Darshan, because "grep" sent an exitcode equal 1. By adding the
"-i" option, "grep" ignores case distinctions and the exit code is
equal 0. Now mpif90 of Darshan will be used and after running the
program there is a logfile in the log directory.
<br>
<br>
Please take note of this bug and fix it in your Darshan-mpif90 to
avoid the problem of case sensitivity.
<br>
<br>
Best regards,
<br>
<br>
Sandra
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>