replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - lapack95 and openblas
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

lapack95 and openblas

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Fausto



Joined: 09 Oct 2013
Posts: 2

PostPosted: Wed Oct 09, 2013 2:21 pm    Post subject: lapack95 and openblas Reply with quote

Hello all,

I read some old posts about BLAS/LAPACK linking.
My problem is slightly different. I want to use LAPACK95 interface to LAPACK/BLAS and instead of reference LAPACK/BLAS, I'd like to use openblas.

So, I downloaded the lapack95 sources and tried to generate a static library.
I compiled without probs lapack95, generated the obj files and tried to create a static library with slink command.
I had success to create that library, but now how can I use it ? Just to add more info, I'm using FTN95 express, so I searched in the link option (in the project properties) but I didn't found anything related to external static libraries.
By the way, also the command line is fine for me Smile

The next step is using openblas. I have DLL, and I read I could use something call STDCALL. Please could be more specific about this subject ?

thanks a lot,
Fausto
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Wed Oct 09, 2013 8:51 pm    Post subject: Reply with quote

Have you tried loading the static library in a SLINK script?
Alternatively you should be able to provide the static library as a Reference in a Visual Studio or Plato project.

For STDCALL try searching for this in the the FTN95 help file.
If you are using a third party DLL that contains STDCALL functions then the help file will tell you how to interface with it.
Alternatively you can get a general impression by looking for STDCALL in some of the INCLUDE files that come with FTN95.
Back to top
View user's profile Send private message AIM Address
Fausto



Joined: 09 Oct 2013
Posts: 2

PostPosted: Wed Oct 09, 2013 9:49 pm    Post subject: Re: Reply with quote

PaulLaidler wrote:
Have you tried loading the static library in a SLINK script?
Alternatively you should be able to provide the static library as a Reference in a Visual Studio or Plato project.

For STDCALL try searching for this in the the FTN95 help file.
If you are using a third party DLL that contains STDCALL functions then the help file will tell you how to interface with it.
Alternatively you can get a general impression by looking for STDCALL in some of the INCLUDE files that come with FTN95.


If use SLINK with load command (from command line), I am able to include lapack95.lib
So the next step is use DLL from Openblas. Unfortunately it seems that DLL is not compatible with SLINK.
Becasue the Openblas build process is quite complex, I have to check if I can using it to build from the scratch.

If I want to use the graphical environment, where I can write the lapack95.lib ? In the linker option ?

thanks
Fausto
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8210
Location: Salford, UK

PostPosted: Thu Oct 10, 2013 7:22 am    Post subject: Reply with quote

The information you need should be in the help file (ftn95.chm) under Win32 Platform->Using the linker.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group