ldpaths error when using prepare.yaml conda env #20
Labels
bug
Something isn't working
help wanted
Extra attention is needed
wontfix
This will not be worked on
When running the
prepare
subworkflow, users of VarCA might occasionally run into the following error:This error can happen when Snakemake activates the
prepare
conda environment from two different processes at the same time on an NFS file system. This is usually a rare occurrence unless you are running many samples through the pipeline simultaneously. The problem (and some potential solutions) is discussed at length in this Github issue.If this error happens to you, it is essentially because of bad luck. Because the issue leads to a corrupted R installation within the
prepare
conda environment that Snakemake created, we recommend deleting theprepare
conda environment, so that Snakemake can automatically recreate it afresh. You can determine where theprepare
conda environment was created by runningsnakemake --list-conda-envs
and then delete it usingrm -r
.To reduce your chances of running into this problem in the future, you can limit the number of jobs that run simultaneously by passing a smaller number of cores to Snakemake via the
-j
parameter in therun.bash
script. The tradeoff of this approach is that VarCA may take longer to finish executing.There are currently no plans for us to resolve this issue, since it is a bug within
conda-forge
and not within VarCA. But feel free to let us know below if you have any suggestions.The text was updated successfully, but these errors were encountered: