Skip to content

Commit

Permalink
launch: Added --wi4mpi option
Browse files Browse the repository at this point in the history
  • Loading branch information
spoutn1k committed Nov 4, 2022
1 parent 6008ec4 commit faa7c8f
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions e4s_cl/cli/commands/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,14 @@ def _construct_parser(self):
metavar='image',
)

parser.add_argument(
'--backend',
help="Container backend to use to launch the image." +
f" Available backends are: {', '.join(EXPOSED_BACKENDS)}",
metavar='technology',
dest='backend',
)

parser.add_argument(
'--source',
type=arguments.posix_path,
Expand All @@ -263,11 +271,10 @@ def _construct_parser(self):
)

parser.add_argument(
'--backend',
help="Container backend to use to launch the image." +
f" Available backends are: {', '.join(EXPOSED_BACKENDS)}",
metavar='technology',
dest='backend',
'--wi4mpi',
type=arguments.posix_path,
help="Path towards a Wi4MPI installation to use",
metavar='installation',
)

mpi_families = set(map(lambda x: x.cli_name, WI4MPI_METADATA))
Expand Down

0 comments on commit faa7c8f

Please sign in to comment.