Skip to content

Commit

Permalink
Merge branch 'illinois-ceesd:main' into nick_dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoskelo authored Feb 28, 2025
2 parents e57a3a5 + 2c2671b commit 1c96428
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build:

sphinx:
fail_on_warning: true
configuration: doc/conf.py

python:
install:
Expand Down
6 changes: 5 additions & 1 deletion mirgecom/mpi.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ def _check_mpi4py_version() -> None:

mpi_ver = MPI.Get_version()

logger.info(f"mpi4py is using '{MPI.Get_library_version()}' "
mpi_ver_descr = MPI.Get_library_version()
# Get_library_version returns a null-terminated string
mpi_ver_descr = mpi_ver_descr.split("\x00")[0]

logger.info(f"mpi4py is using '{mpi_ver_descr}' "
f"with MPI v{mpi_ver[0]}.{mpi_ver[1]}.")


Expand Down

0 comments on commit 1c96428

Please sign in to comment.