Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MPI_ALLREDUCE within FESOM2:    call

Code Block
    call MPI_AllREDUCE(shortwave_local,

...

 shortwave_global,

...

  2, MPI_DOUBLE_PRECISION, MPI_SUM, MPI_COMM_FESOM, MPIerr)


MPL_ALLREDUCE within OpenIFS:    CALL

Code Block
    CALL MPL_ALLREDUCE(shortwave_local,'SUM',ldreprod=.FALSE.,CDSTRING='AWICOUPLING:')


I use the function as it is used in many other places within OpenIFS. Does it work only for 1-d variables and returns in the input variable? Did I misunderstand something here? I'll be using normal MPI_ALLREDUCE for now but I'd still like to learn.


Cheers,

Jan