line |
true |
false |
branch |
136
|
0 |
0 |
if (defined $val) |
144
|
0 |
9 |
unless my $cmd = shift() |
146
|
0 |
9 |
$MPICH_HOME ? : |
152
|
0 |
3 |
if ($prms{'reset'}) |
156
|
3 |
0 |
unless (defined $prms{'root'}) |
159
|
0 |
0 |
if not $TEST and $id == 0 and defined $id |
161
|
1 |
2 |
if $_isEnvInited |
163
|
0 |
2 |
$MPICH_HOME ? : |
165
|
1 |
1 |
unless $env{'conf'}{'mpd'}{'hostsfile'} |
171
|
2 |
0 |
unless $env{'info'}{'ncpus'} |
172
|
2 |
0 |
unless $env{'info'}{'listport'} |
173
|
2 |
0 |
unless $env{'info'}{'ifhn'} |
183
|
1 |
0 |
unless (`$cmd -h`) |
188
|
0 |
0 |
unless ($env{'conf'}{'mpiexec'}{'ncpu'}) |
193
|
0 |
0 |
unless (-e "$ENV{'HOME'}/.mpd.conf") |
199
|
1 |
0 |
if defined $ERROR_MSG |
224
|
0 |
3 |
unless $hostsfile |
226
|
1 |
2 |
unless -f $hostsfile |
235
|
0 |
2 |
unless my $file = shift() |
240
|
0 |
2 |
if $DEBUG == 1 |
245
|
0 |
6 |
unless my $file = shift() |
261
|
0 |
6 |
if $DEBUG == 1 |
288
|
0 |
0 |
if (@hosts) |
307
|
0 |
0 |
defined $params{'machinesfile'} ? : |
312
|
0 |
0 |
if (defined $hostsfile and -e $hostsfile) |
313
|
0 |
0 |
if $DEBUG == 1 |
317
|
0 |
0 |
unless /\S/ |
318
|
0 |
0 |
if /#.*$/ |
321
|
0 |
0 |
if $DEBUG == 1 |
322
|
0 |
0 |
if $DEBUG == 1 |
324
|
0 |
0 |
if ("$res" eq '1') |
325
|
0 |
0 |
if $WARN == 1 |
331
|
0 |
0 |
if ("$res" eq '255') |
332
|
0 |
0 |
if $WARN == 1 |
337
|
0 |
0 |
if "$res" eq '33' |
341
|
0 |
0 |
if defined $params{'hostsup'} |
342
|
0 |
0 |
if (defined keys %hostsdown) |
343
|
0 |
0 |
if defined $params{'hostsdown'} |
346
|
0 |
0 |
if $WARN == 1 |
356
|
0 |
1 |
unless defined $tmp |
370
|
3 |
17 |
$params{'spawn'} ? : |
371
|
2 |
18 |
!$params{'spawn'} && defined $params{'stdout'} ? : |
372
|
6 |
14 |
!$params{'spawn'} && defined $params{'stderr'} ? : |
374
|
5 |
15 |
if ($p == 0) { } |
376
|
0 |
5 |
if $DEBUG == 1 or $params{'verbose'} |
377
|
0 |
0 |
unless exec $params{'cmd'} . $_out . $_err . $end |
379
|
1 |
14 |
if defined $params{'pid'} |
380
|
2 |
13 |
if ($params{'spawn'}) |
385
|
0 |
13 |
if $DEBUG == 1 |
386
|
1 |
12 |
if (defined $params{'stdout'}) |
389
|
4 |
9 |
if (defined $params{'stderr'}) |