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

MPI_LOGICAL is MPI_DATATYPE_NULL #85

Closed
1 task done
minrk opened this issue Dec 19, 2023 · 0 comments · Fixed by #86
Closed
1 task done

MPI_LOGICAL is MPI_DATATYPE_NULL #85

minrk opened this issue Dec 19, 2023 · 0 comments · Fixed by #86
Labels

Comments

@minrk
Copy link
Member

minrk commented Dec 19, 2023

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

While working on conda-forge/mumps-feedstock#102, I got as far as running the tests, but they start to crash with:

Abort(123809283) on node 1 (rank 1 in comm 0): Fatal error in internal_Bcast: Invalid datatype, error stack:
internal_Bcast(107): MPI_Bcast(buffer=0x16f87ab74, count=1, MPI_DATATYPE_NULL, 0, comm=0x84000001) failed
internal_Bcast(67).: Datatype for argument datatype is a null datatype

I looked through mumps source for MPI_BCAST calls, and found some with MPI_LOGICAL. I then checked mpif.h, which has:

PARAMETER (MPI_LOGICAL=MPI_DATATYPE_NULL)

suggesting that MPI_LOGICAL is unavailable. That doesn't seem right, but I don't know enough about mpich for how it determines when these should be available. The same is true for linux-aarch64, which is also cross-compiled.

The osx-64 package has:

PARAMETER (MPI_LOGICAL=1275069469)

So this suggests something is amiss in the cross-compiled mpich builds.

Installed packages

# packages in environment at /Users/minrk/conda/conda-bld/mumps_1702982356640/_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_plac:
#
# Name                    Version                   Build  Channel
bzip2                     1.0.8                h93a5062_5    conda-forge
ca-certificates           2023.11.17           hf0a4a13_0    conda-forge
cctools_osx-arm64         973.0.1             h62378fb_15    conda-forge
clang                     16.0.6               haab561b_3    conda-forge
clang-16                  16.0.6          default_hd209bcb_3    conda-forge
clang_impl_osx-arm64      16.0.6               hc421ffc_7    conda-forge
clang_osx-arm64           16.0.6               h54d7cd3_7    conda-forge
clangxx                   16.0.6          default_h5c94ee4_3    conda-forge
compiler-rt               16.0.6               h3808999_2    conda-forge
compiler-rt_osx-arm64     16.0.6               h3808999_2    conda-forge
gfortran_impl_osx-arm64   12.3.0               hbbb9e1e_1    conda-forge
gfortran_osx-arm64        12.3.0               h57527a5_1    conda-forge
gmp                       6.3.0                h965bd2d_0    conda-forge
icu                       73.2                 hc8870d7_0    conda-forge
isl                       0.25                 h9a09cb3_0    conda-forge
ld64_osx-arm64            609                 ha4bd21c_15    conda-forge
libblas                   3.9.0           20_osxarm64_openblas    conda-forge
libclang-cpp16            16.0.6          default_hd209bcb_3    conda-forge
libcxx                    16.0.6               h4653b0c_0    conda-forge
libgfortran               5.0.0           13_2_0_hd922786_1    conda-forge
libgfortran-devel_osx-arm64 12.3.0               hc62be1c_1    conda-forge
libgfortran5              13.2.0               hf226fd6_1    conda-forge
libiconv                  1.17                 h0d3ecfb_2    conda-forge
liblapack                 3.9.0           20_osxarm64_openblas    conda-forge
libllvm16                 16.0.6               haab561b_3    conda-forge
libopenblas               0.3.25          openmp_h6c19121_0    conda-forge
libptscotch               7.0.4                h5340af2_1    conda-forge
libscotch                 7.0.4                hc938e73_1    conda-forge
libxml2                   2.12.3               h0d0cfa8_0    conda-forge
libzlib                   1.2.13               h53f4e23_5    conda-forge
llvm-openmp               17.0.6               hcd81f8e_0    conda-forge
llvm-tools                16.0.6               haab561b_3    conda-forge
metis                     5.1.1                h965bd2d_2    conda-forge
mpc                       1.3.1                h91ba8db_0    conda-forge
mpfr                      4.2.1                h9546428_0    conda-forge
mpi                       1.0                       mpich    conda-forge
mpich                     4.1.2              hd4b5bf3_100    conda-forge
mumps-include             5.6.2                hce30654_1    local
mumps-mpi                 5.6.2                h614c46f_1    local
openssl                   3.2.0                h0d3ecfb_1    conda-forge
parmetis                  4.0.3             hefa2a9d_1005    conda-forge
ptscotch                  7.0.4                heaa5b5c_1    conda-forge
scalapack                 2.2.0                hb170938_1    conda-forge
scotch                    7.0.4                heaa5b5c_1    conda-forge
sigtool                   0.1.3                h44b9a77_0    conda-forge
tapi                      1100.0.11            he4954df_0    conda-forge
xz                        5.2.6                h57fd34a_0    conda-forge
zlib                      1.2.13               h53f4e23_5    conda-forge
zstd                      1.5.5                h4f39d0f_0    conda-forge

Environment info

mamba version : 1.5.4
     active environment : None
            shell level : 0
       user config file : /Users/minrk/.condarc
 populated config files : /Users/minrk/conda/.condarc
                          /Users/minrk/.condarc
          conda version : 23.11.0
    conda-build version : 3.28.1
         python version : 3.10.13.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=m1
                          __conda=23.11.0=0
                          __osx=14.1.2=0
                          __unix=0=0
       base environment : /Users/minrk/conda  (writable)
      conda av data dir : /Users/minrk/conda/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/minrk/conda/pkgs
                          /Users/minrk/.conda/pkgs
       envs directories : /Users/minrk/conda/envs
                          /Users/minrk/.conda/envs
               platform : osx-arm64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Darwin/23.1.0 OSX/14.1.2 solver/libmamba conda-libmamba-solver/23.11.1 libmambapy/1.5.4
                UID:GID : 501:20
             netrc file : /Users/minrk/.netrc
           offline mode : False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant