Skip to content
Pradeep Rao edited this page Jul 20, 2018 · 6 revisions

Basic Steps to Build

Here are the steps to build libFLAME.

  1. Run configure script. Example below shows few sample options. Enable/disable other flags as needed

    $ ./configure --enable-lapack2flame --enable-cblas-interfaces --enable-dynamic-build --prefix=<path to install>

  2. Make and install. By default the library will be installed to $HOME/flame

  • $ make
  • $ make install
  1. Run tests. Link with AMD optimized BLIS library

    • $ cd test

    create a directory for object files

    • $ mkdir obj

Edit the Makefile.Change LDFLAGS as

 LDFLAGS := -lm -lpthread

Modify the definition of LIBBLAS as : LIBBLAS :=

Comment out LIBLAPACK_PATH

Change LIBLAPACK to

  LIBLAPACK := 

Save the Makefile

 * $ make
 * $ ./test_libflame.x

Clone this wiki locally