* [gentoo-science] blas/lapack stuff @ 2011-10-11 4:42 Andrey G. Grozin 2011-10-11 7:43 ` Andrea Arteaga 2011-10-11 9:25 ` My Th 0 siblings, 2 replies; 20+ messages in thread From: Andrey G. Grozin @ 2011-10-11 4:42 UTC (permalink / raw To: gentoo-science Hello *, I use the science overlay, and for quite some time I have problems with blas/lapack. Each attempt to emerge -uD @world produces something like ================================================================================ [blocks B ] app-admin/eselect-blas ("app-admin/eselect-blas" is blocking sci-libs/lapack-reference-3.3.1-r1, sci-libs/gsl-1.15-r1, sci-libs/blas-reference-20110418) [blocks B ] app-admin/eselect-cblas ("app-admin/eselect-cblas" is blocking sci-libs/lapack-reference-3.3.1-r1, sci-libs/gsl-1.15-r1, sci-libs/blas-reference-20110418) [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" is blocking sci-libs/lapack-reference-3.3.1-r1, sci-libs/gsl-1.15-r1, sci-libs/blas-reference-20110418) Total: 21 packages (21 upgrades), Size of downloads: 19,795 kB Conflict: 4 blocks (3 unsatisfied) Portage tree and overlays: [0] /usr/portage [1] /var/lib/layman/science * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sci-libs/lapack-reference-3.3.1-r1::science, ebuild scheduled for merge) pulled in by >=sci-libs/lapack-reference-3.3 required by (virtual/lapack-3.3::science, ebuild scheduled for merge) (app-admin/eselect-cblas-0.1::gentoo, installed) pulled in by app-admin/eselect-cblas required by (sci-libs/blas-atlas-3.9.23-r4::gentoo, installed) (sci-libs/blas-reference-20110418::science, ebuild scheduled for merge) pulled in by >=sci-libs/blas-reference-20110417 required by (virtual/blas-2.1::science, ebuild scheduled for merge) (app-admin/eselect-blas-0.1::gentoo, installed) pulled in by app-admin/eselect-blas required by (sci-libs/blas-atlas-3.9.23-r4::gentoo, installed) (sci-libs/gsl-1.15-r1::science, ebuild scheduled for merge) pulled in by sci-libs/gsl required by (sci-mathematics/giac-0.9.3::grozin, installed) sci-libs/gsl required by (sci-libs/mathgl-1.11.2::gentoo, installed) sci-libs/gsl required by (sci-libs/tamu_anova-0.2.1::gentoo, installed) sci-libs/gsl required by (sci-visualization/qtiplot-0.9.8.8::gentoo, installed) sci-libs/gsl required by (media-gfx/asymptote-2.13::grozin, installed) sci-libs/gsl required by (media-gfx/inkscape-0.48.2::gentoo, installed) sci-libs/gsl required by (app-office/kspread-2.3.3::gentoo, installed) >=sci-libs/gsl-1.10 required by (sci-visualization/pyxplot-0.8.4::gentoo, installed) >=sci-libs/gsl-1.14-r2 required by (virtual/cblas-2.0::science, ebuild scheduled for merge) (app-admin/eselect-lapack-0.1::gentoo, installed) pulled in by app-admin/eselect-lapack required by (sci-libs/lapack-atlas-3.9.23-r3::gentoo, installed) ================================================================================ Any ideas? Andrey ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2011-10-11 4:42 [gentoo-science] blas/lapack stuff Andrey G. Grozin @ 2011-10-11 7:43 ` Andrea Arteaga 2011-12-21 10:39 ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin 2012-09-26 3:09 ` [gentoo-science] blas/lapack stuff Andrey G. Grozin 2011-10-11 9:25 ` My Th 1 sibling, 2 replies; 20+ messages in thread From: Andrea Arteaga @ 2011-10-11 7:43 UTC (permalink / raw To: gentoo-science Hello Andrey, the (c)blas/lapack framework has changed a bit. The eselect-blas, eselect-lapack, eselect-* packages are now deprecated. In order to access the new versions of these libraries and the new eselect package you have to remove the old ones (I mean eselect-*), install eselect-1.2.18-r1, blas-reference-20110418 (or any other implementation of your choice, like atlas of openblas). In general, you can safely emerge the blas implementations listed in virtual/blas [1], virtual/cblas, virtual/lapack,... Notice that most of these packages are ~keyworded, so if you want to stay with stable packages you will be unable to install the newest versions of blas and lapack, as they need the patched eselect. Also notice that now atlas-3.9.* provides blas, cblas and lapack; blas-atlas, cblas-atlas are not needed anymore. This also applies to blacs, lapacke, scalapack, mpi. Cheers Andrea [1] http://goo.gl/P8wPN ^ permalink raw reply [flat|nested] 20+ messages in thread
* [gentoo-science] sci-mathematics/reduce on amd64 2011-10-11 7:43 ` Andrea Arteaga @ 2011-12-21 10:39 ` Andrey G. Grozin 2011-12-21 11:01 ` Kacper Kowalik 2012-09-26 3:09 ` [gentoo-science] blas/lapack stuff Andrey G. Grozin 1 sibling, 1 reply; 20+ messages in thread From: Andrey G. Grozin @ 2011-12-21 10:39 UTC (permalink / raw To: gentoo-science Hello *, Could somebody with amd64 check if sci-mathematics/reduce-20110414 compiles on this arch? You'll have to keyword it. Upstream says it should compile. Andrey ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] sci-mathematics/reduce on amd64 2011-12-21 10:39 ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin @ 2011-12-21 11:01 ` Kacper Kowalik 2011-12-21 11:13 ` Miguel de Val-Borro 0 siblings, 1 reply; 20+ messages in thread From: Kacper Kowalik @ 2011-12-21 11:01 UTC (permalink / raw To: gentoo-science [-- Attachment #1: Type: text/plain, Size: 492 bytes --] On 12/21/11 11:39, Andrey G. Grozin wrote: > Hello *, > > Could somebody with amd64 check if sci-mathematics/reduce-20110414 > compiles on this arch? You'll have to keyword it. Upstream says it > should compile. It does and passes test suite. Though it doesn't respect libdir: /dev/shm/portage/sci-mathematics/reduce-20110414/image/usr/lib/reduce/reduce.fonts/README Judging by the content it shouldn't be libdir in the first place, rather /usr/share... Cheers, Kacper [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 900 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] sci-mathematics/reduce on amd64 2011-12-21 11:01 ` Kacper Kowalik @ 2011-12-21 11:13 ` Miguel de Val-Borro 2011-12-21 13:53 ` Andrey G. Grozin 2011-12-21 14:35 ` Christopher Schwan 0 siblings, 2 replies; 20+ messages in thread From: Miguel de Val-Borro @ 2011-12-21 11:13 UTC (permalink / raw To: gentoo-science On Wed, Dec 21, 2011 at 12:01:18PM +0100, Kacper Kowalik wrote: > On 12/21/11 11:39, Andrey G. Grozin wrote: > > Hello *, > > > > Could somebody with amd64 check if sci-mathematics/reduce-20110414 > > compiles on this arch? You'll have to keyword it. Upstream says it > > should compile. > > It does and passes test suite. Though it doesn't respect libdir: > > /dev/shm/portage/sci-mathematics/reduce-20110414/image/usr/lib/reduce/reduce.fonts/README > > Judging by the content it shouldn't be libdir in the first place, rather > /usr/share... There is also a warning about an unrecognized configure option: configure: WARNING: unrecognized options: --with-gui Here is the full build log on amd64: http://paste.pocoo.org/show/523967/ Miguel ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] sci-mathematics/reduce on amd64 2011-12-21 11:13 ` Miguel de Val-Borro @ 2011-12-21 13:53 ` Andrey G. Grozin 2011-12-21 14:24 ` Burcin Erocal 2011-12-21 14:35 ` Christopher Schwan 1 sibling, 1 reply; 20+ messages in thread From: Andrey G. Grozin @ 2011-12-21 13:53 UTC (permalink / raw To: Miguel de Val-Borro; +Cc: gentoo-science On Wed, 21 Dec 2011, Miguel de Val-Borro wrote: > There is also a warning about an unrecognized configure option: > configure: WARNING: unrecognized options: --with-gui This package is a QA nightmare :-( It bundles modified sources of x11-libs/fox (it does not compile with the system fox). First, it compiles this bundled fox, and installs it somewhere inside the build tree. Then it configures csl (and thus finds this freshly installed fox) and compiles it. Then it compiles reduce with csl. During this process, autoconf is called from make ("maintainer mode") many times. And each time, the arguments of the top-level configure are passed to all configure scripts in subdirectories. --with-gui is needed by one configure script (this is controlled by the USE flag X; with -X, fox is not built, and csl and reduce work at the command line only). But this --with-gui is passed to all configure scripts in various directories (fox sources, for example), and these scripts don't recognize this option. Ugly, but this works. > Here is the full build log on amd64: > http://paste.pocoo.org/show/523967/ Many thanks. Looks OK. I really want reduce to become more popular. There are only 3 free computer algebra systems: maxima, reduce, axiom (I don't count toys like yacas; and axiom has forked into axiom, openaxiom, and fricas). reduce is mature (from late 60s), powerful and very efficient. So, I have to live somehow with the weirdness of its current build system. I suppose I can keyword it ~amd64, so that more users will have a chance to install it. Andrey ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] sci-mathematics/reduce on amd64 2011-12-21 13:53 ` Andrey G. Grozin @ 2011-12-21 14:24 ` Burcin Erocal 2011-12-21 14:57 ` Andrey G. Grozin 0 siblings, 1 reply; 20+ messages in thread From: Burcin Erocal @ 2011-12-21 14:24 UTC (permalink / raw To: gentoo-science On Wed, 21 Dec 2011 20:53:27 +0700 (NOVT) "Andrey G. Grozin" <A.G.Grozin@inp.nsk.su> wrote: > I really want reduce to become more popular. There are only 3 free > computer algebra systems: maxima, reduce, axiom (I don't count toys > like yacas; and axiom has forked into axiom, openaxiom, and fricas). > reduce is mature (from late 60s), powerful and very efficient. So, I > have to live somehow with the weirdness of its current build system. There is also Sage: http://sagemath.org/ It's far from a "toy" or a specialized system (such as pari/gp, Singular, Macaulay2, etc.). So it should be mentioned. Cheers, Burcin ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] sci-mathematics/reduce on amd64 2011-12-21 14:24 ` Burcin Erocal @ 2011-12-21 14:57 ` Andrey G. Grozin 0 siblings, 0 replies; 20+ messages in thread From: Andrey G. Grozin @ 2011-12-21 14:57 UTC (permalink / raw To: gentoo-science On Wed, 21 Dec 2011, Burcin Erocal wrote: > There is also Sage: > > http://sagemath.org/ > > It's far from a "toy" or a specialized system (such as pari/gp, > Singular, Macaulay2, etc.). So it should be mentioned. Of course, it's not a toy. To a large degree, it's a large collection of existing software, "Gentoo of maths", with its own package system. And it includes maxima, fricas, pari/gp, gap, singular, R, and many other systems. They are all integrated together to some degree, so, sage is somewhere in between a monolythic CAS (maxima, reduce, fricas,...) and just a collection. It would be interesting to make reduce one of its packages, too. Andrey ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] sci-mathematics/reduce on amd64 2011-12-21 11:13 ` Miguel de Val-Borro 2011-12-21 13:53 ` Andrey G. Grozin @ 2011-12-21 14:35 ` Christopher Schwan 1 sibling, 0 replies; 20+ messages in thread From: Christopher Schwan @ 2011-12-21 14:35 UTC (permalink / raw To: gentoo-science On Wednesday 21 December 2011 12:13:17 Miguel de Val-Borro wrote: > On Wed, Dec 21, 2011 at 12:01:18PM +0100, Kacper Kowalik wrote: > > On 12/21/11 11:39, Andrey G. Grozin wrote: > > > Hello *, > > > > > > Could somebody with amd64 check if sci-mathematics/reduce-20110414 > > > compiles on this arch? You'll have to keyword it. Upstream says it > > > should compile. > > > > It does and passes test suite. Though it doesn't respect libdir: > > > > /dev/shm/portage/sci-mathematics/reduce-20110414/image/usr/lib/reduce/re > > duce.fonts/README > > > > Judging by the content it shouldn't be libdir in the first place, rather > > /usr/share... > > There is also a warning about an unrecognized configure option: > configure: WARNING: unrecognized options: --with-gui > > Here is the full build log on amd64: > http://paste.pocoo.org/show/523967/ > > Miguel I also experienced a (random) build failure, see http://paste.pocoo.org/show/524020/ . I guess the build failure is caused by parallel make, using MAKEOPTS=-j1 I was able to compile reduce. This showed some QA failures, see http://paste.pocoo.org/show/524007/ . Christopher ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2011-10-11 7:43 ` Andrea Arteaga 2011-12-21 10:39 ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin @ 2012-09-26 3:09 ` Andrey G. Grozin 2012-09-26 5:52 ` Kacper Kowalik 1 sibling, 1 reply; 20+ messages in thread From: Andrey G. Grozin @ 2012-09-26 3:09 UTC (permalink / raw To: gentoo-science Hello *, I don't understand how the blas stuff (from the science overlay) works. I have blas-reference and atlas (and also eigen) installed, atlas eselected. But /usr/lib/libblas.so is a file (not symlink) owned by blas-reference. So, a program demanding -lblas will be linked to this library from blas-reference, right? And what eselect blas then is doing? This question is related to the new gsl-shell package. Its Makefile just says -lblas. It works on my computer (linking to /usr/lib/libblas.so from blas-reference, I suppose). But what should I write as the dependency? virtual/blas? (docs say that atlas should be OK). Thanks in advance, Andrey ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-09-26 3:09 ` [gentoo-science] blas/lapack stuff Andrey G. Grozin @ 2012-09-26 5:52 ` Kacper Kowalik 2012-09-26 11:20 ` Francois Bissey 0 siblings, 1 reply; 20+ messages in thread From: Kacper Kowalik @ 2012-09-26 5:52 UTC (permalink / raw To: gentoo-science [-- Attachment #1: Type: text/plain, Size: 778 bytes --] On 09/26/2012 05:09 AM, Andrey G. Grozin wrote: > Hello *, > > I don't understand how the blas stuff (from the science overlay) works. > I have blas-reference and atlas (and also eigen) installed, atlas > eselected. But /usr/lib/libblas.so is a file (not symlink) owned by > blas-reference. So, a program demanding -lblas will be linked to this > library from blas-reference, right? And what eselect blas then is doing? > > This question is related to the new gsl-shell package. Its Makefile just > says -lblas. It works on my computer (linking to /usr/lib/libblas.so > from blas-reference, I suppose). But what should I write as the > dependency? virtual/blas? (docs say that atlas should be OK). Change -lblas into $(pkg-config --libs blas) Cheers, Kacper [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 900 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-09-26 5:52 ` Kacper Kowalik @ 2012-09-26 11:20 ` Francois Bissey 2012-09-26 14:09 ` Sébastien Fabbro 0 siblings, 1 reply; 20+ messages in thread From: Francois Bissey @ 2012-09-26 11:20 UTC (permalink / raw To: gentoo-science On 26/09/12 17:52, Kacper Kowalik wrote: > On 09/26/2012 05:09 AM, Andrey G. Grozin wrote: >> Hello *, >> >> I don't understand how the blas stuff (from the science overlay) works. >> I have blas-reference and atlas (and also eigen) installed, atlas >> eselected. But /usr/lib/libblas.so is a file (not symlink) owned by >> blas-reference. So, a program demanding -lblas will be linked to this >> library from blas-reference, right? And what eselect blas then is doing? >> >> This question is related to the new gsl-shell package. Its Makefile just >> says -lblas. It works on my computer (linking to /usr/lib/libblas.so >> from blas-reference, I suppose). But what should I write as the >> dependency? virtual/blas? (docs say that atlas should be OK). > Change -lblas into $(pkg-config --libs blas) > Cheers, > Kacper > Just to add to Kacper's answer. eselect changes the link to the blas pkg-config file. Any ebuild using blas/cblas/lapack should be configured using the values from pkg-config. If Sebastian had pushed it a little bit more we could have had /usr/lib(64)/libblas-reference.so and no libblas whatsoever. Which may be an idea just to catch packages that just do -lblas. Francois ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-09-26 11:20 ` Francois Bissey @ 2012-09-26 14:09 ` Sébastien Fabbro 2012-10-10 12:28 ` denis cohen 0 siblings, 1 reply; 20+ messages in thread From: Sébastien Fabbro @ 2012-09-26 14:09 UTC (permalink / raw To: gentoo-science On Wed, Sep 26, 2012 at 4:20 AM, Francois Bissey <fbissey@slingshot.co.nz> wrote: > If Sebastian had pushed it a little bit more we could have had > /usr/lib(64)/libblas-reference.so and no libblas whatsoever. Which may > be an idea just to catch packages that just do -lblas. Which I did for ealier versions of {blas,lapack}-reference, it use to link to -lrefblas and -lreflapack. I'll fix this again. -- Sébastien ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-09-26 14:09 ` Sébastien Fabbro @ 2012-10-10 12:28 ` denis cohen 2012-10-10 15:10 ` justin 0 siblings, 1 reply; 20+ messages in thread From: denis cohen @ 2012-10-10 12:28 UTC (permalink / raw To: gentoo-science On Wed, Sep 26, 2012 at 4:09 PM, Sébastien Fabbro <bicatali@gentoo.org> wrote: > On Wed, Sep 26, 2012 at 4:20 AM, Francois Bissey > <fbissey@slingshot.co.nz> wrote: > >> If Sebastian had pushed it a little bit more we could have had >> /usr/lib(64)/libblas-reference.so and no libblas whatsoever. Which may >> be an idea just to catch packages that just do -lblas. > > Which I did for ealier versions of {blas,lapack}-reference, it use to > link to -lrefblas and -lreflapack. > I'll fix this again. > > -- > Sébastien > Hello, I have installed sci-libs/blas-cblas-lapack and also sci-libs/atlas as mentioned in an earlier email. However, I can't eselect which flavor of blas-cblas-lapack to use because eselect does not find these modules, i.e. # eselect lapack list !!! Error: Can't load module lapack exiting If I try to emerge eselect-lapack for example I get: # emerge -vp eselect-lapack These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-admin/eselect-lapack-0.1 0 kB [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, sci-libs/lapack-reference-3.3.1-r1) Total: 1 package (1 new), Size of downloads: 0 kB Conflict: 1 block (1 unsatisfied) * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (sci-libs/cblas-reference-20110218::science, installed) pulled in by sci-libs/cblas-reference required by @selected (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) pulled in by eselect-lapack (sci-libs/atlas-3.10.0::science, installed) pulled in by sci-libs/atlas required by @selected For more information about Blocked Packages, please refer to the following section of the Gentoo Linux x86 Handbook (architecture is irrelevant): http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked I'd like to select the right packages. Any help appreciated. Thanks Denis ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-10-10 12:28 ` denis cohen @ 2012-10-10 15:10 ` justin 2012-10-26 21:53 ` Thomas Kahle 0 siblings, 1 reply; 20+ messages in thread From: justin @ 2012-10-10 15:10 UTC (permalink / raw To: gentoo-science [-- Attachment #1: Type: text/plain, Size: 2486 bytes --] On 10/10/12 14:28, denis cohen wrote: > On Wed, Sep 26, 2012 at 4:09 PM, Sébastien Fabbro <bicatali@gentoo.org> wrote: >> On Wed, Sep 26, 2012 at 4:20 AM, Francois Bissey >> <fbissey@slingshot.co.nz> wrote: >> >>> If Sebastian had pushed it a little bit more we could have had >>> /usr/lib(64)/libblas-reference.so and no libblas whatsoever. Which may >>> be an idea just to catch packages that just do -lblas. >> >> Which I did for ealier versions of {blas,lapack}-reference, it use to >> link to -lrefblas and -lreflapack. >> I'll fix this again. >> >> -- >> Sébastien >> > > > Hello, > > I have installed sci-libs/blas-cblas-lapack > and also sci-libs/atlas > as mentioned in an earlier email. > However, I can't eselect which flavor of blas-cblas-lapack to use > because eselect does not find these modules, i.e. > > # eselect lapack list > !!! Error: Can't load module lapack > exiting > > If I try to emerge eselect-lapack for example I get: > > # emerge -vp eselect-lapack > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild N ] app-admin/eselect-lapack-0.1 0 kB > [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" > is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, > sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, > sci-libs/lapack-reference-3.3.1-r1) > > Total: 1 package (1 new), Size of downloads: 0 kB > Conflict: 1 block (1 unsatisfied) > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > (sci-libs/cblas-reference-20110218::science, installed) pulled in by > sci-libs/cblas-reference required by @selected > > (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) > pulled in by > eselect-lapack > > (sci-libs/atlas-3.10.0::science, installed) pulled in by > sci-libs/atlas required by @selected > > > For more information about Blocked Packages, please refer to the following > section of the Gentoo Linux x86 Handbook (architecture is irrelevant): > > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked > > > > I'd like to select the right packages. Any help appreciated. > > Thanks > > Denis > Hi, do you have the eselect version from the sci overlay installed? Only that one is able to eslect blas for you correctly. juistin [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 299 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-10-10 15:10 ` justin @ 2012-10-26 21:53 ` Thomas Kahle 2012-10-27 8:50 ` Francois Bissey 0 siblings, 1 reply; 20+ messages in thread From: Thomas Kahle @ 2012-10-26 21:53 UTC (permalink / raw To: gentoo-science [-- Attachment #1: Type: text/plain, Size: 1699 bytes --] On 17:10 Wed 10 Oct 2012, justin wrote: [..] > > Calculating dependencies... done! > > [ebuild N ] app-admin/eselect-lapack-0.1 0 kB > > [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" > > is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, > > sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, > > sci-libs/lapack-reference-3.3.1-r1) > > > > Total: 1 package (1 new), Size of downloads: 0 kB > > Conflict: 1 block (1 unsatisfied) > > > > * Error: The above package list contains packages which cannot be > > * installed at the same time on the same system. > > > > (sci-libs/cblas-reference-20110218::science, installed) pulled in by > > sci-libs/cblas-reference required by @selected > > > > (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) > > pulled in by > > eselect-lapack > > > > (sci-libs/atlas-3.10.0::science, installed) pulled in by > > sci-libs/atlas required by @selected > > > > > do you have the eselect version from the sci overlay installed? Only > that one is able to eslect blas for you correctly. I'm using this eselect version and I have lapack reference-3.4.2 installed and eselected. Still I get: # pkg-config --libs lapack Package lapack was not found in the pkg-config search path. Perhaps you should add the directory containing `lapack.pc' to the PKG_CONFIG_PATH environment variable No package 'lapack' found Which makes packages depending on lapack checks during configure fail. Any ideas? Cheers, Thomas -- Thomas Kahle http://dev.gentoo.org/~tomka/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 316 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-10-26 21:53 ` Thomas Kahle @ 2012-10-27 8:50 ` Francois Bissey 2012-10-27 17:42 ` Thomas Kahle 0 siblings, 1 reply; 20+ messages in thread From: Francois Bissey @ 2012-10-27 8:50 UTC (permalink / raw To: gentoo-science On 27/10/12 10:53, Thomas Kahle wrote: > On 17:10 Wed 10 Oct 2012, justin wrote: > [..] > >>> Calculating dependencies... done! >>> [ebuild N ] app-admin/eselect-lapack-0.1 0 kB >>> [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" >>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, >>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, >>> sci-libs/lapack-reference-3.3.1-r1) >>> >>> Total: 1 package (1 new), Size of downloads: 0 kB >>> Conflict: 1 block (1 unsatisfied) >>> >>> * Error: The above package list contains packages which cannot be >>> * installed at the same time on the same system. >>> >>> (sci-libs/cblas-reference-20110218::science, installed) pulled in by >>> sci-libs/cblas-reference required by @selected >>> >>> (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) >>> pulled in by >>> eselect-lapack >>> >>> (sci-libs/atlas-3.10.0::science, installed) pulled in by >>> sci-libs/atlas required by @selected >>> >>> > >> do you have the eselect version from the sci overlay installed? Only >> that one is able to eslect blas for you correctly. > > I'm using this eselect version and I have lapack reference-3.4.2 > installed and eselected. Still I get: > > # pkg-config --libs lapack > Package lapack was not found in the pkg-config search path. > Perhaps you should add the directory containing `lapack.pc' > to the PKG_CONFIG_PATH environment variable > No package 'lapack' found > > Which makes packages depending on lapack checks during configure fail. > > Any ideas > First of, supposing you are on amd64, does /usr/lib64/pkgconfig/lapack.pc exist? It should be a link pointing to ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc itself a link to /usr/lib64/pkgconfig/reflapack.pc It is possible that some of these links have not been created properly. There used to be bug about it on prefix (I don't know if anyone improved my prefix bandaid). There is also the possibility that remnant from the non-sci overlay mechanism interfere. Francois ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-10-27 8:50 ` Francois Bissey @ 2012-10-27 17:42 ` Thomas Kahle 2012-10-27 18:27 ` Francois Bissey 0 siblings, 1 reply; 20+ messages in thread From: Thomas Kahle @ 2012-10-27 17:42 UTC (permalink / raw To: gentoo-science [-- Attachment #1: Type: text/plain, Size: 2996 bytes --] On 21:50 Sat 27 Oct 2012, Francois Bissey wrote: > On 27/10/12 10:53, Thomas Kahle wrote: > > On 17:10 Wed 10 Oct 2012, justin wrote: > > [..] > > > >>> Calculating dependencies... done! > >>> [ebuild N ] app-admin/eselect-lapack-0.1 0 kB > >>> [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" > >>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, > >>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, > >>> sci-libs/lapack-reference-3.3.1-r1) > >>> > >>> Total: 1 package (1 new), Size of downloads: 0 kB > >>> Conflict: 1 block (1 unsatisfied) > >>> > >>> * Error: The above package list contains packages which cannot be > >>> * installed at the same time on the same system. > >>> > >>> (sci-libs/cblas-reference-20110218::science, installed) pulled in by > >>> sci-libs/cblas-reference required by @selected > >>> > >>> (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) > >>> pulled in by > >>> eselect-lapack > >>> > >>> (sci-libs/atlas-3.10.0::science, installed) pulled in by > >>> sci-libs/atlas required by @selected > >>> > >>> > > > >> do you have the eselect version from the sci overlay installed? Only > >> that one is able to eslect blas for you correctly. > > > > I'm using this eselect version and I have lapack reference-3.4.2 > > installed and eselected. Still I get: > > > > # pkg-config --libs lapack > > Package lapack was not found in the pkg-config search path. > > Perhaps you should add the directory containing `lapack.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'lapack' found > > > > Which makes packages depending on lapack checks during configure fail. > > > > Any ideas > > > > First of, supposing you are on amd64, does > /usr/lib64/pkgconfig/lapack.pc > exist? It should be a link pointing to > ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc > itself a link to /usr/lib64/pkgconfig/reflapack.pc Yes, it exists, but no it is a symlink to the wrong pc file: $ ls -ahl /usr/lib64/pkgconfig/lapack.pc lrwxrwxrwx 1 root root 77 Oct 26 15:19 /usr/lib64/pkgconfig/lapack.pc -> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc Which package is to provide this symlink? It seems that it is a stale symlink from before -llapack was renamed to -lreflapack recently? I'm experimenting with the different implementations, it is entirely possible that I'm in some undefined state. Now, how to fix it? Thanks! Thomas > It is possible that some of these links have not been created properly. > There used to be bug about it on prefix (I don't know if anyone improved > my prefix bandaid). There is also the possibility that remnant from the > non-sci overlay mechanism interfere. > > Francois > > -- Thomas Kahle http://dev.gentoo.org/~tomka/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 316 bytes --] ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2012-10-27 17:42 ` Thomas Kahle @ 2012-10-27 18:27 ` Francois Bissey 0 siblings, 0 replies; 20+ messages in thread From: Francois Bissey @ 2012-10-27 18:27 UTC (permalink / raw To: gentoo-science On 28/10/12 06:42, Thomas Kahle wrote: > On 21:50 Sat 27 Oct 2012, Francois Bissey wrote: >> On 27/10/12 10:53, Thomas Kahle wrote: >>> On 17:10 Wed 10 Oct 2012, justin wrote: >>> [..] >>> >>>>> Calculating dependencies... done! >>>>> [ebuild N ] app-admin/eselect-lapack-0.1 0 kB >>>>> [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" >>>>> is blocking sci-libs/gsl-1.15-r2, sci-libs/cblas-reference-20110218, >>>>> sci-libs/blas-reference-20110418, sci-libs/atlas-3.10.0, >>>>> sci-libs/lapack-reference-3.3.1-r1) >>>>> >>>>> Total: 1 package (1 new), Size of downloads: 0 kB >>>>> Conflict: 1 block (1 unsatisfied) >>>>> >>>>> * Error: The above package list contains packages which cannot be >>>>> * installed at the same time on the same system. >>>>> >>>>> (sci-libs/cblas-reference-20110218::science, installed) pulled in by >>>>> sci-libs/cblas-reference required by @selected >>>>> >>>>> (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) >>>>> pulled in by >>>>> eselect-lapack >>>>> >>>>> (sci-libs/atlas-3.10.0::science, installed) pulled in by >>>>> sci-libs/atlas required by @selected >>>>> >>>>> >>> >>>> do you have the eselect version from the sci overlay installed? Only >>>> that one is able to eslect blas for you correctly. >>> >>> I'm using this eselect version and I have lapack reference-3.4.2 >>> installed and eselected. Still I get: >>> >>> # pkg-config --libs lapack >>> Package lapack was not found in the pkg-config search path. >>> Perhaps you should add the directory containing `lapack.pc' >>> to the PKG_CONFIG_PATH environment variable >>> No package 'lapack' found >>> >>> Which makes packages depending on lapack checks during configure fail. >>> >>> Any ideas >>> >> >> First of, supposing you are on amd64, does >> /usr/lib64/pkgconfig/lapack.pc >> exist? It should be a link pointing to >> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc >> itself a link to /usr/lib64/pkgconfig/reflapack.pc > > Yes, it exists, but no it is a symlink to the wrong pc file: > > $ ls -ahl /usr/lib64/pkgconfig/lapack.pc > lrwxrwxrwx 1 root root 77 Oct 26 15:19 /usr/lib64/pkgconfig/lapack.pc -> ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc > So ../../../etc/env.d/alternatives/lapack/_current/usr/lib64/pkgconfig/lapack.pc is not a symlink to /usr/lib64/pkgconfig/reflapack.pc? That should be provided by lapack-reference using the alternative2 eclass. /usr/lib64/pkgconfig/lapack.pc is created by eselect. > Which package is to provide this symlink? It seems that it is a stale > symlink from before -llapack was renamed to -lreflapack recently? > > I'm experimenting with the different implementations, it is entirely > possible that I'm in some undefined state. Now, how to fix it? > yes, you may have to delete some left over files and re-emerge lapack-reference. Francois ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [gentoo-science] blas/lapack stuff 2011-10-11 4:42 [gentoo-science] blas/lapack stuff Andrey G. Grozin 2011-10-11 7:43 ` Andrea Arteaga @ 2011-10-11 9:25 ` My Th 1 sibling, 0 replies; 20+ messages in thread From: My Th @ 2011-10-11 9:25 UTC (permalink / raw To: gentoo-science O , 2011-10-11 11:42 +0700, Andrey G. Grozin rakstīja: > Hello *, > > I use the science overlay, and for quite some time I have problems with > blas/lapack. Each attempt to emerge -uD @world produces something like > > ================================================================================ > [blocks B ] app-admin/eselect-blas ("app-admin/eselect-blas" is > blocking sci-libs/lapack-reference-3.3.1-r1, sci-libs/gsl-1.15-r1, > sci-libs/blas-reference-20110418) > [blocks B ] app-admin/eselect-cblas ("app-admin/eselect-cblas" is > blocking sci-libs/lapack-reference-3.3.1-r1, sci-libs/gsl-1.15-r1, > sci-libs/blas-reference-20110418) > [blocks B ] app-admin/eselect-lapack ("app-admin/eselect-lapack" is > blocking sci-libs/lapack-reference-3.3.1-r1, sci-libs/gsl-1.15-r1, > sci-libs/blas-reference-20110418) > > Total: 21 packages (21 upgrades), Size of downloads: 19,795 kB > Conflict: 4 blocks (3 unsatisfied) > Portage tree and overlays: > [0] /usr/portage > [1] /var/lib/layman/science > > * Error: The above package list contains packages which cannot be > * installed at the same time on the same system. > > (sci-libs/lapack-reference-3.3.1-r1::science, ebuild scheduled for > merge) pulled in by > >=sci-libs/lapack-reference-3.3 required by > (virtual/lapack-3.3::science, ebuild scheduled for merge) > > (app-admin/eselect-cblas-0.1::gentoo, installed) pulled in by > app-admin/eselect-cblas required by > (sci-libs/blas-atlas-3.9.23-r4::gentoo, installed) > > (sci-libs/blas-reference-20110418::science, ebuild scheduled for merge) > pulled in by > >=sci-libs/blas-reference-20110417 required by > (virtual/blas-2.1::science, ebuild scheduled for merge) > > (app-admin/eselect-blas-0.1::gentoo, installed) pulled in by > app-admin/eselect-blas required by > (sci-libs/blas-atlas-3.9.23-r4::gentoo, installed) > > (sci-libs/gsl-1.15-r1::science, ebuild scheduled for merge) pulled in by > sci-libs/gsl required by (sci-mathematics/giac-0.9.3::grozin, > installed) > sci-libs/gsl required by (sci-libs/mathgl-1.11.2::gentoo, installed) > sci-libs/gsl required by (sci-libs/tamu_anova-0.2.1::gentoo, > installed) > sci-libs/gsl required by (sci-visualization/qtiplot-0.9.8.8::gentoo, > installed) > sci-libs/gsl required by (media-gfx/asymptote-2.13::grozin, installed) > sci-libs/gsl required by (media-gfx/inkscape-0.48.2::gentoo, > installed) > sci-libs/gsl required by (app-office/kspread-2.3.3::gentoo, installed) > >=sci-libs/gsl-1.10 required by > (sci-visualization/pyxplot-0.8.4::gentoo, installed) > >=sci-libs/gsl-1.14-r2 required by (virtual/cblas-2.0::science, ebuild > scheduled for merge) > > (app-admin/eselect-lapack-0.1::gentoo, installed) pulled in by > app-admin/eselect-lapack required by > (sci-libs/lapack-atlas-3.9.23-r3::gentoo, installed) > ================================================================================ > Any ideas? > > Andrey > Hi! You have to resolve the blockers: - Unmerge blas-atlas, lapack-atlas, eselect-{blas,cblas,lapack} - Upgrade world - Emerge sci-libs/atlas - Eselect your blas, cblas, lapack implementations - To be sure that all links properly, run revdep-rebuild If eselect fails complaining that some file is not a symlink, run: emerge -1 atlas gsl lapack-reference blas-reference Alter that eselecting should work without errors. If you do not want atlas versions of blas, cblas and lapack, you can skip the step where atlas is installed. Reinis ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2012-10-27 21:02 UTC | newest] Thread overview: 20+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-10-11 4:42 [gentoo-science] blas/lapack stuff Andrey G. Grozin 2011-10-11 7:43 ` Andrea Arteaga 2011-12-21 10:39 ` [gentoo-science] sci-mathematics/reduce on amd64 Andrey G. Grozin 2011-12-21 11:01 ` Kacper Kowalik 2011-12-21 11:13 ` Miguel de Val-Borro 2011-12-21 13:53 ` Andrey G. Grozin 2011-12-21 14:24 ` Burcin Erocal 2011-12-21 14:57 ` Andrey G. Grozin 2011-12-21 14:35 ` Christopher Schwan 2012-09-26 3:09 ` [gentoo-science] blas/lapack stuff Andrey G. Grozin 2012-09-26 5:52 ` Kacper Kowalik 2012-09-26 11:20 ` Francois Bissey 2012-09-26 14:09 ` Sébastien Fabbro 2012-10-10 12:28 ` denis cohen 2012-10-10 15:10 ` justin 2012-10-26 21:53 ` Thomas Kahle 2012-10-27 8:50 ` Francois Bissey 2012-10-27 17:42 ` Thomas Kahle 2012-10-27 18:27 ` Francois Bissey 2011-10-11 9:25 ` My Th
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox