[OMPI devel] ompi-master build error : make can require autotools

2014-12-22 Thread Gilles Gouaillardet
Jeff and all, i just found "by accident" that make can require autotools. for example: from (generated) ompi/include/Makefile : $(srcdir)/mpi.h.in: $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h2 touch $@ and $(am__configure_deps) is a bu

Re: [OMPI devel] ompi-master build error : make can require autotools

2014-12-22 Thread Dave Goodell (dgoodell)
On Dec 22, 2014, at 2:42 AM, Gilles Gouaillardet wrote: > Jeff and all, > > i just found "by accident" that make can require autotools. > > for example: > > from (generated) ompi/include/Makefile : > $(srcdir)/mpi.h.in: $(am__configure_deps) >($(am__cd) $(top_srcdir) && $(AUTOHEADER)

Re: [OMPI devel] ompi-master build error : make can require autotools

2014-12-22 Thread Gilles Gouaillardet
Hi Dave, yes, i did experience this exact behaviour. "by accident" meant i ran autogen.pl with the required autotools versions. then, i ran configure and make with the RHEL6 stock autotools (that are too old for OMPI) configure worked just fine, but make crashed because of outdated autotools if

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-05 Thread Dave Goodell (dgoodell)
I just attempted to reproduce this issue and was unable to. I did this on a RHEL6 box with master hash ce2008a: ✂ $ touch config/opal_config_pthreads.m4 && ./autogen.pl && module unload cisco/autotools/ac269-am1133-lt242 && ./configure --prefix=$PWD/_prefix && make ✂ Which did

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-05 Thread Gilles Gouaillardet
Dave, what if you do touch ompi/include/mpi.h.in && sleep 1 && touch config/opal_config_pthreads.m4 && ./autogen.pl && module unload cisco/autotools/ac269-am1133-lt242 && ./configure --prefix=$PWD/_prefix && make autogen.pl nor configure does not touch ompi/include/mpi.h.in, and as a conseque

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-06 Thread Dave Goodell (dgoodell)
On Jan 5, 2015, at 8:40 PM, Gilles Gouaillardet wrote: > Dave, > > what if you do > > touch ompi/include/mpi.h.in && sleep 1 && touch > config/opal_config_pthreads.m4 && ./autogen.pl && module unload > cisco/autotools/ac269-am1133-lt242 && ./configure --prefix=$PWD/_prefix && > make > > >

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-06 Thread Gilles Gouaillardet
Dave, this is an automake issue indeed. i use automake 1.12.2 (as advised at http://www.open-mpi.org/source/building.php, and this is the version used to build the snapshots) automake 1.12.2 adds the following line in ompi/include/Makefile.in : $(srcdir)/mpi.h.in: $(am__configure_deps)

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-06 Thread Ralph Castain
The 1.12 series had a set of problems caused by a changeover in the maintainers, so it should never be used. I’m not sure if any of those issues are behind this problem, but it could be so. Anyway, I think pretty much all of us are using automake 1.14 by this time. We can discuss how far up to

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-07 Thread Jeff Squyres (jsquyres)
On Jan 6, 2015, at 9:52 PM, Ralph Castain wrote: > The 1.12 series had a set of problems caused by a changeover in the > maintainers, so it should never be used. I’m not sure if any of those issues > are behind this problem, but it could be so. > > Anyway, I think pretty much all of us are usi

Re: [OMPI devel] ompi-master build error : make can require autotools

2015-01-07 Thread Ralph Castain
I think that makes sense. I checked and my CentOS box is actually using 1.12.4 and seems to be fine. I can update it though and probably should. FWIW: good to remember that this problem only *can* occur - it doesn’t always happen, and it seems to require some unusual steps to trigger it. So I do