Skip to content

Commit

Permalink
don't pass profile_dir as kwarg in ipclusterapp
Browse files Browse the repository at this point in the history
also fix PBS->SGE typo from copy/paste
  • Loading branch information
minrk committed Jun 10, 2011
1 parent ca299a7 commit 739a5cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions IPython/parallel/apps/ipclusterapp.py
Expand Up @@ -316,7 +316,7 @@ def start_engines(self):
self.log.info("Starting %i engines"%self.n)
self.engine_launcher.start(
self.n,
profile_dir=self.profile_dir.location
self.profile_dir.location
)

def stop_engines(self):
Expand Down Expand Up @@ -422,7 +422,7 @@ def init_launchers(self):

def start_controller(self):
self.controller_launcher.start(
profile_dir=self.profile_dir.location
self.profile_dir.location
)

def stop_controller(self):
Expand Down
2 changes: 1 addition & 1 deletion IPython/parallel/apps/launcher.py
Expand Up @@ -989,7 +989,7 @@ class SGEControllerLauncher(SGELauncher):
def start(self, profile_dir):
"""Start the controller by profile or profile_dir."""
self.log.info("Starting PBSControllerLauncher: %r" % self.args)
return super(PBSControllerLauncher, self).start(1, profile_dir)
return super(SGEControllerLauncher, self).start(1, profile_dir)

class SGEEngineSetLauncher(SGELauncher):
"""Launch Engines with SGE"""
Expand Down

0 comments on commit 739a5cd

Please sign in to comment.