1
1

Fix broken build on OS X with static compiles. Everything that uses

anything in OPAL *MUST* call either opal_init() or opal_init_util().

This commit was SVN r14468.
Этот коммит содержится в:
Brian Barrett 2007-04-23 15:45:39 +00:00
родитель 477828159e
Коммит 0a8af62c64

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

@ -37,6 +37,7 @@
#include <sys/wait.h>
#endif /* HAVE_SYS_WAIT_H */
#include "opal/runtime/opal.h"
#include "opal/event/event.h"
#include "opal/mca/base/base.h"
#include "opal/threads/condition.h"
@ -187,8 +188,8 @@ int main(int argc, char *argv[])
orteboot_globals.exit = false;
orteboot_globals.debug = false;
/* Setup MCA params */
mca_base_param_init();
/* initialize opal layer */
opal_init_util();
/* find our basename (the name of the executable) so that we can
* use it in pretty-print error messages
@ -309,6 +310,7 @@ int main(int argc, char *argv[])
free(orteboot_basename);
opal_finalize_util();
return ORTE_SUCCESS;
}