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

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

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

  3. 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 LIBLAPACK_PATH Change LIBLAPACK to LIBLAPACK := Save the Makefile

    $ make $ ./test_libflame.x

Clone this wiki locally