From: "Brian Dobbins" <[EMAIL PROTECTED]>
Subject: Re: [Beowulf] Quick question... on Fortran
To: "Robert G. Brown" <[EMAIL PROTECTED]>

> Using the PGI compilers ...
> The way to do this is to use the 'mcmodel=medium' option and to promote
> integers to 8-byte values (for indexing the entries in this array) with
> '-i8'.
---------------

rgb wrote:
I'd be happy
for answers for more than one compiler, of course -- I'd guess that e.g.
pathscale might have a greater capacity than e.g. gfortran than g77
legacy...

PathScale also supports -mcmodel=medium for large arrays, and I think gcc originated that flag name, so I would guess that gfortran supports it as well.

pathf95 also supports the -i8 flag. If you need a math library to support large arrays with i8-type indices, when you download the PathScale version of ACML from AMD, you can choose the "PathScale 64-bit Int64" version. I would guess that Intel's MKL also has a version that supports 64bit integer arrays.

-Tom

--
~~~~~~~~~~~~~~~~~~~       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Elken                 Manager, Performance Engineering
[EMAIL PROTECTED]      QLogic Corporation
650.934.8056              System Interconnect Group

_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org
To change your subscription (digest mode or unsubscribe) visit 
http://www.beowulf.org/mailman/listinfo/beowulf

Reply via email to