commit 9043dca99f83dbf723b92218406ea6baf2c09e16
parent 2fbe6b55f8145672c8cd5c01dc3a3db44a826069
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 20 Nov 2020 09:59:52 +0100
Fix how #processes and #threads are logged
Actually, simply log #processes and #threads in all situations while
previously they were logged only when several processes were launched.
This commit thus remove the specific log message introduce by the commit
1b1e2bf40b28bb58b3e9a39ec1cb11f281e0e6d3.
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/htrdr.c b/src/htrdr.c
@@ -405,8 +405,7 @@ init_mpi(struct htrdr* htrdr)
goto error;
}
- if(htrdr->mpi_nprocs != 1)
- mpi_print_proc_info(htrdr);
+ mpi_print_proc_info(htrdr);
exit:
return res;
@@ -500,9 +499,6 @@ htrdr_init
res = init_mpi(htrdr);
if(res != RES_OK) goto error;
- htrdr_log(htrdr, "Number of processes: %d\n", htrdr->mpi_nprocs);
- htrdr_log(htrdr, "Number of per process threads: %u\n", htrdr->nthreads);
-
if(!args->output) {
htrdr->output = stdout;
output_name = "<stdout>";