1dc12046f1
Adds several new mpirun options: * -bysocket - assign ranks on a node by socket. Effectively load balances the procs assigned to a node across the available sockets. Note that ranks can still be bound to a specific core within the socket, or to the entire socket - the mapping is independent of the binding. * -bind-to-socket - bind each rank to all the cores on the socket to which they are assigned. * -bind-to-core - currently the default behavior (maintained from prior default) * -npersocket N - launch N procs for every socket on a node. Note that this implies we know how many sockets are on a node. Mpirun will determine its local values. These can be overridden by provided values, either via MCA param or in a hostfile Similar features/options are provided at the board level for multi-board nodes. Documentation to follow... This commit was SVN r21791.
46 строки
1.5 KiB
Makefile
46 строки
1.5 KiB
Makefile
#
|
|
# Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
|
|
# University Research and Technology
|
|
# Corporation. All rights reserved.
|
|
# Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
# of Tennessee Research Foundation. All rights
|
|
# reserved.
|
|
# Copyright (c) 2004-2009 High Performance Computing Center Stuttgart,
|
|
# University of Stuttgart. All rights reserved.
|
|
# Copyright (c) 2004-2005 The Regents of the University of California.
|
|
# All rights reserved.
|
|
# $COPYRIGHT$
|
|
#
|
|
# Additional copyrights may follow
|
|
#
|
|
# $HEADER$
|
|
#
|
|
|
|
dist_pkgdata_DATA = help-orte-rmaps-lb.txt
|
|
|
|
sources = \
|
|
rmaps_lb.c \
|
|
rmaps_lb.h \
|
|
rmaps_lb_component.c
|
|
|
|
# Make the output library in this directory, and name it either
|
|
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
|
|
# (for static builds).
|
|
|
|
if OMPI_BUILD_rmaps_load_balance_DSO
|
|
component_noinst =
|
|
component_install = mca_rmaps_load_balance.la
|
|
else
|
|
component_noinst = libmca_rmaps_load_balance.la
|
|
component_install =
|
|
endif
|
|
|
|
mcacomponentdir = $(pkglibdir)
|
|
mcacomponent_LTLIBRARIES = $(component_install)
|
|
mca_rmaps_load_balance_la_SOURCES = $(sources)
|
|
mca_rmaps_load_balance_la_LDFLAGS = -module -avoid-version
|
|
|
|
noinst_LTLIBRARIES = $(component_noinst)
|
|
libmca_rmaps_load_balance_la_SOURCES =$(sources)
|
|
libmca_rmaps_load_balance_la_LDFLAGS = -module -avoid-version
|