Entering edit mode
9.3 years ago
suhalsuhaimi
▴
30
Hi,
I have a problem while try to run 'make velveth' and 'make velvetg' but I don't know how to fix it. I'm using Ubuntu in VM
When I type this command:
make velveth
The error come up like this:
rm obj/*.o obj/dbg/*.o
rm: cannot remove 'obj/dbg/*.o': No such file or directory
make: [cleanobj] Error 1 (ignored)
mkdir -p obj
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/tightString.c -o obj/tightString.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/run.c -o obj/run.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/splay.c -o obj/splay.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/splayTable.c -o obj/splayTable.o
src/splayTable.c: In function 'inputSequenceArrayIntoSplayTableAndArchive':
src/splayTable.c:1060:14: warning: variable 'refElem' set but not used [-Wunused-but-set-variable]
RefInfo refElem;
^
src/splayTable.c: In function 'scanReferenceSequences':
src/splayTable.c:877:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, MAXLINE, file);
^
src/splayTable.c: In function 'scanBinaryReferenceSequences':
src/splayTable.c:933:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, MAXLINE, file);
^
src/splayTable.c:949:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, MAXLINE, file);
^
src/splayTable.c: In function 'inputSequenceArrayIntoSplayTableAndArchive':
src/splayTable.c:1207:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, MAXLINE, seqFile);
^
src/splayTable.c:1213:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, MAXLINE, seqFile);
^
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/graph.c -o obj/graph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/run2.c -o obj/run2.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/fibHeap.c -o obj/fibHeap.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/fib.c -o obj/fib.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/concatenatedGraph.c -o obj/concatenatedGraph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/passageMarker.c -o obj/passageMarker.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/graphStats.c -o obj/graphStats.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/correctedGraph.c -o obj/correctedGraph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/dfib.c -o obj/dfib.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/dfibHeap.c -o obj/dfibHeap.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/recycleBin.c -o obj/recycleBin.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/readSet.c -o obj/readSet.o
src/readSet.c: In function 'readFastXFile':
src/readSet.c:641:21: warning: assignment from incompatible pointer type [enabled by default]
file.gzFile = file.autoFile = NULL;
^
src/readSet.c: In function 'readFastXPair':
src/readSet.c:680:22: warning: assignment from incompatible pointer type [enabled by default]
file1.gzFile = file1.autoFile = NULL;
^
src/readSet.c:681:22: warning: assignment from incompatible pointer type [enabled by default]
file2.gzFile = file2.autoFile = NULL;
^
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/binarySequences.c -o obj/binarySequences.o
src/binarySequences.c: In function 'importCnyReadSet':
src/binarySequences.c:314:12: warning: variable 'refElem' set but not used [-Wunused-but-set-variable]
RefInfo refElem;
^
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/shortReadPairs.c -o obj/shortReadPairs.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/locallyCorrectedGraph.c -o obj/locallyCorrectedGraph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/graphReConstruction.c -o obj/graphReConstruction.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/roadMap.c -o obj/roadMap.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/preGraph.c -o obj/preGraph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/preGraphConstruction.c -o obj/preGraphConstruction.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/concatenatedPreGraph.c -o obj/concatenatedPreGraph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/readCoherentGraph.c -o obj/readCoherentGraph.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/utility.c -o obj/utility.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/kmer.c -o obj/kmer.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/scaffold.c -o obj/scaffold.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/kmerOccurenceTable.c -o obj/kmerOccurenceTable.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/allocArray.c -o obj/allocArray.o
gcc -Wall -m64 -O3 -D MAXKMERLENGTH=31 -D CATEGORIES=2 -c src/autoOpen.c -o obj/autoOpen.o
src/autoOpen.c: In function 'pcloseNoStderr':
src/autoOpen.c:49:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
int rc, status;
^
src/autoOpen.c: In function 'popenNoStderr':
src/autoOpen.c:28:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result]
dup(out[1]);
^
Please help me.
There is no other messages after that. Yes, I try to execute
velveth
andvelvetg
, but there is still have an error. How to fix it? Can you teach me?I try to execute velveth and velvetg again, and it appear like this:
And I also try to run this command:
Then it appear like this:
The 'Roadmaps' file is appear. I also try to run this command:
Error appear like this:
How to fix the error? Maybe I'm wrong from the beginning.
"Killed"
It is possible that your job is getting killed by the OS after reaching some sort of limit. Are you executing this job under a job scheduler?
I would recommend running the sample files provided with the installation. You can find the test runs at the start of the manual, along with expected results. If those complete successfully, your problems are OS-related rather than velvet-related.