8000 additions to readme file for lapacke library · DReichLab/EIG@f2616e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
additions to readme file for lapacke library
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMah committed May 30, 2017
1 parent 001935d commit f2616e8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ On Mac OSX, you can install gsl and OpenBLAS with lapack using homebrew:
"brew install homebrew/science/openblas"

If these packages are not in standard directories, you can specify the
appropriate include and library directories with the CFLAGS and LDLIBS
appropriate include and library directories with the CFLAGS and LDFLAGS
make variables.
For example, on the Harvard Medical School O2 cluster, the command is:
'make CFLAGS="-I/n/app/openblas/0.2.19/include -I/n/app/gsl/2.3/include" LDLIBS="-L/n/app/openblas/0.2.19/lib -L/n/app/gsl/2.3/lib/"'
'make CFLAGS="-I/n/app/openblas/0.2.19/include -I/n/app/gsl/2.3/include" LDFLAGS="-L/n/app/openblas/0.2.19/lib -L/n/app/gsl/2.3/lib/"'
On Mac OSX:
'make CFLAGS="-I/usr/local/opt/openblas/include -I/usr/local/opt/gsl/include" LDFLAGS="-L/usr/local/opt/openblas/lib -L/usr/local/opt/gsl/lib"'

If you have issues with missing lapacke symbols, for example "undefined reference to `LAPACKE_dlange'", run make with the corresponding additional libraries linked:
'make LDLIBS="-llapacke"'
This has been encountered on Linux Mint 18.

If you have trouble compiling and running our code, try compiling and
running the pcatoy program in the src directory:
"cd src"
Expand Down

0 comments on commit f2616e8

Please sign in to comment.
0