[OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-10 Thread Yang, David
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 ===

Re: [OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-10 Thread Ralph Castain
Odd - I just downloaded and built the 1.8.2rc3 tarball on Mavericks without trouble. I'll have to look at the log and see where our differences might lie Do you have Xcode installed? It's required even with the gcc compiler. On Aug 10, 2014, at 9:20 AM, Yang, David wrote: > Hi, > > I have en

Re: [OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-11 Thread Jeff Squyres (jsquyres)
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,

Re: [OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-11 Thread Yang, David
Jeff, Doug, I do have Xcode installed. Attached is the log file. Here again is the screen dump: [9]:yangmp:xyang:% ./configure --prefix=/opt/openmpi-1.8.1 == Configuring Open MPI ===

Re: [OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-11 Thread Jeff Squyres (jsquyres)
Something is not right in your Xcode setup -- perhaps you need to install the Xcode command line tools? Here's the relevant config.log output: - configure:5967: gcc -o conftestconftest.c >&5 conftest.c:10:19: fatal error: stdio.h: No such file or directory #include

Re: [OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-11 Thread Ralph Castain
If this is an updated system (i.e., you updated the OS to Mavericks), did you remember to re-install Xcode? Mavericks requires an updated version of Xcode, and you have to reinstall the cmd line tools as well. On Mon, Aug 11, 2014 at 1:11 PM, Jeff Squyres (jsquyres) wrote: > Something is not r

Re: [OMPI users] problem compiling openmpi-1.8.1 on Mac running Mavericks

2014-08-11 Thread Yang, David
Xcode was the culprit! I had the latest Xcode, but I didn’t have the command line tool installed. Now Open MPI compiled ok! Thanks! David Correspondence/TSPA On Aug 11, 2014, at 2:13 PM, Ralph Castain mailto:r...@open-mpi.org>> wrote: If this is an updated system (i.e., you updated the O