Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Larry Baker
ommitted as r27615. Let me know if there are any more issues. > > -Nathan > > > From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of > Ralph Castain [r...@open-mpi.org] > Sent: Thursday, November 15, 2012 8:53 AM > To:

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Ralph Castain
Why did we just add a version check for m4? >>>>> >>>>> Sent from my phone. No type good. >>>>> >>>>> On Nov 15, 2012, at 9:43 AM, "Hjelm, Nathan T" <hje...@lanl.gov> wrote: >>>>> >>>>>&g

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Jeff Squyres (jsquyres)
.@lanl.gov> wrote: >>>> >>>>> Committed as r27615. Let me know if there are any more issues. >>>>> >>>>> -Nathan >>>>> >>>>> >>>>> From: devel-boun...@o

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Ralph Castain
rote: >>> >>>> Committed as r27615. Let me know if there are any more issues. >>>> >>>> -Nathan >>>> >>>> ________________ >>>> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on beh

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Jeff Squyres (jsquyres)
lt;hje...@lanl.gov> wrote: >> >>> Committed as r27615. Let me know if there are any more issues. >>> >>> -Nathan >>> >>> >>> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of >>> Ralph Castain [r...

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Ralph Castain
devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of > Ralph Castain [r...@open-mpi.org] > Sent: Thursday, November 15, 2012 10:01 AM > To: Open MPI Developers > Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk > > Just an FYI: on the Mac ML

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Hjelm, Nathan T
To: Open MPI Developers Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk Just an FYI: on the Mac ML, I see this: Searching for m4 Found m4 version 4; checking version... Found version component 4 -- need 1 $ m4 --version m4 (GNU M4) 1.4.16 Looks like the parser

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Ralph Castain
>> -Nathan >> >> >> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of >> Ralph Castain [r...@open-mpi.org] >> Sent: Thursday, November 15, 2012 8:53 AM >> To: Open MPI Developers >> Su

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Ralph Castain
el-boun...@open-mpi.org] on behalf of > Ralph Castain [r...@open-mpi.org] > Sent: Thursday, November 15, 2012 8:53 AM > To: Open MPI Developers > Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk > > Looks fine to me. I would only add one further refinement - I think we

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Jeff Squyres (jsquyres)
> From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of > Ralph Castain [r...@open-mpi.org] > Sent: Thursday, November 15, 2012 8:53 AM > To: Open MPI Developers > Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk >

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Hjelm, Nathan T
: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk Looks fine to me. I would only add one further refinement - I think we should check m4, but add a check in autogen.pl so that if we get nothing useful back from -v (or whatever), then output a warning that we couldn't validate the version

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Ralph Castain
t; Found version component 1 -- need 1 > Found version component 4 -- need 4 > Found version component 16 -- need 16 > ==> ACCEPTED > > > -Nathan > > > From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org]

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-15 Thread Hjelm, Nathan T
pen MPI Developers Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk Larry, I just wanted to speak up quickly to be sure nobody used your example to "fix" the Mac OS problem and thereby break Solaris instead. No personal attack/affront was intended. -Paulhttps://mymail.la

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Paul Hargrove
Larry, I just wanted to speak up quickly to be sure nobody used your example to "fix" the Mac OS problem and thereby break Solaris instead. No personal attack/affront was intended. -Paul On Wed, Nov 14, 2012 at 7:10 PM, Larry Baker wrote: > Paul, > > 1) I wasn't trying to

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Larry Baker
Ralph, > Ick - usually tools support some kind of version option. :-( In the olden days, -V (big V) was a reasonably standard request for version no. (little V being verbosity). The GHNU command line parsing added the wordy options preceded by double dashes. Unfortunately, gcc does not

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Larry Baker
Paul, 1) I wasn't trying to solve the --version issue, only the parsing of the response. 2) I assumed from the initial e-mail that the broken parser was in a Perl script. I'm not a Perl person, so I wrote the example regular expression parser in sed. These commands were done on my Mac OS X

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Ralph Castain
Ick - usually tools support some kind of version option. :-( I'll give Nathan a chance to work on this tonight. If we can't resolve the problem, I'll revert the m4 check as well. On Nov 14, 2012, at 5:41 PM, Paul Hargrove wrote: > On Wed, Nov 14, 2012 at 6:26 PM, Larry

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Paul Hargrove
On Wed, Nov 14, 2012 at 6:26 PM, Larry Baker wrote: > m4 --version | sed -n -E -e > '1s/^.*[^A-Za-z0-9_-]?([0-9]+[.][0-9]+[.][0-9]+)[^A-Za-z0-9_-]?.*$/\1/p' > There are STILL problems with this approach as it is TWICE specific to GNU software: 1) M4 on OpenBSD (maybe others)

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Hjelm, Nathan T
From: devel-boun...@open-mpi.org [devel-boun...@open-mpi.org] on behalf of Ralph Castain [r...@open-mpi.org] Sent: Wednesday, November 14, 2012 4:26 PM To: de...@open-mpi.org Subject: Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk Sorry Nathan - I had to revert this out

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Larry Baker
Ralph, Try sed -n -E -e '1s/^.*[^A-Za-z0-9_-]?([0-9]+[.][0-9]+[.][0-9]+)[^A-Za-z0-9_-]?.*$/\1/p' (or its equivalent in Perl). -n = Don't print out lines that do not match the pattern -E = Telsl sed to recognize + pattern = .. (no attempt to rule out nonsense like 0.0.0) > savaii:~ baker$ m4

Re: [OMPI devel] [OMPI svn] svn:open-mpi r27601 - trunk

2012-11-14 Thread Ralph Castain
Sorry Nathan - I had to revert this out as it broke builds on Mac ML. The problem is that the find_and_check parser looks for parens to find the version number, expecting something like this: $ m4 --version m4 (GNU M4) 1.4.16 or this: $ gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC)