From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,222ed89632aabb93 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.196.232 with SMTP id ip8mr22469395pbc.6.1341868526416; Mon, 09 Jul 2012 14:15:26 -0700 (PDT) Path: l9ni11236pbj.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Ada novice Newsgroups: comp.lang.ada Subject: Re: Free AMD Core Math Library (BLAS/LAPACK) + Ada Date: Mon, 9 Jul 2012 14:15:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0c159836-b4b9-4861-85cd-e3e61e94f8bc@googlegroups.com> References: <41b74e89-f112-4791-883d-236080652dbf@googlegroups.com> <2565f27a-48d1-4000-978d-c3946154ea32@googlegroups.com> <212027fd-e3a3-45cc-b594-df6a4ae96138@googlegroups.com> NNTP-Posting-Host: 193.11.21.204 Mime-Version: 1.0 X-Trace: posting.google.com 1341868526 22406 127.0.0.1 (9 Jul 2012 21:15:26 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 9 Jul 2012 21:15:26 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=193.11.21.204; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I User-Agent: G2/1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2012-07-09T14:15:26-07:00 List-Id: On Monday, July 9, 2012 7:30:50 PM UTC+1, Charly wrote: >=20 > and for the blas example >=20 > gnatmake example1.adb -largs -lada_blas -lacml >=20 >=20 > I think at least the -lacml is missing in your command line. Thanks. This is what I am doing. If we just look at the blas binding, I've = unzipped the contents in this directory: E:\learnsof\ada\Ada_BLAS> I have ACML installed in: C:\AMD\acml4.4.0\ Before that I put the ACML folder in the windows environment path and also = the current folder of the blas in the path. Just to be sure, I again do thi= s when I am at the command prompt: E:\learnsof\ada\Ada_BLAS>PATH=3D"C:\AMD\acml4.4.0\ifort32\lib\libacml_dll.l= ib";"E:\learnsof\ada\Ada_BLAS";%PATH% Then I run E:\learnsof\ada\Ada_BLAS>gnatmake example1.adb -largs -L. -lacml gnatbind -x example1.ali gnatlink example1.ali -lblas -L. -lacml c:/gnat/2011/bin/../libexec/gcc/i686-pc-mingw32/4.5.3/ld.exe: cannot find -= lacml collect2: ld returned 1 exit status gnatlink: error when calling C:\GNAT\2011\bin\gcc.exe gnatmake: *** link failed. And it complains that it cannot find -lacml I have 2 questions (not related to windows hopefully): 1. You issued the command: gnatmake example1.adb -largs -lada_blas -lacml=20 About the -lada_blas, is ada_blas the FOLDER name for the blas binding? I u= se -l. after getting into the directory of my Ada_BLAS so that the current = directory is specified with the dot "." . 2. I have been looking at the ACML manual but cannot find good information.= Under Linux, do you have a method to test that your ACML is working withou= t using it like above with gnatmake? For me -lacml was not recognised and I= do not have a way to know if my ACML is installed correctly or not? Thanks. YC