Changes for MinGW-w64 environment#54
Changes for MinGW-w64 environment#54astanabe wants to merge 6 commits intoamkozlov:masterfrom astanabe:master
Conversation
|
To perform compilation, type the following on the terminal of MSYS2+MinGW-w64. |
|
The "hsearch,hcreate,hdestroy" functions are used in pll_msa.c in pll-modules. To fix hsearch,hcreate,hdestroy problem on MinGW-w64 environment, pll_msa.c need to be modified. |
|
Using modified version of pll-modules (https://github.com/astanabe/pll-modules/tree/dev), I got an executable binary of raxml-ng. Another backtrace. |
|
@astanabe many thanks for working on this! I will integrate your changes and try to produce a working raxml-ng version for windows as soon as I have a bit more time. |
|
Is there any success with Windows binaries for raxml-ng? Thank you, |
|
I compiled RAxML-NG several times, but initial parsimonious tree construction did not work and execution was terminated. |
|
Thank you, this saves me a lot of time trying to compile it.
Is there any chance it will work in the future?
TF
…On Thu, Feb 6, 2020, 10:19 Akifumi S. Tanabe ***@***.***> wrote:
I compiled RAxML-NG several times, but initial parsimonious tree
construction did not work and execution was terminated.
ML optimization of fixed tree topology and single ML tree search starting
from a given tree topology or a random tree topology works well (but
multiple ML tree searches starting from multiple random tree topologies did
not work).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#54?email_source=notifications&email_token=AEITIDORZNVMGKS4LNFBGEDRBPI23A5CNFSM4GGVEZGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEK6PPIQ#issuecomment-582809506>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEITIDMSRGM7OGV5Y42JEXDRBPI23ANCNFSM4GGVEZGA>
.
|
I changed several codes for MinGW-w64 environment.
However, the following problems still exist.
Cannot make executable because of lack of hsearch,hcreate,hdestroy functions
Several hash functions used in libpll are not available on MinGW-w64 environment. These functions need to be replaced or emulated.
_aligned_free should be used for freeing memory instead of free on MinGW-w64 environment
Because posix_memalign is not available on MinGW-w64, posix_memalign is emulated by _aligned_malloc in my code. The memory allocated by _aligned_malloc must be freed by _aligned_free. However, I cannot find aligned object in codes of raxml-ng.