Changes between Version 19 and Version 20 of C++ API
- Timestamp:
- 09/12/13 12:07:37 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
C++ API
v19 v20 10 10 void MUSCLE_Finalize(void); 11 11 12 const char* MUSCLE_Kernel_Name( void);12 const char* MUSCLE_Kernel_Name(); 13 13 const char* MUSCLE_Get_Property(const char* name); 14 int MUSCLE_Will_Stop( void);14 int MUSCLE_Will_Stop(); 15 15 16 16 muscle_error_t MUSCLE_Send(const char *exit_name, void *array, size_t size, muscle_datatype_t type); … … 19 19 int MUSCLE_Barrier_Init(char **barrier, int *len, int num_mpi_ranks); 20 20 int MUSCLE_Barrier(const char *barrier); 21 intMUSCLE_Barrier_Destroy(char *barrier);21 void MUSCLE_Barrier_Destroy(char *barrier); 22 22 }}} 23 23 The {{{MUSCLE_Init}}} function must be called before any of the other MUSCLE functions is used, and also before MPI_Init is called, if MPI is used. The usage is the same of MPI_Init: to initialize MUSCLE given the current arguments of main. After all MUSCLE calls have been made, MUSCLE_Finalize should be called. Usually: