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

Don't pick a random code if more than one matching are found #208

Open
giovannipizzi opened this issue Jul 9, 2021 · 1 comment
Open

Comments

@giovannipizzi
Copy link
Member

A user in the tutorial installed everything and also imported the Archive from the Materials Cloud.
Then, he set up a code and run, following the instructions in the tutorial.
However, the "random code" that was picked was one from the archive, associated with an unconfigured computer. So the workflow crashed.

While maybe skipping the codes that are on unconfigured computers might already help, I think the best approach is just to stop if more than one code matching is found, and prompt the user with a very clear message ("More than one code for engine quantum_espresso four: please specify which code you want to use with the -X option").

@giovannipizzi
Copy link
Member Author

@sphuber @bosonie

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