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

self contained campaign directories #199

Open
bd4 opened this issue Jul 6, 2020 · 0 comments
Open

self contained campaign directories #199

bd4 opened this issue Jul 6, 2020 · 0 comments

Comments

@bd4
Copy link
Collaborator

bd4 commented Jul 6, 2020

It would be useful if Cheetah campaigns could be run without having a specific spack package or python path set to find the workflow script and it's dependencies. One option would be to run python3 setup.py install with a --root somewhere in the campaign dir. Another option would be for the campaign to have a configure script that sets PYTHONPATH to the cheetah install that was used. The advantage of the full install is that it allows passing the campaign dir off to other users, or saving it for later use with no external dependencies. As Cheetah evolves, there may be releases that break backward compatibility so an old campaign may stop working.

This came up with WDMApp where Cheetah is used inside effis, and installed via spack as a dependency. We provide a sample setup{MACHINE}.sh, which must be edited by hand to at least include the users spack root, so the appropriate spack loads can be done and the workflow can run. The instructions also require manually changing exe paths in the the effis run YAML, so this isn't the only manual path setting step. Ideally we can work towards removing all these manual per-install customization steps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant