Where is the documentation for cmake installation?

Post here if you have problem using the CMAKE build process

Where is the documentation for cmake installation?

Postby eijkhout » Mon Aug 04, 2014 3:46 pm

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.
eijkhout
 
Posts: 7
Joined: Thu Oct 09, 2008 11:31 am

Re: Where is the documentation for cmake installation?

Postby admin » Mon Aug 04, 2014 3:58 pm

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
admin
Site Admin
 
Posts: 609
Joined: Wed Dec 08, 2004 7:07 pm

Re: Where is the documentation for cmake installation?

Postby eijkhout » Mon Aug 04, 2014 4:12 pm

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.
eijkhout
 
Posts: 7
Joined: Thu Oct 09, 2008 11:31 am

Re: Where is the documentation for cmake installation?

Postby eijkhout » Mon Aug 04, 2014 4:14 pm

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.
eijkhout
 
Posts: 7
Joined: Thu Oct 09, 2008 11:31 am

Re: Where is the documentation for cmake installation?

Postby admin » Mon Aug 04, 2014 4:23 pm

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
admin
Site Admin
 
Posts: 609
Joined: Wed Dec 08, 2004 7:07 pm


Return to CMAKE

Who is online

Users browsing this forum: No registered users and 2 guests