Hi @Adrien.Albert , thanks very much for the response. I’ll be sure to make future posts on Hpc issuse, sorry for that.
As I’m submitting jobs with snakemake the sbatch is not readily available to me. I looked very briefly as the snakemake documentation but couldn’t find a discussion of how this is handled. I assume snakemake generates some sbatch at some point to handle job submissions, maybe you are more familiar with this?
As for the deletion/editing of bin/python, I’m not sure that this is not happening and so it’s definitely possible, but there’s no real pattern I can see as to why this happens for some jobs and not others.
I am asking you because you are using your own snakemake:
/home/users/m/mulligas/venvs/snakemake/bin/python
But it is available via module:
(baobab)-[alberta@login1 ~]$ ml spider snakemake
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
snakemake: snakemake/6.6.1
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Description:
The Snakemake workflow management system is a tool to create reproducible and scalable data analyses.
You will need to load all module(s) on any one of the lines below before the "snakemake/6.6.1" module is available to load.
GCC/10.3.0 OpenMPI/4.1.1
Help:
Description
===========
The Snakemake workflow management system is a tool to create reproducible and scalable data analyses.
More information
================
- Homepage: https://snakemake.readthedocs.io
Included extensions
===================
amply-0.1.4, ConfigArgParse-1.5.1, connection_pool-0.0.3, datrie-0.8.2,
PuLP-2.4, ratelimiter-1.2.0.post0, smart_open-4.2.0, snakemake-6.6.1,
stopit-1.1.2, toposort-1.6, wrapt-1.12.1
Sorry wasn’t aware this was available. I’ve just tested this out using this instead of my own venv as I was encountering the same issue again and I’m getting the following error:
which suggests to me that this is missing the snakemake-executor-plugin-slurm needed for use with slurm, and when i search for this with module spider I can’t find anything
Using now and seems to be working well. Have not encountered the original issue so far, but this had also stopped with my own venv so remains to be seen if it crops up again.