C++, Swig, and pyMPI

S

stringy

I would like to be able to write a C++ function, to be wrapped into
some python, to be able to communicate over pyMPI. As pyMPI is based on
C++ I figure that this should be possible, although I'm not sure of
where to start. I know the basics of swig and pyMPI, but not how I
would do this.

Does anyone know if this is possible and where to start?
 
M

Mandus

2 Aug 2005 03:47:02 -0700 skrev stringy:
I would like to be able to write a C++ function, to be wrapped into
some python, to be able to communicate over pyMPI. As pyMPI is based on
C++ I figure that this should be possible, although I'm not sure of
where to start. I know the basics of swig and pyMPI, but not how I
would do this.

Does anyone know if this is possible and where to start?

Are you sure that pyMPI are C++-based? I think it is based on pure C?

Besides that, it is not clear (at least to me) what you try to achive.
Do you want to use MPI also in your extension module?

mvh,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,262
Messages
2,571,311
Members
47,981
Latest member
satome

Latest Threads

Top