mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
parallel tuning
This commit is contained in:
parent
fc81f592f5
commit
6b57656f2f
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user