Hi Sylvain,

You can find the related details in README file under MPICH directory. 

Thanks,
Xin


From: Korzennik, Sylvain [skorzennik@cfa.harvard.edu]
Sent: Monday, March 09, 2015 6:25 PM
To: Zhao, Xin
Subject: Fwd: discuss Digest, Vol 29, Issue 7

Thanks, this worked (build and install) I have yet to test it.
​​Is there a documentation on the values that can be used for --with-device and more details on enabling IB?

---------- Forwarded message ----------
From: <discuss-request@mpich.org>
Date: Mon, Mar 9, 2015 at 4:39 PM
Subject: discuss Digest, Vol 29, Issue 7
To: discuss@mpich.org

​[...]
----------------------------------------------------------------------

Message: 1
Date: Sat, 7 Mar 2015 23:46:47 +0000
From: "Zhao, Xin" <xinzhao3@illinois.edu>
To: "discuss@mpich.org" <discuss@mpich.org>
Subject: Re: [mpich-discuss] Building mpich 1.3.4 w/ IB enabled
Message-ID:
        <0A407957589BAB4F924824150C4293EF5887668C@CITESMBX3.ad.uillinois.edu>
Content-Type: text/plain; charset="utf-8"

Hi Sylvain,

IB netmod is contributed by RIKEN and they are working on cleaning up this netmod. At the meantime, I would recommend using MXM netmod instead by specifying ??with-device=ch3:nemesis:mxm?. MXM is a netmod for IB networks using the MXM API instead of Verbs to interact with the HCA. Note that it is only for Mellanox hardware.

Thanks,
Xin

________________________________
From: Korzennik, Sylvain [skorzennik@cfa.harvard.edu]
Sent: Saturday, March 07, 2015 5:18 PM
To: discuss@mpich.org
Subject: [mpich-discuss] Building mpich 1.3.4 w/ IB enabled

I downloaded mpich-1.3.4.tar.gz and was able to build it with GCC 4.9.1 and the following configure flags:

./configure \
 CC=/opt/gnu/gcc/bin/gcc \
 FC=/opt/gnu/gcc/bin/gfortran \
 CXX=/opt/gnu/gcc/bin/g++ \
 --enable-static \
 --with-device=ch3:nemesis \
 --with-thread-package=posix \
 --with-pm=hydra \
 --enable-shared \
 --enable-debuginfo \
 --prefix=$dest


If instead I try to build w/ IB support, namely:

./configure \
 CC=/opt/gnu/gcc/bin/gcc \
 FC=/opt/gnu/gcc/bin/gfortran \
 CXX=/opt/gnu/gcc/bin/g++ \
 --enable-static \
 --with-device=ch3:nemesis:ib \
 --with-thread-package=posix \
 --with-pm=hydra \
 --enable-shared \
 --enable-debuginfo \
 --prefix=$dest

I get the following (slew) of errors when building (make):
​[...]​

  Cheers,
    Sylvain
--