Commit 3bd67863 authored by incardon's avatar incardon

Print processor name

parent 78d3c225
......@@ -58,8 +58,12 @@ public:
*/
void openLog(size_t rank)
{
int result;
char p_name[MPI_MAX_PROCESSOR_NAME];
MPI_Get_processor_name(p_name, &result );
std::stringstream str;
str << "vcluster_log_" << rank;
str << "vcluster_log_" << p_name << "_" << rank;
f.open(str.str());
}
......
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