From 9254401f65b33dcb103d1218abd67c6358f2ec8e Mon Sep 17 00:00:00 2001 From: v1j4y Date: Fri, 23 Sep 2022 21:31:37 +0200 Subject: [PATCH] Update Install. --- INSTALL.md | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 842d7e2..54dbce6 100755 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,13 +1,41 @@ -# Installing +# Installation -## Using MKL +The simplest way to obtain the source files of QMCkl\_dgemm is to download a source +distribution. This particular repository is for maintainers, who write custom kernels. + +## For maintainers + +### Use Intel MKL for testing + +``` +./autogen.sh + +./configure --enable-mkl CC=icc FC=ifort + +make +make check +``` +### Use OpebBlas or system Blas ``` -./configure --enable-mkl=yes --with-mkl-dir=$MKLROOT --enable-best-link=no CC=icc FC=ifort +./autogen.sh + +./configure --enable-blas CC=gcc FC=gfortran + +make +make check +make install ``` -## Using OpenBLAS +### Enable Fortran tests ``` -./configure --enable-openblas=yes --with-openblas-libdir=$CONDA_PREFIX --with-openblas-incdir=$CONDA_PREFIX --enable-best-link=no CC=gcc FC=gfortran +./autogen.sh + +./configure --enable-blas CC=gcc FC=gfortran --enable-fortran + +make +make check +make install ``` +