parallel tuning

This commit is contained in:
Joachim Schoeberl 2012-06-21 14:19:47 +00:00
parent fc81f592f5
commit 6b57656f2f

View File

@ -135,6 +135,7 @@ namespace netgen
// Destination for messages, errors, ... // Destination for messages, errors, ...
DLL_HEADER void Ng_PrintDest(const char * s) DLL_HEADER void Ng_PrintDest(const char * s)
{ {
/*
#ifdef PARALLEL #ifdef PARALLEL
int id, ntasks; int id, ntasks;
MPI_Comm_size(MPI_COMM_WORLD, &ntasks); MPI_Comm_size(MPI_COMM_WORLD, &ntasks);
@ -142,7 +143,7 @@ namespace netgen
#else #else
int id = 0; int ntasks = 1; int id = 0; int ntasks = 1;
#endif #endif
*/
if ( ntasks == 1 ) if ( ntasks == 1 )
(*mycout) << s << flush; (*mycout) << s << flush;