[SciPy-user] weave.inline with mpi

Amir amirnntp@gmail....
Wed Mar 18 14:27:19 CDT 2009



On Mar 16, 10:14 pm, "Sturla Molden" <stu...@molden.no> wrote:
> > Do I need to worry about weave code generation running into problems
> > in this setting?
>
> Yes, you have multiple processes potentially writing code to the same
> file. It can crash or produce strange race conditions. At least you should
> run your program with just one process first, to make sure everything is
> compiled.

As described in the docs, you can build the extension and specify the
location using weave.ext_tools. I didn't see this (actually didn't
find the docs) until I recoded in cython.


More information about the SciPy-user mailing list