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

"Killed" - no log and no error message #1

Closed
filcfig opened this issue Apr 5, 2021 · 7 comments
Closed

"Killed" - no log and no error message #1

filcfig opened this issue Apr 5, 2021 · 7 comments

Comments

@filcfig
Copy link

filcfig commented Apr 5, 2021

So, I've been trying to run Rtn and after a few seconds of running it, I just get "Killed" on my terminal. No error message and no log available. I didn't build from source and I'm using a VM with Linux 20.04.

When I run it without files, it shows the 'help' prompt just fine (see image).

VirtualBox_Ubuntu_20 04_05_04_2021_12_57_57

@Ahhgust
Copy link
Owner

Ahhgust commented Apr 10, 2021

Apologies-- first, it appears that my notifications were turned off (!)-- i just happened on this message by chance. Can give me a few more details? We're using RtN on ubuntu 18.04 and 20.04 systems as well as WSL (though admittedly not through virtual box) but from the sound of it there's something either very wrong happening.
If it's possible, would you be willing to give me a sample from your bam file? And/or would you be willing to recompile it from scratch? (see the "Compilation instructions with dynamic libraries" section; it should be a simple copy and paste)
-August

@Ahhgust
Copy link
Owner

Ahhgust commented Apr 10, 2021

(And I love how you can see the moment that my kids came and interrupted me. Really, I'm a scattered person, but not that scattered!).

Also, can you give me the results of:
ldd ./rtn
AND
ldd Nix_binary/rtn
AND
ulimit -a
(from the same directory that you ran things)
-August

@Ahhgust
Copy link
Owner

Ahhgust commented Apr 11, 2021

After digging around a bit more I think I have the answer: the message "Killed" appears to come from a unix out of memory manager. RtN! creates a sorted and indexed bam file and the sort is an in memory sort (unlike samtools). Ie, it's assumed that all of the mito data can fit in memory. If you want I can throw an option in to have it be more memory efficient and that should do the trick. otherwise you can try increasing the amount of RAM on your virtual machine...
-August

@filcfig
Copy link
Author

filcfig commented Apr 13, 2021

Dear August,

Apologies for the delay as well.

I will try to compile from scratch and to run the sample in an HPC through Docker. I will keep you posted.

Best regards,

Filipe

@filcfig
Copy link
Author

filcfig commented May 4, 2021

Dear August,

Right now I'm getting an output, but I'm also getting the following error messages in all files:

[M::bwa_idx_load_from_disk] read 0 ALT contigs
[M::bwa_idx_load_from_disk] read 0 ALT contigs
Segmentation fault (core dumped)

Is there still an issue with the memory?

Best regards,

Filipe

@Ahhgust
Copy link
Owner

Ahhgust commented May 4, 2021 via email

@Ahhgust
Copy link
Owner

Ahhgust commented May 22, 2021

I finally tracked this down. I had a compiler flag (-march=native ) that was in hindsight a poor choice for the statically linked binary. I removed the flag from the static build and I believe all should be working now.
My apologies for not testing the static build for portability!
-August

@Ahhgust Ahhgust closed this as completed May 22, 2021
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

2 participants