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

pytest reports PIO errors #136

Open
szwang1990 opened this issue Dec 11, 2023 · 1 comment
Open

pytest reports PIO errors #136

szwang1990 opened this issue Dec 11, 2023 · 1 comment

Comments

@szwang1990
Copy link

Hi, I am new to xESMF and when I installed xESMF using conda on my PC following this tutorial, pytest reported 5 failed tests. I read about this issue, but in my case mpi, mpi4py and mpich packages are all there, then why does the PIO error still occur?

I put my conda list and the output of pytest -v --pyargs xesmf in the attachment.
conda_list.txt
output_of_pytest.txt

=============================================================================================================================== short test summary info ===============================================================================================================================
FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_backend.py::test_regrid - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_backend.py::test_read_weights - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf_nans - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED Software/anaconda3/envs/xesmf_env/lib/python3.10/site-packages/xesmf/tests/test_frontend.py::test_regrid_dataarray[True] - ValueError: dataset must include lon/lat or be CF-compliant
=============================================================================================================== 5 failed, 111 passed, 1 skipped, 300 warnings in 18.81s ===============================================================================================================

Thanks in advance.

@Anuragsahucuraj
Copy link

Anuragsahucuraj commented Jan 14, 2024

I am also getting the same PIO Missing error

============================================================================================ short test summary info =============================================================================================
FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_backend.py::test_regrid - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_backend.py::test_read_weights - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
FAILED miniconda3/envs/xesmf_env/Lib/site-packages/xesmf/tests/test_frontend.py::test_to_netcdf_nans - esmpy.util.exceptions.PIOMissing: This function requires ESMF to have been built with PIO.
======================================================================== 4 failed, 125 passed, 1 skipped, 42 warnings in 82.25s (0:01:22) ========================================================================

xesmf test error.txt

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