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
<<attachment: olenz.vcf>>
_______________________________________________ Autoconf mailing list [email protected] https://lists.gnu.org/mailman/listinfo/autoconf
