Skip to content
This repository was archived by the owner on Feb 8, 2022. It is now read-only.
This repository was archived by the owner on Feb 8, 2022. It is now read-only.

Instructions for disabling OpenMPI if version >= 3 #121

Description

@viktor76525

OpenMPI version 4 is available and 3 seems to be required for some things such as cuda.
Therefore some people may be using a newer version. Errors occur with openmpi >= 3.0. Won't build even if it is optional.

ue_mpi.c: In function ‘mpi_register_octant’:                                                  
ue_mpi.c:66:3: error: static assertion failed: "MPI_Type_struct was removed in MPI-3.0.  Use MPI_Type_create_struct instead."                                                                
   66 |   MPI_Type_struct(num_fields, blocklen, disp, ftype, dt);
      |   ^~~~~~~~~~~~~~~                                                                                                                                                                    
ue_mpi.c: In function ‘mpi_register_dispatch’:                                                                                                                                               
ue_mpi.c:93:3: error: static assertion failed: "MPI_Type_struct was removed in MPI-3.0.  Use MPI_Type_create_struct instead."                                                                
   93 |   MPI_Type_struct(num_fields, blocklen, disp, ftype, dt);              
      |   ^~~~~~~~~~~~~~~                                                                                                                                                                    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions