LLNL / serac

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

Improve error msg about profiling variant #1142

Closed chapman39 closed 1 month ago

chapman39 commented 1 month ago

Improves error message when you attempt to enable profiling without required libraries (caliper/ adiak).

CMake Error at CMakeLists.txt:20 (message):
  SERAC_ENABLE_PROFILING cannot be ON without CALIPER_DIR defined.  Either
  specify a host config with CALIPER_DIR, or rebuild Serac TPLs with
  +profiling variant.
samuelpmishLLNL commented 1 month ago

Thanks!