LLNL / serac

Serac is a high order nonlinear thermomechanical simulation code
BSD 3-Clause "New" or "Revised" License
173 stars 30 forks source link

Fix lido bug relating to slepc #1151

Closed chapman39 closed 3 weeks ago

chapman39 commented 3 weeks ago

Fixes a lido bug in the case they build codeveloping serac and petsc/ slepc disabled.

MFEM will set SLEPC_DIR to something wrong if it's not included in that list. Then, (since SLEPC_DIR has been set) Serac will assume we want slepc enabled and will look for it in the wrong location.

chapman39 commented 3 weeks ago

The commit 00add9f will be temporarily merged into lido. Since serac develop already guards against petsc/ slepc not being found (main lido does not have this yet), only a minor change is needed for serac.

white238 commented 3 weeks ago

I would love to figure out where and why MFEM is messing with those variables....