dftbplus / mpifx

Modern Fortran wrappers around MPI routines
BSD 2-Clause "Simplified" License
34 stars 13 forks source link

Introduced routines for MPI shared memory #37

Closed terminationshock closed 2 years ago

terminationshock commented 2 years ago

With this commit, I implemented basic functionality for using MPI shared memory. We can use this concept to reduce the memory usage of an application if large arrays are stored only once per node and not once per MPI task.

See test/test_shared_memory.f90 for a short example.

terminationshock commented 2 years ago

I have updated the PR so that the test program now works exactly as suggested.