sync with ompi-plugin, add func info to stderr