Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312897 - sci-biology/raxml-7.2.6: version bump
Summary: sci-biology/raxml-7.2.6: version bump
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 23:06 UTC by Martin Mokrejš
Modified: 2013-02-17 10:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
raxml-7.2.6.ebuild (raxml-7.2.6.ebuild,1.35 KB, text/plain)
2010-04-02 23:08 UTC, Martin Mokrejš
Details
raxml-7.2.6.ebuild (raxml-7.2.6.ebuild,2.07 KB, text/plain)
2010-04-06 10:41 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2010-04-02 23:06:19 UTC
I slightly improved the ebuild to try to compile parallelized code. Unfortunately, I cannot get it compiled (7.2.2, 7.2.5, 7.2.6 tested on x86). I have emailed usptream. Based on the comments at http://wwwkramer.in.tum.de/exelixis/software.html is seems they only support OpenMPI. Who can test that?
Comment 1 Martin Mokrejš 2010-04-02 23:08:29 UTC
Created attachment 226325 [details]
raxml-7.2.6.ebuild

I have replaced the single-quotes with double-quotes so that ${CFLAGS} can be exapanded. Andrey, feel free to fix this in other ebuilds in the tree.

I have enabled the mpi USE flag but as I said, I cannot compile against mpich2.
Comment 2 Martin Mokrejš 2010-04-03 03:35:36 UTC
Upstream said:

The only MPI version that works is the hybrid one, -DPARALLEL was exactly disabled for this reason and this is also the reason why no Makefile is provided.
Comment 3 Martin Mokrejš 2010-04-06 10:40:51 UTC
Some more clarification from upstream:

sequential version: Makefile.gcc
seq+SSE3:  Makefile.SSE3.gcc
Pthreads:  Makefile.PTHREADS.gcc
Pthreads+SSE3: Makefile.SSE3.PTHREADS.gcc

hybrid MPI/Pthreads: Makefile.HYBRID.gcc
hybrid MPI/Pthreads+SSE3: Makefile.SSE3.HYBRID.gcc

pure MPI:  Makefile.MPI.gcc
pure MPI+SSE3: Makefile.SSE3.MPI.gcc

For MPI you will need OpenMPI, for Pthreads just the posix threads library
which is installed in all Linux-based systems.

I will attach an updated ebuild. I propose fixup of the 7.2.2. and 7.2.5 ebuild as well. I cannot test the OpenMPI binaries, but believe the ebuild is correct. Please commit.

Maybe a test for virtual/mpi and !openmpi would be worth to print an einfo() message proposing user to place USE=-mpi into /etc/portage/package.use if (s)he has USE=mpi but has not openmpi installed. It would make the user aware of the fact that no parallel binaries are available for the machine. But as long as you keep the comments in the ebuild file it is documented.
Comment 4 Martin Mokrejš 2010-04-06 10:41:28 UTC
Created attachment 226719 [details]
raxml-7.2.6.ebuild
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-02-17 10:30:00 UTC
already fixed.