cholla-hydro/cholla

CPU_TIME reduction

Open

#328 opened on Sep 7, 2023

View on GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (41 forks)auto 404
enhancementhelp wanted

Repository metrics

Stars
 (74 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently the time reduction uses MPI_Allreduce simply because some reduction routines already existed in mpi_routines.h

This performs an extra unnecessary step of sending the result back out to all procs, but I believe only proc 0 needs the reduced data. MPI_Reduce should suffice.

Contributor guide