add the ompi_file_t pointer correctly on the ompio file handle for the sm and individual component.
Этот коммит содержится в:
родитель
3d1780f1a2
Коммит
02a4eb2f13
@ -54,6 +54,7 @@ int mca_sharedfp_individual_file_open (struct ompi_communicator_t *comm,
|
||||
opal_output(0, "mca_sharedfp_individual_file_open: Error during file open\n");
|
||||
return err;
|
||||
}
|
||||
shfileHandle->f_fh = fh->f_fh;
|
||||
|
||||
sh = (struct mca_sharedfp_base_data_t*) malloc ( sizeof(struct mca_sharedfp_base_data_t));
|
||||
if ( NULL == sh ){
|
||||
|
@ -69,6 +69,7 @@ int mca_sharedfp_sm_file_open (struct ompi_communicator_t *comm,
|
||||
opal_output(0, "mca_sharedfp_sm_file_open: Error during file open\n");
|
||||
return err;
|
||||
}
|
||||
shfileHandle->f_fh = fh->f_fh;
|
||||
|
||||
/*Memory is allocated here for the sh structure*/
|
||||
if ( mca_sharedfp_sm_verbose ) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user