Changeset 23348


Ignore:
Timestamp:
09/28/18 07:59:34 (6 years ago)
Author:
Mathieu Morlighem
Message:

BUG: fixed solver in parallel with CoDiPack

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/toolkits/mumps/MumpsSolve.cpp

    r23280 r23348  
    525525
    526526  updateVectorAdjoint(tape, indexB, adjX, n);
     527
     528  // bcast dp_y (the solution of the forward system)
     529  ISSM_MPI_Bcast(valueX,n,ISSM_MPI_PDOUBLE,0,IssmComm::GetComm());
     530  // bcast the adjoint of the right-hand-side, i.e. this solution
     531  ISSM_MPI_Bcast(adjX,n,ISSM_MPI_PDOUBLE,0,IssmComm::GetComm());
     532
    527533  for(int i=0; i<local_nnz; ++i) {
    528534    // we access the transposed matrix here because we stored the indices in a transposed way
Note: See TracChangeset for help on using the changeset viewer.