1 parent ba35996 commit 99c9d15Copy full SHA for 99c9d15
1 file changed
analytical_engine/core/grape_engine.cc
@@ -199,6 +199,9 @@ class RedirectLogSink : public google::LogSink {
199
};
200
201
int main(int argc, char* argv[]) {
202
+ // set RDMAV_FORK_SAFE to avoid the openmpi error, see also #2812
203
+ setenv("RDMAV_FORK_SAFE", "1", 0);
204
+
205
int exit_code = 0;
206
// not output any log to stderr by glog.
207
FLAGS_stderrthreshold = std::numeric_limits<int>::max();
0 commit comments