Skip to content

Commit 528abff

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents d28ee62 + 30f913f commit 528abff

File tree

11 files changed

+40
-270
lines changed

11 files changed

+40
-270
lines changed

autogen.pl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Copyright (c) 2013 Mellanox Technologies, Inc.
66
# All rights reserved.
77
# Copyright (c) 2013-2014 Intel, Inc. All rights reserved.
8-
# Copyright (c) 2015 Research Organization for Information Science
8+
# Copyright (c) 2015-2016 Research Organization for Information Science
99
# and Technology (RIST). All rights reserved.
1010
# Copyright (c) 2015 IBM Corporation. All rights reserved.
1111
#
@@ -977,6 +977,12 @@ sub patch_autotools_output {
977977
$c =~ s/$search_string/$replace_string/;
978978
}
979979

980+
# Oracle has apparently begun (as of 12.5-beta) removing the "Sun" branding.
981+
# So this patch (cumulative over the previous one) is required.
982+
push(@verbose_out, $indent_str . "Patching configure for Oracle Studio Fortran version strings\n");
983+
$c =~ s/\*Sun\*Fortran\*\)/*Sun*Fortran* | *Studio*Fortran*)/g;
984+
$c =~ s/\*Sun\\ F\*\)(.*\n\s+tmp_sharedflag=)/*Sun\\ F* | *Studio*Fortran*)$1/g;
985+
980986
# See http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=v2.2.6-201-g519bf91 for details
981987
# Note that this issue was fixed in LT 2.2.8, however most distros are still using 2.2.6b
982988

ompi/mca/coll/base/coll_base_allgather.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Copyright (c) 2009 University of Houston. All rights reserved.
1313
* Copyright (c) 2013 Los Alamos National Security, LLC. All Rights
1414
* reserved.
15-
* Copyright (c) 2014-2015 Research Organization for Information Science
15+
* Copyright (c) 2014-2016 Research Organization for Information Science
1616
* and Technology (RIST). All rights reserved.
1717
* $COPYRIGHT$
1818
*
@@ -623,6 +623,10 @@ int ompi_coll_base_allgather_intra_two_procs(const void *sbuf, int scount,
623623
OPAL_OUTPUT((ompi_coll_base_framework.framework_output,
624624
"ompi_coll_base_allgather_intra_two_procs rank %d", rank));
625625

626+
if (2 != ompi_comm_size(comm)) {
627+
return MPI_ERR_UNSUPPORTED_OPERATION;
628+
}
629+
626630
err = ompi_datatype_get_extent (sdtype, &lb, &sext);
627631
if (MPI_SUCCESS != err) { line = __LINE__; goto err_hndl; }
628632

ompi/mca/coll/base/coll_base_allgatherv.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Copyright (c) 2009 University of Houston. All rights reserved.
1414
* Copyright (c) 2013 Los Alamos National Security, LLC. All Rights
1515
* reserved.
16-
* Copyright (c) 2015 Research Organization for Information Science
16+
* Copyright (c) 2015-2016 Research Organization for Information Science
1717
* and Technology (RIST). All rights reserved.
1818
* $COPYRIGHT$
1919
*
@@ -526,6 +526,10 @@ int ompi_coll_base_allgatherv_intra_two_procs(const void *sbuf, int scount,
526526
OPAL_OUTPUT((ompi_coll_base_framework.framework_output,
527527
"ompi_coll_base_allgatherv_intra_two_procs rank %d", rank));
528528

529+
if (2 != ompi_comm_size(comm)) {
530+
return MPI_ERR_UNSUPPORTED_OPERATION;
531+
}
532+
529533
err = ompi_datatype_get_extent (sdtype, &lb, &sext);
530534
if (MPI_SUCCESS != err) { line = __LINE__; goto err_hndl; }
531535

ompi/mca/coll/base/coll_base_alltoall.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* All rights reserved.
1313
* Copyright (c) 2013 Los Alamos National Security, LLC. All Rights
1414
* reserved.
15-
* Copyright (c) 2014-2015 Research Organization for Information Science
15+
* Copyright (c) 2014-2016 Research Organization for Information Science
1616
* and Technology (RIST). All rights reserved.
1717
* $COPYRIGHT$
1818
*
@@ -500,6 +500,10 @@ int ompi_coll_base_alltoall_intra_two_procs(const void *sbuf, int scount,
500500
OPAL_OUTPUT((ompi_coll_base_framework.framework_output,
501501
"ompi_coll_base_alltoall_intra_two_procs rank %d", rank));
502502

503+
if (2 != ompi_comm_size(comm)) {
504+
return MPI_ERR_UNSUPPORTED_OPERATION;
505+
}
506+
503507
err = ompi_datatype_get_extent (sdtype, &lb, &sext);
504508
if (err != MPI_SUCCESS) { line = __LINE__; goto err_hndl; }
505509

ompi/mca/coll/base/coll_base_barrier.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved.
1414
* Copyright (c) 2013 Los Alamos National Security, LLC. All Rights
1515
* reserved.
16-
* Copyright (c) 2015 Research Organization for Information Science
16+
* Copyright (c) 2015-2016 Research Organization for Information Science
1717
* and Technology (RIST). All rights reserved.
1818
* $COPYRIGHT$
1919
*
@@ -303,6 +303,11 @@ int ompi_coll_base_barrier_intra_two_procs(struct ompi_communicator_t *comm,
303303
remote = ompi_comm_rank(comm);
304304
OPAL_OUTPUT((ompi_coll_base_framework.framework_output,
305305
"ompi_coll_base_barrier_intra_two_procs rank %d", remote));
306+
307+
if (2 != ompi_comm_size(comm)) {
308+
return MPI_ERR_UNSUPPORTED_OPERATION;
309+
}
310+
306311
remote = (remote + 1) & 0x1;
307312

308313
err = ompi_coll_base_sendrecv_zero(remote, MCA_COLL_BASE_TAG_BARRIER,

opal/mca/hwloc/external/configure.m4

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- shell-script -*-
22
#
3-
# Copyright (c) 2009-2015 Cisco Systems, Inc. All rights reserved.
3+
# Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved.
44
# Copyright (c) 2014 Research Organization for Information Science
55
# and Technology (RIST). All rights reserved.
66
#
@@ -67,16 +67,6 @@ AC_DEFUN([MCA_opal_hwloc_external_POST_CONFIG],[
6767
AC_DEFINE_UNQUOTED(MCA_hwloc_external_openfabrics_header,
6868
["$opal_hwloc_dir/include/hwloc/openfabrics-verbs.h"],
6969
[Location of external hwloc header])
70-
71-
# These flags need to get passed to the wrapper compilers
72-
# (this is unnecessary for the internal/embedded hwloc)
73-
74-
# Finally, add some flags to the wrapper compiler if we're
75-
# building with developer headers so that our headers can
76-
# be found.
77-
hwloc_external_WRAPPER_EXTRA_CPPFLAGS=$opal_hwloc_external_CPPFLAGS
78-
hwloc_external_WRAPPER_EXTRA_LDFLAGS=$opal_hwloc_external_LDFLAGS
79-
hwloc_external_WRAPPER_EXTRA_LIBS=$opal_hwloc_external_LIBS
8070
])
8171
OPAL_VAR_SCOPE_POP
8272
])dnl
@@ -198,6 +188,17 @@ AC_DEFUN([MCA_opal_hwloc_external_CONFIG],[
198188
Cannot continue])])
199189
AS_IF([test "$opal_hwloc_dir" != ""],
200190
[CFLAGS=$opal_hwloc_external_CFLAGS_save])
191+
192+
# These flags need to get passed to the wrapper compilers
193+
# (this is unnecessary for the internal/embedded hwloc)
194+
195+
# Finally, add some flags to the wrapper compiler if we're
196+
# building with developer headers so that our headers can
197+
# be found.
198+
hwloc_external_WRAPPER_EXTRA_CPPFLAGS=$opal_hwloc_external_CPPFLAGS
199+
hwloc_external_WRAPPER_EXTRA_LDFLAGS=$opal_hwloc_external_LDFLAGS
200+
hwloc_external_WRAPPER_EXTRA_LIBS=$opal_hwloc_external_LIBS
201+
201202
$1],
202203
[$2])
203204

opal/mca/timer/aix/Makefile.am

Lines changed: 0 additions & 25 deletions
This file was deleted.

opal/mca/timer/aix/configure.m4

Lines changed: 0 additions & 80 deletions
This file was deleted.

opal/mca/timer/aix/owner.txt

Lines changed: 0 additions & 7 deletions
This file was deleted.

opal/mca/timer/aix/timer_aix.h

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)