[Trilinos-Users] [ML-Users] [Fwd: use of __stdcall for BLAS/LAPACK routines in ML]

KACVINSKY Tom Tom.KACVINSKY at 3ds.com
Wed Jan 21 13:57:46 MST 2009


Now I feel really stupid.  If I just use -DINTEL_CXML, I'll get what I need.  No

code changes are necessary. 

 

From: ml-users-bounces at software.sandia.gov [mailto:ml-users-bounces at software.sandia.gov] On Behalf Of KACVINSKY Tom
Sent: Wednesday, January 21, 2009 3:44 PM
To: Jonathan Hu; trilinos-users at software.sandia.gov
Cc: KACVINSKY Tom; ml-users at software.sandia.gov
Subject: Re: [ML-Users] [Fwd: use of __stdcall for BLAS/LAPACK routines in ML]

 

Jonathan,

 

I think I figured it out, at least for us, anyway...

 

It is as simple as this:

 

    #define F77_FUNC_(name,NAME) __stdcall NAME

 

(this is in ml_config.h).

 

Regards,


Tom

 

From: Jonathan Hu [mailto:jhu at sandia.gov] 
Sent: Wednesday, January 21, 2009 2:46 PM
To: trilinos-users at software.sandia.gov; KACVINSKY Tom
Cc: ml-users at software.sandia.gov
Subject: [Fwd: use of __stdcall for BLAS/LAPACK routines in ML]

 

Hi Tom,

   I don't have any experience using the Microsoft __stdcall conventions, so am forwarding this to the general Trilinos user's list.  Fyi, the next release of Trilinos (March/April) will optionally use cmake for the build system.

Regards,
Jonathan

-------- Original Message -------- 

Subject: 

[ML-Users] use of __stdcall for BLAS/LAPACK routines in ML

Date: 

Tue, 20 Jan 2009 15:10:31 -0700

From: 

KACVINSKY Tom <Tom.KACVINSKY at 3ds.com> <mailto:Tom.KACVINSKY at 3ds.com> 

To: 

ml-users at software.sandia.gov <ml-users at software.sandia.gov> <mailto:ml-users at software.sandia.gov> 





I need to use __stdcall calling conventions for the BLAS/LAPACK routines.

I am linking against the stdcall flavor of Intel's MKL.  I do not want to mix

and match the stdcall and cdecl runtimes which is what I would have to do

if I cannot force ML to use stdcall (stdcall for our code, cdecl fro ML).

 

Any ideas on how I should go about making these changes?

 

Tom

 

 

-- 
Jonathan J. Hu, mailto:jhu at sandia.gov
Postal address: Sandia National Laboratories
                Mailstop 9159
                PO Box 969, Livermore, CA 94551-0969
Tel / Fax (925) 294-2931 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20090121/7cfb0827/attachment-0001.html 


More information about the Trilinos-Users mailing list