1
1

reset node name to be node number only to match

value set by allocation/mapper

This commit was SVN r8186.
Этот коммит содержится в:
Tim Woodall 2005-11-17 22:02:28 +00:00
родитель bba42f5e49
Коммит d579e048f7

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

@ -18,8 +18,10 @@
*/
#include "orte_config.h"
#include <sys/bproc.h>
#include "include/orte_constants.h"
#include "orte/util/sys_info.h"
#include "mca/base/mca_base_param.h"
#include "mca/sds/sds.h"
#include "mca/sds/base/base.h"
@ -148,6 +150,10 @@ int orte_sds_bproc_set_name(void)
ORTE_ERROR_LOG(rc);
return(rc);
}
if(NULL != orte_system_info.nodename)
free(orte_system_info.nodename);
asprintf(&orte_system_info.nodename, "%d", bproc_currnode());
}
return ORTE_SUCCESS;
}