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
- Use compiler name instead of the default choice.
Use this only if the compiler is compatible
with the MPICH library (see below)
> 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
> Jeff Squyres
> For corporate legal information go to:
> users mailing list