autoconf
[Top][All Lists]
Advanced

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

Re: Request for inclusion [was: Re: Autoconf MPI macros]


From: Olaf Lenz
Subject: Re: Request for inclusion [was: Re: Autoconf MPI macros]
Date: Thu, 16 Jun 2011 09:14:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110414 SUSE/3.1.10 Thunderbird/3.1.10

Hi!

On 06/15/2011 10:48 PM, Rhys Ulerich wrote:
>> Does anybody here have an application for the old macros?
> 
> I do have such a use case.
> 
> I build an MPI-based application along with some non-MPI, 
> application-related utilities.  The two build types are kept in 
> separate subdirectories with only the MPI-related Makefile.am 
> containing CXX = @address@hidden
> 
> Sometimes HPC platform login nodes have policies disallowing using 
> mpiexec outside of a batch job.  Some MPI stacks require mpiexec be 
> used for all MPI-enable binaries.  My use case allows me to run my 
> non-MPI utilities on such HPC login nodes.

This sounds to me like a real case, so AX_MPI should be kept.

However, let me remark that using "address@hidden" might easily cause
trouble if used on a system where the MPI compiler is a completely
different compiler from the one used for non-MPI files, as the compiler
options used by Automake will be generated for the non-MPI compiler and
might not work on the MPI-compiler. For example, on an IBM machine, this
would cause trouble:

  configure CXX=g++ MPICXX=xlc_r

Olaf


-- 
Dr. rer. nat. Olaf Lenz
Institut für Computerphysik, Pfaffenwaldring 27, D-70569 Stuttgart
Phone: +49-711-685-63607

Attachment: olenz.vcf
Description: Vcard


reply via email to

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