[Yt-dev] undefined variables in amr_kdtree.py

Matthew Turk matthewturk at gmail.com
Tue Nov 1 13:45:21 PDT 2011


Followup: Britton fixed this, issued a PR, and I accepted it.  The
nprocs variable was a copy of MPI.COMM_WORLD.size, which is now in
self.comm.size (when self is a subclass of ParallelAnalysisInterface.)

On Tue, Nov 1, 2011 at 11:19 AM, Britton Smith <brittonsmith at gmail.com> wrote:
> Hi everyone,
>
> I'm coming across instances of the variable 'nprocs' being undefined in
> save_kd_bricks and load_kd_bricks in amr_kdtree.py.  I can't quite tell what
> they should be instead or where they should be defined.  Does anyone have
> any ideas?
>
> Britton
>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>



More information about the yt-dev mailing list