Commit 7861e5d2 authored by faquin's avatar faquin
Browse files

Add possibility to have full size parameter name

Some environnement like Spark do not send the argument with only one
dash. Allow the MPI_EXECUTOR to send arguments with the full name.
parent 12c21166
......@@ -6,8 +6,14 @@ from .mpi_jail import MPIJail
class MPIExecutor(Executor):
def __init__(self, name, command, jail, end=False, timeout=-1,
encoding=consts.encoding) :
long_opt=False) :
Executor.__init__(self, jail, end, name, timeout, encoding)
if long_opt :
self.command = "{} --NETWORK={} --PORT={}".format(command,,
else :
self.command = "{} -N {} -P {}".format(command,,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment