[Pympi-users] PyMPI Doubt
Status: Alpha
Brought to you by:
patmiller
From: Chandrasekar S. <cha...@gm...> - 2006-02-04 18:59:00
|
I read about the PyMPI tool and I found it to be very interesting. I was wondering if I could use this tool for my purpose. It would be great if you could suggest a solution after I describe the problem below. I am dealing with Software called E-cell. The structure of the software goes like this, Core Layer --------------------------------------------------> C++ Interface Layer --------------------------------------------------> Python Uses Boost library. When the software is installed (using make command), all c++ files are compiled into a .so.2 file. Then Python code references this .so.2 file to make use of the functions in C++. The main exists in Python and not in C++. We want to parallelize this software. So we changed the compiler from gcc to mpicc. Since Python is the interface layer we are still not able to initialize MPI and use it in the C++ program. Will installing PyMPI solve our problem? All the mpi coding that we are going to perform will be done in a C++ file. But ultimately python will reference them. Python acts as a master and uses the functions in C++. Mpicc can compile c++ programs. Can PyMPI also compile C++ programs? Can you please let us know if installing PyMPI can solve our problem? Thanks, Chandu |