Sorry for all this back-n-forth, but I honestly haven't thought about or tried 
v1.10 in (literally) years.  You should ping the WRF maintainers and tell them 
to upgrade to a later version of Open MPI; the v1.10 series is no longer 
supported and clearly the networking APIs that it's using no longer match what 
is available in current distros.

This time you had failure in another verbs component: common/verbs_usnic.  So 
add that one to the no-build:

    ./configure 
--enable-mca-no-build=btl-openib,common-verbs,common-verbs_usnic ...

I'm kinda guessing at this point that you're going to run into some other 
components that also use the verbs API.  Rather than keep going back-n-forth 
here on the list, you can look at the "make" output and add that plug to the 
no-build list.  For example, from your latest file:

------
Making all in mca/common/verbs_usnic
make[2]: Entering directory 
`/students/WRFtest/WRF_lib/openmpi-1.10.1/ompi/mca/common/verbs_usnic'
  CC       libmca_common_verbs_usnic_la-common_verbs_usnic_fake.lo
common_verbs_usnic_fake.c:72:6: error: 'struct ibv_device' has no member named 
'ops'; did you mean '_ops'?
     .ops = {
      ^~~
      _ops
common_verbs_usnic_fake.c:73:10: error: 'struct _ibv_device_ops' has no member 
named 'alloc_context'
         .alloc_context = fake_alloc_context,
          ^~~~~~~~~~~~~
common_verbs_usnic_fake.c:74:10: error: 'struct _ibv_device_ops' has no member 
named 'free_context'
         .free_context = fake_free_context
          ^~~~~~~~~~~~
-----

You can see that it is entering "mca/common/verbs_usnic".

You can also see it's complaining about "ibv_" symbols (it may also complain 
about "ib_" symbols).

In that case, take the last 2 elements of the directory, join them together 
with a "-" and add them to the no-build list.  E.g., "mca/common/verbs_usnic" 
gets added to the no-build list as "common-verbs_usnic".

See if that gets you there.




> On Nov 1, 2019, at 12:03 PM, Qianjin Zheng <qianjin.zh...@hotmail.com> wrote:
> 
> Hi Jess,
> 
> I disable 2 plugins for openib; however, I still got the same error. I 
> attached all the stdout files when I ran configure and make. Thank you.
> 
> Best Regards,
> Qianjin
> From: Jeff Squyres (jsquyres) <jsquy...@cisco.com>
> Sent: Friday, November 1, 2019 10:04 AM
> To: Qianjin Zheng <qianjin.zh...@hotmail.com>
> Cc: Open MPI User's List <users@lists.open-mpi.org>
> Subject: Re: [OMPI users] Configure Error for installation of openmpi-1.10.1
>  
> Your last mail didn't make it through to the list because your log file 
> wasn't compressed and therefore didn't fit under the size limit (we limit 
> mail size because our web archiving service limits size).
> 
> But that's ok -- I got it, because I was CC'ed.
> 
> I viewed it and I see what the problem is.  The openib plugin is actually 
> split into 2 parts in this old version of Open MPI -- you have to disable 2 
> plugins.
> 
>     ./configure --enable-mca-no-build=btl-openib,common-verbs ...
> 
> Sorry for all the hassle!  Try that and see if it works for you.
> 
> 
> > On Nov 1, 2019, at 10:54 AM, Qianjin Zheng <qianjin.zh...@hotmail.com> 
> > wrote:
> > 
> > Hi Jeff,
> > 
> > I attached the stdout from when I ran configure. Thank you
> > 
> > Regards,
> > Qianjin
> > From: Jeff Squyres (jsquyres) <jsquy...@cisco.com>
> > Sent: Thursday, October 31, 2019 1:55 PM
> > To: Qianjin Zheng <qianjin.zh...@hotmail.com>
> > Cc: Open MPI User's List <users@lists.open-mpi.org>
> > Subject: Re: [OMPI users] Configure Error for installation of openmpi-1.10.1
> >  
> > Blarg!  Somehow it still tried to build the openib BTL.
> > 
> > Can you send the stdout from when you ran configure?
> > 
> > 
> > 
> >> On Oct 31, 2019, at 1:57 PM, Qianjin Zheng <qianjin.zh...@hotmail.com> 
> >> wrote:
> >> 
> >> Hi Jeff,
> >> 
> >> I tried again, but I still got the error when I ran "make". 
> >> Here is the commend when I run the configure:
> >> ./configure --prefix=$PATH/LIBRARIES/openmpi --enable-static 
> >> --enable-mpi-thread-multiple --without-usnic --enable-mpi-cxx 
> >> --enable-mca-no-build=btl-openib CC=gcc CXX=g++ FC=gfortran FCFLAGS=-m64 
> >> F77=gfortran FFLAGS=-m64
> >> 
> >> I also attached my make_log within this email. 
> >> 
> >> Thank you,
> >> 
> >> Qianjin
> >> 
> >> 
> >> From: Jeff Squyres (jsquyres) <jsquy...@cisco.com>
> >> Sent: Thursday, October 31, 2019 5:21 AM
> >> To: Qianjin Zheng <qianjin.zh...@hotmail.com>
> >> Cc: Open MPI User's List <users@lists.open-mpi.org>
> >> Subject: Re: [OMPI users] Configure Error for installation of 
> >> openmpi-1.10.1
> >>  
> >> Please keep users@lists.open-mpi.org in the CC so that other users can 
> >> benefit from this information.
> >> 
> >> More below.
> >> 
> >> 
> >>> On Oct 30, 2019, at 10:18 PM, Qianjin Zheng <qianjin.zh...@hotmail.com> 
> >>> wrote:
> >>> 
> >>> Hi Jeff,
> >>> 
> >>> I added --enable-no-build=btl:openib on the configure command line. I 
> >>> still got an error message when I run "make".
> >> 
> >> Sorry, I was going off memory and misspoke.  The option you want is 
> >> --enable-mca-no-build=btl-openib.
> >> 
> >> -- 
> >> Jeff Squyres
> >> jsquy...@cisco.com
> >> 
> >> <make_log.txt>
> > 
> > 
> > -- 
> > Jeff Squyres
> > jsquy...@cisco.com
> > 
> > <configure.out>
> 
> 
> -- 
> Jeff Squyres
> jsquy...@cisco.com
> 
> <stdout.tar.gz>


-- 
Jeff Squyres
jsquy...@cisco.com

Reply via email to