Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions starcluster/plugins/mpich2.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ def _update_alternatives(self, node):
mpirun_choices = node.ssh.execute("update-alternatives --list mpirun")
mpipath = None
for choice in mpi_choices:
if 'mpich2' in choice:
if 'mpich' in choice:
mpipath = choice
break
mpirunpath = None
for choice in mpirun_choices:
if 'mpich2' in choice:
if 'mpich' in choice:
mpirunpath = choice
break
node.ssh.execute("update-alternatives --set mpi %s" % mpipath)
Expand Down
1 change: 1 addition & 0 deletions starcluster/threadpool.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ def wait(self, numtasks=None, return_results=True):
exc_queue = self._exception_queue
if exc_queue.qsize() > 0:
excs = [exc_queue.get() for i in range(exc_queue.qsize())]
print '\n'.join(excs)
raise exception.ThreadPoolException(
"An error occurred in ThreadPool", excs)
if return_results:
Expand Down