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

Jeff Hammond jhammond at alcf.anl.gov
Tue Oct 16 10:26:40 CDT 2012


Hi Pavan,

I filed a bug on this 9 months ago but was told that the problem was
unavoidable and that it would not be fixed.  The solution I proposed
to the user was in fact the one suggested by Dave in response to that
ticket (except /bin/false -> /bin/true, because it doesn't matter).

See https://trac.mcs.anl.gov/projects/mpich2/ticket/1570 for details.

Best,

Jeff

On Tue, Oct 16, 2012 at 9:44 AM, Pavan Balaji <balaji at mcs.anl.gov> 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



-- 
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


More information about the mpich-discuss mailing list