Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-10 Thread Raymond Wan
Hi Jeff, Jeff Squyres wrote: On Nov 10, 2008, at 6:41 AM, Jed Brown wrote: With #define's and compiler flags, I think that can be easily done -- was wondering if this is something that developers using MPI do and whether AC/AM supports it. AC will allow you to #define whatever you want

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-10 Thread Jeff Squyres
On Nov 10, 2008, at 6:41 AM, Jed Brown wrote: With #define's and compiler flags, I think that can be easily done -- was wondering if this is something that developers using MPI do and whether AC/AM supports it. AC will allow you to #define whatever you want -- look at the documentation

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-09 Thread Raymond Wan
Hi Nuno, Thank you for the link and your update to it. I definitely don't mind that it isn't "pretty"! :-) Since your post, I've been trying to understand it and how to work it in. But, I think I've been making some progress over the weekend. Thank you! Ray Nuno Sucena Almeida

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-09 Thread Raymond Wan
Hi Jeff, Thank you for your reply! Indeed, I was never going to look at OMPI's use of AC/AM...no doubt that would be far too complex for me. :-) The AC/AM documents I have found so far are quite difficult for me -- I really am starting from zero. Prior to using MPI, I have been writing

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-07 Thread Nuno Sucena Almeida
Hi, see if this macro solves your problem: http://autoconf-archive.cryp.to/acx_mpi.html it requires some improvement, but might be a start. Since I only have OpenMPI I use it in the following way(it's not pretty): configure.ac: (...) dnl Check for MPI dnl This check

Re: [OMPI users] Open MPI programs with autoconf/automake?

2008-11-06 Thread Jeff Squyres
OMPI itself uses AC/AM to build itself, but our configure.ac and some of our Makefile.am's are fairly complex -- I wouldn't use these as starting points. You probably want to start with some general AC/AM tutorials (the AM documentation reads somewhat like a tutorial -- you might want to