Open MPI main development repository (BSD license)
https://github.com/open-mpi/ompi
f6a06fcbb5
such as MPI_DUP_FN: MPI says that they have to be available via that name in both C and Fortran. However, for implementation reasons, we have to have them as separate functions. But if a Fortran compiler's naming convention is ALL_CAPS, this is not possible. Hence, we need to put in #define's in mpi.h to change the C names something like this: MPI_DUP_FN -> OMPI_C_MPI_DUP_FN. This was actually done a long time ago. However, the source code where those C functions actually live (src/mpi/c/attr_fn.c) still reflected the old names (e.g., MPI_DUP_FN). This is fine, actually -- mpi.h would come in and #define them to their real names (OMPI_C_MPI_DUP_FN). So it was functionally correct, but confusing at hell (and it just bit Edgar and me today). So I'm changing src/mpi/c/attr_fn.c to use the real names (OMPI_C_MPI_DUP_FN) so that tools like ctags and grep can find them in the source code when you go looking. Plus, the code is just more clear that way. I also put in massive comments about this in src/mpi/c/attr_fn.c and src/mpi/f77/attr_fn_f.c so that we remember why the heck we did this. :-) This commit was SVN r2670. |
||
---|---|---|
config | ||
contrib | ||
etc | ||
include | ||
src | ||
test | ||
acinclude.m4 | ||
autogen.sh | ||
configure.ac | ||
Doxyfile | ||
HACKING | ||
INSTALL | ||
Makefile.am | ||
README | ||
VERSION |
This is the world's greatest MPI. ...more to write here should be a short file, referring to the real docs.