[Trilinos-Users] [Fwd: use of __stdcall for BLAS/LAPACK routines in ML]
KACVINSKY Tom
Tom.KACVINSKY at 3ds.com
Wed Jan 21 13:44:23 MST 2009
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/aff779c4/attachment.html
More information about the Trilinos-Users
mailing list