I don't have any hard numbers for fortran, but I do for C structures. Using C 
structures with some other C functionality (pointer functions, etc etc) can 
yield up to a 3x slowdown at worst, and at best, had a 15% slowdown. I have 
seen similar results in fortran, but don't have the benchmark results for it. 
In either language, nothing beats raw data types for performance. Just my .02, 
I know some out there may not agree.

Derek


-----Original Message-----
From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Behalf 
Of Terry Frankcombe
Sent: Thursday, May 06, 2010 12:24 AM
To: Open MPI Users
Subject: Re: [OMPI users] Fortran derived types

Hi Derek

On Wed, 2010-05-05 at 13:05 -0400, Cole, Derek E wrote:
> In general, even in your serial fortran code, you're already taking a 
> performance hit using a derived type.

Do you have any numbers to back that up?

Ciao
Terry


_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to