Re: [BLACKBOX] ACML- LAPACK - Mersenne Twister

From: [at]} <Frans-Pieter>
Date: Sat, 22 Nov 2008 15:36:42 +0100

----boundary-LibPST-iamunique-1334186511_-_-
Content-type: text/plain

Hello Georgy,

Henk Koster has made Oberon-2 definition modules for LaPack and Blas.
Quote from the MODULE Lapack:

   "This module defines the interface from Oberon-2 to the C versions of
   the Fortran routines in the Lapack library. These routines also rely
   on the Blas library and on the GCC Fortran runtime library g2c. The
   order of the linked libraries in the header (reversed) is crucial --
   this results in "-lg2c -llapack -lblas" on the implied gcc command line."

This is the link to his website: http://www.xs4all.nl/~hajk/

Greets,

VONCK.Frans_Pieter
Qualified Identifier


> Hello Robert,
>
> thank you very much for sending the interfaces to Acml!
>
> My experience with AMD started during pre Athlon era with K6, K6-2 and so
> on. As some versions of Acml are compiled with Intel compiler (!), I think
> there should be no problem using the library with Intel CPUs.
> As for the use of Lib, I have Lib version from Cpc installed. And
> according
> to names the files you've send should also be installed in Lib Folder. So
> what would be the best way to go: should I remove the Cpc version of Lib,
> overwrite the existing Lib files, or do something else?
>
> Best regards,
> Georgy
> On Fri, Nov 21, 2008 at 4:03 PM, Robert
> <robert.campbell_{([at]})nowhere.xy
>
>> Georgy
>>
>> I attach below the files that interface to Acml.
>>
>> The two files you want to look at closely are the Module called AcmlDll;
>> these provide (and document) the actual DLL interface. It does not
>> interface
>> to all the Acml functions; just those I have used the most. It serves as
>> a
>> template for the other functions if you wish to extend it.
>>
>> I have included Lib misc for the simple (and rather trivial) reason that
>> it
>> includes the procedure required to make the hyperlinks in the Docu files
>> work.
>>
>> The DLL uses FORTRAN style TYPEs for things such as Complex Matrices.
>> Lib
>> defines these types differently. The Module Acml provides the interface
>> between the two, and my application code always calls Acml, not AcmlDll
>> directly.
>>
>> The Lib type definitions emphasise safety and convenience, rather than
>> speed. You may well want to use different definitions for, for example,
>> Complex Matrix. In this case you will want to write something different
>> to
>> Acml, but maybe using it as a template.
>>
>> The majority of the attached files are there simply to explain the Types
>> as
>> I have defined them in Lib.
>>
>>
>> The attached files are later versions than those published on Cpc. I
>> don't
>> guarantee that they can be mixed with other Lib files taken from Cpc.
>> (In
>> fact,
>> I don't guarantee anything!).
>>
>>
>> Let me know if you decide to use Acml.
>>
>> Regards
>>
>> Robert
>>
>>
>%3


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1334186511_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhlbGxvIEdlb3JneSxccGFyDQpccGFyDQpIZW5r
IEtvc3RlciBoYXMgbWFkZSBPYmVyb24tMiBkZWZpbml0aW9uIG1vZHVsZXMgZm9yIExhUGFjayBh
bmQgQmxhcy5ccGFyDQpRdW90ZSBmcm9tIHRoZSBNT0RVTEUgTGFwYWNrOlxwYXINClxwYXINCiAg
ICJUaGlzIG1vZHVsZSBkZWZpbmVzIHRoZSBpbnRlcmZhY2UgZnJvbSBPYmVyb24tMiB0byB0aGUg
QyB2ZXJzaW9ucyBvZlxwYXINCiAgIHRoZSBGb3J0cmFuIHJvdXRpbmVzIGluIHRoZSBMYXBhY2sg
bGlicmFyeS4gVGhlc2Ugcm91dGluZXMgYWxzbyByZWx5XHBhcg0KICAgb24gdGhlIEJsYXMgbGli
cmFyeS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