Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] openmpi -cc=<compiler name> option
From: Uday Kumar Reddy B (udayreddy_at_[hidden])
Date: 2011-09-22 16:17:28


On 09/23/2011 01:33 AM, Ralph Castain wrote:
> Ummm...yes, because you are getting the man page for the MPICH mpicc, not ours. Try setting your manpage path to point to the OMPI install directory.

Yes, but I can't find anything about -cc in openmpi's mpicc man page.
So, -cc should either not be supported or work as per mpich's mpicc if
you are wrapping around it.

Thanks,

-- Uday

>
>
> On Sep 22, 2011, at 1:55 PM, Uday Kumar Reddy B wrote:
>
>> On Fri, Sep 23, 2011 at 1:21 AM, Jeff Squyres<jsquyres_at_[hidden]> wrote:
>>> Right: -cc is not an option to Open MPI's mpicc wrapper compiler (I don't think it ever has been).
>>
>> But that's not what the manual says ('man mpicc').
>>
>> --------------
>> COMMAND LINE ARGUMENTS
>> -show - Show the commands that would be used without runnning them
>> -help - Give short help
>> -cc=name
>> - Use compiler name instead of the default choice.
>> Use this only if the compiler is compatible
>> with the MPICH library (see below)
>> ---------------
>>
>>
>> -- Uday
>>
>>
>>>
>>> See http://www.open-mpi.org/faq/?category=mpi-apps#cant-use-wrappers and http://www.open-mpi.org/faq/?category=mpi-apps#override-wrappers-after-v1.0.
>>>
>>>
>>> On Sep 22, 2011, at 3:44 PM, Uday Kumar Reddy B wrote:
>>>
>>>> I have openmpi via the distribution package: openmpi-1.4.3-7.fc14.i686
>>>>
>>>> When attempting to make mpicc use another compiler as follows:
>>>>
>>>> mpicc -cc=icc ...
>>>>
>>>> I get
>>>>
>>>> gcc: unrecognized option '-cc=icc'
>>>> /tmp/ccHd339C.o: In function `main':
>>>>
>>>> It looks like it's just passing this as option to gcc instead of using
>>>> the supplied compiler.
>>>>
>>>> -- Uday
>>>> _______________________________________________
>>>> users mailing list
>>>> users_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>
>>>
>>> --
>>> Jeff Squyres
>>> jsquyres_at_[hidden]
>>> For corporate legal information go to:
>>> http://www.cisco.com/web/about/doing_business/legal/cri/
>>>
>>>
>>> _______________________________________________
>>> users mailing list
>>> users_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users