HyPhy message board | |
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> floating exception on trying to read data file http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1131622021 Message started by konrad on Nov 10th, 2005 at 3:27am |
Title: floating exception on trying to read data file Post by konrad on Nov 10th, 2005 at 3:27am
Hi Sergei,
I'm trying to get Hyphy (single processor version) to work on a cluster with OS/architecture details as follows: Linux deepthought 2.6.11-gentoo-r3 #4 SMP Thu Jul 21 08:41:05 SAST 2005 i686 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux It compiles and runs fine using the p51.nex example file. However, on calling ReadDataFile for my .nex file (which works fine on my local machine), the program crashes with the message "Floating exception". The start of my .nex file is as given below (the most obvious difference between this and p51.nex is the absence of a list of taxlabels). regards, Konrad --------- #NEXUS BEGIN TAXA; DIMENSIONS NTAX = 10; END; BEGIN CHARACTERS; DIMENSIONS NCHAR = 1500; FORMAT DATATYPE = DNA GAP=- MISSING=? ; MATRIX seq1 ACTGTG... |
Title: Re: floating exception on trying to read data file Post by Sergei on Nov 10th, 2005 at 3:47am
Dear Konrad,
I haven't seen this bug before; would you mind compiling HyPhy with the DEBUG flag ( Code (]sh build.sh DEBUG[/code):
so that you can pinpoint the line of code where the exception is raised? Cheers, Sergei |
Title: Re: floating exception on trying to read data file Post by konrad on Nov 10th, 2005 at 4:29am
Unfortunately gdb is not installed on this cluster, and I don't have access to install things.
I've just noticed this in messages.log: Expected 1500 sites, but found 15000 Since there are 10 sequences with 1500 nucs each, this must mean it is reading all of the data but missing the sequence names. A problem with sequence names, spacing, line breaks or something similar? What are the formal requirements for these? |
Title: Re: floating exception on trying to read data file Post by Sergei on Nov 10th, 2005 at 4:53am
Dear Konrad,
wrote on Nov 10th, 2005 at 4:29am:
This suggests that all of the sequences are lumped into a single sequence; probably due to new line issues in the matrix part of the NEXUS file. Make sure that in the data matrix, each sequence is on a new line. Still, the floating point exception is odd. Cheers, Sergei |
Title: Re: floating exception on trying to read data file Post by konrad on Nov 10th, 2005 at 5:04am
Yes, everything is on a new line. I got it working by inserting a taxlabels line, though. Strange.
|
Title: Re: floating exception on trying to read data file Post by Sergei on Nov 10th, 2005 at 5:06am
Dear Konrad,
wrote on Nov 10th, 2005 at 5:04am:
This could indicate a problem with my NEXUS reader. Could you send me the file which was breaking the reader by e-mail? Cheers, Sergei |
HyPhy message board » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |