Skip to content

Commit

Permalink
reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchengtkc committed Feb 5, 2025
1 parent 1e00d57 commit 53309ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion warmth/mesh_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,8 @@ def run_3d( builder:Builder, parameters:Parameters, start_time=182, end_time=0,
comm.Barrier()

bar.next()
logger.info(f"total time solve 3D: {time_solve}")
if comm.rank==0:
logger.info(f"total time solve 3D: {time_solve}")
comm.Barrier()
if comm.rank>=1:
comm.send(mm2.mesh.topology.index_map(0).local_to_global(list(range(mm2.mesh.geometry.x.shape[0]))) , dest=0, tag=((comm.rank-1)*10)+21)
Expand Down

0 comments on commit 53309ff

Please sign in to comment.