foreach (test ${umpire_tests_passing} ${umpire_tests_deadlock} ${umpire_tests_problematic} )
add_executable(${test} ${test}.c)
target_link_libraries(${test} simgrid)
- set_source_files_properties(${test}.c PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-return-type")
+ set_source_files_properties(${test}.c PROPERTIES COMPILE_FLAGS "-Dlint -Wno-error -Wno-return-type")
set(umpire_tesh ${umpire_tesh} ${test})
set(files_to_clean ${files_to_clean} ${CMAKE_CURRENT_BINARY_DIR}/${test}.tesh)
endforeach(test)
MPI_Get_processor_name (processor_name, &namelen);
printf ("(%d) is alive on %s\n", rank, processor_name);
fflush (stdout);
-int j, k;
for (i = 0; i < 128; i++)
{
buf0[i] = i;
int key = -1;
int nrank;
int nsize;
- int dat = 0;
int color = -1;
char processor_name[128];
int namelen = 128;
int buf0[buf_size];
- int buf1[buf_size];
MPI_Status status;
MPI_Request req;
#define buf_size 128
-int mydelay () /* about 6 seconds */
+static int mydelay(void) /* about 6 seconds */
{
int i;
int val;
int namelen = 128;
int buf0[buf_size];
int buf1[buf_size];
- MPI_Request req, req0, req1;
- MPI_Status status, status0, status1;
+ MPI_Request req;
+ MPI_Status status;
MPI_Request areq[10];
MPI_Status astatus[10];
MPI_Send (&flipbit, 1, MPI_INT, 1, i, MPI_COMM_WORLD);
flag = 0;
-printf ("req = %0x", (unsigned int)reqs);
+ printf("req = %p", reqs);
while (!flag)
MPI_Testany (i, reqs, &done, &flag, &status);
MPI_Get_processor_name (processor_name, &namelen);
printf ("(%d) is alive on %s\n", rank, processor_name);
fflush (stdout);
- int i;
MPI_Barrier (MPI_COMM_WORLD);
if (nprocs < 2)