Skip to content

Commit

Permalink
Revert "Message about using --parallel, and how other CWL runners are…
Browse files Browse the repository at this point in the history
… available. (#1671)" (#1682)

This reverts commit 88b9cfe.
  • Loading branch information
mr-c committed Jun 22, 2022
1 parent 88b9cfe commit b21b0c1
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions cwltool/executors.py
Expand Up @@ -191,15 +191,6 @@ def check_for_abstract_op(tool: CWLObjectType) -> None:
return (self.final_output[0], self.final_status[0])
return (None, "permanentFail")

def message_about_other_runners(self) -> None:
_logger.info(
"Need to grow beyond `cwltool` and scale up your workflows to run on a multi-node cluster, or in the cloud?"
)
_logger.info(
"CWL workflows are portable and run on many commercial and open source platforms."
)
_logger.info("Visit https://www.commonwl.org/implementations/ to learn more.")


class SingleJobExecutor(JobExecutor):
"""Default single-threaded CWL reference executor."""
Expand All @@ -212,10 +203,6 @@ def run_jobs(
runtime_context: RuntimeContext,
) -> None:

_logger.info(
"Using default serial job executor. Use `cwltool --parallel` to run multiple steps at a time."
)

process_run_id = None # type: Optional[str]

# define provenance profile for single commandline tool
Expand Down Expand Up @@ -265,7 +252,6 @@ def run_jobs(
else:
logger.error("Workflow cannot make any more progress.")
break
self.message_about_other_runners()
except (
ValidationException,
WorkflowException,
Expand Down Expand Up @@ -430,10 +416,6 @@ def run_jobs(
runtime_context: RuntimeContext,
) -> None:

_logger.info(
"Using parallel job executor. Multiple steps will run at once as hardware resources permit."
)

self.taskqueue = TaskQueue(
threading.Lock(), psutil.cpu_count()
) # type: TaskQueue
Expand Down Expand Up @@ -474,7 +456,6 @@ def run_jobs(
finally:
self.taskqueue.drain()
self.taskqueue.join()
self.message_about_other_runners()


class NoopJobExecutor(JobExecutor):
Expand Down

0 comments on commit b21b0c1

Please sign in to comment.