- Minor fixes for topo
- Make ompi_info show topo modules This commit was SVN r1804.
Этот коммит содержится в:
родитель
915187c3c3
Коммит
0c421ef645
@ -106,6 +106,9 @@ extern "C" {
|
|||||||
int rank,
|
int rank,
|
||||||
int *nneighbors);
|
int *nneighbors);
|
||||||
|
|
||||||
|
#if defined(c_plusplus) || defined(__cplusplus)
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Globals
|
* Globals
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
#include "mca/coll/base/base.h"
|
#include "mca/coll/base/base.h"
|
||||||
#include "mca/ns/ns.h"
|
#include "mca/ns/ns.h"
|
||||||
#include "mca/ns/base/base.h"
|
#include "mca/ns/base/base.h"
|
||||||
|
#include "mca/topo/topo.h"
|
||||||
|
#include "mca/topo/base/base.h"
|
||||||
#include "tools/ompi_info/ompi_info.h"
|
#include "tools/ompi_info/ompi_info.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
@ -145,13 +147,8 @@ void ompi_info::open_components()
|
|||||||
mca_ptl_base_open();
|
mca_ptl_base_open();
|
||||||
component_map["ptl"] = &mca_ptl_base_modules_available;
|
component_map["ptl"] = &mca_ptl_base_modules_available;
|
||||||
|
|
||||||
#if 0
|
|
||||||
// topo component opening not implemented yet
|
|
||||||
mca_topo_base_open();
|
mca_topo_base_open();
|
||||||
component_map["topo"] = &mca_topo_base_components_available;
|
component_map["topo"] = &mca_topo_base_modules_opened;
|
||||||
#else
|
|
||||||
component_map["topo"] = NULL;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// All done
|
// All done
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user