-/* Copyright (c) 2009-2020. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2009-2021. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
void simulated_start();
double simulated_elapsed() const;
MPI_Comm comm_world() const;
+ bool comm_self_is_set() const { return (comm_self_ != MPI_COMM_NULL); };
MPI_Comm comm_self();
MPI_Comm comm_intra();
void set_comm_intra(MPI_Comm comm);
void set_optind(int optind);
MPI_Info info_env();
void bsend_buffer(void** buf, int* size);
- void set_bsend_buffer(void* buf, int size);
+ int set_bsend_buffer(void* buf, int size);
};
} // namespace smpi