User talk:Houseofsuns

Applicability
The BLAS and LAPACK stack in the science overlay are incompatible with the BLAS and LAPACK stack from the main tree. If you want to use the version from the science overlay you will have to migrate your installation.

If you see random packages fail to configure with problems finding BLAS and LAPACK you probably have already pulled in the science stack.

Migration
First step is to mask the packages from the main tree which could interfere. Append the following to /etc/portage/package.mask to get them out of your system.

Now we need to install from science overlay, which manages the new stack.

Next we install and configure the core components of the new BLAS and LAPACK stack.

Now we move all libraries to their version from the science overlay. The following uses to find out which these are.

We disabled the preserve-libs feature so that it does not preserve something we want to get rid of. This may break some reverse-dependencies so we need to fix this up. (This needs revdep-rebuild from .)

At this point you should be migrated to the science overlay. If something goes wrong look at the next section for hints. If there is a gap in this migration guide, please write an [mailto:sci@gentoo.org email].

Possible Pitfalls
If you tried the above but had preserve-libs enabled you will need to remove libblas.so and run revdep-rebuild to get rid of it.

You should also check for potential links named libclas.so and liblapack.so. With the science stack you shouldn't have any files or links named libblas.so, llibclas.so or liblapack.so under /usr/lib or /usr/lib64. Similarly you shouldn't have any static library counterpart (.a file).