message: Set FI_FORK_UNSAFE, if the user has not already set it in their environment
diff: @@ -949,6 +949,7 @@ static int RdmaGetPriority(CP_Services Svcs, void *CP_Stream,
  {
  struct fi_info *hints, *info, *originfo, *useinfo;
  char *ifname;
  + char *forkunsafe;
  int Ret = -1;
  (void)attr_atom_from_string(
  @@ -973,6 +974,12 @@ static int RdmaGetPriority(CP_Services Svcs, void *CP_Stream,
  ifname = getenv("FABRIC_IFACE");
  }
  + forkunsafe = getenv("FI_FORK_UNSAFE");
  + if(!forkunsafe)
  + {
  + putenv("FI_FORK_UNSAFE=Yes");
  + }
  +
  fi_getinfo(FI_VERSION(1, 5), NULL, NULL, 0, hints, &info);
  fi_freeinfo(hints);
  