mirror of
https://github.com/triqs/dft_tools
synced 2025-04-17 14:00:19 +02:00

- a thin layer, using a bit boost::mpi (for the communicator mostly ...) along the lines discussed in #12. - implemented reduce, allreduce, bcast for arrays, simple scalars, and any custom type that support boost serialization. - Custom types : the operations are done recursively on members. No change is needed in the class to use this mpi routine, as long as serialize function is defined. - For arrays of basic types (int, double...), a direct call to MPI C API, which works also for views (as long as they are contiguous). - For arrays of more complex types, we revert to boost::mpi. - Added a simple test. - Work still in progress : - missing a simple scatter/gather for the arrays - need more tests & API thinking. - dispatch array code to array lib - reduce is "sum" only, but do we need more.
The TRIQS website is under http://ipht.cea.fr/triqs. Start there to learn about TRIQS. To install TRIQS, follow the installation steps given under http://ipht.cea.fr/triqs/doc/user_manual/install/install.html Before you proceed, make sure you have read the LICENSE.txt file. Enjoy! The TRIQS team
Description
Languages
Python
54.8%
Fortran
37.4%
Shell
5.7%
C++
2.1%