Maggie
Maggie

Reputation: 65

Trouble during building step of MPI for python

I am a bit stuck during the building process of the MPI python v 1.2.2 installation. Specifically, I get the following error message:

i686-apple-darwin10-gcc-4.2.1: /Library/Frameworks/Python.framework/Versions/7.1/Python/Versions/7.1/Python: Not a directory
warning: build_exe: building extension "python2.7-mpi" failed
warning: build_exe: command '/usr/bin/mpicc' failed with exit status 1

I checked the directory and it does not exist. What does exist is /Library/Frameworks/Python.framework/Versions/7.1. I am unsure why the directory seems to tack on those last bits after the first '7.1'. Is there a way to specify the actual directory during the building process?

This website does list some options but I am not sure which one I should pick. I am fairly new to this all so any help would be greatly appreciated!

Upvotes: 2

Views: 359

Answers (1)

user1048917
user1048917

Reputation: 411

Any one of them should work, the one which seems the easiest is:

$ python setup.py build --mpicc=/where/you/have/mpicc

So you would simply run

$ python setup.py build --mpicc=/Library/Frameworks/Python.framework/Versions/7.1

Assuming that is where mpicc is located.

Does this help?

Upvotes: 1

Related Questions