Skip to content
Snippets Groups Projects
Commit 136f1c18 authored by Georges Da Costa's avatar Georges Da Costa
Browse files

mangages single host case

parent a7a384f7
Branches
No related tags found
1 merge request!4Host
...@@ -65,7 +65,7 @@ class Executor: ...@@ -65,7 +65,7 @@ class Executor:
def remove_host(self): def remove_host(self):
if self.nbhosts == 1: if self.nbhosts == 1:
return return self.hostnames[0]
res = self.hostnames.pop(0) res = self.hostnames.pop(0)
self.init_mpi_files(self.hostnames) self.init_mpi_files(self.hostnames)
return res return res
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment