Page 1 of 1

Where is the documentation for cmake installation?

PostPosted: Mon Aug 04, 2014 3:46 pm
by eijkhout
The FAQ has a bunch of links to 3.1 documentation, even the DOCS directory in the 3.5.0 download talks about 3.2 and editing the make.inc file.

So where is the 3.5 documentation about how to build with cmake?

Victor.

Re: Where is the documentation for cmake installation?

PostPosted: Mon Aug 04, 2014 3:58 pm
by admin
Hi Victor
The LAPACK cmake build is very straight forward if you bring up CMAKE GUI interface. If you hover on each option, a description of the CMAKE variable will appear.
Nothing fancy...with CMAKE you can:
- to detect your BLAS library, (USE_OPTIMIZED_BLAS)
- have the options to only build some precisions,
- have the options to include or not LAPACKE in the build, (LAPACKE)
- have the options to include or not XBLAS in the build, (USE_XBLAS)

We have detailed the CMake process for the Windows build: http://icl.cs.utk.edu/lapack-for-windows/lapack/#build
Let me know if you have any question.
Hope it helps

Re: Where is the documentation for cmake installation?

PostPosted: Mon Aug 04, 2014 4:12 pm
by eijkhout
admin wrote:if you bring up CMAKE GUI interface.


Sorry, I can't do that.

How do I set an install prefix with cmake? How do I delete a prefix cmake configuration? How do I specify compilers with cmake?

Victor.

Re: Where is the documentation for cmake installation?

PostPosted: Mon Aug 04, 2014 4:14 pm
by eijkhout
Also: I downloaded lapack-3.5.0 but the cmake output says:

Installing: /lib/cmake/lapack-3.4.2/lapack-config.cmake

Which version do I actually have?

Victor.

Re: Where is the documentation for cmake installation?

PostPosted: Mon Aug 04, 2014 4:23 pm
by admin
Just use ccmake

Create your folder "my-lapack-build"
cd my-lapack-build
ccmake "$where my lapack-source-is"

Type c to launch the Configuration
Once finished, type t, to see the advanced variables
You can change the CMAKE_INSTALL_PREFIX path if needed

You have 3.5.0. We forgot to update the release number in CMAKE, this bug has been reported, corrected, but the bug fix has not been released.
You can grab the LAPACK svn if you need the latest fixes.

Hope it helps