Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for TypeError when --available-accelerators is not specificied in htex process worker pool #3132

Merged
merged 10 commits into from
Mar 18, 2024
2 changes: 1 addition & 1 deletion parsl/executors/high_throughput/process_worker_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ def strategyorlist(s: str):
required=True,
help="Whether/how workers should control CPU affinity.")
parser.add_argument("--available-accelerators", type=str, nargs="*",
help="Names of available accelerators")
help="Names of available accelerators, if not given assumed to be zero accelerators available", default=[])
parser.add_argument("--enable_mpi_mode", action='store_true',
help="Enable MPI mode")
parser.add_argument("--mpi-launcher", type=str, choices=VALID_LAUNCHERS,
Expand Down
Loading