nelsonje / debug-cmake-FindMPI

Modified CMake FindMPI.cmake to aid in debugging

Repository from Github https://github.comnelsonje/debug-cmake-FindMPIRepository from Github https://github.comnelsonje/debug-cmake-FindMPI

debug-cmake-FindMPI

This package contains the standard CMake FindMPI.cmake along with supporting files and modifications to aid in debugging problems.

To use it, run ./try.sh. This will autogenerate a new CMake configuration directory, attempt to find MPI, and leave a log of what happened in latest.log.

Any arguments passed to the script will be passed to CMake. Some useful ones you might want to modify:

  • -DCMAKE_C_COMPILER=/path/to/cc
  • -DCMAKE_CXX_COMPILER=/path/to/++
  • -DMPI_C_COMPILER=/path/to/mpicc
  • -DMPI_CXX_COMPILER=/path/to/mpicxx

About

Modified CMake FindMPI.cmake to aid in debugging

License:GNU General Public License v2.0


Languages

Language:Shell 53.7%Language:C 25.8%Language:Fortran 14.4%Language:C++ 6.2%