This usually indicates an error with the compiler on your machine.

As Ralph implied, this may indicate that you don't have Xcode installed (and 
therefore don't have a compiler).

You can look in config.log to be sure, or send it here (compress first, 
please), and we'll let you know.


On Aug 10, 2014, at 12:20 PM, Yang, David <xy...@lanl.gov> wrote:

> Hi,
> 
> I have encountered a problem compiling openmpi 1.8.1 on a Mac running 
> Mavericks. When I ran ./configure, I got the following error.
> 
> ============================================================================
> == Configuring Open MPI
> ============================================================================
> 
> *** Startup tests
> checking build system type... x86_64-apple-darwin13.3.0
> checking host system type... x86_64-apple-darwin13.3.0
> checking target system type... x86_64-apple-darwin13.3.0
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... configure: error: in 
> `/Users/xyang/programs/openmpi-1.8.1':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> 
> Could someone please help? Thanks!
> 
> 
> David
> 
> Correspondence/TSPA
> 
> 
> 
> 
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2014/08/24954.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to