UCVMC icon indicating copy to clipboard operation
UCVMC copied to clipboard

Instructions for disabling OpenMPI if version >= 3

Open viktor76525 opened this issue 4 years ago • 0 comments

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);              
      |   ^~~~~~~~~~~~~~~                                                                                                                                                                    

viktor76525 avatar Dec 17 '20 02:12 viktor76525