Ah.

The problem is that you're trying to build OMPI in a directory that contains a 
space:

    /Users/wildes/Desktop/untitled folder/openmpi-1.8.3

Make that "untitled-folder" or "untitled_folder" or even "foo" -- anything 
without a space.  Then you should be good.

Most Linux/POSIX-ish systems don't react well to directories with a space in 
them.  Somewhat embarrassingly, it looks like our configure script (or, more 
specifically, lib event's configure script, which OMPI contains) doesn't handle 
directories with spaces in them.




On Dec 2, 2014, at 4:42 PM, Wildes Andrew <andywil...@hotmail.com> wrote:

> Hi Jeff,
> 
> Many thanks for your rapid reply.
> 
> Please find the relevant file attached.
> 
> Thanks again,
> 
> Andrew
> 
> > From: jsquy...@cisco.com
> > To: us...@open-mpi.org
> > Date: Tue, 2 Dec 2014 19:50:35 +0000
> > Subject: Re: [OMPI users] Noob installation problem
> > 
> > This is new -- I haven't seen configure fail for libevent before. :-)
> > 
> > Can you send the file opal/mca/event/libevent2021/libevent/config.log? 
> > (please compress)
> > 
> > 
> > On Dec 2, 2014, at 2:20 PM, Wildes Andrew <andywil...@hotmail.com> wrote:
> > 
> > > Hi Timothy,
> > > 
> > > Many thanks for your e-mail, and my apologies for replying so late.
> > > 
> > > You were quite right - the GCC compiler installation is faulty. I 
> > > downloaded and reinstalled Xcode, and now am substantially further. 
> > > Compiling "Hello World" now works :)
> > > 
> > > I'm still running into some sort of compiler problem, though, as it tells 
> > > me that "C compiler cannot create executables" for the libevent2021 MCA 
> > > component event.
> > > 
> > > Looking in the config.log (attached), I see a bunch of routines that 
> > > apparently cannot compile, while there are others that can. It seems I'm 
> > > still missing something. If anyone had any ideas I'd be most grateful to 
> > > hear them.
> > > 
> > > Again, my apologies for asking such basic questions, and many many thanks 
> > > in advance for any help you can give.
> > > 
> > > With warm regards,
> > > 
> > > Andrew
> > > 
> > > > From: timothy.brow...@colorado.edu
> > > > To: us...@open-mpi.org
> > > > Date: Mon, 24 Nov 2014 08:19:41 -0700
> > > > Subject: Re: [OMPI users] Noob installation problem
> > > > 
> > > > 
> > > > > On Nov 24, 2014, at 3:45 AM, Wildes Andrew <andywil...@hotmail.com> 
> > > > > wrote:
> > > > > 
> > > > > Hello,
> > > > > 
> > > > > I've been trying to install OpenMPI (v. 1.8.3) on my mac (OS 10.6.8). 
> > > > > I have gcc in my path (v. 4.6.0). The ./configure routine finds it, 
> > > > > but says that it doesn't work.
> > > > > 
> > > > > Looking through config.log (attached), I see that it's trying to 
> > > > > access 'conftest.c'. This file isn't found (it doesn't seem to be in 
> > > > > the openmpi compressed file, nor is it anywhere to be found elsewhere 
> > > > > on my mac), and I suspect that it's at this point that the 
> > > > > compilation attempt terminates.
> > > > > 
> > > > > I'm sorry to bother you with what is probably a trivial problem. Any 
> > > > > help would be greatly appreciated.
> > > > 
> > > > 
> > > > In looking through your log, there are a couple of things.
> > > > 
> > > > Firstly, it complains that gcc can not create executables. Line 16:
> > > > 
> > > > configure: error: C compiler cannot create executables
> > > > 
> > > > Secondly, line 114:
> > > > 
> > > > gcc: error trying to exec 'as': execvp: No such file or directory
> > > > 
> > > > I'm thinking the first error is from stderr/stdout, while your 
> > > > config.log starts at line 25. Yes?
> > > > 
> > > > So on OS X have you installed Xcode and all it's dependencies? Are you 
> > > > using MacPorts, HomeBrew or Fink? Or any other package manager?
> > > > Are you able to compile anything? A simple (non-mpi) hello world or 
> > > > some such?
> > > > 
> > > > The program `as` is an assembler (translates assembly code to object 
> > > > code). 
> > > > 
> > > > Hope this helps.
> > > > 
> > > > Timothy
> > > > _______________________________________________
> > > > 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/11/25862.php
> > > <NewCompileProbs.tar>_______________________________________________
> > > 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/12/25905.php
> > 
> > 
> > -- 
> > Jeff Squyres
> > jsquy...@cisco.com
> > For corporate legal information go to: 
> > http://www.cisco.com/web/about/doing_business/legal/cri/
> > 
> > _______________________________________________
> > 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/12/25906.php
> <config.log.bz2>_______________________________________________
> 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/12/25909.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