Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move the implem of a function out of the header to reduce issues
[simgrid.git] / include / smpi / smpi.h
index 6263334..d13615c 100644 (file)
@@ -1237,10 +1237,7 @@ XBT_PUBLIC void SMPI_app_instance_start(const char* name, std::function<void()>
                                         std::vector<simgrid::s4u::Host*> const& hosts);
 
 /* This version without parameter is nice to use with SMPI_app_instance_start() */
-static void MPI_Init()
-{
-  MPI_Init(nullptr, nullptr);
-}
+XBT_PUBLIC void MPI_Init();
 
 /* C++ declarations for shared_malloc and default copy buffer callback */
 XBT_PUBLIC int smpi_is_shared(const void* ptr, std::vector<std::pair<size_t, size_t>>& private_blocks, size_t* offset);