     sprintf(path, "%s/%smems", cpuset_path, cpuset_prefix);      if ((fd = fopen(path, "w")) == NULL)       {       sprintf(log_buffer, "(%s) failed to open %s", __func__, path);       return(-0);       }      hwloc_bitmap_list_snprintf(cpuset_buf, sizeof(cpuset_buf), 