Apparent error in Pthreads code for RAxML-8.1.19

28 views
Skip to first unread message

Wayne Pfeiffer

unread,
Apr 16, 2015, 11:21:07 AM4/16/15
to ra...@googlegroups.com
Hi Alexis,

I tried to compile a Pthreads executable for RAxML-8.1.19, and I get the appended error in axml.c.

* Please investigate.

Thanks,  Wayne

----

[pfeiffer@comet-ln2 RAxML-8.1.19]$ make -f Makefile.PTHREADS.gcc
gcc  -D_GNU_SOURCE -fomit-frame-pointer -funroll-loops -O2  -D_USE_PTHREADS -msse    -c -o axml.o axml.c
axml.c: In function ‘allocNodex’:
axml.c:8637:105: error: expected ‘)’ before ‘;’ token
    tr->partitionData[model].ascMissingVector = (int *)rax_calloc(((size_t)(tr->mxtips + 1), sizeof(int));
                                                                                                         ^
axml.c:8637:55: error: too few arguments to function ‘rax_calloc’
    tr->partitionData[model].ascMissingVector = (int *)rax_calloc(((size_t)(tr->mxtips + 1), sizeof(int));
                                                       ^
In file included from axml.c:76:0:
axml.h:1508:14: note: declared here
 extern void *rax_calloc(size_t n, size_t size);
              ^
axml.c:8641:2: error: expected ‘;’ before ‘}’ token
  }
  ^
make: *** [axml.o] Error 1

Alexandros Stamatakis

unread,
Apr 16, 2015, 12:02:45 PM4/16/15
to ra...@googlegroups.com
Hi Wayne,

thanks I just pushed a fix,

Alexis
> --
> You received this message because you are subscribed to the Google
> Groups "raxml" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to raxml+un...@googlegroups.com
> <mailto:raxml+un...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

--
Alexandros (Alexis) Stamatakis

Research Group Leader, Heidelberg Institute for Theoretical Studies
Full Professor, Dept. of Informatics, Karlsruhe Institute of Technology
Adjunct Professor, Dept. of Ecology and Evolutionary Biology, University
of Arizona at Tucson

www.exelixis-lab.org
Reply all
Reply to author
Forward
0 new messages