You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The giant "if/elif/fi" block in rt.sh overrides the ACCNR to a hard-coded value, overriding the value the user sets before running rt.sh. This is in part necessary due to detect_machine.sh setting the default to nems, which is usually wrong. An earlier bug fix did not completely correct the problem. (See also #979, #1014, and #981.)
The detect_machine.sh is run before the rt.sh per-platform default logic, setting the nems variable:
Hence to use the account most users require, the rt.sh has to override the detect_machine.sh and user's setting with a hard-coded value like so:
ACCNR=GFS-DEV
The fix is for detect_machine.sh to NOT set ACCNR. Instead, rt.sh's per-platform block will set the defaults in a way that does not override the user's defaults:
ACCNR="${ACCNR:-h-nems}"
After the giant "if" block there will be a default setting to ensure the original behavior (ACCNR=nems) if neither the user nor per-platform block sets the value:
# If account is unspecified, assume the machine has a "nems"
# accounting code.
export ACCNR="${ACCNR:-nems}"
The text was updated successfully, but these errors were encountered:
The giant "if/elif/fi" block in rt.sh overrides the ACCNR to a hard-coded value, overriding the value the user sets before running rt.sh. This is in part necessary due to detect_machine.sh setting the default to nems, which is usually wrong. An earlier bug fix did not completely correct the problem. (See also #979, #1014, and #981.)
The detect_machine.sh is run before the rt.sh per-platform default logic, setting the nems variable:
Hence to use the account most users require, the rt.sh has to override the detect_machine.sh and user's setting with a hard-coded value like so:
The fix is for detect_machine.sh to NOT set ACCNR. Instead, rt.sh's per-platform block will set the defaults in a way that does not override the user's defaults:
After the giant "if" block there will be a default setting to ensure the original behavior (ACCNR=nems) if neither the user nor per-platform block sets the value:
The text was updated successfully, but these errors were encountered: