On Feb 3, 2005, at 3:11 PM, Jeff Squyres wrote:
> Ugh. Silly fortran, changing the sizes of types.
>
> This is actually somewhat odd, given the C wrapper code for this -- it
> expects a C (int*), and assigns to it as such. I'm guessing that a C
> int is 64 bits on your machine/compiler? If so, is a Fortran integer
> not the same? That would be somewhat surprising -- are you mixing
> compilers, perchance?
Doh -- I take this back. I read the code too quickly.
We are assigning as *address sized* integers, not C int's. So that
makes sense, then, why you need integer*8.
I guess we should have a configure test to do this stuff. [sigh]
Fortran is really annoying sometimes. :-)
Thanks for pointing this out!
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|