> After using time.clock, running f2py with the REPORT_ON_ARRAY_COPY enabled
> and
> passing arrays as np.asfortranarray(array) to the fortran routines I still
> get a
> slow performance on f2py. No copied arrays are reported.
That is not any better as np.asfortranarray will make a copy instead.
Sturla Molden molden.no> writes:
>
>
> > It looks like the gain in performance is
> > rather low compared to tests i have seen elsewhere.
> >
> > Am I missing something here..?
> >
> > Cheers...Vasilis
>
> Turn HTML off please.
>
> Use time.clock(
> It looks like the gain in performance is
> rather low compared to tests i have seen elsewhere.
>
> Am I missing something here..?
>
> Cheers...Vasilis
Turn HTML off please.
Use time.clock(), not time.time().
Try some tasks that actually takes a wh
On Mon, Aug 16, 2010 at 10:12 AM, Vasileios Gkinis wrote:
> Hi all,
>
> This is a question on f2py.
> I am using a Crank Nicholson scheme to model a diffusion process and in the
> quest of some extra speed I started playing with f2py.
> However I do not seem to be able to get any significant boos
Hi all,
This is a question on f2py.
I am using a Crank Nicholson scheme to model a diffusion process
and in the quest of some extra speed I started playing with
f2py.
However I do not seem to be able to get any significant boost in