Adding new environment files for stability #260
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We have recently run into problems with the latest version of the openmpi package that is installed via conda ('openmpi=5.0.1'), which caused various glibc errors:
2024-01-24 12:28:12,404 - isca - INFO - /emmy-noether/home/sit204/mambaforge/envs/isca_env_jan_24/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /emmy-noether/home/sit204/mambaforge/envs/isca_env_jan_24/lib/libmpi.so: undefined reference to
memcpy@GLIBC_2.14'`2024-01-24 12:28:12,406 - isca - INFO - /emmy-noether/home/sit204/mambaforge/envs/isca_env_jan_24/bin/../lib/gcc/x86_64-conda-linux-gnu/12.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: /emmy-noether/home/sit204/mambaforge/envs/isca_env_jan_24/lib/./libpmix.so.2: undefined reference to
clock_gettime@GLIBC_2.17'`To combat this, I've updated the main environment file to only use openmpi version 4, as this appears not to have this problem.
As a second item in the p/r, I've added a frozen version of the environment file for python 3.12, as this seems common amoungst other python packages. It is a configuration we have tested, and it seems to work stably.
The final change here is a move away from python 3.9 to 3.12, and a corresponding change in the test yml file (which is now set to use the frozen version of the environment file).