first draft for instructions how to run planemo and submit jobs to a slurm cluster#1512
first draft for instructions how to run planemo and submit jobs to a slurm cluster#1512Smeds wants to merge 2 commits intogalaxyproject:masterfrom
Conversation
|
I have problems running planemo on bridges2. Every things behaves really slow and I get the following error: File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/planemo/galaxy/serve.py", line 66, in _serve
config.install_workflows()
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/planemo/galaxy/config.py", line 848, in install_workflows
self._install_workflow(runnable)
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/planemo/galaxy/config.py", line 854, in _install_workflow
workflow_repos = install_shed_repos(
^^^^^^^^^^^^^^^^^^^
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/planemo/galaxy/workflows.py", line 118, in install_shed_repos
install_results = install_tool_manager.install_repositories(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/ephemeris/shed_tools.py", line 236, in install_repositories
result = self.install_repository_revision(repository, log)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/ephemeris/shed_tools.py", line 518, in install_repository_revision
success = self.wait_for_install(repository=repository, log=log, timeout=3600)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/ephemeris/shed_tools.py", line 554, in wait_for_install
installed_repos = self.tool_shed_client.get_repositories()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/bioblend/galaxy/toolshed/__init__.py", line 46, in get_repositories
return self._get()
^^^^^^^^^^^
File "/ocean/projects/mcb140028p/psmeds/test_cwl/planemo_venv/lib64/python3.11/site-packages/bioblend/galaxy/client.py", line 134, in _get
raise ConnectionError(
bioblend.ConnectionError: HTTPConnectionPool(host='localhost', port=9090): Max retries exceeded with url: /api/tool_shed_repositories (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x15008bf47510>: Failed to establish a new connection: [Errno 111] Connection refused')), 0 attempts left: |
|
That does sound like a bridges problem ... annoying, but not sure we can do anything about this. |
| Slurm | ||
| ~~~~~~~~~~~~~~~~~~ | ||
|
|
||
| To run the workflow on a SLURM cluster, you’ll need to configure the ``job_config.yaml`` file to set up a job |
There was a problem hiding this comment.
Can you use https://github.com/galaxyproject/galaxy-job-config-init to set up the job config ?
There was a problem hiding this comment.
Well we added a Planemo command to wrap that with Planemo-style arguments and such - I would use planemo job_config_init to template this? xref https://github.com/galaxyproject/planemo/blob/master/planemo/commands/cmd_job_config_init.py. There is a profile equivalent also.
| Troubleshooting | ||
| ------------------ | ||
|
|
||
| **Temp direcory not shared between nodes** |
There was a problem hiding this comment.
This shouldn't be necessary with tmp_dir: true, the default
These instructions have currently been tested on:
by smeds