[OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
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

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
> 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

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
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 wrote: Right: -cc is not an option to Open MPI's mpicc wrapper compiler (I

Re: [OMPI users] openmpi -cc= option

2011-09-22 Thread Uday Kumar Reddy B
On 09/23/2011 01:49 AM, Jeff Squyres wrote: On Sep 22, 2011, at 4:17 PM, Uday Kumar Reddy B wrote: 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. mpic

Re: [OMPI users] openmpi -cc= option

2011-09-23 Thread Uday Kumar Reddy B
On Fri, Sep 23, 2011 at 2:55 AM, Jeff Squyres wrote: > On Sep 22, 2011, at 4:39 PM, Uday Kumar Reddy B wrote: > >>> More specifically: how is mpicc supposed to know that any given option was >>> intended for mpicc and not the underlying compiler, particularly the o

Re: [OMPI users] openmpi -cc= option

2011-09-23 Thread Uday Kumar Reddy B
On Fri, Sep 23, 2011 at 2:39 AM, Gus Correa wrote: > Jeff Squyres wrote: >> >> On Sep 22, 2011, at 4:17 PM, Uday Kumar Reddy B wrote: >> >>> Yes, but I can't find anything about -cc in openmpi's mpicc man page. So, >>> -cc should either not be

Re: [OMPI users] openmpi -cc= option

2011-09-23 Thread Uday Kumar Reddy B
On Fri, Sep 23, 2011 at 3:33 PM, Jeff Squyres wrote: > On Sep 23, 2011, at 2:04 AM, Uday Kumar Reddy B wrote: > >> Okay. BTW, mpicc only has 7 cmdline options, and you probably already >> support some of them (-show), and they are all provided for good >> reason. &g