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
I propose that we consider allowing a user-defined section of environment variables that can be included in .ini and the environment variables are then set in the environment. Additionally, in job script templates, allow a __custom_machine_env__ or similar replacement which is then replaced by these variables in the job script. Example:
Note that the Bash language is not guaranteed for job scripts, so we'd probably have to do some leg work for that.
Currently, you can hack this together using some obscure harness features and hard-to-read templates, this would just make things much easier and more readable.
The text was updated successfully, but these errors were encountered:
I propose that we consider allowing a user-defined section of environment variables that can be included in .ini and the environment variables are then set in the environment. Additionally, in job script templates, allow a
__custom_machine_env__
or similar replacement which is then replaced by these variables in the job script. Example:vanilla_machine.ini:
Then
RGT_MY_CUSTOM_ENV_1=abc
andRGT_MY_CUSTOM_ENV_2=def
are set in the environment.Then this line in the job script template:
Could be replaced by
Note that the Bash language is not guaranteed for job scripts, so we'd probably have to do some leg work for that.
Currently, you can hack this together using some obscure harness features and hard-to-read templates, this would just make things much easier and more readable.
The text was updated successfully, but these errors were encountered: