Skip to content
Snippets Groups Projects
Verified Commit c69e9adb authored by Simon Schwitanski's avatar Simon Schwitanski :slight_smile:
Browse files

Add new logs

parent 6f59f4e9
No related branches found
No related tags found
No related merge requests found
Showing
with 459 additions and 0 deletions
/* ///////////////////////// The MPI Bug Bench ////////////////////////
Description: order of messages is indeterministic, may lead to a deadlock
Version of MPI: 1.0
This testcase can result in a Deadlock
Category: P2P
BEGIN_MBB_TESTS
$ mpirun -np 3 ${EXE}
| ERROR CallOrdering
| CallOrdering-ANY_SOURCE
END_MBB_TESTS
////////////////////// End of MBI headers /////////////////// */
#include <mpi.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int nprocs = -1;
int rank = -1;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (nprocs < 3)
printf(
"MBB ERROR: This test needs at least 3 processes to produce a bug!\n");
int *buf = (int *)calloc(10, sizeof(int));
if (rank != 0) {
buf[0] = rank;
MPI_Send(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD);
}
if (rank == 0) {
for (int i = 1; i < nprocs; ++i) {
MPI_Recv(buf, 10, MPI_INT, MPI_ANY_SOURCE, 0, MPI_COMM_WORLD,
MPI_STATUS_IGNORE);
if (buf[0] != i) {
/*MBBERROR_BEGIN*/ MPI_Recv(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD,
MPI_STATUS_IGNORE); /*MBBERROR_END*/
}
}
}
if (rank == 1) {
MPI_Send(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD);
}
free(buf);
MPI_Finalize();
printf("Rank %d finished normally\n", rank);
return 0;
}
60.204102754592896
\ No newline at end of file
49d923fa959575b6eee4b22665e5464a
\ No newline at end of file
60.002524852752686 seconds
\ No newline at end of file
Running #1731 /MBI/scripts/gencodes/P2P/CallOrdering-ANY_SOURCE-001.c
Wait up to 60 seconds
Compiling CallOrdering-ANY_SOURCE-001.c (batchinfo:1/1)
$ mpiicc /MBI/scripts/gencodes/P2P/CallOrdering-ANY_SOURCE-001.c -O0 -g -o CallOrdering-ANY_SOURCE-001
| icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
|
Executing the command (cwd: None)
$ mpirun -check_mpi -genv VT_CHECK_TRACING on -np 3 ./CallOrdering-ANY_SOURCE-001
|
Command killed by signal 15, elapsed time: 60.204102754592896
Finished #1731 /MBI/scripts/gencodes/P2P/CallOrdering-ANY_SOURCE-001.c
/* ///////////////////////// The MPI Bug Bench ////////////////////////
Description: order of messages is indeterministic, may lead to a deadlock
Version of MPI: 1.0
This testcase can result in a Deadlock
Category: P2P
BEGIN_MBB_TESTS
$ mpirun -np 2 ${EXE}
| ERROR CallOrdering
| CallOrdering-ANY_TAG
END_MBB_TESTS
////////////////////// End of MBI headers /////////////////// */
#include <mpi.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int nprocs = -1;
int rank = -1;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (nprocs < 2)
printf(
"MBB ERROR: This test needs at least 2 processes to produce a bug!\n");
int *buf = (int *)calloc(10, sizeof(int));
if (rank == 0) {
for (int i = 0; i < 10; ++i) {
MPI_Recv(buf, 10, MPI_INT, 1, MPI_ANY_TAG, MPI_COMM_WORLD,
MPI_STATUS_IGNORE);
if (buf[0] != i) {
/*MBBERROR_BEGIN*/ MPI_Recv(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD,
MPI_STATUS_IGNORE); /*MBBERROR_END*/
}
}
}
if (rank == 1) {
for (int i = 0; i < 10; ++i) {
buf[0] = i;
MPI_Send(buf, 10, MPI_INT, 0, i, MPI_COMM_WORLD);
}
MPI_Send(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD);
}
free(buf);
MPI_Finalize();
printf("Rank %d finished normally\n", rank);
return 0;
}
0.9883935451507568
\ No newline at end of file
841cf3603a215f932d9657c838a0988e
\ No newline at end of file
Running #1415 /MBI/scripts/gencodes/P2P/CallOrdering-ANY_TAG-001.c
Wait up to 60 seconds
Compiling CallOrdering-ANY_TAG-001.c (batchinfo:1/1)
$ mpiicc /MBI/scripts/gencodes/P2P/CallOrdering-ANY_TAG-001.c -O0 -g -o CallOrdering-ANY_TAG-001
| icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
|
Executing the command (cwd: None)
$ mpirun -check_mpi -genv VT_CHECK_TRACING on -np 2 ./CallOrdering-ANY_TAG-001
|
| [0] INFO: CHECK LOCAL:EXIT:SIGNAL ON
| [0] INFO: CHECK LOCAL:EXIT:BEFORE_MPI_FINALIZE ON
| [0] INFO: CHECK LOCAL:MPI:CALL_FAILED ON
| [0] INFO: CHECK LOCAL:MEMORY:OVERLAP ON
| [0] INFO: CHECK LOCAL:MEMORY:ILLEGAL_MODIFICATION ON
| [0] INFO: CHECK LOCAL:MEMORY:INACCESSIBLE ON
| [0] INFO: CHECK LOCAL:MEMORY:ILLEGAL_ACCESS OFF
| [0] INFO: CHECK LOCAL:MEMORY:INITIALIZATION OFF
| [0] INFO: CHECK LOCAL:REQUEST:ILLEGAL_CALL ON
| [0] INFO: CHECK LOCAL:REQUEST:NOT_FREED ON
| [0] INFO: CHECK LOCAL:REQUEST:PREMATURE_FREE ON
| [0] INFO: CHECK LOCAL:DATATYPE:NOT_FREED ON
| [0] INFO: CHECK LOCAL:BUFFER:INSUFFICIENT_BUFFER ON
| [0] INFO: CHECK GLOBAL:DEADLOCK:HARD ON
| [0] INFO: CHECK GLOBAL:DEADLOCK:POTENTIAL ON
| [0] INFO: CHECK GLOBAL:DEADLOCK:NO_PROGRESS ON
| [0] INFO: CHECK GLOBAL:MSG:DATATYPE:MISMATCH ON
| [0] INFO: CHECK GLOBAL:MSG:DATA_TRANSMISSION_CORRUPTED ON
| [0] INFO: CHECK GLOBAL:MSG:PENDING ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:DATATYPE:MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:DATA_TRANSMISSION_CORRUPTED ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:OPERATION_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:SIZE_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:REDUCTION_OPERATION_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:ROOT_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:INVALID_PARAMETER ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:COMM_FREE_MISMATCH ON
| [0] INFO: maximum number of errors before aborting: CHECK-MAX-ERRORS 1
| [0] INFO: maximum number of reports before aborting: CHECK-MAX-REPORTS 0 (= unlimited)
| [0] INFO: maximum number of times each error is reported: CHECK-SUPPRESSION-LIMIT 10
| [0] INFO: timeout for deadlock detection: DEADLOCK-TIMEOUT 60s
| [0] INFO: timeout for deadlock warning: DEADLOCK-WARNING 300s
| [0] INFO: maximum number of reported pending messages: CHECK-MAX-PENDING 20
|
| [0] ERROR: Signal 11 caught in ITC code section.
| [0] ERROR: Either ITC is faulty or (more likely in a release version)
| [0] ERROR: the application has corrupted ITC's internal data structures.
| [0] ERROR: Giving up now...
|
| ===================================================================================
| = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
| = RANK 0 PID 258274 RUNNING AT n23t0001.hpc.itc.rwth-aachen.de
| = KILLED BY SIGNAL: 9 (Killed)
| ===================================================================================
|
| ===================================================================================
| = BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
| = RANK 1 PID 258275 RUNNING AT n23t0001.hpc.itc.rwth-aachen.de
| = KILLED BY SIGNAL: 9 (Killed)
| ===================================================================================
|
Command return code: 255, elapsed time: 0.9883935451507568
Finished #1415 /MBI/scripts/gencodes/P2P/CallOrdering-ANY_TAG-001.c
/* ///////////////////////// The MPI Bug Bench ////////////////////////
Description: Call Ordering: probe for message before it is going to be send
Version of MPI: 3.0
This testcase can result in a Deadlock
Category: P2P
BEGIN_MBB_TESTS
$ mpirun -np 2 ${EXE}
| ERROR CallOrdering
| CallOrdering-mpi_improbe-mpi_send
END_MBB_TESTS
////////////////////// End of MBI headers /////////////////// */
#include <mpi.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int nprocs = -1;
int rank = -1;
MPI_Message mpi_message_0 = MPI_MESSAGE_NULL;
int int_0 = 0;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (nprocs < 2)
printf(
"MBB ERROR: This test needs at least 2 processes to produce a bug!\n");
int *buf = (int *)calloc(10, sizeof(int));
if (rank == 0) {
MPI_Recv(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
MPI_Send(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD);
}
if (rank == 1) {
int flag = 0;
while (!flag) {
/*MBBERROR_BEGIN*/ MPI_Improbe(0, 0, MPI_COMM_WORLD, &int_0,
&mpi_message_0,
MPI_STATUS_IGNORE); /*MBBERROR_END*/
}
MPI_Send(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD);
MPI_Mrecv(buf, 10, MPI_INT, &mpi_message_0, MPI_STATUS_IGNORE);
}
free(buf);
MPI_Finalize();
printf("Rank %d finished normally\n", rank);
return 0;
}
60.2059760093689
\ No newline at end of file
3c7ed7865e0cd3c7741fd5499e0f8223
\ No newline at end of file
60.00456142425537 seconds
\ No newline at end of file
Running #1789 /MBI/scripts/gencodes/P2P/CallOrdering-mpi_improbe-mpi_send-001.c
Wait up to 60 seconds
Compiling CallOrdering-mpi_improbe-mpi_send-001.c (batchinfo:1/1)
$ mpiicc /MBI/scripts/gencodes/P2P/CallOrdering-mpi_improbe-mpi_send-001.c -O0 -g -o CallOrdering-mpi_improbe-mpi_send-001
| icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
|
Executing the command (cwd: None)
$ mpirun -check_mpi -genv VT_CHECK_TRACING on -np 2 ./CallOrdering-mpi_improbe-mpi_send-001
|
| [0] INFO: CHECK LOCAL:EXIT:SIGNAL ON
| [0] INFO: CHECK LOCAL:EXIT:BEFORE_MPI_FINALIZE ON
| [0] INFO: CHECK LOCAL:MPI:CALL_FAILED ON
| [0] INFO: CHECK LOCAL:MEMORY:OVERLAP ON
| [0] INFO: CHECK LOCAL:MEMORY:ILLEGAL_MODIFICATION ON
| [0] INFO: CHECK LOCAL:MEMORY:INACCESSIBLE ON
| [0] INFO: CHECK LOCAL:MEMORY:ILLEGAL_ACCESS OFF
| [0] INFO: CHECK LOCAL:MEMORY:INITIALIZATION OFF
| [0] INFO: CHECK LOCAL:REQUEST:ILLEGAL_CALL ON
| [0] INFO: CHECK LOCAL:REQUEST:NOT_FREED ON
| [0] INFO: CHECK LOCAL:REQUEST:PREMATURE_FREE ON
| [0] INFO: CHECK LOCAL:DATATYPE:NOT_FREED ON
| [0] INFO: CHECK LOCAL:BUFFER:INSUFFICIENT_BUFFER ON
| [0] INFO: CHECK GLOBAL:DEADLOCK:HARD ON
| [0] INFO: CHECK GLOBAL:DEADLOCK:POTENTIAL ON
| [0] INFO: CHECK GLOBAL:DEADLOCK:NO_PROGRESS ON
| [0] INFO: CHECK GLOBAL:MSG:DATATYPE:MISMATCH ON
| [0] INFO: CHECK GLOBAL:MSG:DATA_TRANSMISSION_CORRUPTED ON
| [0] INFO: CHECK GLOBAL:MSG:PENDING ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:DATATYPE:MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:DATA_TRANSMISSION_CORRUPTED ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:OPERATION_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:SIZE_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:REDUCTION_OPERATION_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:ROOT_MISMATCH ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:INVALID_PARAMETER ON
| [0] INFO: CHECK GLOBAL:COLLECTIVE:COMM_FREE_MISMATCH ON
| [0] INFO: maximum number of errors before aborting: CHECK-MAX-ERRORS 1
| [0] INFO: maximum number of reports before aborting: CHECK-MAX-REPORTS 0 (= unlimited)
| [0] INFO: maximum number of times each error is reported: CHECK-SUPPRESSION-LIMIT 10
| [0] INFO: timeout for deadlock detection: DEADLOCK-TIMEOUT 60s
| [0] INFO: timeout for deadlock warning: DEADLOCK-WARNING 300s
| [0] INFO: maximum number of reported pending messages: CHECK-MAX-PENDING 20
|
| [1] INFO: 502.00MB trace data in RAM + 0.00MB trace data flushed = 502.00MB total
Command killed by signal 15, elapsed time: 60.2059760093689
Finished #1789 /MBI/scripts/gencodes/P2P/CallOrdering-mpi_improbe-mpi_send-001.c
/* ///////////////////////// The MPI Bug Bench ////////////////////////
Description: Call Ordering: probe for message before it is going to be send
Version of MPI: 1.0
This testcase can result in a Deadlock
Category: P2P
BEGIN_MBB_TESTS
$ mpirun -np 2 ${EXE}
| ERROR CallOrdering
| CallOrdering-mpi_iprobe-mpi_send
END_MBB_TESTS
////////////////////// End of MBI headers /////////////////// */
#include <mpi.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int nprocs = -1;
int rank = -1;
int int_0 = 0;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (nprocs < 2)
printf(
"MBB ERROR: This test needs at least 2 processes to produce a bug!\n");
int *buf = (int *)calloc(10, sizeof(int));
if (rank == 0) {
int_0 = 0;
while (!int_0) {
/*MBBERROR_BEGIN*/ MPI_Iprobe(0, 0, MPI_COMM_WORLD, &int_0,
MPI_STATUS_IGNORE); /*MBBERROR_END*/
}
MPI_Recv(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
MPI_Send(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD);
}
if (rank == 1) {
MPI_Send(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD);
MPI_Recv(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
}
free(buf);
MPI_Finalize();
printf("Rank %d finished normally\n", rank);
return 0;
}
60.206751346588135
\ No newline at end of file
8ed74d9c7c03f921a3764b8b06a371b8
\ No newline at end of file
60.0052855014801 seconds
\ No newline at end of file
Running #1887 /MBI/scripts/gencodes/P2P/CallOrdering-mpi_iprobe-mpi_send-001.c
Wait up to 60 seconds
Compiling CallOrdering-mpi_iprobe-mpi_send-001.c (batchinfo:1/1)
$ mpiicc /MBI/scripts/gencodes/P2P/CallOrdering-mpi_iprobe-mpi_send-001.c -O0 -g -o CallOrdering-mpi_iprobe-mpi_send-001
| icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second half of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this compiler. Use '-diag-disable=10441' to disable this message.
|
Executing the command (cwd: None)
$ mpirun -check_mpi -genv VT_CHECK_TRACING on -np 2 ./CallOrdering-mpi_iprobe-mpi_send-001
|
Command killed by signal 15, elapsed time: 60.206751346588135
Finished #1887 /MBI/scripts/gencodes/P2P/CallOrdering-mpi_iprobe-mpi_send-001.c
/* ///////////////////////// The MPI Bug Bench ////////////////////////
Description: Call Ordering: probe for message before it is going to be send
Version of MPI: 3.0
This testcase can result in a Deadlock
Category: P2P
BEGIN_MBB_TESTS
$ mpirun -np 2 ${EXE}
| ERROR CallOrdering
| CallOrdering-mpi_mprobe-mpi_send
END_MBB_TESTS
////////////////////// End of MBI headers /////////////////// */
#include <mpi.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char **argv) {
int nprocs = -1;
int rank = -1;
MPI_Message mpi_message_0 = MPI_MESSAGE_NULL;
MPI_Init(&argc, &argv);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
if (nprocs < 2)
printf(
"MBB ERROR: This test needs at least 2 processes to produce a bug!\n");
int *buf = (int *)calloc(10, sizeof(int));
if (rank == 0) {
MPI_Recv(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD, MPI_STATUS_IGNORE);
MPI_Send(buf, 10, MPI_INT, 1, 0, MPI_COMM_WORLD);
}
if (rank == 1) {
/*MBBERROR_BEGIN*/ MPI_Mprobe(0, 0, MPI_COMM_WORLD, &mpi_message_0,
MPI_STATUS_IGNORE); /*MBBERROR_END*/
MPI_Send(buf, 10, MPI_INT, 0, 0, MPI_COMM_WORLD);
MPI_Mrecv(buf, 10, MPI_INT, &mpi_message_0, MPI_STATUS_IGNORE);
}
free(buf);
MPI_Finalize();
printf("Rank %d finished normally\n", rank);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment