ompi
ompi copied to clipboard
interlib: fix thread safety issue
getenv() is not thread-safe so it should not be invoked within a callback subroutine. So read the environment at initialization and cache the result.
Thanks Zdeněk Salvet for reporting this issue.
Refs #13428