Ignore:
Timestamp:
Apr 10, 2012, 1:55:49 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
a40eea
Parents:
d24c2f
Message:

Merge recent changes of the vmg library into ScaFaCos.

Includes a fix for the communication problems on Jugene.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@1666 5161e1c8-67bf-11de-9fd5-51895aff932f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/base/command_list.cpp

    rd24c2f rac6d04  
    1313#ifdef HAVE_MPI
    1414#include <mpi.h>
     15#ifdef HAVE_MARMOT
     16#include <enhancempicalls.h>
     17#include <sourceinfompicalls.h>
     18#endif
    1519#endif
    1620#endif
     
    3135  Request request;
    3236  Request final_request = (commands.size() == 0 ? StopCycleNow : Continue);
     37  Comm* comm = MG::GetComm();
    3338
    3439  for (CommandList::iterator iter=commands.begin(); iter!=commands.end(); ++iter) {
     
    4348    MPI_Barrier(MPI_COMM_WORLD);
    4449#endif
    45     if (MG::GetComm()->GlobalRank() == 0)
    46       std::printf("Command \"%s\"...", iter->first.c_str());
     50    comm->PrintString("Command \"%s\" start", iter->first.c_str());
    4751#endif
    4852
     
    5559    MPI_Barrier(MPI_COMM_WORLD);
    5660#endif
    57     if (MG::GetComm()->GlobalRank() == 0)
    58       std::printf(" done\n");
     61    comm->PrintString("Command \"%s\" done", iter->first.c_str());
    5962#endif
    6063
Note: See TracChangeset for help on using the changeset viewer.