[padb] r444 committed - Protect agains the case where padb is run against slurm and is given a...
padb at googlecode.com
padb at googlecode.com
Fri Jun 24 00:19:36 BST 2011
Revision: 444
Author: apittman at gmail.com
Date: Thu Jun 23 16:17:17 2011
Log: Protect agains the case where padb is run against slurm and is
given a
allocation id for which no job steps exist. In this case padb exit
saying it failed to locate and ranks.
http://code.google.com/p/padb/source/detail?r=444
Modified:
/trunk/src/padb
=======================================
--- /trunk/src/padb Thu Jun 23 16:14:50 2011
+++ /trunk/src/padb Thu Jun 23 16:17:17 2011
@@ -9359,6 +9359,7 @@
foreach my $proc (@procs) {
my ( $pid, $job, $step, undef, $global ) = split $SPACE, $proc;
next if ( $global eq '-' );
+ next if ( $pid == $$ );
next unless ( $job eq $jobid );
next unless ( $step == $inner_conf{slurm_job_step} );
next if ( is_resmgr_process($pid) );
More information about the padb-devel
mailing list