Now retrieving path to rapl throttle script by reading value of an environment variable. Also, stored the RAPL_PKG_Throttle.py script in a directory called scripts/. The location of this needs to be stored in an environment variable named RAPL_PKG_THROTTLE_LOCATION.
This commit is contained in:
parent
dcf67661e9
commit
c2b42c2662
3 changed files with 41 additions and 3 deletions
|
@ -1,7 +1,10 @@
|
|||
package environment
|
||||
|
||||
// Environment Variables that are used.
|
||||
// Environment Variables and that are used.
|
||||
// These environment variables need to be set before launching elektron.
|
||||
|
||||
// Environment Variable to store the password for username="rapl" on the nodes in the cluster.
|
||||
// Password for username="rapl" on the nodes in the cluster.
|
||||
var RaplPassword = "RAPL_PSSWD"
|
||||
|
||||
// Location of the script that sets the powercap value for a host.
|
||||
var RaplThrottleScriptLocation = "RAPL_PKG_THROTTLE_SCRIPT_LOCATION"
|
||||
|
|
Reference in a new issue