Remove logging from hardware detection
commit9a68adc19619a0cdac0775c95edbbbd38cff2465
authorMark Abraham <mark.j.abraham@gmail.com>
Wed, 4 Nov 2020 14:16:50 +0000 (4 14:16 +0000)
committerJoe Jordan <ejjordan12@gmail.com>
Wed, 4 Nov 2020 14:16:50 +0000 (4 14:16 +0000)
tree9f7e36d5426e28436280406500d991ce53df1ced
parent264729f600fedc3acce45c99bc066f1523e95658
Remove logging from hardware detection

This should be deferred to separate responsibilities, in particular
so that hardware detection can run before logging functionality
is available. Subsequent logging of the results restores the value
to the user from understanding what mdrun could see about their
hardware.

Refs #3650, #3768
16 files changed:
api/gmxapi/cpp/context.cpp
api/gmxapi/cpp/context_impl.h
src/gromacs/hardware/detecthardware.cpp
src/gromacs/hardware/detecthardware.h
src/gromacs/hardware/hw_info.h
src/gromacs/mdrun/runner.cpp
src/gromacs/mdrun/runner.h
src/programs/CMakeLists.txt
src/programs/mdrun/mdrun.cpp
src/programs/mdrun/mdrun_main.h
src/programs/mdrun/tests/moduletest.cpp
src/programs/mdrun/tests/moduletest.h
src/programs/mdrun/tests/multisimtest.h
src/programs/mdrun/tests/pmetest.cpp
src/testutils/test_hardware_environment.cpp
src/testutils/test_hardware_environment.h