On Mon, 18 Dec 2006, Tim Lister wrote:
> Peter W. Draper wrote:
>> On Mon, 18 Dec 2006, Tim Lister wrote:
>>
>> > Hi all, I've downloaded the 64bit version of Keoe from JAC and I'm
>> > trying to compile some code against it, also in 64bit mode with
>> > -mcmodel=medium and using g95 Linux x86_64/EMT64 (64 bit D.I.) v0.9 (I
>> > couldn't see any info on Keoe page about what it had been compiled
>> > with).
>>
>> Hi Tim,
>>
>> the keoe release will have been built with 32bit integers, try that
>> version of g95. It's only the address space that's 64 bit.
>
> But don't I need the 64bit integer version to use -mcmodel=medium to get
> really big arrays ? (I don't find that section of the gcc manual entirely
> obvious as to what's required)
If you want Fortran arrays with any dimension greater than 2Gb, then you
would need 64 bit integers, but we don't require that (yet). Remember
2Gb*REAL = 8Gb for a 1D array, which is a lot, especially since you can
have more dimensions...
I've not played around with the mcmodel switch (using anything other than
the default stops the use of shareable libraries anyway, so that's a none
starter, plus reading the description implies that we're talking about the
program itself, not the stack), so that may or may not be necessary to
achieve this, either way forget about it for now, we have.
Cheers,
Peter.
|