autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MPI recognition


From: Olaf Lenz
Subject: Re: MPI recognition
Date: Wed, 22 Dec 2010 10:04:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Hi Ralf, Erik!

On 12/22/2010 07:44 AM, Ralf Wildenhues wrote:
> One problem with the above is that the settings 'gcc' and 'cc' will fail
> to be correct MPI compilers, as they likely won't link in the MPI
> library.  Nowadays this doesn't happen so often any more but on some
> systems it is good to have that possibility (also to override the
> library name with $MPILIBS).  See the respective code in AX_MPI which
> tries to get that stuff right also.

I only showed the reduced example code. My full code (that I have
attached) also cares for the library - but only for the C language so far.

> I still intend to come up with a AX_MPI_ONLY macro, to be added to
> ax_mpi.m4, that fixes this and also works for the other languages.
> (I don't mind being beaten to it though ;-)
> 
> These macros need to be kept close together so they can remain in sync.

I would also be willing to contribute. I believe that my current macro
"ES_CHECK_MPI" might be a good basis for that.

In general, I would find it nice if the macro would be flexible enough
to allow for the "--with-mpi"-logic, where it is also possible for the
user not to use MPI if the application allows for it (for example if the
application contains nullmpi).

I have set up a github clone of the autoconf archive where I will push
my efforts:
  https://github.com/olenz/autoconf-archive

Cheers
  Olaf

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

Attachment: mpi.m4
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]