e76e875004
Update the copyright year to 2024.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2024-03-07 09:34:43 -03:00
66f5fc5c58
PARAMETERS: Read parameters on master and distribute them.
...
This commit restores the previous way of processing the parameter file.
It is read and processed on the MPI master process, and then the list
of parameters is distributed to other MPI processes. This way only one
process accesses the parameter file, reducing the number of I/O
operations, which can be significant in the case of multiprocess MPI
jobs.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2023-12-17 21:47:38 -03:00
81de98d9e2
Update the copyright year to 2023.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2023-02-01 18:36:37 -03:00
9829505650
Update copyright year to 2022.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2022-02-02 09:51:41 -03:00
b86d51b755
CMAKE, MAKE: Add support for NV HPC version 21.11.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-12-17 15:47:09 -03:00
afe0d3fe83
MPITOOLS: Stop compiler complaining if MPI is off.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-12-03 10:54:17 -03:00
7f77af6c98
MPITOOLS: Use print_message().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-19 18:36:22 -03:00
f659000e8c
PROFILE: Remove all custom profiling.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-16 15:22:15 -03:00
f3ad7924ea
MPITOOLS: Use interface for exchange_arrays().
...
Implement two subroutines, one for exchange of arrays of different
sizes, and the second for exchange of arrays of the same sizes.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-03 22:44:30 -03:00
95617866b1
MPITOOLS: Use MPI_IN_PLACE in all MPI_Allreduce().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-03 22:39:33 -03:00
20cb799fba
MPITOOLS: Fix argument intent in exchange_arrays().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-11-01 13:11:35 -03:00
8d5f356d8d
MPITOOLS: A real value and array are the same for NVIDIA compiler.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-10-30 16:53:35 -03:00
19e89c4dd2
MPITOOLS: Add maximum rank of the node.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-15 17:25:32 -03:00
b933c444df
MPITOOLS: Determine the number of nodes, processes per node, and local rank.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-07-15 17:22:00 -03:00
3d16d5c13d
Update copyrights.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2021-02-04 17:35:04 -03:00
5a04b17ab3
MPITOOLS: Fix compilation without MPI.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-08-14 21:54:46 -03:00
c15378bddd
MPITOOLS: Rewrite MPI support using Fortran 2008 interface.
...
Use procedure interfaces, remove unused variables, etc.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-08-14 19:40:10 -03:00
96595b7012
MPITOOLS: Remove unused variable from finalize_mpitools().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-08-06 09:55:02 -03:00
ae665b24c5
MPITOOLS: Rewrite reduce_sum_complex_array().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-04-22 21:31:39 -03:00
ad0303d3ba
Update copyright.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2020-03-02 13:18:53 -03:00
0133adfc53
MPITOOLS, BOUNDARIES: Simplify arguments of exchange_real_arrays().
...
Some arguments, like sproc or stag, are redundant, so remove them.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-10-01 11:15:31 -03:00
cbc1a8335f
MPITOOLS: Add function check_status().
...
This function takes one logical input, and if MPI is used reduces it
among all MPI processes with logical OR. Otherwise, it returns the input
value.
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-12 12:15:14 -02:00
cfe9614db2
MPITOOLS: Update the initialization/finalization status flag.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-02-11 09:36:02 -02:00
cf8f0e8003
MPITOOLS: Implement the return flag for initialize_mpitools().
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 15:30:52 -02:00
f8b65842af
Move source files from src/ to sources/.
...
Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
2019-01-28 09:14:20 -02:00