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
No related branches found
No related tags found
No related merge requests found
...@@ -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