[Darshan-users] darshan-job-summary.pl fails with path containing underscores
Phil Carns
carns at mcs.anl.gov
Wed Aug 8 11:11:17 CDT 2012
Oh, I see the issue now. Your original explanation was perfect. The
underscore must appear in the mount point itself, rather than in the
file name or in another subdirectory in the path.
The mount point name by itself is displayed in the "Data Transfer Per
Filesystem" table and we are not encoding the string properly in that case.
Thank you very much for the bug report. This will be fixed in Darshan
2.2.2.
-Phil
On 08/08/2012 11:50 AM, Phil Carns wrote:
> I apologize for taking so long to look at this, but I'd like to
> integrate this fix (or something similar to it) in the upcoming 2.2.2
> release of Darshan. Do you have a specific example to trigger the
> problem that you could share? You can send it directly to me off
> list. If not, do you happen to know which portion of the latex file
> ended up with an underscore?
>
> The reason that I am curious about the details is because
> darshan-job-summary already includes another package (TeX::Encode)
> that should be able to account for underscores in file names. I
> suspect that we might have missed an instance where we should have
> encoded a string using that package. I would like to try to address
> that issue rather than use the underscore package if possible because
> it can protect file names against other special characters as well.
>
> I will look closer at the perl code and see if I can find any places
> where we missed the encoding. I tried a couple of examples on a
> development box using underscores but I haven't found the right
> combination to trigger the problem yet.
>
> many thanks!
> -Phil
>
>
> On 06/26/2012 09:22 AM, mouhamed.gueye at bull.net wrote:
>> Hello,
>>
>> With darshan 2.2.0, darshan-job-summary.pl hangs when used on data
>> generated from an application doing I/O operations on a filesystem
>> that has the underscore character in its name (/home_nfs for
>> example). Actually, pdflatex is the one hanging because of that
>> underscore character.
>>
>> To solve this issue, just add "usepackage{underscore}" into
>> darshan-job-summary/share/summary.tex.
>>
>> =============================================
>> --- darshan-job-summary/share/summary.tex 2012-06-26
>> 15:03:46.000000000 +0200
>> +++ darshan-job-summary/share/summary.tex.patched 2012-06-26
>> 15:03:33.000000000 +0200
>> @@ -6,6 +6,7 @@
>> \usepackage{lastpage}
>> \usepackage{subfigure}
>> \usepackage{multirow}
>> +\usepackage{underscore}
>> %
>> % GET THE MARGINS RIGHT, THE UGLY WAY
>> %
>> =============================================
>>
>> Thanks,
>>
>> Mouhamed GUEYE
>> HPC Engineer
>> Phone +33 (0)4 76 29 74 91
>>
>> Bull, Architect of an Open World
>> http://www.bull.com <http://www.bull.com/>
>> Bull World Web TV -> http://www.bull-world.com/
>>
>>
>> _______________________________________________
>> Darshan-users mailing list
>> Darshan-users at lists.mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/darshan-users
>
>
>
> _______________________________________________
> 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/20120808/60a18b8e/attachment.html>
More information about the Darshan-users
mailing list