ValueError: MAF block too long! Increase max sizeSetting the maxlen and maxint to a billion also did not help so I set it to sys.maxint.
Hi Chris,Nevermind, I guess the warnings were actual errors. So I've changed the __new__ to __cinit__ according to the messages. All seems well and the module compiles. We'll keep you posted on the actual NLMSA building for the MAFs, in case we encounter anything else.Thanks again,PaulOn Thu, Apr 25, 2013 at 12:07 PM, Paul Rigor <paul....@uci.edu> wrote:
Hi Chris,So which version of Pyrex and GCC is the most compatible? Currently, when attempting to recompile using the modifications you recommended, we get the following compilation warnings and error below. We have used pyrex versions 0.8.2.x - 0.9.9 and gcc 4.1.2, 4.3.0, & 4.7.1.
THanks!Paulpyrexc pygr/cnestedlist.pyx --> pygr/cnestedlist.c/home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:8:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:51:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:167:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:371:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:424:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:446:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:1112:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:1138:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:167:40: Warning: 'not None' will become the default in a future version of Pyrex. Use 'or None' to allow passing None.building 'pygr.cnestedlist' extensioncreating build/temp.linux-x86_64-2.6/pygr/appsgcc -pthread -pg -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/include/python2.6 -c pygr/intervaldb.c -o build/temp.linux-x86_64-2.6/pygr/intervaldb.ogcc -pthread -pg -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/include/python2.6 -c pygr/cnestedlist.c -o build/temp.linux-x86_64-2.6/pygr/cnestedlist.opygr/cnestedlist.c:1:2: error: #error Do not use this file, it is the result of a failed Pyrex compilation.error: command 'gcc' failed with exit status 1
--
You received this message because you are subscribed to the Google Groups "pygr-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pygr-dev+u...@googlegroups.com.
To post to this group, send email to pygr...@googlegroups.com.
Visit this group at http://groups.google.com/group/pygr-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Chris and community,
So after applying the modifications according to pyrex, we're now encountering the following IO error message on a machine with ulimit (soft/hard) already set to 4096.The error message follows:
Hi Chris,So which version of Pyrex and GCC is the most compatible? Currently, when attempting to recompile using the modifications you recommended, we get the following compilation warnings and error below. We have used pyrex versions 0.8.2.x - 0.9.9 and gcc 4.1.2, 4.3.0, & 4.7.1.
THanks!Paul
pyrexc pygr/cnestedlist.pyx --> pygr/cnestedlist.c/home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:8:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:51:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:167:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:371:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:424:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:446:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:1112:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:1138:2: __new__ method of extension type will change semantics in a future version of Pyrex. Use __cinit__ instead./home/prigor/scratch/pygr/pygr-0.8.2/pygr/cnestedlist.pyx:167:40: Warning: 'not None' will become the default in a future version of Pyrex. Use 'or None' to allow passing None.building 'pygr.cnestedlist' extensioncreating build/temp.linux-x86_64-2.6/pygr/appsgcc -pthread -pg -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/include/python2.6 -c pygr/intervaldb.c -o build/temp.linux-x86_64-2.6/pygr/intervaldb.ogcc -pthread -pg -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/baldig/shared_libraries/centos64/pkgs/python/2.6.5/include/python2.6 -c pygr/cnestedlist.c -o build/temp.linux-x86_64-2.6/pygr/cnestedlist.opygr/cnestedlist.c:1:2: error: #error Do not use this file, it is the result of a failed Pyrex compilation.error: command 'gcc' failed with exit status 1
On Thu, Apr 25, 2013 at 11:58 AM, Christopher Lee <cjle...@gmail.com> wrote:
* define a C struct something like this e.g. in intervaldb.h
it will represent a doubly linked list, to keep track of the order in which we most recently wrote to different build files. I.e. each node in the list has a link to the node (file) that was written to just before it, and to the node (file) that was written to just after it. We keep an array of FileQueue nodes; the previous / next fields just store the integer array index of the corresponding nodes (previous or next). We keep two separate variables that store the index of the newest (most recently written to) node and oldest (least recently written to) node.
--
--
Hi Chris,
I pushed new changes to my rebuf branch that addresses the original, separate problem that Vishal reported ("MAF block too long"). Please get the latest rebuf code as you need this to avoid that problem (as I explained in the previous post, that limit was hard-coded; none of your parameter settings could resolve that).
-- Chris
Hi Chris,Sorry for the late reply, it was finals week last week.Would you mind emailing me the source for Pyrex 0.9.8.6? It's not available from the pyrex site's old release archive.When compiling using 0.9.9, 0.9.8.2, 0.9.8 -- there are tons more warning messages than what you've listed. I do hope it's just an issue with the version of pyrex.By the way, I misspoke regarding the 'number of intervals', I believe I was referring to both 'maxint' and 'maxlen' where we wanted to decrease the filesize of lpo db files because i/o performance becomes bottleneck for our application. We'd prefer load several small lpo files (in the order KB) rather than a giant one (in the order of GB) across thousands of separate processes.
Thanks again,