-
Notifications
You must be signed in to change notification settings - Fork 10
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
kmds error #30
Comments
I get the same error on the 1.1.1 binaries at the second kmds step:
|
I've seen this when either
Do you have an example of meta.pheno and one of the .dsm files in matrices.txt? |
Hi John. I am having the same issue. The distance matrix was written, but no idea if it is correct. I'll send you some files offline. Anders. |
@andersgs Your distance matrix looks ok to me, and I have been able to project it into three dimensions (attached below) Are you using the dynamically or statically compiled versions in the v1.1.1 release, or have you compiled from source yourself? |
I am using the statically compiled version (v1.1.1). While that file is produced, none of the putative others needed to run seer are (*.sample?). |
I wonder if this might be an error with the way I have linked the math libraries in that case. Could you try this version: and see if it works? |
Thanks, John. Still no go, unfortunately. It seg faults. Even with just --help. |
What OS and version are you using? I'm going to make an alternative script (requiring R) which will be able to make the required files from the distance matrix as a work-around for now |
The script should deal with this for practical purposes (see commit e817cee) but ideally this should compile properly, so any more information on your platforms would be appreciated. |
Thank you for the script, John. I'll give it a go. I am running RHEL7 (Red Hat). |
Don't know if this is related, but I believe that the 'static_all' kmds segfaults even when exiting successfully, or when calling it with '-h' |
As far as I can tell the statically compiled versions won't work in RHEL (kmds at least). An alternative would be to use the sanger-pathogens VM (import ftp://ftp.sanger.ac.uk/pub/pathogens/pathogens-vm/pathogens-vm.latest.ova as a resource in virtualbox) |
I'm in the process of trying the proposed pipeline on RHEL7; up to the first pass of kmds it seems to be working fine (if you ignore the segfault when the program exits). Will let you know if I can get the second pass to work. |
Hi, I can confirm that the second pass of kmds segfaults on RHEL6 (but same thing happens with RHEL7). Output: |
I'm afraid that without a RHEL system myself to test on, and no knowledge of cross-compiling I am unlikely to be able to produce a pre-compiled version to work on your system. If you are unable to use the VM I would suggest compiling from source. I am happy to try and help with any issues you have with this. Alternatively, you could use mash to produce a k-mer based distance matrix which can then be used as input to the R script referenced above. This would avoid the high RAM usage step |
Thank you John, I'll give it a shoot with mash and let you know |
Hi John, just to let you know that mash worked just fine in generating the distance matrix and that now seer is running happily.
|
@mgalardini - happy to hear that! Thanks for the commands, I've added them to the wiki along with a mash2distances script in commit ac735f1 |
@johnlees can you try it on a Centos VM ? either on VirtualBox |
Hi,
I tried to run kmds as per the updated instructions and received the following error:
$ kmds -p metadata.pheno --mds_concat subsampled_matrices.txt -o all_structure --threads 16 --write_distances
kmds: control for population structure
Detected binary phenotype
Reading subsampled matrices from subsampled_matrices.txt
Joined matrix 1
Distance matrix calculated in: 0.000732998 s
Intel MKL ERROR: Parameter 10 was incorrect on entry to DGEMM .
Intel MKL ERROR: Parameter 10 was incorrect on entry to DGEMM .
Intel MKL ERROR: Parameter 2 was incorrect on entry to DSYEVD.
Intel MKL ERROR: Parameter 2 was incorrect on entry to DSYEV.
terminate called after throwing an instance of 'std::runtime_error'
what(): Could not calculate eignvalues of B matrix in metric MDS
Aborted (core dumped)
The text was updated successfully, but these errors were encountered: