[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#290102: g77-3.3: Please recompile with MXUNIT in fio.h increased to >= 1000



On Sun, 16 Jan 2005, Matthias Klose wrote:

Looking at the code, it looks safe to increase the size. However you
let the code compile on Debian systems, but it will fail anywhere
else, where MXUNIT has the unchanged value. Did other distributors
raise this value? Is the compilation of the modified library in your
source tree a solution?

Since you're wondering I should probably explain a little better. The source code in question is a Monte Carlo simulation for the physics experiment I work on, so it's completely in-house. The original authors (I was not one of them) decided to use a scheme to map UNIT numbers to specific particle types, and the scheme they came up with for the mapping, which would be difficult to change now, goes up to 750. They were originally running the code on AIX, whose compiler I guess did not have as strict a UNIT number limitation.

I can of course always create locally modified g77 packages (and have already done so for our cluster running woody); it's just a little inconvenient, and I'll have to do it again when we upgrade to sarge. If you think it's unwise to change the default I certainly understand.

Thanks for your time,

--
Kevin B. McCarty <kmccarty@princeton.edu>   Physics Department
WWW: http://www.princeton.edu/~kmccarty/    Princeton University
GPG: public key ID 4F83C751                 Princeton, NJ 08544



Reply to: