From f763be26c41a9d19e15660d120f615aa226e4e5f Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 13 Dec 2013 15:23:33 +0000 Subject: [PATCH] Closes trac:2433. Check for hetero architecture and disqualify sm connections if that is found as the sm btl currently doesn't support hetero operations. cmr=v1.7.4:reviewer=brbarret:subject=Disqualify sm btl for hetero procs This commit was SVN r29882. The following Trac tickets were found above: Ticket 2433 --> https://svn.open-mpi.org/trac/ompi/ticket/2433 --- ompi/mca/btl/sm/btl_sm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ompi/mca/btl/sm/btl_sm.c b/ompi/mca/btl/sm/btl_sm.c index 2e2c70fcb1..231ecbc111 100644 --- a/ompi/mca/btl/sm/btl_sm.c +++ b/ompi/mca/btl/sm/btl_sm.c @@ -15,6 +15,7 @@ * All rights reserved. * Copyright (c) 2010-2012 IBM Corporation. All rights reserved. * Copyright (c) 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013 Intel, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -505,6 +506,11 @@ int mca_btl_sm_add_procs( continue; } + /* sm doesn't support heterogeneous yet... */ + if (procs[proc]->proc_arch != my_proc->proc_arch) { + continue; + } + /* we have someone to talk to */ have_connected_peer = true;