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

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

 



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 = @MPICXX@.
> 
> 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 "CXX=@MPICXX" 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
begin:vcard
fn:Olaf Lenz
n:Lenz;Olaf
org;quoted-printable;quoted-printable:Universit=C3=A4t Stuttgart;Institut f=C3=BCr Computerphysik
adr:;;Pfaffenwaldring 27;Stuttgart;;70569;Germany
email;internet:olenz@xxxxxxxxxxxxxxxxxxxx
title:Dr. rer. nat.
tel;work:+49.711.685.63607
tel;fax:+49.711.685.63658 
url:http://www.icp.uni-stuttgart.de/~icp/Olaf_Lenz
version:2.1
end:vcard

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux