[Darshan-users] Bug in dxt_analyzer.py

Snyder, Shane ssnyder at mcs.anl.gov
Fri Dec 20 09:49:29 CST 2019


Hi Francois,

Thanks for submitting this patch! I've just committed this to our master branch and we'll include it in our next release.

--Shane

On 12/16/19 3:35 AM, François Trahay wrote:
Hi,

(Apologies if you have received multiples copies, my previous email was marked as spam on this mailing list)


I am currently using darshan on a single machine and I configured darshan-runtime  with the "--with-jobid-env=NONE" option. When running dxt_analyzer.py on a darshan file generated with this setup, the script crashes because there's no jobid field in the trace:

$ ../install/bin/dxt_analyzer.py -i ftrahay_bt.W.9.mpi_io_full_id7207_12-12-58557-3741856262788818305_1.darshan
Traceback (most recent call last):
  File "../install/bin/dxt_analyzer.py", line 287, in <module>
    title = str(jobid)+'_'+action+'_activity'
NameError: name 'jobid' is not defined


Applying the attached patch fixes the problem.

François






_______________________________________________
Darshan-users mailing list
Darshan-users at lists.mcs.anl.gov<mailto: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/20191220/718e75ac/attachment.html>


More information about the Darshan-users mailing list