We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62071c0 commit 131b769Copy full SHA for 131b769
src/mpi/mpi_caf.c
@@ -44,7 +44,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
44
#include <mpi.h>
45
#include <pthread.h>
46
#include <signal.h> /* For raise */
47
-#include <limits.h>
48
49
#ifdef HAVE_MPI_EXT_H
50
#include <mpi-ext.h>
@@ -759,7 +758,7 @@ PREFIX (init) (int *argc, char ***argv)
759
758
stat_tok = malloc (sizeof (MPI_Win));
760
761
teams_list = (caf_teams_list *)calloc(1,sizeof(caf_teams_list));
762
- teams_list->team_id = INT_MIN;
+ teams_list->team_id = -1;
763
MPI_Comm *tmp_comm = (MPI_Comm *)calloc(1,sizeof(MPI_Comm));
764
*tmp_comm = CAF_COMM_WORLD;
765
teams_list->team = tmp_comm;
0 commit comments