This hotfix addresses an issue where MILC+QUDA would error out if MILC was compiled with QUDA_VERBOSITY=VERBOSE or higher. The core of the issue is in qudaInit:
Here, qudamilc_called<true> itself calls printfQuda if QUDA's verbosity is >= QUDA_VERBOSE --- however, in this case, the default communicator hasn't been initialized yet, and won't be until qudaSetLayout is called (...on the next line), so we hit a catch-22 and QUDA errors out.
The easiest WAR is to manually pass QUDA_SUMMARIZE as the verbosity to qudamilc_called, preventing the call to printfQuda.
This hotfix addresses an issue where MILC+QUDA would error out if MILC was compiled with
QUDA_VERBOSITY=VERBOSE
or higher. The core of the issue is inqudaInit
:Here,
qudamilc_called<true>
itself callsprintfQuda
if QUDA's verbosity is >=QUDA_VERBOSE
--- however, in this case, the default communicator hasn't been initialized yet, and won't be untilqudaSetLayout
is called (...on the next line), so we hit a catch-22 and QUDA errors out.The easiest WAR is to manually pass
QUDA_SUMMARIZE
as the verbosity toqudamilc_called
, preventing the call toprintfQuda
.