-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
bugSomething is not workingSomething is not working
Description
Description
esmpy import fails on Ursa v2.1 with:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/contrib/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/install/intel-oneapi-compilers/2025.3.1/esmf-8.9.1-otgqi73/lib/python3.11/site-packages/esmpy/__init__.py", line 108, in <module>
from esmpy.api.esmpymanager import *
File "/contrib/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/install/intel-oneapi-compilers/2025.3.1/esmf-8.9.1-otgqi73/lib/python3.11/site-packages/esmpy/api/esmpymanager.py", line 9, in <module>
from esmpy.interface.cbindings import *
File "/contrib/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/install/intel-oneapi-compilers/2025.3.1/esmf-8.9.1-otgqi73/lib/python3.11/site-packages/esmpy/interface/cbindings.py", line 13, in <module>
from esmpy.interface.loadESMF import _ESMF
File "/contrib/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/install/intel-oneapi-compilers/2025.3.1/esmf-8.9.1-otgqi73/lib/python3.11/site-packages/esmpy/interface/loadESMF.py", line 81, in <module>
_check_version(esmfversion=esmfversion,
File "/contrib/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/install/intel-oneapi-compilers/2025.3.1/esmf-8.9.1-otgqi73/lib/python3.11/site-packages/esmpy/interface/loadESMF_helpers.py", line 39, in _check_version
raise VersionMismatch(f"Cannot use an ESMF development version ({esmfversion}) "
esmpy.util.exceptions.VersionMismatch: Cannot use an ESMF development version (8.9.1 beta snapshot) with an ESMPy release version (8.9.1)
To Reproduce
#!/usr/bin/env bash
set -ue
module use /contrib/spack-stack/spack-stack-2.1.0/envs/ue-oneapi-2025.3.1/modules/Core
module load stack-intel-oneapi-compilers/2025.3.1
module load stack-intel-oneapi-mpi/2021.17
module load esmf/8.9.1
which python
python -c "import esmpy"
echo "successfully imported"
Expected behavior
esmpy should import without an ESMF version conflict.
System, compiler, code, ...
- Ursa
spack-stack v2.1
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething is not workingSomething is not working
Type
Projects
Status
Todo