Add message for filesize in csds
All threads resolved!
All threads resolved!
As the CSDS over allocate the file size, we need a way to know the actual file size used.
Currently, I am doing a MPI communication in between each step just to print this information. I am not sure what is the best approach:
- Output every N steps
- Doing the MPI communication only if required (but I am not sure how to get the verbosity level on nodes != 0)
- Fine like this as it should not be a significant amount of time
- Adding it to
engine_collect_end_step
- Something else?
Edited by Loic Hausammann
Merge request reports
Activity
changed milestone to %Continuous Simulation Data Stream
- Resolved by Loic Hausammann
added 1 commit
- 72648e33 - Move print outside collect_end_step + compute csds size outside collectgroup
> ./configure ... > make ... engine_collect_end_of_step.c: In function ‘engine_collect_end_of_step’: engine_collect_end_of_step.c:503:30: error: implicit declaration of function ‘csds_get_current_filesize_used_gb’ [-Werror=implicit-function-declaration] 503 | data.csds_file_size_gb = csds_get_current_filesize_used_gb(e->csds, e); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:2383: libswiftsim_la-engine_collect_end_of_step.lo] Error 1
mentioned in commit 5c20f5dc
Please register or sign in to reply