-
Notifications
You must be signed in to change notification settings - Fork 95
first draft for instructions how to run planemo and submit jobs to a slurm cluster #1512
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
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use https://github.com/galaxyproject/galaxy-job-config-init to set up the job config ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be necessary with tmp_dir: true
, the default
These instructions have currently been tested on:
by smeds