Re: [f2py] Array size in fortran / DLL load error

Torppa Johanna <[email protected]>
Newsgroups gmane.comp.python.f2py.user
Message-ID <CDC71670B5C4D842B22F4C56819D4D8CBED18A3A56@EXVS05.postipalvelut.lounet>
No, it should not be even close to it. Not even with double precision, when one element takes 8 bytes.

Bw, Johanna 

-----Original Message-----
From: f2py-users-bounces-Y4l6ocDipWCuvFJfX82//[email protected] [mailto:f2py-users-bounces-Y4l6ocDipWCuvFJfX82//[email protected]] On Behalf Of David Gregory
Sent: 14. joulukuuta 2009 13:44
To: For users of the f2py program
Subject: Re: [f2py] Array size in fortran / DLL load error

A rather simple suggestion,  but you're not trying to allocate more
than 2 Gb of RAM on a 32 bit Windows machine are you?

On Dec 14, 2009, at 3:14 AM, Torppa Johanna <[email protected]>
wrote:

>
> I think I have asked this before, but the problem still exists, so
> I'll try again.
> When I export the .pyd file created with f2py to Python, I get the
> error message: "ImportError: DLL load failed: invalid access to
> memory location" when trying to run the Python code. The error is
> traced to the line of the Python code where the "export" command is.
>
> The reason seems to be too much array elemets defined in the fortran
> codes since, when I decrease the number of array elements, the
> programs work fine.
> But I need to have large arrays, so there must be some other way to
> solve this problem. Anyone having large arrays, could you tell how
> large do you have and how much elements in all, approximately.
>
> I've got approximately 2,000,000 elements in all, and the largest
> array has 640,000 elements (800,800).
>
> Bw, Johanna Torppa
> _______________________________________________
> f2py-users mailing list
> f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]
> http://cens.ioc.ee/mailman/listinfo/f2py-users

_______________________________________________
f2py-users mailing list
f2py-users-Y4l6ocDipWCuvFJfX82//[email protected]
http://cens.ioc.ee/mailman/listinfo/f2py-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.