[padb-devel] [padb commit] r69 - Don't prefix output with rank when only targetting one rank.
codesite-noreply at google.com
codesite-noreply at google.com
Sun Jun 28 20:34:15 BST 2009
Author: apittman
Date: Sun Jun 28 12:01:08 2009
New Revision: 69
Modified:
branches/full-duplex/src/padb
Log:
Don't prefix output with rank when only targetting one rank.
Modified: branches/full-duplex/src/padb
==============================================================================
--- branches/full-duplex/src/padb (original)
+++ branches/full-duplex/src/padb Sun Jun 28 12:01:08 2009
@@ -2990,12 +2990,16 @@
}
}
} else {
+ my $nprocesses = keys( %{ $d->{target_output} } );
foreach my $process ( sort( keys( %{ $d->{target_output} } ) ) ) {
foreach my $line ( @{ $d->{target_output}{$process} } ) {
- print "$process:$line\n";
+ if ( $nprocesses == 1 ) {
+ print "$line\n";
+ } else {
+ print "$process:$line\n";
+ }
}
}
-
}
}
More information about the padb-devel
mailing list