spades icon indicating copy to clipboard operation
spades copied to clipboard

OS return value: -7

Open MoriatyZy opened this issue 2 years ago • 9 comments

Description of bug

I'm trying to assemble some viral sequences. Spades finished with OS return value: -7 Running with pair-end input

Besides, when I trying to test using spades.py --test_, a warning came up as follows: ======= SPAdes pipeline finished WITH WARNINGS!

=== Error correction and assembling warnings:

  • 0:00:03.760 1M / 5175M WARN General (launcher.cpp : 178) Your data seems to have high uniform coverage depth. It is strongly recommended to use --isolate option. ======= Warnings saved to /gpfs/share/home/1700013510/spades_test/warnings.log

spades.log

Uploading spades.log…

params.txt

params.txt

SPAdes version

SPAdes v 3.15.5

Operating System

Linux 3.10.0-1062.el7.x86_64

Python Version

3.7.12

Method of SPAdes installation

conda

No errors reported in spades.log

  • [ ] Yes

MoriatyZy avatar Sep 01 '22 05:09 MoriatyZy

Please upload spades.log file as your were instructed in the issue / error message

asl avatar Sep 01 '22 10:09 asl

spades.log

Oh, very sorry, it didn't upload successfully before

MoriatyZy avatar Sep 02 '22 00:09 MoriatyZy

This looks like an I/O problem. Does the problem reproduce with the restart?

asl avatar Sep 02 '22 10:09 asl

I retried with the same data (sample: H1) , and I also tested with a very small fastq file with the same commands and parameters. I found that the test result was normal but the sequences of H1 assembly still failed.

spadestest.log spadesH1.log

MoriatyZy avatar Sep 04 '22 07:09 MoriatyZy

I am also getting the "finished abnormally, OS return value: -7" error. Please see the complete error below in the attached spades log. I don't think it is a RAM problem because I have already provided it with 500 GB RAM. I would highly appreciate any response on this. spades.log

ReemaSingh avatar Sep 11 '23 17:09 ReemaSingh

Just a quick follow-up on my previous message. The error solved when I rerun rnaSPADES with --memory 1500 parameter

ReemaSingh avatar Sep 20 '23 17:09 ReemaSingh

Again getting the same error. I provided 1500 RAM and when I get the error the program was using only 169 GB of ram.

89/169G INFO UnbranchingPathExtractor (debruijn_graph_constructor:354) Extracting unbranching paths

== Error == system call for: "['SPAdes-3.15.5-Linux/bin/spades-core', Assembly/K49/configs/config.info, Assembly/K49/configs/mda_mode.info, Assembly/K49/configs/rna_mode.info']" finished abnormally, OS return value: -7

I would appreciate any response

ReemaSingh avatar Oct 16 '23 15:10 ReemaSingh

Again getting the same error. I provided 1500 RAM and when I get the error the program was using only 169 GB of ram.

89/169G INFO UnbranchingPathExtractor (debruijn_graph_constructor:354) Extracting unbranching paths

== Error == system call for: "['SPAdes-3.15.5-Linux/bin/spades-core', Assembly/K49/configs/config.info, Assembly/K49/configs/mda_mode.info, Assembly/K49/configs/rna_mode.info']" finished abnormally, OS return value: -7

I would appreciate any response

@ReemaSingh did you find a solution to this problem?

neolycus23 avatar Mar 19 '24 08:03 neolycus23

Again getting the same error. I provided 1500 RAM and when I got the error the program was using only 169 GB of ram.

89/169G INFO UnbranchingPathExtractor (debruijn_graph_constructor:354) Extracting unbranching paths

== Error == system call for: "['SPAdes-3.15.5-Linux/bin/spades-core', Assembly/K49/configs/config.info, Assembly/K49/configs/mda_mode.info, Assembly/K49/configs/rna_mode.info']" finished abnormally, OS return value: -7

I would appreciate any response

@ReemaSingh did you find a solution to this problem?

@neolycus23, I rerun these samples after cleaning them using Kraken2. The run failed again with a new error message “I/O error! Incomplete write! Reason: Input/output error. Error code:5”. As all of my input files were ok so I talked to our system admin and he mentioned that it could be due to transient network issues and I should resubmit the job. Finally, I rerun the job and it worked this time 😄

ReemaSingh avatar Mar 19 '24 17:03 ReemaSingh