
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.
This is the world's greatest MPI. ...more to write here should be a short file, referring to the real docs.
Описание
Languages
C
82.4%
Fortran
3.8%
Roff
3.7%
Shell
3.3%
Makefile
2.3%
Разное
4.5%