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

Issue on Ubuntu machine: Error in R_nc4_open: No such file or directory. #279

Open
Liluoq opened this issue Mar 23, 2024 · 3 comments
Open

Comments

@Liluoq
Copy link

Liluoq commented Mar 23, 2024

I followed the installation instructions on this GitHub repo on a Ubuntu machine.
However, I get this error when running the example given in this repo.
Why, how can I solve this?
Thanks in advance!
......
Loading water temperature observations...[2024-03-23 07:35:51]
Finished loading water temperature observations![2024-03-23 07:35:51]
Running models... (Have you tried parallelizing?) [2024-03-23 07:35:51]
FLake does not support simulation of changing water level.
FLake run is complete! [2024-03-23 07:35:52]
GLM run is complete! [2024-03-23 07:35:52]
Error in R_nc4_open: No such file or directory
Error in nc_open(file, readunlim = TRUE) :
Error in nc_open trying to open file ./GLM/output/output.nc (return_on_error= FALSE )

@Liluoq
Copy link
Author

Liluoq commented Mar 23, 2024

I am using R 4.2.2 and LakeEnsemblR 1.2.6

@robertladwig
Copy link
Member

Hi Liluoq,

It seems that GLM failed to run. Can you try running it independently, ie, run_glm(), to see if it produces any output? Alternatively you can run the ensemble without GLM. We're always struggling to provide a working GLM executable for all Linux operating systems. To pinpoint the problem, you could just load GLM3r and check what happens if you try to run your files using the provided executables.

Cheers,
Robert

@Liluoq
Copy link
Author

Liluoq commented Mar 25, 2024

Hi, Robert,

Thanks for your reply!
I tried running without GLM, and it was good.
I will try to run GLM independently later today and provide feedback then.

In addition, I wonder if the GLM in the docker image differs from the latest one. If they are identical, maybe I can use this docker image you provided to run GLM separately.

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