[mpich-discuss] Excluding c++ compiler from configure script

Dave Goodell goodell at mcs.anl.gov
Tue Oct 16 11:15:05 CDT 2012


Sam, please send us the information that Pavan requested.  There's no good way to prevent AC_PROG_CXX from being invoked, but I wouldn't expect it to cause the build to abort if it can't find a working C++ compiler.  I would like to see how/why it is aborting before choosing a solution, esp. a hack like internally setting CXX=/bin/true or /bin/false.

-Dave

On Oct 16, 2012, at 9:44 AM CDT, Pavan Balaji wrote:

> 
> I agree with Bill.  All this should be automatically done by configure.
> 
> Jeff/Sam: can you please file a bug report with more information on the platform you are using, and the list of log files provided in the README?
> 
> Thanks,
> 
> -- Pavan
> 
> On 10/15/2012 03:27 PM, William Gropp wrote:
>> That's a reasonable workaround, but it shouldn't be necessary.  If the configure can't be made to conditionally skip the AC_PROG_CXX, then the disable-cxx should perform your trick and set CXX=/bin/true .
>> 
>> Bill
>> 
>> William Gropp
>> Director, Parallel Computing Institute
>> Deputy Director for Research
>> Institute for Advanced Computing Applications and Technologies
>> Paul and Cynthia Saylor Professor of Computer Science
>> University of Illinois Urbana-Champaign
>> 
>> 
>> 
>> On Oct 15, 2012, at 12:09 PM, Jeff Hammond wrote:
>> 
>>> Just use CXX=/bin/true and the configure tests will all pass trivially
>>> but no C++ support will be provided.  I do this for Fortran.
>>> 
>>> Jeff
>>> 
>>> On Mon, Oct 15, 2012 at 7:05 AM, Sam Pedro <pedro18974 at gmail.com> wrote:
>>>> I tried excluding c++ from the 1.5 release of MPICH2 and it still checks for
>>>> c++ compiler and aborts the script. I didnt have this problem on 1.4p1
>>>> release. I am using '--disable-cxx'. Any suggestions?
>>>> _______________________________________________
>>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>>> To manage subscription options or unsubscribe:
>>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>>> 
>>> 
>>> 
>>> 
>>> --
>>> Jeff Hammond
>>> Argonne Leadership Computing Facility
>>> University of Chicago Computation Institute
>>> jhammond at alcf.anl.gov / (630) 252-5381
>>> http://www.linkedin.com/in/jeffhammond
>>> https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
>>> _______________________________________________
>>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>>> To manage subscription options or unsubscribe:
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> 
>> _______________________________________________
>> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
>> To manage subscription options or unsubscribe:
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>> 
> 
> -- 
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
> _______________________________________________
> mpich-discuss mailing list     mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss



More information about the mpich-discuss mailing list