
Reworked ompi_info tool to be close with orte_info implementation. ompi_info_register_types(), ompi_info_close_components() and ompi_info_show_ompi_version() are moved to runtime/ompi_info_support.c. Added runtime/oshmem_info_support layer that exports following api to be used into oshmem_info tool as oshmem_info_register_types() oshmem_info_register_framework_params() oshmem_info_close_components() oshmem_info_show_oshmem_version() These functions call ompi_info_support related interfaces as long as Oshmem supports Open MPI/SHMEM combination. Now orte_info/ompi_info/oshmem_info have identical implementation approach. Possible improvement: OSHMEM processing of --config option is the same as OMPI`s (code is duplicated). Probably list of info_support interfaces can be extended by xxx_info_do_config(). developed by Igor, reviewed by miked This commit was SVN r29429.
44 строки
1.6 KiB
Makefile
44 строки
1.6 KiB
Makefile
# Copyright (c) 2013 Mellanox Technologies, Inc.
|
|
# All rights reserved.
|
|
# Copyright (c) 2013 Cisco Systems, Inc. All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
|
|
#this file is included in oshmem/Makefile.am
|
|
|
|
|
|
.PHONY: all
|
|
|
|
|
|
dist_pkgdata_DATA = \
|
|
shmemcc-wrapper-data.txt \
|
|
shmemfort-wrapper-data.txt
|
|
|
|
install-exec-hook:
|
|
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
|
|
(cd $(DESTDIR)$(bindir); rm -f shmemrun$(EXEEXT); $(LN_S) mpirun shmemrun)
|
|
(cd $(DESTDIR)$(bindir); rm -f oshrun$(EXEEXT); $(LN_S) mpirun oshrun)
|
|
(cd $(DESTDIR)$(bindir); rm -f shmemcc$(EXEEXT); $(LN_S) mpicc shmemcc)
|
|
(cd $(DESTDIR)$(bindir); rm -f oshcc$(EXEEXT); $(LN_S) mpicc oshcc)
|
|
(cd $(DESTDIR)$(bindir); rm -f shmemfort$(EXEEXT); $(LN_S) mpifort shmemfort)
|
|
(cd $(DESTDIR)$(bindir); rm -f oshfort$(EXEEXT); $(LN_S) mpifort oshfort)
|
|
|
|
install-data-hook:
|
|
(cd $(DESTDIR)$(pkgdatadir); rm -f oshcc-wrapper-data.txt; $(LN_S) shmemcc-wrapper-data.txt oshcc-wrapper-data.txt)
|
|
(cd $(DESTDIR)$(pkgdatadir); rm -f oshfort-wrapper-data.txt; $(LN_S) shmemfort-wrapper-data.txt oshfort-wrapper-data.txt)
|
|
|
|
uninstall-local:
|
|
rm -f $(DESTDIR)$(bindir)/shmemrun$(EXEEXT) \
|
|
$(DESTDIR)$(bindir)/oshrun$(EXEEXT) \
|
|
$(DESTDIR)$(bindir)/shmemcc$(EXEEXT) \
|
|
$(DESTDIR)$(bindir)/oshcc$(EXEEXT) \
|
|
$(DESTDIR)$(bindir)/shmemfort$(EXEEXT) \
|
|
$(DESTDIR)$(bindir)/oshfort$(EXEEXT) \
|
|
$(DESTDIR)$(pkgdatadir)/shmemcc-wrapper-data.txt \
|
|
$(DESTDIR)$(pkgdatadir)/oshcc-wrapper-data.txt \
|
|
$(DESTDIR)$(pkgdatadir)/shmemfort-wrapper-data.txt \
|
|
$(DESTDIR)$(pkgdatadir)/oshfort-wrapper-data.txt
|