Commit 8164eed7 authored by Pietro Incardona's avatar Pietro Incardona

Fixing with MPI_Abort

parent ede7ff53
......@@ -35,6 +35,7 @@ static void error_handler(int error_code)
if (MPI_SUCCESS != err) {\
std::cerr << "MPI error: "<< __FILE__ << " " << __LINE__ << "\n";\
error_handler(err);\
MPI_Abort(MPI_COMM_WORLD,-1);\
}\
}
......
......@@ -169,6 +169,10 @@ class Vcluster
// barrier status
MPI_Status bar_stat;
Vcluster & operator=(const Vcluster &) {return *this;};
Vcluster(const Vcluster &) {};
public:
// Finalize the MPI program
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment