It didn't compile. Cleanup a little the headers inclusion.
This commit was SVN r30473.
Этот коммит содержится в:
родитель
a9d665b142
Коммит
489f093b59
@ -14,15 +14,13 @@
|
|||||||
|
|
||||||
#include "oshmem_config.h"
|
#include "oshmem_config.h"
|
||||||
|
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
|
|
||||||
#include "opal/class/opal_list.h"
|
#include "opal/class/opal_list.h"
|
||||||
#include "opal/util/output.h"
|
|
||||||
#include "opal/mca/mca.h"
|
#include "opal/mca/mca.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
#include "opal/mca/base/mca_base_component_repository.h"
|
#include "opal/mca/base/mca_base_component_repository.h"
|
||||||
|
|
||||||
#include "oshmem/constants.h"
|
#include "oshmem/constants.h"
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/mca/atomic/atomic.h"
|
#include "oshmem/mca/atomic/atomic.h"
|
||||||
#include "oshmem/mca/atomic/base/base.h"
|
#include "oshmem/mca/atomic/base/base.h"
|
||||||
|
|
||||||
|
@ -17,8 +17,7 @@
|
|||||||
#include "oshmem/constants.h"
|
#include "oshmem/constants.h"
|
||||||
|
|
||||||
#include "opal/class/opal_list.h"
|
#include "opal/class/opal_list.h"
|
||||||
#include "opal/util/output.h"
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
#include "opal/mca/mca.h"
|
#include "opal/mca/mca.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
#include "opal/mca/base/mca_base_component_repository.h"
|
#include "opal/mca/base/mca_base_component_repository.h"
|
||||||
|
@ -11,8 +11,7 @@
|
|||||||
|
|
||||||
#include "oshmem_config.h"
|
#include "oshmem_config.h"
|
||||||
|
|
||||||
#include "opal/util/output.h"
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
#include "oshmem/mca/memheap/memheap.h"
|
#include "oshmem/mca/memheap/memheap.h"
|
||||||
#include "oshmem/mca/memheap/base/base.h"
|
#include "oshmem/mca/memheap/base/base.h"
|
||||||
|
|
||||||
|
@ -13,16 +13,10 @@
|
|||||||
#include "opal/util/output.h"
|
#include "opal/util/output.h"
|
||||||
#include "opal/dss/dss.h"
|
#include "opal/dss/dss.h"
|
||||||
|
|
||||||
#include "orte/mca/rml/rml.h"
|
|
||||||
#include "orte/mca/rml/rml_types.h"
|
|
||||||
#include "orte/mca/grpcomm/grpcomm.h"
|
|
||||||
#include "orte/mca/errmgr/errmgr.h"
|
|
||||||
#include "orte/runtime/orte_globals.h"
|
|
||||||
|
|
||||||
#include "ompi/mca/bml/bml.h"
|
|
||||||
#include "ompi/mca/dpm/dpm.h"
|
#include "ompi/mca/dpm/dpm.h"
|
||||||
|
|
||||||
#include "oshmem/proc/proc.h"
|
#include "oshmem/proc/proc.h"
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/runtime/runtime.h"
|
#include "oshmem/runtime/runtime.h"
|
||||||
#include "oshmem/mca/memheap/memheap.h"
|
#include "oshmem/mca/memheap/memheap.h"
|
||||||
#include "oshmem/mca/memheap/base/base.h"
|
#include "oshmem/mca/memheap/base/base.h"
|
||||||
@ -303,7 +297,7 @@ static void do_recv(int source_pe, opal_buffer_t* buffer)
|
|||||||
|
|
||||||
MEMHEAP_VERBOSE(5, "unpacking %d of %d", cnt, OPAL_UINT8);
|
MEMHEAP_VERBOSE(5, "unpacking %d of %d", cnt, OPAL_UINT8);
|
||||||
rc = opal_dss.unpack(buffer, &msg_type, &cnt, OPAL_UINT8);
|
rc = opal_dss.unpack(buffer, &msg_type, &cnt, OPAL_UINT8);
|
||||||
if (ORTE_SUCCESS != rc) {
|
if (OPAL_SUCCESS != rc) {
|
||||||
ORTE_ERROR_LOG(rc);
|
ORTE_ERROR_LOG(rc);
|
||||||
goto send_fail;
|
goto send_fail;
|
||||||
}
|
}
|
||||||
@ -312,7 +306,7 @@ static void do_recv(int source_pe, opal_buffer_t* buffer)
|
|||||||
case MEMHEAP_RKEY_REQ:
|
case MEMHEAP_RKEY_REQ:
|
||||||
cnt = 1;
|
cnt = 1;
|
||||||
rc = opal_dss.unpack(buffer, &seg, &cnt, OPAL_UINT32);
|
rc = opal_dss.unpack(buffer, &seg, &cnt, OPAL_UINT32);
|
||||||
if (ORTE_SUCCESS != rc) {
|
if (OPAL_SUCCESS != rc) {
|
||||||
MEMHEAP_ERROR("bad RKEY_REQ msg");
|
MEMHEAP_ERROR("bad RKEY_REQ msg");
|
||||||
goto send_fail;
|
goto send_fail;
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "oshmem_config.h"
|
#include "oshmem_config.h"
|
||||||
|
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/proc/proc.h"
|
#include "oshmem/proc/proc.h"
|
||||||
#include "oshmem/mca/memheap/memheap.h"
|
#include "oshmem/mca/memheap/memheap.h"
|
||||||
#include "oshmem/mca/memheap/base/base.h"
|
#include "oshmem/mca/memheap/base/base.h"
|
||||||
|
@ -11,15 +11,14 @@
|
|||||||
#include "oshmem_config.h"
|
#include "oshmem_config.h"
|
||||||
|
|
||||||
#include "opal/util/argv.h"
|
#include "opal/util/argv.h"
|
||||||
#include "opal/util/output.h"
|
#include "opal/util/show_help.h"
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
#include "opal/mca/mca.h"
|
#include "opal/mca/mca.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
#include "opal/mca/base/mca_base_component_repository.h"
|
#include "opal/mca/base/mca_base_component_repository.h"
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/mca/memheap/memheap.h"
|
#include "oshmem/mca/memheap/memheap.h"
|
||||||
#include "oshmem/mca/memheap/base/base.h"
|
#include "oshmem/mca/memheap/base/base.h"
|
||||||
#include "orte/mca/errmgr/errmgr.h"
|
#include "orte/mca/errmgr/errmgr.h"
|
||||||
#include "opal/runtime/opal.h"
|
|
||||||
|
|
||||||
mca_memheap_base_module_t mca_memheap;
|
mca_memheap_base_module_t mca_memheap;
|
||||||
|
|
||||||
@ -151,7 +150,7 @@ int mca_memheap_base_select()
|
|||||||
|
|
||||||
/* Verify that some module was initialized */
|
/* Verify that some module was initialized */
|
||||||
if (NULL == mca_memheap_base_module_initialized) {
|
if (NULL == mca_memheap_base_module_initialized) {
|
||||||
orte_show_help("help-shmem-mca.txt",
|
opal_show_help("help-shmem-mca.txt",
|
||||||
"find-available:none-found",
|
"find-available:none-found",
|
||||||
true,
|
true,
|
||||||
"memheap");
|
"memheap");
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "oshmem_config.h"
|
#include "oshmem_config.h"
|
||||||
|
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/proc/proc.h"
|
#include "oshmem/proc/proc.h"
|
||||||
#include "oshmem/mca/memheap/memheap.h"
|
#include "oshmem/mca/memheap/memheap.h"
|
||||||
#include "oshmem/mca/memheap/base/base.h"
|
#include "oshmem/mca/memheap/base/base.h"
|
||||||
|
@ -14,14 +14,13 @@
|
|||||||
|
|
||||||
#include "oshmem_config.h"
|
#include "oshmem_config.h"
|
||||||
|
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
|
|
||||||
#include "opal/class/opal_list.h"
|
#include "opal/class/opal_list.h"
|
||||||
#include "opal/util/output.h"
|
#include "opal/util/output.h"
|
||||||
#include "opal/mca/mca.h"
|
#include "opal/mca/mca.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
#include "opal/mca/base/mca_base_component_repository.h"
|
#include "opal/mca/base/mca_base_component_repository.h"
|
||||||
|
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/constants.h"
|
#include "oshmem/constants.h"
|
||||||
#include "oshmem/mca/scoll/scoll.h"
|
#include "oshmem/mca/scoll/scoll.h"
|
||||||
#include "oshmem/mca/scoll/base/base.h"
|
#include "oshmem/mca/scoll/base/base.h"
|
||||||
|
@ -18,11 +18,11 @@
|
|||||||
|
|
||||||
#include "opal/class/opal_list.h"
|
#include "opal/class/opal_list.h"
|
||||||
#include "opal/util/output.h"
|
#include "opal/util/output.h"
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
#include "opal/mca/mca.h"
|
#include "opal/mca/mca.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
#include "opal/mca/base/mca_base_component_repository.h"
|
#include "opal/mca/base/mca_base_component_repository.h"
|
||||||
|
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/mca/scoll/scoll.h"
|
#include "oshmem/mca/scoll/scoll.h"
|
||||||
#include "oshmem/mca/scoll/base/base.h"
|
#include "oshmem/mca/scoll/base/base.h"
|
||||||
#include "oshmem/proc/proc.h"
|
#include "oshmem/proc/proc.h"
|
||||||
|
@ -14,15 +14,13 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "opal/util/output.h"
|
#include "opal/util/show_help.h"
|
||||||
#include "opal/mca/base/base.h"
|
#include "opal/mca/base/base.h"
|
||||||
#include "opal/runtime/opal.h"
|
#include "opal/runtime/opal.h"
|
||||||
|
|
||||||
#include "orte/mca/errmgr/errmgr.h"
|
#include "orte/mca/errmgr/errmgr.h"
|
||||||
#include "orte/util/show_help.h"
|
|
||||||
#include "orte/util/name_fns.h"
|
|
||||||
#include "orte/runtime/orte_globals.h"
|
|
||||||
|
|
||||||
|
#include "oshmem/util/oshmem_util.h"
|
||||||
#include "oshmem/constants.h"
|
#include "oshmem/constants.h"
|
||||||
#include "oshmem/mca/spml/spml.h"
|
#include "oshmem/mca/spml/spml.h"
|
||||||
#include "oshmem/mca/spml/base/base.h"
|
#include "oshmem/mca/spml/base/base.h"
|
||||||
@ -138,7 +136,7 @@ int mca_spml_base_select(bool enable_progress_threads, bool enable_mpi_threads)
|
|||||||
/* Finished querying all components. Check for the bozo case. */
|
/* Finished querying all components. Check for the bozo case. */
|
||||||
|
|
||||||
if (NULL == best_component) {
|
if (NULL == best_component) {
|
||||||
orte_show_help("help-shmem-mca.txt",
|
opal_show_help("help-shmem-mca.txt",
|
||||||
"find-available:none-found",
|
"find-available:none-found",
|
||||||
true,
|
true,
|
||||||
"spml");
|
"spml");
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user