Unverified Commit b053bf17 authored by Andreas Marek's avatar Andreas Marek
Browse files

Polish INSTALL file

parent 742acda4
...@@ -68,9 +68,7 @@ The configure installation is best done in four steps ...@@ -68,9 +68,7 @@ The configure installation is best done in four steps
-lpthread -lm -Wl,-rpath,$MKL_HOME/lib/intel64" -lpthread -lm -Wl,-rpath,$MKL_HOME/lib/intel64"
and and
SCALAPACK_FCFLAGS="-L$MKLROOT/mkl/lib/intel64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 \ SCALAPACK_FCFLAGS="-I$MKLROOT/include/intel64/lp64"
-lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lpthread \
-lm -I$MKLROOT/include/intel64/lp64"
Note, that the actual MKL linkline depends on the installed MKL version. Note, that the actual MKL linkline depends on the installed MKL version.
...@@ -85,8 +83,9 @@ The configure installation is best done in four steps ...@@ -85,8 +83,9 @@ The configure installation is best done in four steps
1.3 Setting optimizations 1.3 Setting optimizations
Please set the optimisation that you prefer with the Please set the optimisation that you prefer with the
variable "FCFLAGS", "CFLAGS", and "CXXFLAGS", e.g. FCFLAGS="-O3 -xAVX", variable "FCFLAGS", "CFLAGS", and "CXXFLAGS",
please see "./src/elpa2_kernels/README_elpa2_kernels.txt". please see "./src/elpa2_kernels/README_elpa2_kernels.txt".
Note that _NO_ compiler optimization flags are set automatically. It Note that _NO_ compiler optimization flags are set automatically. It
...@@ -97,12 +96,20 @@ The configure installation is best done in four steps ...@@ -97,12 +96,20 @@ The configure installation is best done in four steps
Note that it is mandatory to set optimization flags for C, C++, and Fortran Note that it is mandatory to set optimization flags for C, C++, and Fortran
since ELPA uses source files and compile steps from all these languages. since ELPA uses source files and compile steps from all these languages.
Also note that building of the SSE and AVX kernels, requires
compilation with the GNU C Compiler (gcc). It is advised to
set also CFLAGS="-march=native" CXXFLAGS="-march=native",
since otherwise the GNU compiler does not support AVX, even
if the hardware does. If you already included "-mAVX" in the
flags, you can skip "-march=native".
Setting the optimization flags for the AVX kernels can be a hassle. If AVX Setting the optimization flags for the AVX kernels can be a hassle. If AVX
kernels are build for your system, you can set the configure option kernels are build for your system, you can set the configure option
"--with-avx-optimizations=yes". This will automatically set a few compiler "--with-avx-optimizations=yes". This will automatically set a few compiler
optimization flags which turned out to be beneficial for AVX support. optimization flags which turned out to be beneficial for AVX support.
However, it might be that on your system/compiler version etc. other flags However, it might be that on your system/compiler version etc. other flags
are the better choice. AND this thus _not_ set the above mentioned flags, are the better choice. AND this does _not_ set the above mentioned flags,
which you should still set by hand: which you should still set by hand:
./configure CFLAGS="-O2" CXXFLAGS="-O2" FCFLAGS="-O2" ./configure CFLAGS="-O2" CXXFLAGS="-O2" FCFLAGS="-O2"
...@@ -116,7 +123,7 @@ The configure installation is best done in four steps ...@@ -116,7 +123,7 @@ The configure installation is best done in four steps
1.5 Hybrid OpenMP support 1.5 Hybrid OpenMP support
If you want to use the hybrid MPI/OpenMP version of ELPA please specify If you want to use the hybrid MPI/OpenMP version of ELPA please specify
"--with-openmp". Note that the ELPA library will then contain a "_mt" in "--enable-openmp". Note that the ELPA library will then contain a "_mt" in
it's name to indicate multi threading support. it's name to indicate multi threading support.
1.6 Other 1.6 Other
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment