[Darshan-users] [Bug report] Darshan and Fortran (mpif90)
Phil Carns
carns at mcs.anl.gov
Mon May 2 07:34:37 CDT 2011
Thanks Sandra! I updated our svn repository so that this fix will go
out with our next release.
-Phil
On 05/02/2011 06:58 AM, 8schroed at informatik.uni-hamburg.de wrote:
> Hello,
>
> 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).
>
> 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:
>
> 0x0000000000400b58 mpi_comm_rank_
> 0x0000000000400b68 mpi_file_close_
> 0x0000000000400b78 mpi_file_open_
>
> ....
>
> 0x0000000000400bd8 mpi_file_write_
> 0x0000000000400be8 mpi_init_
> 0x0000000000400bf8 mpi_finalize_
> 0x0000000000400c08 mpi_comm_size_
>
> 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:
>
> grep MPI $tmpfile
>
> 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.
>
> Please take note of this bug and fix it in your Darshan-mpif90 to
> avoid the problem of case sensitivity.
>
> Best regards,
>
> Sandra
>
>
> _______________________________________________
> Darshan-users mailing list
> Darshan-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-users/attachments/20110502/b163fd91/attachment.htm>
More information about the Darshan-users
mailing list