MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / my_abort

Function my_abort

cpp/0_Introduction/simpleMPI/simpleMPI.cpp:125–129  ·  view source on GitHub ↗

Shut down MPI cleanly if something goes wrong

Source from the content-addressed store, hash-verified

123
124// Shut down MPI cleanly if something goes wrong
125void my_abort(int err)
126{
127 cout << "Test FAILED\n";
128 MPI_Abort(MPI_COMM_WORLD, err);
129}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected