pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Provide a proper mfem.m4 macro for the build system #83

Closed koomie closed 2 years ago

koomie commented 2 years ago

Ideally, interrogate MFEM installation for 3rd party libraries (e.g. hypre) that it was built against.

koomie commented 2 years ago

A --with-mfem option has been added to provide the top-level path of the desired MFEM linkage. This macro will interrogate MFEM build collateral at $MFEM_DIR/share/mfem/config.mk to query which 3rd party libraries are needed with the local MFEM build (via a new python script); TPS build system updated accordingly to use MFEM_CXXFLAGS and MFEM_LIBS variables set by the new macro. Note that this addition does require availability of python3 locally.