caseMPI_THREAD_SINGLE:// application is single-threaded
caseMPI_THREAD_FUNNELED:// application is multithreaded, but all MPI calls will be issued from the master thread only
caseMPI_THREAD_SERIALIZED:// application is multithreaded and any thread may issue MPI calls, but different threads will never issue MPI calls at the same time
caseMPI_THREAD_MULTIPLE:// application is multithreaded and any thread may issue MPI calls at any time
break;
default:
std::cerr<<"ERROR: invalid argument for the 'required' thread level support: "<<required_thread_level<<std::endl;