mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r6728] Purpose:
Silly bug fix. Description: Forgot to put the comm/info duplication code in. Solution: Put them back in. Platforms tested: Did not run h5committest since the changes are all in the MPIO driver code. Tested on eirene and Modi4, both parallel modes. Misc. update:
This commit is contained in:
parent
1b9ecb6a01
commit
7b976dd7a3
@ -830,9 +830,11 @@ H5FD_mpio_fapl_get(H5FD_t *_file)
|
||||
if (NULL==(fa=H5MM_calloc(sizeof(H5FD_mpio_fapl_t))))
|
||||
HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed");
|
||||
|
||||
/* These should both be copied. --rpm, 1999-08-13 */
|
||||
fa->comm = file->comm;
|
||||
fa->info = file->info;
|
||||
/* Duplicate communicator and Info object. */
|
||||
if (FAIL==H5FD_mpio_comm_info_dup(file->comm, file->info,
|
||||
&fa->comm, &fa->info))
|
||||
HGOTO_ERROR(H5E_INTERNAL, H5E_CANTCOPY, NULL,
|
||||
"Communicator/Info duplicate failed");
|
||||
|
||||
/* Set return value */
|
||||
ret_value=fa;
|
||||
|
Loading…
Reference in New Issue
Block a user