wrap
wrap copied to clipboard
MPI wrapper generator, for writing PMPI tool libraries
This adds the `{{size}}` macro which allows to compute the volume of data manipulated by the various MPI calls while also differentiating inbound and outboud traffic. Notes: - Neighborhood are...
Instead of optionally check for python, it will be checked as mandatory dependency instead. This ensures, CMake throws an error, if python is not available. As both, the CMake `find_package()`...
Wrap can generate reentry guards for all MPI functions when enabling the `-g` option. However, a global `static int` will be used, which is not thread safe.
MPI_Init_thread also has different syntax for C and fortran. Mimic special handling of MPI_Init for MPI_Init_thread.
Newer openmpi 5.0.* introduced a new handle MPI_Session which was not recognized by wrap.py. The code diff below adds the new definition to the handles list. The change addresses the...