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

Running with constraints doesn't work if constraints file given as file path #311

Open
cassguff opened this issue Jun 8, 2024 · 2 comments

Comments

@cassguff
Copy link

cassguff commented Jun 8, 2024

Running crest with a constraints file is working fine for me as long as the constraints file is located in the current directory. For example crest input.xyz --cinp constraints.inp. But if I instead give a file path for the constraints file (for example crest input.xyz --cinp file/constraints.inp, it finds the file and reads it fine initially, but when it gets to "Starting a trial MTD to test settings" it throws errors forrtl: No such file or directory
forrtl: severe (29): file not found, unit -207

Am I doing something wrong here? The input file can be a file path just like that and still work, but the constraints file cannot. Is this stated somewhere in the documentation?

@pprcht
Copy link
Contributor

pprcht commented Jun 8, 2024

This is not intentional, I will look into it. Was it a >3.0 CREST version?
For now you could copy the constraints file into the working directory before starting the program, if that seems to work.

@cassguff
Copy link
Author

cassguff commented Jun 8, 2024 via email

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

2 participants