Skip to content

Commit

Permalink
Merge pull request open-mpi#502 from nkogteva/master
Browse files Browse the repository at this point in the history
sm dstore: set pmix segment size to proper value
  • Loading branch information
hppritcha committed Mar 30, 2015
2 parents b67b361 + a828ead commit 0c553c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orte/orted/pmix/pmix_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ opal_dstore_attr_t *pmix_server_create_shared_segment(orte_jobid_t jid)
return NULL;
}
/* create a shared segment */
pmix_segment_size = jdata->num_local_procs * sizeof(meta_info) + META_OFFSET;
pmix_segment_size = jdata->num_procs * sizeof(meta_info) + META_OFFSET;
rc = asprintf(&sm_file, "%s" OPAL_PATH_SEP "dstore_segment.meta.%u", orte_process_info.job_session_dir, jid);
if (0 <= rc && NULL != sm_file) {
rc = opal_shmem_segment_create (&seg_ds, sm_file, pmix_segment_size);
Expand Down

0 comments on commit 0c553c2

Please sign in to comment.