1
1

Add platform files for LANL MIC nodes.

No review needed.

cmr=v1.7.4:reviewer=ompi-rm1.7

This commit was SVN r29540.
Этот коммит содержится в:
Nathan Hjelm 2013-10-28 16:46:04 +00:00
родитель fb0940a9d9
Коммит 68dac45a37
12 изменённых файлов: 569 добавлений и 0 удалений

43
contrib/platform/lanl/darwin/darwin-common Обычный файл
Просмотреть файл

@ -0,0 +1,43 @@
# -*- shell-script -*-
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI common configuration for Darwin v1.7.x/1.8.x
enable_dlopen=no
enable_binaries=yes
enable_heterogeneous=no
enable_shared=yes
enable_static=yes
enable_ipv6=no
enable_ft_thread=no
enable_per_user_config_files=no
# Enable the fortran bindings
enable_mpi_fortran=yes
# Disable the C++ binding. They were deprecated in MPI-2.2 and removed in MPI-3
enable_mpi_cxx=no
enable_mpi_cxx_seek=no
enable_cxx_exceptions=no
# Disable components not needed on any TOSS platform
enable_mca_no_build=carto,crs,filem,routed-linear,snapc,pml-dr,pml-crcp2,pml-crcpw,pml-v,pml-example,crcp,btl-tcp
# Enable malloc hooks for mpi_leave_pinned
with_memory_manager=linux
# TOSS2 uses slurm
with_slurm=yes
with_tm=no
# Enable PMI support for direct launch
with_pmi=yes
# Always build ibverbs support
with_verbs=yes
# Install the development headers
with_devel_headers=yes
# Enable support for hwloc PCI (to find MIC Co-processors)
enable_pci=yes
enable_libpci=yes

5
contrib/platform/lanl/darwin/debug Обычный файл
Просмотреть файл

@ -0,0 +1,5 @@
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI debug configuration for Darwin v1.7.x/1.8.x
source ./darwin-common
source ./debug-common

12
contrib/platform/lanl/darwin/debug-common Обычный файл
Просмотреть файл

@ -0,0 +1,12 @@
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI common debug configuration for TOSS/TOSS2 v1.7.x/1.8.x
enable_mem_debug=yes
enable_mem_profile=yes
enable_debug_symbols=yes
enable_picky=yes
enable_debug=yes
# Enable the memchecker
enable_memchecker=yes
with_valgrind=yes

6
contrib/platform/lanl/darwin/debug-mic Обычный файл
Просмотреть файл

@ -0,0 +1,6 @@
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI debug configuration for Darwin v1.7.x/1.8.x
source ./darwin-common
source ./debug-common
source ./mic-common

109
contrib/platform/lanl/darwin/debug-mic.conf Обычный файл
Просмотреть файл

@ -0,0 +1,109 @@
#
# 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-2005 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 (c) 2006 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This is the default system-wide MCA parameters defaults file.
# Specifically, the MCA parameter "mca_param_files" defaults to a
# value of
# "$HOME/.openmpi/mca-params.conf:$sysconf/openmpi-mca-params.conf"
# (this file is the latter of the two). So if the default value of
# mca_param_files is not changed, this file is used to set system-wide
# MCA parameters. This file can therefore be used to set system-wide
# default MCA parameters for all users. Of course, users can override
# these values if they want, but this file is an excellent location
# for setting system-specific MCA parameters for those users who don't
# know / care enough to investigate the proper values for them.
# Note that this file is only applicable where it is visible (in a
# filesystem sense). Specifically, MPI processes each read this file
# during their startup to determine what default values for MCA
# parameters should be used. mpirun does not bundle up the values in
# this file from the node where it was run and send them to all nodes;
# the default value decisions are effectively distributed. Hence,
# these values are only applicable on nodes that "see" this file. If
# $sysconf is a directory on a local disk, it is likely that changes
# to this file will need to be propagated to other nodes. If $sysconf
# is a directory that is shared via a networked filesystem, changes to
# this file will be visible to all nodes that share this $sysconf.
# The format is straightforward: one per line, mca_param_name =
# rvalue. Quoting is ignored (so if you use quotes or escape
# characters, they'll be included as part of the value). For example:
# Disable run-time MPI parameter checking
# mpi_param_check = 0
# Note that the value "~/" will be expanded to the current user's home
# directory. For example:
# Change component loading path
# component_path = /usr/local/lib/openmpi:~/my_openmpi_components
# See "ompi_info --param all all" for a full listing of Open MPI MCA
# parameters available and their default values.
#
# Basic behavior to smooth startup
mca_base_component_show_load_errors = 0
orte_abort_timeout = 10
opal_set_max_sys_limits = 1
orte_report_launch_progress = 1
# Define timeout for daemons to report back during launch
orte_startup_timeout = 10000
## Protect the shared file systems
orte_no_session_dirs = /panfs,/scratch,/users,/usr/projects
orte_tmpdir_base = /tmp
## Require an allocation to run - protects the frontend
## from inadvertent job executions
orte_allocation_required = 1
## MPI behavior
## Do NOT specify mpi_leave_pinned so system
## can figure out for itself whether or not
## it is supported and usable
orte_notifier = syslog
## Add the interface for out-of-band communication
## and set it up
oob_tcp_if_include=mic0
oob_tcp_peer_retries = 1000
oob_tcp_disable_family = IPv6
oob_tcp_listen_mode = listen_thread
oob_tcp_sndbuf = 32768
oob_tcp_rcvbuf = 32768
## Define the MPI interconnects
btl = sm,scif,openib,self
## Setup OpenIB - just in case
btl_openib_want_fork_support = 0
btl_openib_receive_queues = S,4096,1024:S,12288,512:S,65536,512
## Enable cpu affinity
hwloc_base_binding_policy = core
## Setup MPI options
mpi_show_handle_leaks = 1
mpi_warn_on_fork = 1
mpi_abort_print_stack = 1

109
contrib/platform/lanl/darwin/debug.conf Обычный файл
Просмотреть файл

@ -0,0 +1,109 @@
#
# 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-2005 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 (c) 2006 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011-2013 Los Alamos National Security, LLC.
# All rights reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This is the default system-wide MCA parameters defaults file.
# Specifically, the MCA parameter "mca_param_files" defaults to a
# value of
# "$HOME/.openmpi/mca-params.conf:$sysconf/openmpi-mca-params.conf"
# (this file is the latter of the two). So if the default value of
# mca_param_files is not changed, this file is used to set system-wide
# MCA parameters. This file can therefore be used to set system-wide
# default MCA parameters for all users. Of course, users can override
# these values if they want, but this file is an excellent location
# for setting system-specific MCA parameters for those users who don't
# know / care enough to investigate the proper values for them.
# Note that this file is only applicable where it is visible (in a
# filesystem sense). Specifically, MPI processes each read this file
# during their startup to determine what default values for MCA
# parameters should be used. mpirun does not bundle up the values in
# this file from the node where it was run and send them to all nodes;
# the default value decisions are effectively distributed. Hence,
# these values are only applicable on nodes that "see" this file. If
# $sysconf is a directory on a local disk, it is likely that changes
# to this file will need to be propagated to other nodes. If $sysconf
# is a directory that is shared via a networked filesystem, changes to
# this file will be visible to all nodes that share this $sysconf.
# The format is straightforward: one per line, mca_param_name =
# rvalue. Quoting is ignored (so if you use quotes or escape
# characters, they'll be included as part of the value). For example:
# Disable run-time MPI parameter checking
# mpi_param_check = 0
# Note that the value "~/" will be expanded to the current user's home
# directory. For example:
# Change component loading path
# component_path = /usr/local/lib/openmpi:~/my_openmpi_components
# See "ompi_info --param all all" for a full listing of Open MPI MCA
# parameters available and their default values.
#
# Basic behavior to smooth startup
mca_base_component_show_load_errors = 0
orte_abort_timeout = 10
opal_set_max_sys_limits = 1
orte_report_launch_progress = 1
# Define timeout for daemons to report back during launch
orte_startup_timeout = 10000
## Protect the shared file systems
orte_no_session_dirs = /panfs,/scratch,/users,/usr/projects
orte_tmpdir_base = /tmp
## Require an allocation to run - protects the frontend
## from inadvertent job executions
orte_allocation_required = 1
## MPI behavior
## Do NOT specify mpi_leave_pinned so system
## can figure out for itself whether or not
## it is supported and usable
orte_notifier = syslog
## Add the interface for out-of-band communication
## and set it up
oob_tcp_if_include=ib0,eth0
oob_tcp_peer_retries = 1000
oob_tcp_disable_family = IPv6
oob_tcp_listen_mode = listen_thread
oob_tcp_sndbuf = 32768
oob_tcp_rcvbuf = 32768
## Define the MPI interconnects
btl = sm,scif,openib,self
## Setup OpenIB - just in case
btl_openib_want_fork_support = 0
btl_openib_receive_queues = S,4096,1024:S,12288,512:S,65536,512
## Enable cpu affinity
hwloc_base_binding_policy = core
## Setup MPI options
mpi_show_handle_leaks = 1
mpi_warn_on_fork = 1
mpi_abort_print_stack = 1

46
contrib/platform/lanl/darwin/mic-common Обычный файл
Просмотреть файл

@ -0,0 +1,46 @@
# -*- shell-script -*-
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI common configuration for Darwin MIC Co-processors v1.7.x/1.8.x
XCOMPOSER=`type -p icc | sed 's/\/bin\/intel64\/icc//g'`
if test -z "$XCOMPOSER" ; then
echo "ERROR: Need an intel compiler to compile MIC code"
exit 1
fi
CC=icc
CXX=icpc
FC=ifort
CFLAGS=-mmic
CXXFLAGS=-mmic
LDFLAGS=-mmic
# Need to turn on cross-compiling mode
cross_compiling=yes
host_alias=blackfin
# Need to disable fortran for now (cross-compiling issue)
enable_mpi_fortran=no
# No PCI support on the MIC. Disable it here (was enabled in darwin-common)
enable_pci=no
enable_libpci=no
with_pmi=no
with_slurm=no
with_verbs=no
MIC_LDFLAGS="-L$XCOMPOSER/compiler/lib/mic -Wl,-rpath=$XCOMPOSER/compiler/lib/mic"
if test -n "$LDFLAGS" ; then
LDFLAGS="$LDFLAGS $MIC_LDFLAGS"
else
LDFLAGS="$MIC_LDFLAGS"
fi
if test -n "$with_wrapper_ldflags" ; then
with_wrapper_ldflags="$with_wrapper_ldflags $MIC_LDFLAGS"
else
with_wrapper_ldflags="$MIC_LDFLAGS"
fi

5
contrib/platform/lanl/darwin/optimized Обычный файл
Просмотреть файл

@ -0,0 +1,5 @@
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI optimized configuration for Darwin v1.7.x/1.8.x
source ./darwin-common
source ./optimized-common

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

@ -0,0 +1,10 @@
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI common optimized configuration for Darwin v1.7.x/1.8.x
enable_mem_debug=no
enable_mem_profile=no
enable_debug_symbols=no
enable_picky=no
enable_debug=no
with_valgrind=no
enable_memchecker=no

6
contrib/platform/lanl/darwin/optimized-mic Обычный файл
Просмотреть файл

@ -0,0 +1,6 @@
# (c) 2013 Los Alamos National Security, LLC. All rights reserved.
# Open MPI optimized configuration for Darwin v1.7.x/1.8.x
source ./darwin-common
source ./optimized-common
source ./mic-common

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

@ -0,0 +1,109 @@
#
# 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-2005 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 (c) 2006 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011-2013 Los Alamos National Security, LLC. All rights
# reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This is the default system-wide MCA parameters defaults file.
# Specifically, the MCA parameter "mca_param_files" defaults to a
# value of
# "$HOME/.openmpi/mca-params.conf:$sysconf/openmpi-mca-params.conf"
# (this file is the latter of the two). So if the default value of
# mca_param_files is not changed, this file is used to set system-wide
# MCA parameters. This file can therefore be used to set system-wide
# default MCA parameters for all users. Of course, users can override
# these values if they want, but this file is an excellent location
# for setting system-specific MCA parameters for those users who don't
# know / care enough to investigate the proper values for them.
# Note that this file is only applicable where it is visible (in a
# filesystem sense). Specifically, MPI processes each read this file
# during their startup to determine what default values for MCA
# parameters should be used. mpirun does not bundle up the values in
# this file from the node where it was run and send them to all nodes;
# the default value decisions are effectively distributed. Hence,
# these values are only applicable on nodes that "see" this file. If
# $sysconf is a directory on a local disk, it is likely that changes
# to this file will need to be propagated to other nodes. If $sysconf
# is a directory that is shared via a networked filesystem, changes to
# this file will be visible to all nodes that share this $sysconf.
# The format is straightforward: one per line, mca_param_name =
# rvalue. Quoting is ignored (so if you use quotes or escape
# characters, they'll be included as part of the value). For example:
# Disable run-time MPI parameter checking
# mpi_param_check = 0
# Note that the value "~/" will be expanded to the current user's home
# directory. For example:
# Change component loading path
# component_path = /usr/local/lib/openmpi:~/my_openmpi_components
# See "ompi_info --param all all" for a full listing of Open MPI MCA
# parameters available and their default values.
#
# Basic behavior to smooth startup
mca_base_component_show_load_errors = 0
orte_abort_timeout = 10
opal_set_max_sys_limits = 1
orte_report_launch_progress = 1
# Define timeout for daemons to report back during launch
orte_startup_timeout = 10000
## Protect the shared file systems
orte_no_session_dirs = /panfs,/scratch,/users,/usr/projects
orte_tmpdir_base = /tmp
## Require an allocation to run - protects the frontend
## from inadvertent job executions
orte_allocation_required = 1
## MPI behavior
## Do NOT specify mpi_leave_pinned so system
## can figure out for itself whether or not
## it is supported and usable
orte_notifier = syslog
## Add the interface for out-of-band communication
## and set it up
oob_tcp_if_include = mic0
oob_tcp_peer_retries = 1000
oob_tcp_disable_family = IPv6
oob_tcp_listen_mode = listen_thread
oob_tcp_sndbuf = 32768
oob_tcp_rcvbuf = 32768
## Define the MPI interconnects
btl = sm,scif,openib,self
## Setup OpenIB - just in case
btl_openib_want_fork_support = 0
btl_openib_receive_queues = S,4096,1024:S,12288,512:S,65536,512
## Enable cpu affinity
hwloc_base_binding_policy = core
## Setup MPI options
mpi_show_handle_leaks = 0
mpi_warn_on_fork = 1
mpi_abort_print_stack = 0

109
contrib/platform/lanl/darwin/optimized.conf Обычный файл
Просмотреть файл

@ -0,0 +1,109 @@
#
# 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-2005 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 (c) 2006 Cisco Systems, Inc. All rights reserved.
# Copyright (c) 2011-2013 Los Alamos National Security, LLC. All rights
# reserved.
# $COPYRIGHT$
#
# Additional copyrights may follow
#
# $HEADER$
#
# This is the default system-wide MCA parameters defaults file.
# Specifically, the MCA parameter "mca_param_files" defaults to a
# value of
# "$HOME/.openmpi/mca-params.conf:$sysconf/openmpi-mca-params.conf"
# (this file is the latter of the two). So if the default value of
# mca_param_files is not changed, this file is used to set system-wide
# MCA parameters. This file can therefore be used to set system-wide
# default MCA parameters for all users. Of course, users can override
# these values if they want, but this file is an excellent location
# for setting system-specific MCA parameters for those users who don't
# know / care enough to investigate the proper values for them.
# Note that this file is only applicable where it is visible (in a
# filesystem sense). Specifically, MPI processes each read this file
# during their startup to determine what default values for MCA
# parameters should be used. mpirun does not bundle up the values in
# this file from the node where it was run and send them to all nodes;
# the default value decisions are effectively distributed. Hence,
# these values are only applicable on nodes that "see" this file. If
# $sysconf is a directory on a local disk, it is likely that changes
# to this file will need to be propagated to other nodes. If $sysconf
# is a directory that is shared via a networked filesystem, changes to
# this file will be visible to all nodes that share this $sysconf.
# The format is straightforward: one per line, mca_param_name =
# rvalue. Quoting is ignored (so if you use quotes or escape
# characters, they'll be included as part of the value). For example:
# Disable run-time MPI parameter checking
# mpi_param_check = 0
# Note that the value "~/" will be expanded to the current user's home
# directory. For example:
# Change component loading path
# component_path = /usr/local/lib/openmpi:~/my_openmpi_components
# See "ompi_info --param all all" for a full listing of Open MPI MCA
# parameters available and their default values.
#
# Basic behavior to smooth startup
mca_base_component_show_load_errors = 0
orte_abort_timeout = 10
opal_set_max_sys_limits = 1
orte_report_launch_progress = 1
# Define timeout for daemons to report back during launch
orte_startup_timeout = 10000
## Protect the shared file systems
orte_no_session_dirs = /panfs,/scratch,/users,/usr/projects
orte_tmpdir_base = /tmp
## Require an allocation to run - protects the frontend
## from inadvertent job executions
orte_allocation_required = 1
## MPI behavior
## Do NOT specify mpi_leave_pinned so system
## can figure out for itself whether or not
## it is supported and usable
orte_notifier = syslog
## Add the interface for out-of-band communication
## and set it up
oob_tcp_if_include = ib0,eth0
oob_tcp_peer_retries = 1000
oob_tcp_disable_family = IPv6
oob_tcp_listen_mode = listen_thread
oob_tcp_sndbuf = 32768
oob_tcp_rcvbuf = 32768
## Define the MPI interconnects
btl = sm,scif,openib,self
## Setup OpenIB - just in case
btl_openib_want_fork_support = 0
btl_openib_receive_queues = S,4096,1024:S,12288,512:S,65536,512
## Enable cpu affinity
hwloc_base_binding_policy = core
## Setup MPI options
mpi_show_handle_leaks = 0
mpi_warn_on_fork = 1
mpi_abort_print_stack = 0