Skip to content
Snippets Groups Projects
Commit e50f1ece authored by Giovanni La Mura's avatar Giovanni La Mura
Browse files

Finalize MAGMA in MPI process 0

parent 9c6736a5
No related branches found
No related tags found
No related merge requests found
...@@ -536,6 +536,10 @@ void cluster(const string& config_file, const string& data_file, const string& o ...@@ -536,6 +536,10 @@ void cluster(const string& config_file, const string& data_file, const string& o
delete sconf; delete sconf;
delete gconf; delete gconf;
#ifdef USE_MAGMA
logger->log("INFO: Process " + to_string(mpidata->rank) + " finalizes MAGMA.\n");
magma_finalize();
#endif
chrono::time_point<chrono::high_resolution_clock> t_end = chrono::high_resolution_clock::now(); chrono::time_point<chrono::high_resolution_clock> t_end = chrono::high_resolution_clock::now();
elapsed = t_end - t_start; elapsed = t_end - t_start;
string message = "INFO: Calculation lasted " + to_string(elapsed.count()) + "s.\n"; string message = "INFO: Calculation lasted " + to_string(elapsed.count()) + "s.\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment