Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI devel] trunk build failure on {Free,Net,Open}BSD
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2014-01-09 22:15:51


Jeff,

No joy on Solaris-10 either:

  CC path.lo
"/home/hargrove/OMPI/openmpi-trunk-solaris10-sparcT2-ss12u3-v8plus/openmpi-1.9a1r30215/opal/util/path.c",
line
 478: prototype mismatch: 2 args passed, 4 expected
"/home/hargrove/OMPI/openmpi-trunk-solaris10-sparcT2-ss12u3-v8plus/openmpi-1.9a1r30215/opal/util/path.c",
line
 568: prototype mismatch: 2 args passed, 4 expected
"/home/hargrove/OMPI/openmpi-trunk-solaris10-sparcT2-ss12u3-v8plus/openmpi-1.9a1r30215/opal/util/path.c",
line
 584: improper member use: f_bavail
"/home/hargrove/OMPI/openmpi-trunk-solaris10-sparcT2-ss12u3-v8plus/openmpi-1.9a1r30215/opal/util/path.c",
line
 584: improper member use: f_bavail
cc: acomp failed for
/home/hargrove/OMPI/openmpi-trunk-solaris10-sparcT2-ss12u3-v8plus/openmpi-1.9a1r30215/opa
l/util/path.c
*** Error code 1

By the line numbers, the "2 args passed, 2 expected" refers to a call to
stafs(), which one should NOT be using on Solaris. I've attached the
config.log to help you determine why statfs() is being selected.

My Solaris-11 build stopped again on the failure to find ibv_open_device().
I am re-running w/o --enable-openib now.

-Paul

On Thu, Jan 9, 2014 at 1:30 PM, Jeff Squyres (jsquyres)
<jsquyres_at_[hidden]>wrote:

> Fixed on trunk in https://svn.open-mpi.org/trac/ompi/changeset/30198.
>
> I can't test on all the kinds of systems Paul/Marco have, though -- we'll
> have to see what happens when he tries.
>
>
> On Jan 9, 2014, at 10:36 AM, Ralph Castain <rhc_at_[hidden]> wrote:
>
> > I fully concur - just limited by my available time to fix it. Jeff has
> volunteered to step in, though.
> >
> > On Jan 8, 2014, at 11:44 PM, marco atzeri <marco.atzeri_at_[hidden]>
> wrote:
> >
> >> Il 1/9/2014 5:10 AM, Ralph Castain ha scritto:
> >>> Actually, as I look at it, the logic escapes me anyway. Basically, you
> >>> only have two options - use the vfs struct for Sun, and use fs struct
> >>> for everything else. I'm not aware of any other choice, and indeed the
> >>> list of all the systems for the latter actually is intended to amount
> to
> >>> "anything else".
> >>>
> >>> So I just changed it to an "else" statement in the trunk and scheduled
> >>> it for 1.7.4 if it passes muster - see how this works for you.
> >>>
> >>> Ralph
> >>>
> >>
> >> Ralph,
> >> please note that there are other similar cases in the same file
> >>
> >> in "bool opal_path_nfs" function at row 434 and 462
> >>
> >> the one at 489 is a multiple if with no default case,
> >> so the code will fail to perform for any architecture
> >> no reported there, like CYGWIN, and it is very hard to notice
> >>
> >> In general this type of "ifdefined" around platform
> >> are very bad for portability or platform evolution.
> >> Adding a new platform will be a hell of work.
> >>
> >> The Autoconf approach to portability "should be" to test
> >> for features, not for versions or platform.
> >>
> >> Regards
> >> Marco
> >>
> >> _______________________________________________
> >> devel mailing list
> >> devel_at_[hidden]
> >> http://www.open-mpi.org/mailman/listinfo.cgi/devel
> >
> > _______________________________________________
> > devel mailing list
> > devel_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900