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

CABLE exe should be run from the task directory #123

Closed
SeanBryan51 opened this issue Aug 3, 2023 · 0 comments · Fixed by #124
Closed

CABLE exe should be run from the task directory #123

SeanBryan51 opened this issue Aug 3, 2023 · 0 comments · Fixed by #124
Labels
bug Something isn't working

Comments

@SeanBryan51
Copy link
Collaborator

We should run the CABLE executable from the task directory. Otherwise CABLE will complain it cannot find the soil and PFT namelist files:

 Reading CABLE_PFTPARM namelist...
 Error opening  CABLE_PFTPARM namelist...
 Error reading  CABLE_PFTPARM namelist...
 Reading CABLE_SOILPARM namelist...
 Error opening  CABLE_SOILPARM namelist...
 Error reading  CABLE_SOILPARM namelist...

This bug was introduced in #99 which runs the executable from the current working directory instead of the task directory by using the absolute path to the executable.

@SeanBryan51 SeanBryan51 added the bug Something isn't working label Aug 3, 2023
SeanBryan51 added a commit that referenced this issue Aug 4, 2023
Currently, the CABLE executable is run from the current working
directory instead of the task directory by using the absolute path to
the executable. However, we should be running the executable from the
task directory (otherwise CABLE will complain it cannot find the soil
and PFT namelist files). This was a bug that was introduced in the #99.

This change makes it so we change into the task directory before running
the CABLE executable.

Fixes #123
@SeanBryan51 SeanBryan51 linked a pull request Aug 4, 2023 that will close this issue
SeanBryan51 added a commit that referenced this issue Aug 4, 2023
Currently, the CABLE executable is run from the current working
directory instead of the task directory by using the absolute path to
the executable. However, we should be running the executable from the
task directory (otherwise CABLE will complain it cannot find the soil
and PFT namelist files). This was a bug that was introduced in the #99.

This change makes it so we change into the task directory before running
the CABLE executable.

Fixes #123
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

Successfully merging a pull request may close this issue.

1 participant