We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1707bb commit 032107fCopy full SHA for 032107f
source/module_base/tool_quit.cpp
@@ -57,15 +57,6 @@ void QUIT(int ret)
57
std::cout<<" See output information in : "<<PARAM.globalv.global_out_dir<<std::endl;
58
#endif
59
60
-#ifdef _OPENMP // merge all threads of one process into one thread
61
- if (omp_in_parallel())
62
- {
63
- omp_set_num_threads(1);
64
- std::cout << "Terminating ABACUS with multithreading environment." << std::endl;
65
- }
66
- assert(!omp_in_parallel()); /* avoid the case that death thread calls fork() */
67
-#endif
68
-
69
#ifdef __MPI /* if it is MPI run, finalize first, then exit */
70
std::cout << "Terminating ABACUS with multiprocessing environment." << std::endl;
71
Parallel_Global::finalize_mpi();
0 commit comments