Debugging and building different MPI communication & decomposition libraries #964
Replies: 4 comments 5 replies
-
The 1st part is linked to the intel mpi library, which ist the most dominant in most of the HPCF environments and comes with the compiler itself. Since impi (intel mpi) is not compiled by the user/admin there are no build options. Intel controls the debug output by applying environmental variables that are defined here: Various debug levels are available, which helps the ww3 development team debug mpi errors. |
Beta Was this translation helpful? Give feedback.
-
The 2nd part is about MPICH (... to be continued) |
Beta Was this translation helpful? Give feedback.
-
3rd part is about OpenMPI (... to be continued) |
Beta Was this translation helpful? Give feedback.
-
Parallel decomposition libraries. When running unstructured grid models using the domain decomposition (DD) concept for parallelization a graph partitioning software is needed. Actually, there are two options that are available in WW3. 1. SCOTCH (This is the new default DD library) The compilation of those libraries should be done on each HPCF system, where WW3 is implemented, in two settings. The 1st setting should be for debugging an analysis production and the 2nd setting should be for debugging. As WW3 is a community effort the latter can significantly speed up development and error handling from the side of the developers and helps identify and solve potential and future issues. 1. Building the SCOTCH library 1.1 Debug mode At this level, even if cmake is now in active development for the SCOTCH library we remain with the GNU makefile system, which is located in scotch/src/Make.inc directory. In this directory u can find the following makefile that need to be copied from this directory in the src directory and renamed to Makefile.inc. For debugging of SCOTCH we pick at this level the following makefile "Makefile.inc.x86-64_pc_linux2.icc.impi.debug". The compilation is just done by typing "make". 1.2. Performance model For performance builds we have chosen that "Makefile.inc.x86-64_pc_linux2.icc.impi" has to be used. 1.3. Instrumenting SCOTCH for more debug info for the SCOTCH team In order to add cpp Pragma for the sake of instrumenting further debug info and in-depth debugging information for the SCOTH team, the various debug flags can be added to l.13 of "Makefile.inc.x86-64_pc_linux2.icc.impi.debug". There are already several debug options added. 3. Building the ParMetis library (... to be continued) |
Beta Was this translation helpful? Give feedback.
-
This Idea thread is about providing a unified developing enviroment in terms of usage, compilation and debugging MPI code.
Beta Was this translation helpful? Give feedback.
All reactions