From 0cd3b6c235a2f86e1f9a5cd1368574b6418572c8 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 10 Feb 2017 04:11:45 -0800 Subject: [PATCH 1/3] treematch: do not include Instead, include "opal/mca/hwloc/hwloc.h" Signed-off-by: Jeff Squyres --- ompi/mca/topo/treematch/treematch/tm_hwloc.c | 3 +-- ompi/mca/topo/treematch/treematch/tm_hwloc.h | 2 +- ompi/mca/topo/treematch/treematch/tm_thread_pool.c | 2 +- ompi/mca/topo/treematch/treematch/tm_thread_pool.h | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ompi/mca/topo/treematch/treematch/tm_hwloc.c b/ompi/mca/topo/treematch/treematch/tm_hwloc.c index 0b369859585..1876a4cee35 100644 --- a/ompi/mca/topo/treematch/treematch/tm_hwloc.c +++ b/ompi/mca/topo/treematch/treematch/tm_hwloc.c @@ -1,5 +1,4 @@ -#include -#include +#include "opal/mca/hwloc/hwloc.h" #include "tm_tree.h" #include "tm_mapping.h" #include diff --git a/ompi/mca/topo/treematch/treematch/tm_hwloc.h b/ompi/mca/topo/treematch/treematch/tm_hwloc.h index 090687f6503..0679a29bf76 100644 --- a/ompi/mca/topo/treematch/treematch/tm_hwloc.h +++ b/ompi/mca/topo/treematch/treematch/tm_hwloc.h @@ -1,4 +1,4 @@ -#include +#include "opal/mca/hwloc/hwloc.h" #include "tm_tree.h" void hwloc_topology_tag(hwloc_topology_t topology); diff --git a/ompi/mca/topo/treematch/treematch/tm_thread_pool.c b/ompi/mca/topo/treematch/treematch/tm_thread_pool.c index e4fbc22ad2a..d4b3b2497bb 100644 --- a/ompi/mca/topo/treematch/treematch/tm_thread_pool.c +++ b/ompi/mca/topo/treematch/treematch/tm_thread_pool.c @@ -1,7 +1,7 @@ #include #include "tm_thread_pool.h" #include "tm_verbose.h" -#include +#include "opal/mca/hwloc/hwloc.h" #include "tm_verbose.h" #include "tm_tree.h" #include diff --git a/ompi/mca/topo/treematch/treematch/tm_thread_pool.h b/ompi/mca/topo/treematch/treematch/tm_thread_pool.h index 36fd80d17f8..39e387e5d37 100644 --- a/ompi/mca/topo/treematch/treematch/tm_thread_pool.h +++ b/ompi/mca/topo/treematch/treematch/tm_thread_pool.h @@ -2,7 +2,7 @@ #define THREAD_POOL_H #include -#include +#include "opal/mca/hwloc/hwloc.h" typedef struct _work_t{ From a065b9b83b3c56f7141289c3c9ab66e078e28724 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 10 Feb 2017 04:47:59 -0800 Subject: [PATCH 2/3] hwloc: allow frameworks to have alternate header filenames Frameworks are usually required to have a framework/framework.h file. However, this is sometimes problematic (see the hwloc use case/problem description, below). This commit allows frameworks to have an "autogen.options" file (i.e., project/mca/framework/autogen.options) that specifies things that autogen needs to know about the framework. Currently, the only option recognized in autogen.options is "framework_header", which allows a framework to specify that its header file is named something other than "framework.h" (the framework header file must still be in the project/mca/framework directory; it simply may be named something other than framework.h). More options may be introduced over time. The use case that motivated this is the hwloc framework (https://github.com/open-mpi/ompi/issues/2616). Per MCA framework rules, the hwloc framework is required to have an opal/mca/hwloc/hwloc.h file. However, the hwloc library itself *also* has an hwloc.h file. This causes a problem when configuring Open MPI with --with-hwloc=external (meaning: do not use the hwloc embedded within the Open MPI source code tree -- instead, use an hwloc installation from outside the Open MPI source code tree). Specifically, when in the opal/mca/hwloc directory, the presence of "-I." in DEFAULT_INCLUDES (put there by Automake) causes a confusion between the hwloc.h in opal/mca/hwloc/hwloc.h and the system-installed hwloc.h. Chaos ensues (see the GitHub issue for more detail). The solution is to rename the opal/mca/hwloc/hwloc.h to something else (e.g., hwloc-internal.h), and extend autogen.pl to allow frameworks to have an alternate name for their framework header file. This commit introduces the autogen.pl mechanism to allow the alternate header file name. A follow-on commit will effect this change in the hwloc framework (and update all the places in the code base to use the new filename). Signed-off-by: Jeff Squyres --- autogen.pl | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/autogen.pl b/autogen.pl index 9dd41a8156f..5293337e85c 100755 --- a/autogen.pl +++ b/autogen.pl @@ -1,6 +1,6 @@ #!/usr/bin/env perl # -# Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved # Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2013 Mellanox Technologies, Inc. # All rights reserved. @@ -432,11 +432,28 @@ sub mca_process_project { next if (! -d "$dir/$d" || $d eq "base" || substr($d, 0, 1) eq "."); - # If this directory has a $dir.h file and a base/ + my $framework_header = "$dir/$d/$d.h"; + + # If there's a $dir/$d/autogen.options file, read it + my $ao_file = "$dir/$d/autogen.options"; + if (-r $ao_file) { + verbose "\n>>> Found $dir/$d/autogen.options file\n"; + open(IN, $ao_file) || + die "$ao_file present, but cannot open it"; + while () { + if (m/\s*framework_header\s*=\s*(.+?)\s*$/) { + verbose " Framework header entry: $1\n"; + $framework_header = "$dir/$d/$1"; + } + } + close(IN); + } + + # If this directory has a framework header and a base/ # subdirectory, or its name is "common", then it's a # framework. if ("common" eq $d || !$project->{need_base} || - (-f "$dir/$d/$d.h" && -d "$dir/$d/base")) { + (-f $framework_header && -d "$dir/$d/base")) { verbose "\n=== Found $pname / $d framework\n"; mca_process_framework($topdir, $project, $d); } From fec519a793a2afcfd1ebcb3fa7c151bd30893835 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 10 Feb 2017 04:48:43 -0800 Subject: [PATCH 3/3] hwloc: rename opal/mca/hwloc/hwloc.h -> hwloc-internal.h Per a prior commit, the presence of "hwloc.h" can cause ambiguity when using --with-hwloc=external (i.e., whether to include opal/mca/hwloc/hwloc.h or whether to include the system-installed hwloc.h). This commit: 1. Renames opal/mca/hwloc/hwloc.h to hwloc-internal.h. 2. Adds opal/mca/hwloc/autogen.options to tell autogen.pl to expect to find hwloc-internal.h (instead of hwloc.h) in opal/mca/hwloc. 3. s@opal/mca/hwloc/hwloc.h@opal/mca/hwloc/hwloc-internal.h@g in the rest of the code base. Signed-off-by: Jeff Squyres --- .../treematch/topo_treematch_dist_graph_create.c | 3 ++- ompi/mca/topo/treematch/treematch/tm_hwloc.c | 2 +- ompi/mca/topo/treematch/treematch/tm_hwloc.h | 2 +- ompi/mca/topo/treematch/treematch/tm_thread_pool.c | 2 +- ompi/mca/topo/treematch/treematch/tm_thread_pool.h | 2 +- opal/mca/btl/openib/btl_openib.c | 4 ++-- opal/mca/btl/openib/btl_openib_component.c | 4 ++-- opal/mca/hwloc/Makefile.am | 9 ++------- opal/mca/hwloc/autogen.options | 13 +++++++++++++ opal/mca/hwloc/base/base.h | 6 +++--- opal/mca/hwloc/base/hwloc_base_frame.c | 4 ++-- opal/mca/hwloc/base/hwloc_base_maffinity.c | 4 ++-- opal/mca/hwloc/base/hwloc_base_proc_mempolicy.c | 4 ++-- opal/mca/hwloc/base/hwloc_base_util.c | 4 ++-- opal/mca/hwloc/configure.m4 | 4 ++-- opal/mca/hwloc/external/configure.m4 | 4 ++-- opal/mca/hwloc/external/external.h | 4 ++-- opal/mca/hwloc/external/hwloc_external_component.c | 4 ++-- opal/mca/hwloc/{hwloc.h => hwloc-internal.h} | 0 opal/mca/hwloc/hwloc1113/configure.m4 | 4 ++-- opal/mca/hwloc/hwloc1113/hwloc1113.h | 4 ++-- opal/mca/hwloc/hwloc1113/hwloc1113_component.c | 4 ++-- opal/util/proc.h | 3 ++- orte/mca/grpcomm/base/base.h | 3 ++- orte/mca/odls/alps/odls_alps_module.c | 4 ++-- orte/mca/odls/base/odls_base_default_fns.c | 4 ++-- orte/mca/odls/base/odls_base_frame.c | 4 ++-- orte/mca/odls/default/odls_default_module.c | 4 ++-- orte/mca/plm/base/plm_base_launch_support.c | 2 +- orte/mca/ras/lsf/ras_lsf_module.c | 4 ++-- orte/mca/ras/simulator/ras_sim_module.c | 4 ++-- orte/mca/rmaps/lama/rmaps_lama.h | 4 ++-- orte/mca/rmaps/lama/rmaps_lama_module.c | 4 ++-- orte/mca/rmaps/mindist/rmaps_mindist.h | 3 ++- orte/mca/rmaps/ppr/rmaps_ppr.h | 4 ++-- orte/mca/rmaps/rmaps_types.h | 6 +++--- orte/mca/rmaps/round_robin/rmaps_rr.h | 3 ++- orte/mca/rmaps/seq/rmaps_seq.c | 4 ++-- orte/mca/rtc/hwloc/rtc_hwloc.c | 3 ++- orte/orted/orted_main.c | 4 ++-- orte/orted/pmix/pmix_server_dyn.c | 4 ++-- .../data_type_support/orte_dt_unpacking_fns.c | 4 ++-- orte/runtime/orte_globals.c | 4 ++-- orte/runtime/orte_globals.h | 4 ++-- orte/util/proc_info.h | 3 ++- oshmem/proc/proc.h | 3 ++- 46 files changed, 98 insertions(+), 82 deletions(-) create mode 100644 opal/mca/hwloc/autogen.options rename opal/mca/hwloc/{hwloc.h => hwloc-internal.h} (100%) diff --git a/ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c b/ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c index e3fa362c7b5..7129c8f369c 100644 --- a/ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c +++ b/ompi/mca/topo/treematch/topo_treematch_dist_graph_create.c @@ -10,6 +10,7 @@ * and Technology (RIST). All rights reserved. * Copyright (c) 2016 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -20,7 +21,7 @@ #include "ompi_config.h" #include "opal/constants.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "ompi/mca/topo/treematch/topo_treematch.h" #include "ompi/mca/topo/treematch/treematch/tm_mapping.h" diff --git a/ompi/mca/topo/treematch/treematch/tm_hwloc.c b/ompi/mca/topo/treematch/treematch/tm_hwloc.c index 1876a4cee35..4a85588cb99 100644 --- a/ompi/mca/topo/treematch/treematch/tm_hwloc.c +++ b/ompi/mca/topo/treematch/treematch/tm_hwloc.c @@ -1,4 +1,4 @@ -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "tm_tree.h" #include "tm_mapping.h" #include diff --git a/ompi/mca/topo/treematch/treematch/tm_hwloc.h b/ompi/mca/topo/treematch/treematch/tm_hwloc.h index 0679a29bf76..7ba09d3e518 100644 --- a/ompi/mca/topo/treematch/treematch/tm_hwloc.h +++ b/ompi/mca/topo/treematch/treematch/tm_hwloc.h @@ -1,4 +1,4 @@ -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "tm_tree.h" void hwloc_topology_tag(hwloc_topology_t topology); diff --git a/ompi/mca/topo/treematch/treematch/tm_thread_pool.c b/ompi/mca/topo/treematch/treematch/tm_thread_pool.c index d4b3b2497bb..ce649ce0970 100644 --- a/ompi/mca/topo/treematch/treematch/tm_thread_pool.c +++ b/ompi/mca/topo/treematch/treematch/tm_thread_pool.c @@ -1,7 +1,7 @@ #include #include "tm_thread_pool.h" #include "tm_verbose.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "tm_verbose.h" #include "tm_tree.h" #include diff --git a/ompi/mca/topo/treematch/treematch/tm_thread_pool.h b/ompi/mca/topo/treematch/treematch/tm_thread_pool.h index 39e387e5d37..b61a98be310 100644 --- a/ompi/mca/topo/treematch/treematch/tm_thread_pool.h +++ b/ompi/mca/topo/treematch/treematch/tm_thread_pool.h @@ -2,7 +2,7 @@ #define THREAD_POOL_H #include -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" typedef struct _work_t{ diff --git a/opal/mca/btl/openib/btl_openib.c b/opal/mca/btl/openib/btl_openib.c index 20585e62f5d..fe8ee2e8c74 100644 --- a/opal/mca/btl/openib/btl_openib.c +++ b/opal/mca/btl/openib/btl_openib.c @@ -10,7 +10,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2007-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2006-2015 Mellanox Technologies. All rights reserved. * Copyright (c) 2006-2016 Los Alamos National Security, LLC. All rights * reserved. @@ -84,7 +84,7 @@ #ifdef HAVE_UNISTD_H #include #endif -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #ifndef MIN #define MIN(a,b) ((a)<(b)?(a):(b)) diff --git a/opal/mca/btl/openib/btl_openib_component.c b/opal/mca/btl/openib/btl_openib_component.c index ff3892fdb92..c7cfb834ebc 100644 --- a/opal/mca/btl/openib/btl_openib_component.c +++ b/opal/mca/btl/openib/btl_openib_component.c @@ -10,7 +10,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2006-2015 Mellanox Technologies. All rights reserved. * Copyright (c) 2006-2015 Los Alamos National Security, LLC. All rights * reserved. @@ -59,7 +59,7 @@ know its exact path. We have to rely on the framework header files to find the right hwloc verbs helper file for us. */ #define OPAL_HWLOC_WANT_VERBS_HELPER 1 -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" #include "opal/mca/installdirs/installdirs.h" #include "opal_stdint.h" diff --git a/opal/mca/hwloc/Makefile.am b/opal/mca/hwloc/Makefile.am index c5340da386d..69d8853c131 100644 --- a/opal/mca/hwloc/Makefile.am +++ b/opal/mca/hwloc/Makefile.am @@ -1,5 +1,5 @@ # -# Copyright (c) 2011-2016 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved # Copyright (c) 2016 Research Organization for Information Science # and Technology (RIST). All rights reserved. # $COPYRIGHT$ @@ -9,17 +9,12 @@ # $HEADER$ # -# We do not want -I$(srcdir) in AM_CPPFLAGS, or there can be a -# conflict between system hwloc.h and opal/mca/hwloc/hwloc.h. So just -# set only what we need to AM_CPPFLAGS. -AM_CPPFLAGS = -I$(top_builddir)/opal/include - # main library setup noinst_LTLIBRARIES = libmca_hwloc.la libmca_hwloc_la_SOURCES = # local files -headers = hwloc.h +headers = hwloc-internal.h libmca_hwloc_la_SOURCES += $(headers) # Conditionally install the header files diff --git a/opal/mca/hwloc/autogen.options b/opal/mca/hwloc/autogen.options new file mode 100644 index 00000000000..2c5ecb747b6 --- /dev/null +++ b/opal/mca/hwloc/autogen.options @@ -0,0 +1,13 @@ +# Copyright (c) 2017 Cisco Systems, Inc. All rights reserved +# $COPYRIGHT$ +# + +# Per https://github.com/open-mpi/ompi/issues/2616, we cannot have an +# "hwloc.h" in the framework directory (due to conflicts of finding +# the system hwloc.h file when using "--with-hwloc=external"). Hence, +# we need to deviate from the framework norm of having +# framework/framework.h (i.e., hwloc/hwloc.h). Instead, we'll have +# hwloc/hwloc-internal.h to make sure that this header file can never +# be mistaken for a system-level hwloc.h. + +framework_header = hwloc-internal.h diff --git a/opal/mca/hwloc/base/base.h b/opal/mca/hwloc/base/base.h index 8dfbd901bb6..0a9c482a743 100644 --- a/opal/mca/hwloc/base/base.h +++ b/opal/mca/hwloc/base/base.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. * $COPYRIGHT$ * @@ -15,7 +15,7 @@ #include "opal/dss/dss_types.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" /* * Global functions for MCA overall hwloc open and close @@ -88,7 +88,7 @@ OPAL_DECLSPEC int opal_hwloc_base_set_binding_policy(opal_binding_policy_t *poli /** * Loads opal_hwloc_my_cpuset (global variable in - * opal/mca/hwloc/hwloc.h) for this process. opal_hwloc_my_cpuset + * opal/mca/hwloc/hwloc-internal.h) for this process. opal_hwloc_my_cpuset * will be loaded with this process' binding, or, if the process is * not bound, use the hwloc root object's (available and online) * cpuset. diff --git a/opal/mca/hwloc/base/hwloc_base_frame.c b/opal/mca/hwloc/base/hwloc_base_frame.c index c4eb13bd815..e27985d38eb 100644 --- a/opal/mca/hwloc/base/hwloc_base_frame.c +++ b/opal/mca/hwloc/base/hwloc_base_frame.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. * Copyright (c) 2016 Research Organization for Information Science * and Technology (RIST). All rights reserved. @@ -22,7 +22,7 @@ #include "opal/mca/base/base.h" #include "opal/threads/tsd.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" diff --git a/opal/mca/hwloc/base/hwloc_base_maffinity.c b/opal/mca/hwloc/base/hwloc_base_maffinity.c index 1ed653c77ee..4b442037e3d 100644 --- a/opal/mca/hwloc/base/hwloc_base_maffinity.c +++ b/opal/mca/hwloc/base/hwloc_base_maffinity.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2016 Intel, Inc. All rights reserved. * $COPYRIGHT$ * @@ -13,7 +13,7 @@ #include "opal/constants.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" diff --git a/opal/mca/hwloc/base/hwloc_base_proc_mempolicy.c b/opal/mca/hwloc/base/hwloc_base_proc_mempolicy.c index b3715f60928..54c55648a78 100644 --- a/opal/mca/hwloc/base/hwloc_base_proc_mempolicy.c +++ b/opal/mca/hwloc/base/hwloc_base_proc_mempolicy.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -12,7 +12,7 @@ #include "opal/constants.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" diff --git a/opal/mca/hwloc/base/hwloc_base_util.c b/opal/mca/hwloc/base/hwloc_base_util.c index 935f7916381..0c2200e517b 100644 --- a/opal/mca/hwloc/base/hwloc_base_util.c +++ b/opal/mca/hwloc/base/hwloc_base_util.c @@ -10,7 +10,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2011-2012 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2012-2015 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. @@ -42,7 +42,7 @@ #include "opal/threads/tsd.h" #include "opal/mca/pmix/pmix.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" /* diff --git a/opal/mca/hwloc/configure.m4 b/opal/mca/hwloc/configure.m4 index 10ec72be92a..1f933c34f30 100644 --- a/opal/mca/hwloc/configure.m4 +++ b/opal/mca/hwloc/configure.m4 @@ -1,6 +1,6 @@ dnl -*- shell-script -*- dnl -dnl Copyright (c) 2010-2013 Cisco Systems, Inc. All rights reserved. +dnl Copyright (c) 2010-2017 Cisco Systems, Inc. All rights reserved dnl $COPYRIGHT$ dnl dnl Additional copyrights may follow @@ -13,7 +13,7 @@ dnl # their priorities in their configure.m4 files. They must also set # the shell variable $opal_hwloc_base_include to a header file # name (relative to the top OMPI source directory) that will be -# included in opal/mca/hwloc/hwloc.h. +# included in opal/mca/hwloc/hwloc-internal.h. dnl We only want one winning component (vs. STOP_AT_FIRST_PRIORITY, dnl which will allow all components of the same priority who succeed to diff --git a/opal/mca/hwloc/external/configure.m4 b/opal/mca/hwloc/external/configure.m4 index 83bae5bb074..9bb865ebd91 100644 --- a/opal/mca/hwloc/external/configure.m4 +++ b/opal/mca/hwloc/external/configure.m4 @@ -1,6 +1,6 @@ # -*- shell-script -*- # -# Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved # Copyright (c) 2014-2016 Research Organization for Information Science # and Technology (RIST). All rights reserved. # @@ -38,7 +38,7 @@ AC_DEFUN([MCA_opal_hwloc_external_POST_CONFIG],[ [Version of hwloc]) # Set this variable so that the framework m4 knows what - # file to include in opal/mca/hwloc/hwloc.h + # file to include in opal/mca/hwloc/hwloc-internal.h opal_hwloc_external_basedir=opal/mca/hwloc/external opal_hwloc_base_include="$opal_hwloc_external_basedir/external.h" diff --git a/opal/mca/hwloc/external/external.h b/opal/mca/hwloc/external/external.h index bf392767d30..0b04d3cf33b 100644 --- a/opal/mca/hwloc/external/external.h +++ b/opal/mca/hwloc/external/external.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2014 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2016 Research Organization for Information Science * and Technology (RIST). All rights reserved. * @@ -11,7 +11,7 @@ * $HEADER$ * * When this component is used, this file is included in the rest of - * the OPAL/ORTE/OMPI code base via opal/mca/hwloc/hwloc.h. As such, + * the OPAL/ORTE/OMPI code base via opal/mca/hwloc/hwloc-internal.h. As such, * this header represents the public interface to this static component. */ diff --git a/opal/mca/hwloc/external/hwloc_external_component.c b/opal/mca/hwloc/external/hwloc_external_component.c index 3c3df188d97..025267bbe53 100644 --- a/opal/mca/hwloc/external/hwloc_external_component.c +++ b/opal/mca/hwloc/external/hwloc_external_component.c @@ -1,6 +1,6 @@ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2015 Los Alamos National Security, LLC. All rights * reserved. * @@ -14,7 +14,7 @@ #include "opal_config.h" #include "opal/constants.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" /* * Public string showing the sysinfo ompi_linux component version number diff --git a/opal/mca/hwloc/hwloc.h b/opal/mca/hwloc/hwloc-internal.h similarity index 100% rename from opal/mca/hwloc/hwloc.h rename to opal/mca/hwloc/hwloc-internal.h diff --git a/opal/mca/hwloc/hwloc1113/configure.m4 b/opal/mca/hwloc/hwloc1113/configure.m4 index f1583b862c8..d510b4c8e05 100644 --- a/opal/mca/hwloc/hwloc1113/configure.m4 +++ b/opal/mca/hwloc/hwloc1113/configure.m4 @@ -1,6 +1,6 @@ # -*- shell-script -*- # -# Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved. +# Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved # Copyright (c) 2014-2015 Intel, Inc. All rights reserved. # Copyright (c) 2015-2016 Research Organization for Information Science # and Technology (RIST). All rights reserved. @@ -45,7 +45,7 @@ AC_DEFUN([MCA_opal_hwloc_hwloc1113_POST_CONFIG],[ AS_IF([test "$1" = "1" && test "$opal_hwloc_hwloc1113_support" = "yes"], [ # Set this variable so that the framework m4 knows what - # file to include in opal/mca/hwloc/hwloc.h + # file to include in opal/mca/hwloc/hwloc-internal.h opal_hwloc_hwloc1113_basedir=opal/mca/hwloc/hwloc1113 opal_hwloc_base_include="$opal_hwloc_hwloc1113_basedir/hwloc1113.h" diff --git a/opal/mca/hwloc/hwloc1113/hwloc1113.h b/opal/mca/hwloc/hwloc1113/hwloc1113.h index b97472ef2fd..94a4ae98622 100644 --- a/opal/mca/hwloc/hwloc1113/hwloc1113.h +++ b/opal/mca/hwloc/hwloc1113/hwloc1113.h @@ -1,6 +1,6 @@ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* - * Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2014-2015 Intel, Inc. All rights reserved. * Copyright (c) 2016 Los Alamos National Security, LLC. All rights * reserved. @@ -12,7 +12,7 @@ * $HEADER$ * * When this component is used, this file is included in the rest of - * the OPAL/ORTE/OMPI code base via opal/mca/hwloc/hwloc.h. As such, + * the OPAL/ORTE/OMPI code base via opal/mca/hwloc/hwloc-internal.h. As such, * this header represents the public interface to this static component. */ diff --git a/opal/mca/hwloc/hwloc1113/hwloc1113_component.c b/opal/mca/hwloc/hwloc1113/hwloc1113_component.c index a402d675c4e..759642975f0 100644 --- a/opal/mca/hwloc/hwloc1113/hwloc1113_component.c +++ b/opal/mca/hwloc/hwloc1113/hwloc1113_component.c @@ -1,6 +1,6 @@ /* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* - * Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2014-2015 Intel, Inc. All rights reserved. * Copyright (c) 2015-2016 Los Alamos National Security, LLC. All rights * reserved. @@ -21,7 +21,7 @@ #include "opal_config.h" #include "opal/constants.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "hwloc1113.h" /* diff --git a/opal/util/proc.h b/opal/util/proc.h index 15d37a1063f..90cee96d196 100644 --- a/opal/util/proc.h +++ b/opal/util/proc.h @@ -6,6 +6,7 @@ * Copyright (c) 2014-2015 Intel, Inc. All rights reserved. * Copyright (c) 2014-2016 Research Organization for Information Science * and Technology (RIST). All rights reserved. + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -18,7 +19,7 @@ #include "opal_config.h" #include "opal/class/opal_list.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/types.h" #include "opal/dss/dss.h" diff --git a/orte/mca/grpcomm/base/base.h b/orte/mca/grpcomm/base/base.h index 3033d73b249..771cbfa076b 100644 --- a/orte/mca/grpcomm/base/base.h +++ b/orte/mca/grpcomm/base/base.h @@ -12,6 +12,7 @@ * Copyright (c) 2011-2013 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2013-2016 Intel, Inc. All rights reserved. + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -33,7 +34,7 @@ #include "opal/class/opal_hash_table.h" #include "opal/dss/dss_types.h" #include "orte/mca/mca.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/mca/odls/odls_types.h" #include "orte/mca/rml/rml_types.h" diff --git a/orte/mca/odls/alps/odls_alps_module.c b/orte/mca/odls/alps/odls_alps_module.c index 2f6e1f6d819..c8648642bbc 100644 --- a/orte/mca/odls/alps/odls_alps_module.c +++ b/orte/mca/odls/alps/odls_alps_module.c @@ -11,7 +11,7 @@ * All rights reserved. * Copyright (c) 2007-2010 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007 Evergrid, Inc. All rights reserved. - * Copyright (c) 2008-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2008-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2010 IBM Corporation. All rights reserved. * Copyright (c) 2011-2014 Los Alamos National Security, LLC. All rights * reserved. @@ -106,7 +106,7 @@ #endif -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" #include "opal/class/opal_pointer_array.h" #include "opal/util/opal_environ.h" diff --git a/orte/mca/odls/base/odls_base_default_fns.c b/orte/mca/odls/base/odls_base_default_fns.c index 2f18d7a0305..03a16b7a380 100644 --- a/orte/mca/odls/base/odls_base_default_fns.c +++ b/orte/mca/odls/base/odls_base_default_fns.c @@ -13,7 +13,7 @@ * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2011-2013 Los Alamos National Security, LLC. * All rights reserved. - * Copyright (c) 2011-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. * Copyright (c) 2014 Research Organization for Information Science * and Technology (RIST). All rights reserved. @@ -52,7 +52,7 @@ #include "opal/util/path.h" #include "opal/util/sys_limits.h" #include "opal/dss/dss.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/shmem/base/base.h" #include "opal/mca/pstat/pstat.h" #include "opal/mca/pmix/pmix.h" diff --git a/orte/mca/odls/base/odls_base_frame.c b/orte/mca/odls/base/odls_base_frame.c index e615433957b..593a1470286 100644 --- a/orte/mca/odls/base/odls_base_frame.c +++ b/orte/mca/odls/base/odls_base_frame.c @@ -10,7 +10,7 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2010-2011 Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2011-2013 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2014-2015 Research Organization for Information Science @@ -31,7 +31,7 @@ #include "opal/class/opal_ring_buffer.h" #include "orte/mca/mca.h" #include "opal/mca/base/base.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/util/output.h" #include "opal/util/path.h" #include "opal/util/argv.h" diff --git a/orte/mca/odls/default/odls_default_module.c b/orte/mca/odls/default/odls_default_module.c index 7c121020503..1641457c388 100644 --- a/orte/mca/odls/default/odls_default_module.c +++ b/orte/mca/odls/default/odls_default_module.c @@ -11,7 +11,7 @@ * All rights reserved. * Copyright (c) 2007-2010 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007 Evergrid, Inc. All rights reserved. - * Copyright (c) 2008-2016 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2008-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2010 IBM Corporation. All rights reserved. * Copyright (c) 2011-2013 Los Alamos National Security, LLC. All rights * reserved. @@ -106,7 +106,7 @@ #endif #include -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" #include "opal/class/opal_pointer_array.h" #include "opal/util/opal_environ.h" diff --git a/orte/mca/plm/base/plm_base_launch_support.c b/orte/mca/plm/base/plm_base_launch_support.c index a9927cf4277..9db1978151c 100644 --- a/orte/mca/plm/base/plm_base_launch_support.c +++ b/orte/mca/plm/base/plm_base_launch_support.c @@ -40,7 +40,7 @@ #include "opal/util/argv.h" #include "opal/class/opal_pointer_array.h" #include "opal/dss/dss.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/util/dash_host/dash_host.h" #include "orte/util/session_dir.h" diff --git a/orte/mca/ras/lsf/ras_lsf_module.c b/orte/mca/ras/lsf/ras_lsf_module.c index 2aae886256a..becec82f213 100644 --- a/orte/mca/ras/lsf/ras_lsf_module.c +++ b/orte/mca/ras/lsf/ras_lsf_module.c @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2007 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2014 Intel, Inc. All rights reserved * Copyright (c) 2016 IBM Corporation. All rights reserved. * $COPYRIGHT$ @@ -32,7 +32,7 @@ #include "opal/util/argv.h" #include "opal/util/net.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/mca/rmaps/rmaps_types.h" #include "orte/mca/errmgr/errmgr.h" diff --git a/orte/mca/ras/simulator/ras_sim_module.c b/orte/mca/ras/simulator/ras_sim_module.c index ddeb153a568..3d3147fc6d6 100644 --- a/orte/mca/ras/simulator/ras_sim_module.c +++ b/orte/mca/ras/simulator/ras_sim_module.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2012 Los Alamos National Security, LLC. All rights reserved * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. @@ -20,7 +20,7 @@ #include #include "opal/class/opal_list.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/util/argv.h" #include "orte/util/show_help.h" diff --git a/orte/mca/rmaps/lama/rmaps_lama.h b/orte/mca/rmaps/lama/rmaps_lama.h index 7cf83fcaab4..8cb830f861e 100644 --- a/orte/mca/rmaps/lama/rmaps_lama.h +++ b/orte/mca/rmaps/lama/rmaps_lama.h @@ -1,7 +1,7 @@ /* * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * - * Copyright (c) 2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2013-2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -34,7 +34,7 @@ extern orte_rmaps_base_module_t orte_rmaps_lama_module; *********************************/ /* * JJH: Can we reuse the opal_hwloc_level_t data structure in - * opal/mca/hwloc/hwloc.h + * opal/mca/hwloc/hwloc-internal.h */ typedef enum { LAMA_LEVEL_MACHINE = 0, diff --git a/orte/mca/rmaps/lama/rmaps_lama_module.c b/orte/mca/rmaps/lama/rmaps_lama_module.c index 5a1c20b1217..ceb97bf25b1 100644 --- a/orte/mca/rmaps/lama/rmaps_lama_module.c +++ b/orte/mca/rmaps/lama/rmaps_lama_module.c @@ -1,7 +1,7 @@ /* * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * - * Copyright (c) 2012-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2012-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2014 Intel, Inc. All rights reserved * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. @@ -22,7 +22,7 @@ #endif /* HAVE_UNISTD_H */ #include -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/util/argv.h" #include "opal/class/opal_tree.h" diff --git a/orte/mca/rmaps/mindist/rmaps_mindist.h b/orte/mca/rmaps/mindist/rmaps_mindist.h index e437915bd9d..d29ac6d1e80 100644 --- a/orte/mca/rmaps/mindist/rmaps_mindist.h +++ b/orte/mca/rmaps/mindist/rmaps_mindist.h @@ -10,6 +10,7 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2013 Los Alamos National Security, LLC. All rights reserved. + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -26,7 +27,7 @@ #include "orte_config.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/class/opal_list.h" #include "orte/mca/rmaps/rmaps.h" diff --git a/orte/mca/rmaps/ppr/rmaps_ppr.h b/orte/mca/rmaps/ppr/rmaps_ppr.h index 866ee148c0d..b74f32af2ab 100644 --- a/orte/mca/rmaps/ppr/rmaps_ppr.h +++ b/orte/mca/rmaps/ppr/rmaps_ppr.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -12,7 +12,7 @@ #include "orte_config.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/mca/rmaps/rmaps.h" diff --git a/orte/mca/rmaps/rmaps_types.h b/orte/mca/rmaps/rmaps_types.h index b4a4c93af62..127a9d445e6 100644 --- a/orte/mca/rmaps/rmaps_types.h +++ b/orte/mca/rmaps/rmaps_types.h @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2014-2015 Intel, Inc. All rights reserved. @@ -29,7 +29,7 @@ #include "orte/constants.h" #include "opal/class/opal_pointer_array.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/runtime/orte_globals.h" @@ -101,7 +101,7 @@ ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_job_map_t); /* round-robin policies */ /* start with hardware-based options * so the values match the corresponding - * levels in opal/mca/hwloc/hwloc.h + * levels in opal/mca/hwloc/hwloc-internal.h */ #define ORTE_MAPPING_BYNODE 1 #define ORTE_MAPPING_BYBOARD 2 diff --git a/orte/mca/rmaps/round_robin/rmaps_rr.h b/orte/mca/rmaps/round_robin/rmaps_rr.h index d406c1267be..6591a3b6c20 100644 --- a/orte/mca/rmaps/round_robin/rmaps_rr.h +++ b/orte/mca/rmaps/round_robin/rmaps_rr.h @@ -10,6 +10,7 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2015 Intel, Inc. All rights reserved. + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -26,7 +27,7 @@ #include "orte_config.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/class/opal_list.h" #include "orte/mca/rmaps/rmaps.h" diff --git a/orte/mca/rmaps/seq/rmaps_seq.c b/orte/mca/rmaps/seq/rmaps_seq.c index 310fe622e0e..623a2184f59 100644 --- a/orte/mca/rmaps/seq/rmaps_seq.c +++ b/orte/mca/rmaps/seq/rmaps_seq.c @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2006-2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2006-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2011 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2014-2017 Intel, Inc. All rights reserved. @@ -36,7 +36,7 @@ #include "opal/util/if.h" #include "opal/util/net.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/util/show_help.h" #include "orte/mca/errmgr/errmgr.h" diff --git a/orte/mca/rtc/hwloc/rtc_hwloc.c b/orte/mca/rtc/hwloc/rtc_hwloc.c index 91cb18328bb..8c56efa9793 100644 --- a/orte/mca/rtc/hwloc/rtc_hwloc.c +++ b/orte/mca/rtc/hwloc/rtc_hwloc.c @@ -1,5 +1,6 @@ /* * Copyright (c) 2014-2015 Intel, Inc. All rights reserved + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -17,7 +18,7 @@ #endif /* HAVE_UNISTD_H */ #include -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/util/argv.h" #include "opal/util/opal_environ.h" diff --git a/orte/orted/orted_main.c b/orte/orted/orted_main.c index 8558350d52c..f2d8635140b 100644 --- a/orte/orted/orted_main.c +++ b/orte/orted/orted_main.c @@ -10,7 +10,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2007-2013 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2007-2016 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2009 Institut National de Recherche en Informatique @@ -65,7 +65,7 @@ #include "opal/mca/base/mca_base_var.h" #include "opal/util/daemon_init.h" #include "opal/dss/dss.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/pmix/pmix.h" #include "orte/util/show_help.h" diff --git a/orte/orted/pmix/pmix_server_dyn.c b/orte/orted/pmix/pmix_server_dyn.c index 452fdbe2b49..0c3254b0333 100644 --- a/orte/orted/pmix/pmix_server_dyn.c +++ b/orte/orted/pmix/pmix_server_dyn.c @@ -11,7 +11,7 @@ * All rights reserved. * Copyright (c) 2006-2013 Los Alamos National Security, LLC. * All rights reserved. - * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2009-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2011 Oak Ridge National Labs. All rights reserved. * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. * Copyright (c) 2014 Mellanox Technologies, Inc. @@ -38,7 +38,7 @@ #include "opal/util/output.h" #include "opal/util/path.h" #include "opal/dss/dss.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/mca/errmgr/errmgr.h" #include "orte/mca/rmaps/base/base.h" diff --git a/orte/runtime/data_type_support/orte_dt_unpacking_fns.c b/orte/runtime/data_type_support/orte_dt_unpacking_fns.c index d46d86c0a54..c2ffc8bfa51 100644 --- a/orte/runtime/data_type_support/orte_dt_unpacking_fns.c +++ b/orte/runtime/data_type_support/orte_dt_unpacking_fns.c @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2011-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2011-2013 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2014-2017 Intel, Inc. All rights reserved. @@ -27,7 +27,7 @@ #include "opal/dss/dss.h" #include "opal/dss/dss_internal.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/util/argv.h" #include "orte/mca/errmgr/errmgr.h" diff --git a/orte/runtime/orte_globals.c b/orte/runtime/orte_globals.c index 29470035c4b..fb6ae0369d0 100644 --- a/orte/runtime/orte_globals.c +++ b/orte/runtime/orte_globals.c @@ -9,7 +9,7 @@ * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. - * Copyright (c) 2007-2011 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2009-2010 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2011-2013 Los Alamos National Security, LLC. * All rights reserved. @@ -32,7 +32,7 @@ #include #endif -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/pmix/pmix.h" #include "opal/util/argv.h" #include "opal/util/output.h" diff --git a/orte/runtime/orte_globals.h b/orte/runtime/orte_globals.h index d11433d056d..0165aa7c443 100644 --- a/orte/runtime/orte_globals.h +++ b/orte/runtime/orte_globals.h @@ -10,7 +10,7 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2007-2010 Oracle and/or its affiliates. All rights reserved. - * Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2007-2017 Cisco Systems, Inc. All rights reserved * Copyright (c) 2011-2013 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2013-2017 Intel, Inc. All rights reserved. @@ -44,7 +44,7 @@ #include "opal/class/opal_ring_buffer.h" #include "opal/threads/threads.h" #include "opal/mca/event/event.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/mca/hwloc/base/base.h" #include "orte/mca/plm/plm_types.h" diff --git a/orte/util/proc_info.h b/orte/util/proc_info.h index ace299370da..810f31cf84d 100644 --- a/orte/util/proc_info.h +++ b/orte/util/proc_info.h @@ -12,6 +12,7 @@ * Copyright (c) 2011-2012 Los Alamos National Security, LLC. * All rights reserved. * Copyright (c) 2013-2016 Intel, Inc. All rights reserved + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -40,7 +41,7 @@ #include "orte/types.h" #include "opal/dss/dss_types.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "opal/util/proc.h" BEGIN_C_DECLS diff --git a/oshmem/proc/proc.h b/oshmem/proc/proc.h index 5e4b3ab3544..11ab5e75ec0 100644 --- a/oshmem/proc/proc.h +++ b/oshmem/proc/proc.h @@ -3,6 +3,7 @@ * All rights reserved. * Copyright (c) 2016 Research Organization for Information Science * and Technology (RIST). All rights reserved. + * Copyright (c) 2017 Cisco Systems, Inc. All rights reserved * $COPYRIGHT$ * * Additional copyrights may follow @@ -21,7 +22,7 @@ #include "opal/class/opal_list.h" #include "opal/util/proc.h" #include "opal/dss/dss_types.h" -#include "opal/mca/hwloc/hwloc.h" +#include "opal/mca/hwloc/hwloc-internal.h" #include "orte/types.h" #include "orte/runtime/orte_globals.h"