Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] lapack for openblas or gotoblas2?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
stp_1993
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 173
Location: Isle of Lesbos

PostPosted: Sun May 27, 2012 12:40 am    Post subject: [SOLVED] lapack for openblas or gotoblas2? Reply with quote

I used layman to install the 'science' overlay.

Then:
emerge gotoblas2 openblas

(I have not installed ATLAS or any other BLAS library.)

Now, I want to eselect my LAPACK package (http://www.gentoo.org/proj/en/science/blas-lapack.xml), but I see none.

So I try to install, but I get the following errors:

# emerge -av lapack

These are the packages that would be merged, in order:
Code:

Calculating dependencies... done!
[ebuild  N     ] app-admin/eselect-lapack-0.1  0 kB
[ebuild  N     ] app-admin/eselect-blas-0.1  0 kB
[ebuild  N     ] sci-libs/blas-reference-20070226  USE="-doc" 5,208 kB
[ebuild  N     ] virtual/blas-1.0  0 kB
[ebuild  N     ] sci-libs/lapack-reference-3.1.1-r1  USE="-doc" 8 kB
[ebuild  N     ] virtual/lapack-3.1  0 kB
[blocks B      ] app-admin/eselect-blas ("app-admin/eselect-blas" is blocking sci-libs/gotoblas2-1.13, sci-libs/openblas-0.1.1)
[blocks B      ] app-admin/eselect-lapack ("app-admin/eselect-lapack" is blocking sci-libs/gotoblas2-1.13, sci-libs/openblas-0.1.1)

Total: 6 packages (6 new), Size of downloads: 5,215 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sci-libs/openblas-0.1.1::science, installed) pulled in by
    sci-libs/openblas required by @selected

  (app-admin/eselect-blas-0.1::gentoo, ebuild scheduled for merge) pulled in by
    app-admin/eselect-blas required by (sci-libs/blas-reference-20070226::gentoo, ebuild scheduled for merge)

  (sci-libs/gotoblas2-1.13::science, installed) pulled in by
    sci-libs/gotoblas2 required by @selected

  (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) pulled in by
    app-admin/eselect-lapack required by (sci-libs/lapack-reference-3.1.1-r1::gentoo, ebuild scheduled for merge)


and this doesn't work either:

Code:
# emerge -av lapack-reference

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] app-admin/eselect-lapack-0.1  0 kB
[ebuild  N     ] app-admin/eselect-blas-0.1  0 kB
[ebuild  N     ] sci-libs/blas-reference-20070226  USE="-doc" 5,208 kB
[ebuild  N     ] virtual/blas-1.0  0 kB
[ebuild  N     ] sci-libs/lapack-reference-3.1.1-r1  USE="-doc" 8 kB
[blocks B      ] app-admin/eselect-blas ("app-admin/eselect-blas" is blocking sci-libs/gotoblas2-1.13, sci-libs/openblas-0.1.1)
[blocks B      ] app-admin/eselect-lapack ("app-admin/eselect-lapack" is blocking sci-libs/gotoblas2-1.13, sci-libs/openblas-0.1.1)

Total: 5 packages (5 new), Size of downloads: 5,215 kB
Conflict: 2 blocks (2 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sci-libs/openblas-0.1.1::science, installed) pulled in by
    sci-libs/openblas required by @selected

  (app-admin/eselect-blas-0.1::gentoo, ebuild scheduled for merge) pulled in by
    app-admin/eselect-blas required by (sci-libs/blas-reference-20070226::gentoo, ebuild scheduled for merge)

  (sci-libs/gotoblas2-1.13::science, installed) pulled in by
    sci-libs/gotoblas2 required by @selected

  (app-admin/eselect-lapack-0.1::gentoo, ebuild scheduled for merge) pulled in by
    app-admin/eselect-lapack required by (sci-libs/lapack-reference-3.1.1-r1::gentoo, ebuild scheduled for merge)




How can I get a LAPACK library installed, so that I can goto or openblas?


Last edited by stp_1993 on Sun May 27, 2012 8:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
stp_1993
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 173
Location: Isle of Lesbos

PostPosted: Sun May 27, 2012 12:44 am    Post subject: Reply with quote

According to http://www.gentoo.org/proj/en/science/blas-lapack.xml

I want cblas and lapack reference for goto blas.
Back to top
View user's profile Send private message
stp_1993
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 173
Location: Isle of Lesbos

PostPosted: Sun May 27, 2012 8:57 pm    Post subject: Reply with quote

Solved:

Code:
emerge lapack-reference::science  gotoblas2 openblas lapack::science cblas::science blas::science
eselect cblas set openblas-int64-threads
eselect blas set openblas-int64-threads
eselect lapack set reference
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum