Make sure to call opal_init_util before mca_base_open().
This bug(?) become apparent due to the installdirs commit since these tools were not finding the proper libraries since the paths were wonkey. It all looks good now. :) This commit was SVN r14461.
Этот коммит содержится в:
родитель
646c2b2171
Коммит
27a42f48d3
@ -195,6 +195,15 @@ main(int argc, char *argv[])
|
||||
static int initialize(int argc, char *argv[]) {
|
||||
int ret, exit_status = OPAL_SUCCESS;
|
||||
|
||||
/*
|
||||
* Make sure to init util before parse_args
|
||||
* to ensure installdirs is setup properly
|
||||
* before calling mca_base_open();
|
||||
*/
|
||||
if( OPAL_SUCCESS != (ret = opal_init_util()) ) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse Command Line Arguments
|
||||
*/
|
||||
|
@ -293,6 +293,15 @@ static int initialize(int argc, char *argv[])
|
||||
{
|
||||
int ret, exit_status = OPAL_SUCCESS;
|
||||
|
||||
/*
|
||||
* Make sure to init util before parse_args
|
||||
* to ensure installdirs is setup properly
|
||||
* before calling mca_base_open();
|
||||
*/
|
||||
if( OPAL_SUCCESS != (ret = opal_init_util()) ) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse Command line arguments
|
||||
*/
|
||||
|
@ -484,6 +484,15 @@ static int find_universe(void) {
|
||||
static int ckpt_init(int argc, char *argv[]) {
|
||||
int exit_status = ORTE_SUCCESS, ret;
|
||||
|
||||
/*
|
||||
* Make sure to init util before parse_args
|
||||
* to ensure installdirs is setup properly
|
||||
* before calling mca_base_open();
|
||||
*/
|
||||
if( ORTE_SUCCESS != (ret = opal_init_util()) ) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse Command Line Arguments
|
||||
*/
|
||||
|
@ -500,6 +500,15 @@ static int parse_args(int argc, char *argv[]) {
|
||||
static int orte_ps_init(int argc, char *argv[]) {
|
||||
int exit_status = ORTE_SUCCESS, ret;
|
||||
|
||||
/*
|
||||
* Make sure to init util before parse_args
|
||||
* to ensure installdirs is setup properly
|
||||
* before calling mca_base_open();
|
||||
*/
|
||||
if( ORTE_SUCCESS != (ret = opal_init_util()) ) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse Command Line Arguments
|
||||
*/
|
||||
|
@ -236,6 +236,15 @@ main(int argc, char *argv[])
|
||||
static int initialize(int argc, char *argv[]) {
|
||||
int ret, exit_status = ORTE_SUCCESS;
|
||||
|
||||
/*
|
||||
* Make sure to init util before parse_args
|
||||
* to ensure installdirs is setup properly
|
||||
* before calling mca_base_open();
|
||||
*/
|
||||
if( ORTE_SUCCESS != (ret = opal_init_util()) ) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
/*
|
||||
* Parse command line arguments
|
||||
*/
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user