Re: [OMPI users] MPI on MacOS Lion help

2011-11-04 Thread Charles Shelor
I just checked my laptop (also running Lion) and I do have gcc at /usr/bin and it is linked to /usr/bin/gcc-4.2. I just checked again on my Mac Pro and there is no gcc in /usr/bin although there is a /usr/bin/gcc-3.3, probably left over from an earlier OS or Xcode. I downloaded and installed X

Re: [OMPI users] MPI on MacOS Lion help

2011-11-04 Thread Barrett, Brian W
I think you have something wrong with your Xcode install; on my Lion machine, gcc is installed in /usr/bin as always. Also, on OS X, you should never have to set LD_LIBRARY_PATH. Brian On 11/4/11 3:36 PM, "Ralph Castain" wrote: >Just glancing at the output, it appears to be finding a different

Re: [OMPI users] MPI on MacOS Lion help

2011-11-04 Thread Ralph Castain
Just glancing at the output, it appears to be finding a different gcc that isn't Lion compatible. I know people have been forgetting to clear out all their old installed software, and so you can pick old things up. Try setting your path and ld_library_path variables to point at the Xcode gcc.