change order of checking for fanout
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
ecde4d3f0b
commit
e4196ab2cb
@ -54,12 +54,12 @@ if ($version) {
|
||||
}
|
||||
my $pshmaxp = 64;
|
||||
# determine fanout
|
||||
if ($ENV{XCATPSHFANOUT}) {
|
||||
$pshmaxp=$ENV{XCATPSHFANOUT};
|
||||
}
|
||||
if ($fanout) { # see if they overroad the fanout from the command line
|
||||
$pshmaxp=$fanout;
|
||||
}
|
||||
if ($ENV{XCATPSHFANOUT}) { # env variable rules
|
||||
$pshmaxp=$ENV{XCATPSHFANOUT};
|
||||
}
|
||||
(my $noderange,my $destloc) = split(/:/,$ARGV[1]);
|
||||
my @user = getpwuid($>);
|
||||
my $homedir=$user[7];
|
||||
|
@ -34,12 +34,12 @@ sub usage
|
||||
}
|
||||
|
||||
my $pshmaxp = 64;
|
||||
if ($ENV{XCATPSHFANOUT}) {
|
||||
$pshmaxp=$ENV{XCATPSHFANOUT};
|
||||
}
|
||||
if ($fanout) { # see if they overroad the fanout from the command line
|
||||
$pshmaxp=$fanout;
|
||||
}
|
||||
if ($ENV{XCATPSHFANOUT}) { # env variable rules
|
||||
$pshmaxp=$ENV{XCATPSHFANOUT};
|
||||
}
|
||||
|
||||
|
||||
# Processing arguments
|
||||
|
@ -39,12 +39,12 @@ my $pshmaxp = 64;
|
||||
if ($ENV{XCATHOST}) {
|
||||
$xcathost=$ENV{XCATHOST};
|
||||
}
|
||||
if ($ENV{XCATPSHFANOUT}) {
|
||||
$pshmaxp=$ENV{XCATPSHFANOUT};
|
||||
}
|
||||
if ($fanout) { # see if they overroad the fanout from the command line
|
||||
$pshmaxp=$fanout;
|
||||
}
|
||||
if ($ENV{XCATPSHFANOUT}) { # env variable rules
|
||||
$pshmaxp=$ENV{XCATPSHFANOUT};
|
||||
}
|
||||
my $noderange = $ARGV[0];
|
||||
my @nodes=();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user