1
1

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.
Этот коммит содержится в:
Josh Hursey 2007-04-21 22:38:15 +00:00
родитель 646c2b2171
Коммит 27a42f48d3
5 изменённых файлов: 45 добавлений и 0 удалений

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

@ -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
*/