Hi all
I have problems installing mpi4py. I get the following output:
mac:~ per$ sudo pip install mpi4py
Downloading/unpacking mpi4py
Downloading mpi4py-1.3.tar.gz (982Kb): 982Kb downloaded
Running setup.py egg_info for package mpi4py
Installing collected packages: mpi4py
Running setup.py install for mpi4py
MPI configuration: [mpi] from 'mpi.cfg'
checking for library 'mpe' ...
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.5.sdk
Please check your Xcode installation
gcc -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -c _configtest.c -o _configtest.o
cc1: error: unrecognized command line option "-arch"
failure.
I have very recently installed the newest Xcode from the App Store (and the command line tools through the Preferences menus), which might have caused the problem, see this thread:
I ran:
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/
to get macports to work (something I have not done before) and I am using the macports gcc:
mac:~ per$ port select gcc
Available versions for gcc:
gcc42
llvm-gcc42
mp-gcc45 (active)
none
I realize that this probably has nothing to do with mpi4py, but is related to my Mac OS X setup, however someone here might have encountered this problem or seen it on some other mailinglist. I am running the latest EPD distribution of python.
Anyone? :)
Cheers,
Per