forked from flame/libflame
-
Notifications
You must be signed in to change notification settings - Fork 16
Build libFLAME
Pradeep Rao edited this page Jul 20, 2018
·
6 revisions
Basic Steps to Build
Here are the steps to build libFLAME.
-
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>
-
Make and install. By default the library will be installed to $HOME/flame
- $ make
- $ make install
-
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