-
Notifications
You must be signed in to change notification settings - Fork 4
CMFD Acceleration
lilulu edited this page Sep 7, 2012
·
3 revisions
To use the CMFD acceleration, users need to install LAPACK and armadillo.
- Make sure you have LAPACK. If not, install it use your package manager. For instance, in Gentoo, run
emerge -av lapack
- Install armadillo with support for LAPACK. In Gentoo, one way to do it would be adding the following line in your /etc/portage/package.use:
sci-libs/armadillo lapack
Then build your armadillo regularly,
emerge -av armadillo
Make sure that armadillo is built with lapack, so you should expect something like the following in Gentoo:
[ebuild R ] sci-libs/armadillo-3.0.2 USE="lapack* -atlas -blas -doc" 0 kB
If somehow LAPACK is not installed or armadillo is built without LAPACK, you would most likely see an error message like the following when you run OpenMOC:
error: solve(): use of ATLAS or LAPACK needs to be enabled
terminate called after throwing an instance of 'std::logic_error' what():
Aborted