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
Description: Unix tar archive