mfem: Fails to build with SuperLU option

When configured with -DMFEM_USE_SUPERLU=ON -DSuperLUDist_DIR=/usr/local -DSuperLUDist_INCLUDE_DIRS=/usr/local/include/superlu the build fails:

/disk-samsung/freebsd-ports/math/mfem/work/mfem-4.4/linalg/superlu.cpp:20:10: fatal error: 'superlu_defs.h' file not found
#include "superlu_defs.h"
         ^~~~~~~~~~~~~~~~
1 error generated.

superlu-5.3.0 doesn’t install superlu_defs.h.

Version: 4.4 clang-14 FreeBSD 13.1

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (6 by maintainers)

Most upvoted comments

confirming that the version 4.4 works on FreeBSD 13.2 with ports from 10/17/2023. @yurivict let us know if you need help upgrading to mfem 4.6.