Changeset 2a5451 for src/units


Ignore:
Timestamp:
May 11, 2012, 8:36:18 PM (14 years ago)
Author:
Julian Iseringhausen <isering@…>
Children:
2d4211
Parents:
36d56c
Message:

vmg now succeeds on test_comm.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/units/particle/interface_fcs.cpp

    r36d56c r2a5451  
    107107  MPI_Errhandler mpiErrorHandler;
    108108  MPI_Comm_create_errhandler(VMG::MPI::ConvertToException, &mpiErrorHandler);
    109   MPI_Comm_set_errhandler(MPI_COMM_WORLD, mpiErrorHandler);
     109  MPI_Comm_set_errhandler(mpi_comm, mpiErrorHandler);
    110110#endif
    111111
     
    119119   * Register communication class.
    120120   */
    121   Comm* comm = new Particle::CommMPI(boundary, new DomainDecompositionMPI());
     121  Comm* comm = new Particle::CommMPI(boundary, new DomainDecompositionMPI(), mpi_comm);
    122122  comm->Register("COMM");
    123123
Note: See TracChangeset for help on using the changeset viewer.