I think you will need to use the python from MacPorts if you are using their boost. If you built 1.37 I recommend trying to use that instead of 1.35 and see if you have better luck.

On Tue, Nov 18, 2008 at 3:08 PM, Amir <amirnntp@gmail.com> wrote:
After pycuda install on Macbook Pro Intel, NVidia 9600M GT,
with EPD 4.0.30002 python distribution from Enthought and
Mac OS X 10.5.5, I get the following error:

$ python ./test_driver.py
Fatal Python error: Interpreter not initialized (version mismatch?)
Abort trap

pycuda is from git. I installed boost two ways, 1.37 as
described in the pycuda docs and 1.35 using MacPorts. There
were no errors reported in the build process. My
{DY}LD_LIBRARY_PATH seems to be correct (otherwise, I would
get the same runtime errors as another post). Running the
numpy and scipy test suites returned no errors. CUDA is 2.0
downloaded from nvidia's site.

Here is one of my siteconf.py (adapted from post by wohlegemuth):

BOOST_INC_DIR = ['/opt/local/include/boost-1_35']
BOOST_LIB_DIR = ['/opt/local/lib']
BOOST_PYTHON_LIBNAME = ['boost_python-mt-1_35']
CUDA_ROOT = '/usr/local/cuda'
CUDADRV_LIB_DIR = ['/usr/local/cuda/lib']
CUDADRV_LIBNAME = ['cuda']
CXXFLAGS = ['-arch', 'i386']
LDFLAGS = ['-arch', 'i386']

I am unfamiliar with Mac OS, my 2nd day. A response to an earlier
post by Evan Wies suggested a fix if python was installed
using MacPorts. Does it apply here as well with EPD?

Thanks.


_______________________________________________
PyCuda mailing list
PyCuda@tiker.net
http://tiker.net/mailman/listinfo/pycuda_tiker.net



--
Cosmin Stejerean
http://www.offbytwo.com