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

OceanDriver failed with YAML file read #160

Open
grnydawn opened this issue Nov 14, 2024 · 4 comments
Open

OceanDriver failed with YAML file read #160

grnydawn opened this issue Nov 14, 2024 · 4 comments
Assignees
Labels
YAML Related to YAML configuration file

Comments

@grnydawn
Copy link

When I ran omega_run.sh on Frontier, I received this error message:

1: terminate called after throwing an instance of 'YAML::BadFile'
1: what(): bad file

The script omega_run.sh runs omega.exe, which is built from OceanDriver.cpp.

@grnydawn grnydawn added the YAML Related to YAML configuration file label Nov 14, 2024
@brian-oneill
Copy link

It's not finding a config file, it searches for omega.yml in your current working directory when you run the standalone driver. We probably should have the Omega build process copy Default.yml into the root build directory as well, but since no one is really running the standalone model yet and we're still focusing on unit tests while developing, this hasn't really been an issue.

@grnydawn
Copy link
Author

You're right. Since the Omega build process already copies Default.yml to the test directory as omega.yml, running the standalone model in the test directory might resolve this issue. I believe a slight update to omega_run.sh could fix it. Thanks!

@xylar
Copy link

xylar commented Dec 9, 2024

I think the file is now being copied and this can be closed? @grnydawn, is that right?

@grnydawn
Copy link
Author

grnydawn commented Dec 9, 2024

@xylar , Not yet. I need to update omega_run.sh to run omega.exe in the test directory instead of the build root directory. The change should be trivial and will be added when I create the next PR.

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

No branches or pull requests

3 participants