Skip to content
Snippets Groups Projects
Commit 781a2635 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

PM; Add ticks around metis call input filename.

parent 8fcb6f44
No related branches found
No related tags found
No related merge requests found
...@@ -136,8 +136,8 @@ int main(int argc, char* argv[]) ...@@ -136,8 +136,8 @@ int main(int argc, char* argv[])
INFO("Path to mpmetis is: \n\t%s", exe_path.c_str()); INFO("Path to mpmetis is: \n\t%s", exe_path.c_str());
const std::string mpmetis_com = const std::string mpmetis_com =
exe_path + "/mpmetis " + " -gtype=nodal " + BaseLib::joinPaths(exe_path, "mpmetis") + " -gtype=nodal " + "'" +
input_file_name_wo_extension + ".mesh " + input_file_name_wo_extension + ".mesh" + "' " +
std::to_string(nparts.getValue()); std::to_string(nparts.getValue());
const int status = system(mpmetis_com.c_str()); const int status = system(mpmetis_com.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment