for this use python in VMD   ,HPC environment

On Tue, Feb 8, 2011 at 2:19 PM, Santosh Rajan <santra...@gmail.com> wrote:

> Have you considered using queue's with multiprocessing?
>
> On Tue, Feb 8, 2011 at 2:15 PM, Vishal <vsapr...@gmail.com> wrote:
> > On Tue, Feb 8, 2011 at 2:10 PM, Baishampayan Ghose <b.gh...@gmail.com
> >wrote:
> >
> >> > Mutliprocessing means, data copying, talking to each other through
> PIPES,
> >> > also it has its issues with running on Windows (all function calls
> should
> >> be
> >> > pickelable)
> >> >
> >> > Threads seems pretty stable on most platforms where Python runs.
> >>
> >> Threads won't help you much because of the Python GIL.
> >>
> >> Regards,
> >> BG
> >>
> >> --
> >> Baishampayan Ghose
> >> b.ghose at gmail.com
> >> '
> >>
> >
> > The GIL is only limited to one interpreter. GIL comes into picture
> because
> > Threads in python create a new interpreter context, so the same
> interpreter
> > switches to new byte codes. The original idea was to create a new
> > interpreter for each thread, each one with its own GIL !!!. All within
> the
> > same process.
> >
> > Vishal
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers@python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
>
>
>
> --
> http://about.me/santosh.rajan
> _______________________________________________
> BangPypers mailing list
> BangPypers@python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>
_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to