mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
parallel tuning
This commit is contained in:
parent
fc81f592f5
commit
6b57656f2f
@ -135,6 +135,7 @@ namespace netgen
|
||||
// Destination for messages, errors, ...
|
||||
DLL_HEADER void Ng_PrintDest(const char * s)
|
||||
{
|
||||
/*
|
||||
#ifdef PARALLEL
|
||||
int id, ntasks;
|
||||
MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
|
||||
@ -142,7 +143,7 @@ namespace netgen
|
||||
#else
|
||||
int id = 0; int ntasks = 1;
|
||||
#endif
|
||||
|
||||
*/
|
||||
|
||||
if ( ntasks == 1 )
|
||||
(*mycout) << s << flush;
|
||||
|
Loading…
Reference in New Issue
Block a user