> Message: 1
> Date: Sun, 4 Apr 2004 05:57:15 -0700 (PDT)
> From: George Duncan <email@hidden>
> Subject: fortran bindings
> To: email@hidden
>
> Thanks for the information about the vDSP library and
> others which have explicitly been built to address
> performance.
>
> I would like to know, however, if there are fortran
> bindings for these libraries, especially the fft ones?
> If not, could someone point me to where I can get the
> scoop on writing wrappers? I've only done this rarely
> and then for a particular machine [once on a Sun, once
> on a Cray YMP].
You can pass data to the Apple frameworks directly from FORTRAN, just be
sure to observer the proper conventions for passing data from FORTRAN to C.
Most FORTRAN compiler manuals have a short section about this. It's really
pretty simple. And from what I remember, Apple's frameworks are pretty
robust in their ability to deal with data alignment and other issues
internally, so you don't have to.
There's an example on Apple's website that shows how to call a vecLib
function from FORTRAN (among other things), which ought to give a good
start:
http://developer.apple.com/hardware/ve/fortran.html
If you have the time to spare, you can build a simple test program to verify
the process, and then compile your bigger code.
Craig
--
Dr. Craig Hunter
NASA Langley Research Center
AAAC/Configuration Aerodynamics Branch
email@hidden (new!!)
(757) 864-3020
(Dual G4 - OS X)
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.