Commit 92fbac85 authored by Philip Carns's avatar Philip Carns
Browse files

quick script to pull compute node and runtime statistics out of an

anonymized and annotated darshan log

git-svn-id: 3b7491f3-a168-0410-bf4b-c445ed680a29
parent 67f9f623
#!/usr/bin/perl -w
# (C) 2011 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
# takes a single darshan log as input; expectation is that the log is from
# the public data repo and has been annotated with compute node information.
# Prints 3 columns: file name, compute nodes, and run time
sub main()
my $logfile;
my $header;
my $cn;
my $runtime;
$header = `darshan-parser $logfile |head -n 50`;
if($header =~ /cn = (\d+)/){
$cn = $1;
if($header =~ /run time: (\d+)/){
$runtime = $1;
return 0;
# Main
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment