Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Place Environment Varibles in field resources.workers.sim_workers.nodes of merlin section #433

Closed
lvandeca opened this issue Jul 21, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@lvandeca
Copy link

lvandeca commented Jul 21, 2023

Bug Report

Describe the bug
In the field resources.workers.<worker_type>.nodes placing environment variables causes an error that the variable is not of type 'null' or does not conform to the format '$(VARNAME)' even when the variable is in the correct format.

To Reproduce
To reproduce the behavior, place any environment variable in the node field of the resources section as shown below:

env:
    variables:
        NODES: 1
merlin:
    resources:
        task_server: celery
        workers:
            simworkers:
                steps: [simulations]
                args: -l ERROR --concurrency 32 --prefetch-multiplier 1 -O fair
                nodes: $(NODES)
                machines: [quartz]

Expected behavior
Merlin should build the DAG, generate any samples, and the value assigned to $(NODES) should be substituted in.

Screenshots
The error that is given when executing merlin run <file>.yaml

image

@lvandeca lvandeca added the bug Something isn't working label Jul 21, 2023
@bgunnar5
Copy link
Member

This issue is resolved in #484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants