From 42c320214bd34682d56fbcf3db44ade529d94db1 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sat, 5 Jan 2013 06:28:42 +0000 Subject: [PATCH] Add platform files This commit was SVN r27747. --- contrib/platform/greenplum/hdmon/linux | 32 ++++++++ contrib/platform/greenplum/hdmon/linux.conf | 84 +++++++++++++++++++++ contrib/platform/greenplum/hdmon/mac | 29 +++++++ contrib/platform/greenplum/hdmon/mac.conf | 84 +++++++++++++++++++++ 4 files changed, 229 insertions(+) create mode 100644 contrib/platform/greenplum/hdmon/linux create mode 100644 contrib/platform/greenplum/hdmon/linux.conf create mode 100644 contrib/platform/greenplum/hdmon/mac create mode 100644 contrib/platform/greenplum/hdmon/mac.conf diff --git a/contrib/platform/greenplum/hdmon/linux b/contrib/platform/greenplum/hdmon/linux new file mode 100644 index 0000000000..b7847d2340 --- /dev/null +++ b/contrib/platform/greenplum/hdmon/linux @@ -0,0 +1,32 @@ +enable_event_thread_support=yes +enable_opal_multi_threads=yes +enable_orte_progress_threads=yes +enable_sensors=yes +enable_ft_thread=no +enable_mem_debug=no +enable_mem_profile=no +enable_debug_symbols=yes +enable_binaries=yes +enable_heterogeneous=no +enable_picky=yes +enable_debug=yes +enable_shared=yes +enable_static=no +enable_memchecker=no +enable_ipv6=no +enable_mpi_fortran=no +enable_mpi_cxx=no +enable_mpi_cxx_seek=no +enable_cxx_exceptions=no +enable_mpi_java=yes +enable_io_romio=no +enable_vt=no +enable_mca_no_build=crs,memchecker,snapc,crcp,rml-ftrm,filem-rsh +enable_contrib_no_build=libnbc,vt +with_memory_manager=no +with_tm=no +with_slurm=no +with_devel_headers=yes +with_portals=no +with_valgrind=no +with_sqlite3=yes diff --git a/contrib/platform/greenplum/hdmon/linux.conf b/contrib/platform/greenplum/hdmon/linux.conf new file mode 100644 index 0000000000..ba6d3c4fa5 --- /dev/null +++ b/contrib/platform/greenplum/hdmon/linux.conf @@ -0,0 +1,84 @@ +# +# 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) 2012 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. +# + +# hdmon behavior +sensor_sample_rate = 1.0 +sensor_log_samples = 1 + +# Basic behavior to smooth startup +mca_component_show_load_errors = 1 +mpi_param_check = 0 +orte_abort_timeout = 10 +hwloc_base_mem_bind_failure_action = silent + +## Protect the shared file systems + +## Add the interface for out-of-band communication +## and set it up +oob_tcp_peer_retries = 120 +#oob_tcp_connect_timeout=600 + +## Define the MPI interconnects +btl = sm,tcp,self + +## Setup shared memory +btl_sm_free_list_max = 768 diff --git a/contrib/platform/greenplum/hdmon/mac b/contrib/platform/greenplum/hdmon/mac new file mode 100644 index 0000000000..aa90f41b3b --- /dev/null +++ b/contrib/platform/greenplum/hdmon/mac @@ -0,0 +1,29 @@ +enable_event_thread_support=yes +enable_opal_multi_threads=yes +enable_orte_progress_threads=yes +enable_sensors=yes +enable_mem_debug=yes +enable_mem_profile=no +enable_debug_symbols=yes +enable_binaries=yes +enable_heterogeneous=no +enable_picky=yes +enable_debug=yes +enable_shared=yes +enable_static=no +enable_io_romio=no +enable_ipv6=no +enable_mpi_fortran=no +enable_mpi_cxx=no +enable_mpi_cxx_seek=no +enable_mpi_java=yes +enable_memchecker=no +enable_vt=no +enable_mca_no_build=crs,memchecker,snapc,crcp,rml-ftrm,filem,dfs,sstore +enable_contrib_no_build=libnbc,vt +with_memory_manager=no +with_devel_headers=yes +with_xgrid=no +with_slurm=no +with_jdk_bindir=/usr/bin +with_jdk_headers=/System/Library/Frameworks/JavaVM.framework/Versions/Current/Headers diff --git a/contrib/platform/greenplum/hdmon/mac.conf b/contrib/platform/greenplum/hdmon/mac.conf new file mode 100644 index 0000000000..ba6d3c4fa5 --- /dev/null +++ b/contrib/platform/greenplum/hdmon/mac.conf @@ -0,0 +1,84 @@ +# +# 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) 2012 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. +# + +# hdmon behavior +sensor_sample_rate = 1.0 +sensor_log_samples = 1 + +# Basic behavior to smooth startup +mca_component_show_load_errors = 1 +mpi_param_check = 0 +orte_abort_timeout = 10 +hwloc_base_mem_bind_failure_action = silent + +## Protect the shared file systems + +## Add the interface for out-of-band communication +## and set it up +oob_tcp_peer_retries = 120 +#oob_tcp_connect_timeout=600 + +## Define the MPI interconnects +btl = sm,tcp,self + +## Setup shared memory +btl_sm_free_list_max = 768