comp.lang.ada
 help / color / mirror / Atom feed
From: Ada novice <shai.lesh@gmx.com>
Subject: Re: Free AMD Core Math Library (BLAS/LAPACK) + Ada
Date: Sun, 15 Jul 2012 09:05:49 -0700 (PDT)
Date: 2012-07-15T09:05:49-07:00	[thread overview]
Message-ID: <59292b3d-6912-4956-a760-f7fe94394467@googlegroups.com> (raw)
In-Reply-To: <m28velvz72.fsf@nidhoggr.home>

On Sunday, July 15, 2012 4:09:05 PM UTC+1, Simon Wright wrote:
> 
> 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 instead 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 post 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=/usr/lib/i386-linux-gnu/:/usr/lib/libblas/
export LIBRARY_PATH=/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-style=both -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/crtbegin.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-linux-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 

Thanks.
YC



  reply	other threads:[~2012-07-15 16:05 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-06 18:38 Free AMD Core Math Library (BLAS/LAPACK) + Ada Ada novice
2012-07-07 13:37 ` Charly
2012-07-07 14:01   ` Ada novice
2012-07-08  6:31     ` Charly
2012-07-08 12:22       ` Ada novice
2012-07-09 18:30         ` Charly
2012-07-09 21:15           ` Ada novice
2012-07-09 21:28             ` Ada novice
2012-07-09 21:36             ` Nasser M. Abbasi
2012-07-10  5:03               ` Ada novice
2012-07-10  9:35                 ` Brian Drummond
2012-07-10  9:51                   ` Nasser M. Abbasi
2012-07-10 12:29                     ` Ada novice
2012-07-10 20:02                       ` Ada novice
2012-07-10 21:48                         ` Nasser M. Abbasi
     [not found]                           ` <027286e8-2436-408a-acad-c1bbf42431f8@googlegroups.com>
2012-07-11 15:48                             ` Georg Bauhaus
2012-07-11 16:54                               ` Ada novice
2012-07-11 17:37                                 ` Simon Wright
2012-07-11 18:17                                 ` Nasser M. Abbasi
2012-07-11 19:14                                   ` Ada novice
2012-07-11  7:49                         ` Simon Wright
2012-07-11  9:47                           ` Ken Thomas
2012-07-11 19:30                             ` Simon Wright
2012-07-11 19:52                               ` Ada novice
2012-07-11 21:50                                 ` Nasser M. Abbasi
2012-07-12  6:34                                   ` Ada novice
2012-07-12  8:38                                     ` Simon Wright
2012-07-13 19:38                                       ` Ada novice
2012-07-14 14:25                                         ` Ada novice
2012-07-15  2:20                                           ` John B. Matthews
2012-07-15  7:41                                             ` Ada novice
2012-07-15 11:25                                               ` Simon Wright
2012-07-15 13:22                                                 ` Ada novice
2012-07-15 14:59                                                   ` Georg Bauhaus
2012-07-15 15:06                                                     ` Georg Bauhaus
2012-07-15 15:09                                                   ` Simon Wright
2012-07-15 16:05                                                     ` Ada novice [this message]
     [not found]                                                     ` <d21d15b6-424d-4e96-9457-43d53d9239b9@googlegroups.com>
2012-07-15 16:47                                                       ` Simon Wright
2012-07-15 17:03                                                         ` Ada novice
2012-07-15 17:42                                                         ` Ludovic Brenta
2012-07-15 18:41                                                           ` Simon Wright
2012-07-15 20:06                                                             ` Ludovic Brenta
2012-07-15 20:41                                                               ` Simon Wright
2012-07-15 21:24                                                                 ` Ada novice
2012-07-15 22:20                                                                   ` Simon Wright
2012-07-16  7:56                                                                     ` Ada novice
2012-07-16  9:27                                                                       ` Simon Wright
2012-07-16 11:15                                                                         ` Ada novice
     [not found]                                                                         ` <374bd898-5683-4350-8812-e3cae186ab2b@googlegroups.com>
2012-07-16 11:36                                                                           ` Simon Wright
2012-07-16 13:08                                                                             ` Ada novice
2012-07-16 19:51                                                                               ` Ludovic Brenta
     [not found]                                                                                 ` <cfd19c01-91e7-4e01-b2e8-e89f6c18764e@googlegroups.com>
2012-07-16 21:58                                                                                   ` Ludovic Brenta
2012-07-16 22:14                                                                                   ` Simon Wright
2012-07-24 13:09                                                                                     ` Ada novice
2012-07-24 13:54                                                                                       ` Nasser M. Abbasi
2012-07-24 14:18                                                                                         ` Simon Wright
2012-07-24 14:59                                                                                           ` Ada novice
     [not found]                                                                                           ` <1b104165-d8e4-4eb2-89ad-f6ac48bf2578@googlegroups.com>
2012-07-24 15:11                                                                                             ` Simon Wright
     [not found]                                                                                             ` <09au08pi7740v52v9237e79om6fpm2nllv@invalid.netcom.com>
2012-07-25  5:04                                                                                               ` Ada novice
2012-07-24 15:19                                                                                           ` Nasser M. Abbasi
2012-07-24 15:27                                                                                             ` Ada novice
2012-07-24 15:40                                                                                               ` Ada novice
2012-07-24 16:41                                                                                                 ` Nasser M. Abbasi
2012-07-24 17:36                                                                                                   ` Ada novice
2012-07-24 22:13                                                                                                     ` Nasser M. Abbasi
2012-07-25  5:36                                                                                                       ` Ada novice
2012-07-25  6:13                                                                                                         ` Nasser M. Abbasi
2012-07-25  8:56                                                                                                           ` Ada novice
2012-07-25  9:04                                                                                                             ` Nasser M. Abbasi
2012-07-25  9:16                                                                                                               ` Ada novice
2012-07-25  9:23                                                                                                                 ` Martin
2012-07-25 11:33                                                                                                                   ` Ada novice
2012-07-25  9:26                                                                                                             ` Georg Bauhaus
2012-07-25 11:37                                                                                                               ` Ada novice
2012-07-25 15:37                                                                                                                 ` Ada novice
2012-07-25 17:04                                                                                                                   ` Ada novice
2012-07-26 19:02                                                                                                                     ` Ada novice
2012-07-11 21:39                               ` Simon Wright
2012-07-10  9:32               ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox