Where is CMake.src?

15 views
Skip to first unread message

Pei JIA

unread,
Sep 18, 2020, 11:33:12 AM9/18/20
to MAGMA User

Hi, I'm trying to build today's (Sep 18, 2020) magma bitbucket:

but received the following error message while cmake configuration (even before make).


A library with LAPACK API found.
 CMake Error at CMakeLists.txt:347 (include):
   include could not find load file:

     ....../magma/CMake.src


My env:
Ubuntu 20.04+cuda11

Can anybody help please? 

Thank you ...

Mark Gates

unread,
Sep 18, 2020, 11:51:16 AM9/18/20
to Pei JIA, MAGMA User
Before running cmake:

    cd path/to/magma
    touch make.inc
    make generate

The CMake script does not have code to generate all the necessary files. Only the Makefile has code to generate these files. Normally for a release, we do this `make generate` before creating the tar file.

Mark

Reply all
Reply to author
Forward
0 new messages