1
1

The datatype should be initialized as soon as possible. Inside we detect the local architecture and

create the local convertor. They will get used on the ompi_proc_init.

This commit was SVN r6680.
Этот коммит содержится в:
George Bosilca 2005-07-29 00:15:26 +00:00
родитель dc2a3d7917
Коммит 8e0d8a0e99

Просмотреть файл

@ -139,8 +139,15 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
}
#endif
/* Initialize OMPI procs */
/* initialize datatypes. This step should be done early as it will create the local convertor
* and local arch used in the proc init.
*/
if (OMPI_SUCCESS != (ret = ompi_ddt_init())) {
error = "ompi_ddt_init() failed";
goto error;
}
/* Initialize OMPI procs */
if (OMPI_SUCCESS != (ret = ompi_proc_init())) {
error = "mca_proc_init() failed";
goto error;
@ -259,12 +266,6 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
goto error;
}
/* initialize datatypes */
if (OMPI_SUCCESS != (ret = ompi_ddt_init())) {
error = "ompi_ddt_init() failed";
goto error;
}
/* initialize ops */
if (OMPI_SUCCESS != (ret = ompi_op_init())) {
error = "ompi_op_init() failed";