simka icon indicating copy to clipboard operation
simka copied to clipboard

Fails to run

Open raw937 opened this issue 8 years ago • 16 comments

lala [0.0%] Computing k-mer spectrums [Time: 0:00:00]A job failed (simka_test_tmp/simka_database/kmer_spectrums/A/), exiting simka

raw937 avatar Mar 04 '17 00:03 raw937

used a cmake/3.3.0 and gcc/6.1.0 to install.

raw937 avatar Mar 04 '17 00:03 raw937

command line?

rchikhi avatar Mar 04 '17 00:03 rchikhi

python scripts/simka2/simka.py -in example/data/simka_input.txt -kmer-size 4 -abundance-min 10 -out simka_test -out-tmp simka_test_tmp

On Fri, Mar 3, 2017 at 4:22 PM, Rayan Chikhi [email protected] wrote:

command line?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GATB/simka/issues/2#issuecomment-284107029, or mute the thread https://github.com/notifications/unsubscribe-auth/ALWiqGNqzoZwAJ4wF6XVNTMM51hyjvwFks5riK6vgaJpZM4MS5Le .

raw937 avatar Mar 04 '17 00:03 raw937

?

raw937 avatar Mar 06 '17 18:03 raw937

thanks for the command-line. I don't see what's wrong with it, except maybe quite small k-mer sizes. (possibly outside the range of tested kmer sizes) I'll let simka's developers investigate and reply to this one.. Meanwhile could you please report whether the command worked with larger kmer size? e.g. 10

rchikhi avatar Mar 06 '17 19:03 rchikhi

Hi, I have the same issue installing from source, so version 2,0 However it works fine with version 1.3.2 installing with the release version Best Greg

michoug avatar May 08 '17 07:05 michoug

Hi, This command works fine for me on mac and linux. Can you send me the output of the failing job with the following command: cat simka_test_tmp/simka_database/kmer_spectrums/A/log.txt

GatouResearch avatar May 08 '17 10:05 GatouResearch

Hi, here is the output for my issue

lala
[0.0%] Computing k-mer spectrums    [Time: 0:00:00]A job failed (simka_temp/simka_database/kmer_spectrums/BODY/), exiting simka
python /home/michoug/simka/scripts/simka2/core/simka2-run-job.py simka_temp/simka_database/kmer_spectrums/BODY/ count /home/michoug/simka/scripts/simka2/core/../bin/simka2-count -id BODY -in simka_temp/simka_tmp/BODY_temp/input.txt -out-tmp simka_temp/simka_tmp/BODY_temp -out simka_temp/simka_database/kmer_spectrums/BODY -kmer-size 21 -max-reads 10000000 -min-read-size 0 -read-shannon-index 0 -nb-dataset 2 -abundance-min 2 -abundance-max 2147483647 -nb-partitions 5 -max-memory 50000 -nb-cores 2

[DSK: Pass 1/1, Step 1: partitioning     ]  0    %   elapsed:   0 min 0  sec   remaining:   0 min 0  sec   cpu:  -1.0 %   mem: [   8,    8,    8] MB Segmentation fault (core dumped)
[DSK: Pass 1/1, Step 1: partitioning     ]  0    %   elapsed:   0 min 0  sec   remaining:   0 min 0  sec   cpu:  -1.0 %   mem: [   8,    8,    8] MB Segmentation fault (core dumped)
[DSK: Pass 1/1, Step 1: partitioning     ]  0    %   elapsed:   0 min 0  sec   remaining:   0 min 0  sec   cpu:  -1.0 %   mem: [   8,    8,    8] MB Segmentation fault (core dumped)


------
['/home/michoug/simka/scripts/simka2/core/simka2-run-job.py', 'simka_temp/simka_database/kmer_spectrums/BODY/', 'count', '/home/michoug/simka/scripts/simka2/core/../bin/simka2-count', '-id', 'BODY', '-in', 'simka_temp/simka_tmp/BODY_temp/input.txt', '-out-tmp', 'simka_temp/simka_tmp/BODY_temp', '-out', 'simka_temp/simka_database/kmer_spectrums/BODY', '-kmer-size', '21', '-max-reads', '10000000', '-min-read-size', '0', '-read-shannon-index', '0', '-nb-dataset', '2', '-abundance-min', '2', '-abundance-max', '2147483647', '-nb-partitions', '5', '-max-memory', '50000', '-nb-cores', '2']


------
/home/michoug/simka/scripts/simka2/core/../bin/simka2-count -id BODY -in simka_temp/simka_tmp/BODY_temp/input.txt -out-tmp simka_temp/simka_tmp/BODY_temp -out simka_temp/simka_database/kmer_spectrums/BODY -kmer-size 21 -max-reads 10000000 -min-read-size 0 -read-shannon-index 0 -nb-dataset 2 -abundance-min 2 -abundance-max 2147483647 -nb-partitions 5 -max-memory 50000 -nb-cores 2 


Exec
/home/michoug/simka/scripts/simka2/core/../bin/simka2-count -id BODY -in simka_temp/simka_tmp/BODY_temp/input.txt -out-tmp simka_temp/simka_tmp/BODY_temp -out simka_temp/simka_database/kmer_spectrums/BODY -kmer-size 21 -max-reads 10000000 -min-read-size 0 -read-shannon-index 0 -nb-dataset 2 -abundance-min 2 -abundance-max 2147483647 -nb-partitions 5 -max-memory 50000 -nb-cores 2 
Ret: 35584
Nb try: 1


Exec
/home/michoug/simka/scripts/simka2/core/../bin/simka2-count -id BODY -in simka_temp/simka_tmp/BODY_temp/input.txt -out-tmp simka_temp/simka_tmp/BODY_temp -out simka_temp/simka_database/kmer_spectrums/BODY -kmer-size 21 -max-reads 10000000 -min-read-size 0 -read-shannon-index 0 -nb-dataset 2 -abundance-min 2 -abundance-max 2147483647 -nb-partitions 5 -max-memory 50000 -nb-cores 2 
Ret: 35584
Nb try: 2


Exec
/home/michoug/simka/scripts/simka2/core/../bin/simka2-count -id BODY -in simka_temp/simka_tmp/BODY_temp/input.txt -out-tmp simka_temp/simka_tmp/BODY_temp -out simka_temp/simka_database/kmer_spectrums/BODY -kmer-size 21 -max-reads 10000000 -min-read-size 0 -read-shannon-index 0 -nb-dataset 2 -abundance-min 2 -abundance-max 2147483647 -nb-partitions 5 -max-memory 50000 -nb-cores 2 
Ret: 35584
End: 35584

michoug avatar May 08 '17 11:05 michoug

Ok, unfortunatelly I won't be able to solve this issue without running simka myself with your dataset. Is "BODY" dataset a public dataset ?

GatouResearch avatar May 08 '17 12:05 GatouResearch

Unfortunately no, As of now, the version 1.3.2 works so I'll continue with it. If I have the same issue with a public dataset, I'll send it to you

michoug avatar May 08 '17 12:05 michoug

Hi! Sorry to bother you. But I do have the same trouble. When I run the toy exemple line : python ./scripts/simka2/simka.py -in ./example/data/simka_input.txt -out simka_results -out-tmp simka_temp

I get :

lala [0.0%] Computing k-mer spectrums [Time: 0:00:00]A job failed (simka_temp/simka_database/kmer_spectrums/A/), exiting simka

And when I installed it, I noticed it sent an error (error_installing_SIMKA.txt ) I installed it using :

git clone https://github.com/GATB/simka.git
cd simka
sh INSTALL

aponsero avatar Jun 08 '17 20:06 aponsero

Hi Oh yes you have an install issue, can I know what are your cmake and gcc versions ? you can get them by typing "cmake --version" and "gcc --version"

GatouResearch avatar Jun 08 '17 21:06 GatouResearch

Thank you so much for your rapid answer ! Because of previous comments on this thread, I tried the installation of the previous release (V1.3.2), and it also fails.

cmake version 2.8.12.2 gcc (GCC) 5.2.0

Also, I got the same error when installing on another HPC cluster (same cmake version, gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17) )

aponsero avatar Jun 08 '17 21:06 aponsero

Hi again, After multiple trials, I managed to have a complete installation on a ubuntu VM with the following settings : gcc 4.9.4 cmake 2.8.12.2

no other version of gcc worked for me...

However, the toy example still fails. and in the /simka/simka_temp/simka_database/kmer_spectrums/A folder , the log.txt reveal a problem with the kmer spectrum log.txt

What can I do ?

aponsero avatar Jun 12 '17 22:06 aponsero

Hi,

thanks for your feedback, unfortunately at the moment, I have no ideas how to fix those issues...

You can also try precompiled binaries in the release tab: https://github.com/GATB/simka/releases/tag/v1.3.2 There are for linux (bin-Linux) and mac (bin-darwin).

GatouResearch avatar Jun 13 '17 08:06 GatouResearch

Hi everyone,

I have released a new version of Simka v1.4 : https://github.com/GATB/simka/releases/tag/v1.4.0 It should fix a lot of compilation issues and integrate new functionalities.

I hope it's going to fix this issue.

GatouResearch avatar Jun 21 '17 13:06 GatouResearch