...
Code Block |
---|
call MPI_AllREDUCE(shortwave_local,, shortwave_global, 2, MPI_DOUBLE_PRECISION, MPI_SUM, MPI_COMM_FESOM, MPIerr) |
...
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 missunderstand misunderstand something here? I'll be using normal MPI_ALLREDUCE for now but I'd still like to learn.
Cheers,
Jan