Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351502 - sci-biology/mummer: add -DSIXTYFOURBITS to CFLAGS
Summary: sci-biology/mummer: add -DSIXTYFOURBITS to CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andrey Kislyuk (RETIRED)
URL: http://sourceforge.net/mailarchive/me...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-12 23:14 UTC by Martin Mokrejš
Modified: 2011-01-13 16:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2011-01-12 23:14:32 UTC
On the amos-help mailing list https://lists.sourceforge.net/lists/listinfo/amos-help I just saw that there is an extra define flag to mummer to allow for larger memory usage, which is necessary for larger datasets. I propose this to be default.



make CPPFLAGS="-O3 -DSIXTYFOURBITS"

and that will compile it in 64-bit mode which will use more memory, but remove the max input seq length limit.


>On Wed, Jan 12, 2011 at 5:30 AM, Nagarjun V <arjun53ster@xxxxxx.xxx> wrote:
>> Could anybody please let me know if Minimus2 can be made to handle much 
>> larger datasets? while using the latest version of Minimus2 i run into a 
>> limit when the reads are very long.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-01-13 08:00:11 UTC
Does -DSIXTYFOURBITS works on x86?
-O3 is definetly a no, because optimization is users business.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-01-13 09:15:09 UTC
+*mummer-3.22-r1 (13 Jan 2011)
+
+  13 Jan 2011; Justin Lecher <jlec@gentoo.org> +files/3.22-ldflags.patch,
+  +files/3.22-prll.patch, -mummer-3.22.ebuild, +mummer-3.22-r1.ebuild:
+  Respecting *FLAGS, #335447; added real 64bit support, #351502
+
Comment 3 Martin Mokrejš 2011-01-13 16:26:32 UTC
I tested whether the binary compiled with -DSIXTYFOURBITS works on 32bit, but it does not. It somehow blocks. It prints some output before doing a search but that is all. Here is the output of both 64bit and 32bit version for some clue. The current 3.22-r1 ebuild correctly forces this CFLAG for only amd64 arch:


32-bit binary on 32bit computer:

# reading input file "test.dna" of length 176189
# construct suffix tree for sequence of length 176189
# (maximum reference length is 536870908)
# (maximum query length is 4294967295)
# process 1761 characters per dot
#....................................................................................................
[real results were cut away]



64bit binary on 32bit computer:

# reading input file "test.dna" of length 176189
# construct suffix tree for sequence of length 176189
# (maximum reference length is 1073741820)
# (maximum query length is 4294967295)
# process 1761 characters per dot
[somehow locked process]