You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the supported way to override superlu_abort_and_exit() using USER_ABORT? While one can define the macro to one's own function (e.g. -DUSER_ABORT=MySUError), SuperLU provides no way to inject the declaration, and the signature of void superlu_abort_and_exit(char *) is not the signature of an implicit function.
The text was updated successfully, but these errors were encountered:
That's equivalent to -DUSER_ABORT=MySUError, although less portable between compilers.
The problem is that regardless of what you define USER_ABORT to be, it will be implicitly defined (short of modding SuperLU's own headers as you suggest, which is not maintainable), and it will likely have an invalid signature.
What is the supported way to override
superlu_abort_and_exit()
usingUSER_ABORT
? While one can define the macro to one's own function (e.g.-DUSER_ABORT=MySUError
), SuperLU provides no way to inject the declaration, and the signature ofvoid superlu_abort_and_exit(char *)
is not the signature of an implicit function.The text was updated successfully, but these errors were encountered: