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

Instructions for disabling OpenMPI if version >= 3 #121

Open
viktor76525 opened this issue Dec 17, 2020 · 0 comments
Open

Instructions for disabling OpenMPI if version >= 3 #121

viktor76525 opened this issue Dec 17, 2020 · 0 comments

Comments

@viktor76525
Copy link

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);              
      |   ^~~~~~~~~~~~~~~                                                                                                                                                                    
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant