Skip to content

Fix treatment of NCDF_PARALLEL + address dependency ordering issues

Nick R. Papior requested to merge npapior/siesta:238-backport-5.0 into rel-5.0

Fix treatment of NCDF_PARALLEL + address dependency ordering issues

  • NCDF_PARALLEL only makes sense if MPI is enabled

  • Some MPI installations confuse CMake if NetCDF is compiled with MPI capability and the direct MPI dependency does not come first in the list. Orderings have been changed accordingly when appropriate.

(cherry picked from commit 6b5bcb58)

Details

Please detail what this MR introduces

  • Describe in details what this MR does? (link to the issue by writing # here)
  • Does this MR change the behaviour of any fdf-flags? If so, ensure this is documented in the manual
  • If new fdf-flags are added, please add thorough descriptions to the manual
  • add a summary sentence in the ReleaseNotes.md file
  • if this breaks compatibility, add mentions to the Docs/compatibility.tex

Why is it needed

Authors

Co-authored-by: Alberto Garcia albertog@icmab.es

Closes #238

Merge request reports