Share

MrBayes

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

3.2 segfaults on a PPC machine running Linux

You are viewing a single message from this topic. View all messages.

  1. 2009-05-25 20:59:36 UTC
    Hi everyone,

    I am trying to have MrBayes (3.2, the CVS version) running on a PPC cluster that runs (64-bit) linux. I tried with both 32 and 64-bit openmpi compilers (gcc). It segfaults at:

    tree.c, line 3478, where it says:

    /* set all pointers to NULL */
    3478 for (i=0; i<t->nNodes; i++)
    3479 {
    3480 p = &t->nodes[i];
    3481 p->anc = p->right = p->left = NULL;
    3482 p->index = -1;
    ...

    I tried to debug, but I cannot even read what's in t->nNodes! Any ideas?

    Thanks in advance,
    -Memo

    PS: Here's the entire error message:

    ...
    ...
    Initial log likelihoods for run 2:
    Chain 1 -- -155119.294496
    Chain 2 -- -156038.921094
    Chain 3 -- -155903.762962
    Chain 4 -- -155012.653905
    Overwriting file "A622_3c1_mb32cvs_sysx_testing_1a.nex.run1.p"
    Overwriting file "A622_3c1_mb32cvs_sysx_testing_1a.nex.run1.t"
    Overwriting file "A622_3c1_mb32cvs_sysx_testing_1a.nex.run2.p"
    Overwriting file "A622_3c1_mb32cvs_sysx_testing_1a.nex.run2.t"

    Chain results:

    1 -- [-155057.368] (-155005.445) (-155480.568) (-155903.639) * (-155119.183) (-156038.921) (-155902.896) [-155012.654] (...0 remote chains...)
    [n1024:08009] *** Process received signal ***
    [n1024:08009] Signal: Segmentation fault (11)
    [n1024:08009] Signal code: Address not mapped (1)
    [n1024:08009] Failing at address: (nil)
    [n1024:08009] [ 0] [0x100380]
    [n1024:08009] [ 1] /lib/libc.so.6 [0xfeb6650]
    [n1024:08009] [ 2] ./mb(PrintStatesToFiles+0xde8) [0x100e6ed8]
    [n1024:08009] [ 3] ./mb(RunChain+0x1eb0) [0x100f0310]
    [n1024:08009] [ 4] ./mb(DoMcmc+0xabc) [0x10094b4c]
    [n1024:08009] [ 5] ./mb(ParseCommand+0x610) [0x100641c4]
    [n1024:08009] [ 6] ./mb(DoExecute+0x660) [0x10046dc8]
    [n1024:08009] [ 7] ./mb(ParseCommand+0x610) [0x100641c4]
    [n1024:08009] [ 8] ./mb(CommandLine+0x414) [0x1003a4c0]
    [n1024:08009] [ 9] ./mb(main+0x150) [0x1003a060]
    [n1024:08009] [10] /lib/libc.so.6 [0xfe5d320]
    [n1024:08009] [11] /lib/libc.so.6(__libc_start_main+0x144) [0xfe5d544]
    [n1024:08009] *** End of error message ***
    Segmentation fault



< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.