Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to run #2

Open
raw937 opened this issue Mar 4, 2017 · 16 comments
Open

Fails to run #2

raw937 opened this issue Mar 4, 2017 · 16 comments

Comments

@raw937
Copy link

raw937 commented Mar 4, 2017

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
Copy link
Author

raw937 commented Mar 4, 2017

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

@rchikhi
Copy link
Member

rchikhi commented Mar 4, 2017

command line?

@raw937
Copy link
Author

raw937 commented Mar 4, 2017 via email

@raw937
Copy link
Author

raw937 commented Mar 6, 2017

?

@rchikhi
Copy link
Member

rchikhi commented Mar 6, 2017

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

@michoug
Copy link

michoug commented May 8, 2017

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

@GatouResearch
Copy link
Contributor

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

@michoug
Copy link

michoug commented May 8, 2017

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

@GatouResearch
Copy link
Contributor

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

@michoug
Copy link

michoug commented May 8, 2017

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

@aponsero
Copy link

aponsero commented Jun 8, 2017

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

@GatouResearch
Copy link
Contributor

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"

@aponsero
Copy link

aponsero commented Jun 8, 2017

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
Copy link

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 ?

@GatouResearch
Copy link
Contributor

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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants