View previous topic :: View next topic |
Author |
Message |
tk
Joined: 20 Jan 2007 Posts: 7 Location: Dublin, Ireland
|
Posted: Mon Jan 22, 2007 6:25 pm Post subject: Does Salford do a Pre-packaged Library of LAPACK/BLAS ? |
|
|
I followed questions by achilles 78 and replies obtained but found no final
resolution to the question of using LAPACK/BLAS routines on FTN95.
Has anyone any idea of how to proceed with this?
Is there a Salford equivalent to Intel's MKL library ?
Regards,
tk |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
Posted: Mon Jan 29, 2007 8:34 am Post subject: |
|
|
There is no direct equivalent to Intel's MKL library, but in theory any third party Fortran Win32 DLL that is Compac Fortran compatible can be imported into an FTN95 application by using /import_lib <ddlname> on the FTN95 command line.
In Plato this is accomplished by using a project reference in the ordinary way and then using the properties of the reference to make it "STDCALL". |
|
Back to top |
|
|
cledward
Joined: 15 Jan 2007 Posts: 6 Location: ODESSA, TX USA
|
Posted: Wed May 23, 2007 12:48 am Post subject: Lapack Library |
|
|
It is easy to create a viable library using the slink -archive..etc . The recipe for doing it in DOS is >dir *.obj /o:n /b > objfile (after compiling all the lapack "*.f" routines of interest), then >slink -archive:libname.lib -addobj:@objfile
Assuming no errors, libname.lib will be created. I have found it advantageous to build the single precision, double precision, complex and double complex libraries separately (with different names, of course). _________________ CLE |
|
Back to top |
|
|
|