-
Notifications
You must be signed in to change notification settings - Fork 318
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
py_env_create fails on Derecho #2331
Comments
This is interesting, because it shows that our long standing python environment is now out of date and non-functional. I assume this must be something that happened in the conda world, since we haven't changed our environment. I'm guessing that maybe there was a version that was removed or a dependency in an older version that was updated. But, it also shows the problems with leaving the environment unchanged for too long. I knew we would need to update the environment eventually, so I'm not completely surprised, but I also didn't know what it was going to look like for our environment aging out. Now we know this is one of the ways it looks like for this. |
Oh, this is also one of the consequences of having a minimal conda environment that only gives a few requirements rather than one that is explicit and gives the exact versions for everything. The explicit version has problems as well though especially if you want to port to a different machine. I had looked into using conda-lock which had a way to work in both those ways, but I had problems with it -- but perhaps that has matured since then. |
Ahh, it looks like this is due to 2dbf4ee. Dropping that it will work. So we might just need to fiddle with xesmf and numba and numpy to get this to work again. This must have worked before. So if we can figure out anything about when it worked that would be helpful.. |
@ekluzek It can also be resolved by removing removing version number specifiers from
(Plus the versions of |
@glemieux will test the above setup with the FATES tools. |
For reference, looks like I recorded my notes about |
I was unable to create the conda environment using the above solution. I got the following errors:
I think this might be due to a possible typo for the From there, I was partially successful in running the FATES LUH2 datatool, although I ran into what looks like a different issue (the process just ends with |
Brief summary of bug
As first noted by @olyson, calling
./py_env_create
on Derecho gives an error related to incompatible packages. This happens even if the conda environment name is changed fromctsm_pylib
toctsm_pylib2
(or something else not matching an existing conda environment).This can be resolved by removing version number specifiers from
numpy
andnumba
, but that may not be how we want to handle it.General bug information
CTSM version you are using: ctsm5.1.dev163
Does this bug cause significantly incorrect results in the model's science? No
Configurations affected: n/a
Important output or errors that show the problem
The text was updated successfully, but these errors were encountered: