[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri May 24 13:55:38 PDT 2013
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/a8dc57fad56d/
Changeset: a8dc57fad56d
Branch: yt
User: samskillman
Date: 2013-05-24 22:16:55
Summary: If we started using an ipcluster, use the cluster-id in sys.argv to activate
parallelism in yt.
Affected #: 1 file
diff -r 2669c41d4f19f58b9e8bd5404f66923af142fa0e -r a8dc57fad56de773b38a8697aff9cff6b8efda1f yt/startup_tasks.py
--- a/yt/startup_tasks.py
+++ b/yt/startup_tasks.py
@@ -142,8 +142,9 @@
elif exe_name in \
["mpi4py", "embed_enzo",
"python"+sys.version[:3]+"-mpi"] \
- or '_parallel' in dir(sys) \
- or any(["ipengine" in arg for arg in sys.argv]):
+ or '_parallel' in dir(sys) \
+ or any(["ipengine" in arg for arg in sys.argv]) \
+ or any(["cluster-id" in arg for arg in sys.argv]):
parallel_capable = turn_on_parallelism()
else:
parallel_capable = False
https://bitbucket.org/yt_analysis/yt/commits/27d5db5e0be5/
Changeset: 27d5db5e0be5
Branch: yt
User: MatthewTurk
Date: 2013-05-24 22:55:32
Summary: Merged in samskillman/yt (pull request #515)
Determine if we are running a parallel ipython session
Affected #: 1 file
diff -r 0ca8dcd21df688a26c90569517fa90254a76341f -r 27d5db5e0be51a5fc90bd807a8ee71bd6f5c0ae4 yt/startup_tasks.py
--- a/yt/startup_tasks.py
+++ b/yt/startup_tasks.py
@@ -142,8 +142,9 @@
elif exe_name in \
["mpi4py", "embed_enzo",
"python"+sys.version[:3]+"-mpi"] \
- or '_parallel' in dir(sys) \
- or any(["ipengine" in arg for arg in sys.argv]):
+ or '_parallel' in dir(sys) \
+ or any(["ipengine" in arg for arg in sys.argv]) \
+ or any(["cluster-id" in arg for arg in sys.argv]):
parallel_capable = turn_on_parallelism()
else:
parallel_capable = False
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