Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] openmpi -cc=<compiler name> option
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-09-22 15:51:19


Right: -cc is not an option to Open MPI's mpicc wrapper compiler (I don't think it ever has been).

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/