13 | | * OpenFOAM overwrites malloc. This clashes with the Score-P memory measurement system that wraps malloc.\\ Hence, it is recommended to disable the memory wrapping of Score-P by adding {{{--nomemory}}} to the instrumenter flags.\\Furthermore, it is recommended to make sure the malloc function from OpenFOAM is not instrumented, e.g. automatically by compiler instrumentation.The particular source file is: {{{src/OSspecific/POSIX/signals/sigFpe.C}}} |
14 | | * Use the GCC-compilers. GCC-compilers enable Score-P to distinguish between inlined and non-inlined functions.The GCC-compilers are free to inline any function and avoid to instrument these parts of the code. Especially for C++ code this should/must be considered. |
15 | | * OpenFOAM communicates through the PStream library which hides the used MPI infrastructure. For some OpenFOAM apps it seems to be possible, that during linking the executable, neither the MPI library nor the MPI compiler wrapper appear at the link line. In these cases the Score-P MPI library wrapping fails even though a ldd analysis of the executable shows that the PStream library contains the Score-P MPI wrapper library as a dependency. How to get around this issue needs further investigation. |
| 13 | * OpenFOAM overwrites malloc.\\This clashes with the Score-P memory measurement system that wraps malloc.\\ Hence, it is recommended to disable the memory wrapping of Score-P by adding {{{--nomemory}}} to the instrumenter flags.\\Furthermore, it is recommended to make sure the malloc function from OpenFOAM is not instrumented, e.g. automatically by compiler instrumentation.The particular source file is: {{{src/OSspecific/POSIX/signals/sigFpe.C}}} |
| 14 | * Use the GCC-compilers.\\GCC-compilers enable Score-P to distinguish between inlined and non-inlined functions.The GCC-compilers are free to inline any function and avoid to instrument these parts of the code. Especially for C++ code this should/must be considered. |
| 15 | * OpenFOAM communicates through the PStream library which hides the used MPI infrastructure.\\For some OpenFOAM apps it seems to be possible, that during linking the executable, neither the MPI library nor the MPI compiler wrapper appear at the link line. In these cases the Score-P MPI library wrapping fails even though a ldd analysis of the executable shows that the PStream library contains the Score-P MPI wrapper library as a dependency. How to get around this issue needs further investigation. |