Allow setting environment variable automatically for jobs
See original GitHub issueThis is low priority at the moment, please vote up if you will find it useful.
Control of env variables for launched jobs. This could be based on a special node in the job config:
env:
OMP_NUM_THREADS: 1
# copy env from running machine
USER: ${env:USER}
TO BE CLEAR: You can already use environment variables in configs: See the OmegaConf documentation.
This issue is about allowing easier control of the environment variable of Hydra apps for other purposes (for example, setting OMP_NUM_THREADS automatically to 1).
Issue Analytics
- State:
- Created 4 years ago
- Reactions:24
- Comments:12 (6 by maintainers)
Top Results From Across the Web
AWS Batch job environment variables
AWS Batch sets specific environment variables in container jobs. These environment variables provide introspection for the containers inside jobs.
Read more >Automatically setting jobs (-j) flag for a multicore machine?
Is there some way I can set the -j flag through an environment variable or some other persistent config file so that make...
Read more >What environment variables are set for job execution? - IBM
Environment variables related to command names and job names can contain up to 4094 ... LSB_RESIZABLE: Indicates that a job is resizable or...
Read more >Use environment variables | Cloud Run Documentation
You can set environment variables for Cloud Run services or jobs. ... Subsequent revisions will also automatically get this configuration setting unless you ......
Read more >Environment Variables | Matillion ETL Docs
Unlike Job Variables, environment variables can be used across Matillion ... give a variable the same name as any of the automatic variables...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It was not clear from the issue description, I updated it. I recommend everyone here spend the time to read the OmegaConf documentation. there are many good features there you should know about if you use Hydra.
If this is so important to people, they can step up and help.