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.227.67 with SMTP id ry3mr7351114pbc.8.1342368350048; Sun, 15 Jul 2012 09:05:50 -0700 (PDT) Path: l9ni11846pbj.0!nntp.google.com!news1.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: Sun, 15 Jul 2012 09:05:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: <59292b3d-6912-4956-a760-f7fe94394467@googlegroups.com> References: <41b74e89-f112-4791-883d-236080652dbf@googlegroups.com> <0c159836-b4b9-4861-85cd-e3e61e94f8bc@googlegroups.com> <99901f55-e61a-4808-a442-1a62e625cd2e@googlegroups.com> <37b4ba31-245e-44d1-9183-5c3367c88101@googlegroups.com> <2db42c1b-cfd4-4a6f-9e0c-ce269ddf00c5@googlegroups.com> <7cadf109-e24a-45eb-9d7c-354d8899eec4@googlegroups.com> <3f14ee5a-d055-4252-ab45-7ca512a23fac@googlegroups.com> <9cc53435-3c7f-4443-8209-5137b9377aca@googlegroups.com> <583b29e2-3f75-4b0a-8f1a-802b3d6e502c@googlegroups.com> <34139f6f-5905-4c9e-a873-0b2445a1fccd@googlegroups.com> NNTP-Posting-Host: 193.11.21.204 Mime-Version: 1.0 X-Trace: posting.google.com 1342368349 26814 127.0.0.1 (15 Jul 2012 16:05:49 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 15 Jul 2012 16:05:49 +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-15T09:05:49-07:00 List-Id: On Sunday, July 15, 2012 4:09:05 PM UTC+1, Simon Wright wrote: >=20 > You must have some unsatisfactory-for-programmers font that makes it > hard to distinguish lowercase-ell from capital-eye Thanks for your inputs George and Simon. Yes I did type I as in I-Robot ins= tead of ell. Ok, this is what I have: apt-cache policy liblapack3gf gives liblapack3gf: Installed: 3.3.1-1 Candidate: 3.3.1-1 apt-cache policy libblas3gf gives libblas3gf: Installed: 1.2.20110419-2 Candidate: 1.2.20110419-2 and now I locate libblas: locate libblas /etc/alternatives/libblas.so.3gf /usr/lib/libblas /usr/lib/libblas.so.3gf /usr/lib/atlas-base/atlas/libblas.so.3gf /usr/lib/atlas-base/atlas/libblas.so.3gf.0 /usr/lib/libblas/libblas.so.3gf /usr/lib/libblas/libblas.so.3gf.0 /usr/share/doc/libblas3gf /usr/share/doc/libblas3gf/README.Debian.gz /usr/share/doc/libblas3gf/blas.patch.gz /usr/share/doc/libblas3gf/changelog.Debian.gz /usr/share/doc/libblas3gf/copyright /usr/share/doc/libblas3gf/test_results.gz /var/lib/dpkg/alternatives/libblas.so.3gf /var/lib/dpkg/info/libblas3gf.list /var/lib/dpkg/info/libblas3gf.md5sums /var/lib/dpkg/info/libblas3gf.postinst /var/lib/dpkg/info/libblas3gf.postrm /var/lib/dpkg/info/libblas3gf.prerm /var/lib/dpkg/info/libblas3gf.shlibs Simon, I do not have libblas.a and libblas.so as you wrote in your last pos= t that I should. Now I do not make reference to ATLAS. So I modified my .bashrc as follows: cat $HOME/.bashrc export LD_LIBRARY_PATH=3D/usr/lib/i386-linux-gnu/:/usr/lib/libblas/ export LIBRARY_PATH=3D/usr/lib/i386-linux-gnu/:/usr/lib/libblas/ and I see the folder /usr/lib/libblas has the following files: libblas.so.3gf and libblas.so.3gf.0 and echo $LIBRARY_PATH gives /usr/lib/i386-linux-gnu/:/usr/lib/libblas/ Then on compiling: gnatmake *.adb -largs -Wl,-v -lblas gnatbind -x example1.ali gnatlink example1.ali -Wl,-v -lblas collect2 version 4.4.6 (i386 Linux/ELF) /usr/bin/ld --build-id --no-add-needed --eh-frame-hdr -m elf_i386 --hash-st= yle=3Dboth -dynamic-linker /lib/ld-linux.so.2 -o example1 /usr/lib/gcc/i486= -linux-gnu/4.4.6/../../../i386-linux-gnu/crt1.o /usr/lib/gcc/i486-linux-gnu= /4.4.6/../../../i386-linux-gnu/crti.o /usr/lib/gcc/i486-linux-gnu/4.4.6/crt= begin.o -L./ -L/usr/lib/gcc/i486-linux-gnu/4.4/adalib/ -L/usr/lib/gcc/i486-= linux-gnu/4.4.6 -L/usr/lib/gcc/i486-linux-gnu/4.4.6 -L/usr/lib/gcc/i486-lin= ux-gnu/4.4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i486-linux-gnu/4.4.6/..= /../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu= -L/usr/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/libblas -L/usr/lib/= gcc/i486-linux-gnu/4.4.6/../../.. b~example1.o ./ada_blas.o ./ada_blas-real= .o ./example_support.o ./example1.o -v -lblas -lgnat-4.4 -lgcc_s -lgcc -lc = -lgcc_s -lgcc /usr/lib/gcc/i486-linux-gnu/4.4.6/crtend.o /usr/lib/gcc/i486-= linux-gnu/4.4.6/../../../i386-linux-gnu/crtn.o GNU ld (GNU Binutils for Debian) 2.22 /usr/bin/ld: cannot find -lblas collect2: ld returned 1 exit status gnatlink: error when calling /usr/bin/gcc-4.4 gnatmake: *** link failed. So what should I do next? Should I uninstall ATLAS completely? Is the following a neat uninstall? : apt-get autoremove libatlas3gf-base=20 Thanks. YC