[Yt-svn] commit/yt: brittonsmith: Changed nprocs to self.comm.size.
Bitbucket
commits-noreply at bitbucket.org
Tue Nov 1 09:29:37 PDT 2011
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/dbbf6cd240c6/
changeset: dbbf6cd240c6
branch: yt
user: brittonsmith
date: 2011-11-01 16:25:58
summary: Changed nprocs to self.comm.size.
affected #: 1 file
diff -r 03a5780627a9fea13488fb83a2a9c6767f30e9f3 -r dbbf6cd240c63a663020ed8fc8eb5faa3fb6c742 yt/utilities/amr_kdtree/amr_kdtree.py
--- a/yt/utilities/amr_kdtree/amr_kdtree.py
+++ b/yt/utilities/amr_kdtree/amr_kdtree.py
@@ -1236,7 +1236,7 @@
except:
pass
f.close()
- if self.comm.rank != (nprocs-1):
+ if self.comm.rank != (self.comm.size-1):
self.comm.send_array([0],self.comm.rank+1, tag=self.comm.rank)
def load_kd_bricks(self,fn=None):
@@ -1266,7 +1266,7 @@
f.close()
except:
pass
- if self.comm.rank != (nprocs-1):
+ if self.comm.rank != (self.comm.size-1):
self.comm.send_array([0],self.comm.rank+1, tag=self.comm.rank)
def load_tree(self,fn):
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list