dyollb / VegaFEM

VegaFEM with CMake generated build system
Other
4 stars 2 forks source link

PARDISO define conflicts with MKL PARDISO function name on Windows #13

Closed dyollb closed 12 months ago

dyollb commented 12 months ago

On Windows the MKL PARDISO solver function is called PARDISO. If you include e.g. centralDifferencesSparse.h the #define PARDISO gets imported here: https://github.com/dyollb/VegaFEM/blob/4d5a0f64777a572821014bf847993d5d391d3433/libraries/integrator/integratorSolverSelection.h#L44

Either this file should never be included from a header, or we should only use the macros VEGA_USE_PARDISO, VEGA_USE_SPOOLES, etc.

dyollb commented 12 months ago

resolved by #14