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 d6236d8 commit 3f017faCopy full SHA for 3f017fa
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>
@@ -800,7 +799,7 @@ PREFIX (init) (int *argc, char ***argv)
800
799
stat_tok = malloc (sizeof (MPI_Win));
801
802
teams_list = (caf_teams_list *)calloc(1,sizeof(caf_teams_list));
803
- teams_list->team_id = INT_MIN;
+ teams_list->team_id = -1;
804
MPI_Comm *tmp_comm = (MPI_Comm *)calloc(1,sizeof(MPI_Comm));
805
*tmp_comm = CAF_COMM_WORLD;
806
teams_list->team = tmp_comm;
0 commit comments