<div dir="ltr">There is also CP2K/intel branch (which follow CP2K/master/trunk) with some special support for ELPA:<br><ul><li>Supports ELPA-2017<br></li><li>Enables ELPA</li></ul><p>The latter point might be surprising: regular CP2K does not use ELPA even when compiled/linked with (whatever) ELPA version. Of course, one can enable ELPA by keyword (input file). Here is the documentation: http://libxsmm.readthedocs.io/en/latest/cp2k/; see also http://libxsmm.readthedocs.io/en/latest/cp2k/#tuning for how ELPA is used by default.<br></p><p><br></p>-Hans<br><br><br>Am Freitag, 16. Juni 2017 02:43:28 UTC+2 schrieb Luiz Fernando Lopes Oliveira:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div>Hi.</div><div><br></div><div>I sucessufuly compiled elpa-2016.05 and added these flats to my .arch file:</div><div><br></div><div><div>ELPA_INC=/path/elpa-2016.05.<wbr>004/build/include</div><div>ELPA_LIB=/path/elpa-2016.05.<wbr>004/build/lib</div><div>DFLAGS += -D__ELPA3</div><div>FCFLAGS += -I$(ELPA_INC)</div><div>LDFLAGS +=-L$(ELPAROOT)</div><div>LIBS += -L$(ELPA_LIB) -lelpa</div><div>CPPFLAGS += -I$(ELPA_INC)</div></div><div><br></div><div>which produced no error during the CP2K compilation. </div><div><br></div><div>I had to use LD_LIBRARY_PATH and point to libelpa.so.4.</div><div><br></div><div>So far so good, my problem comes when I used the keyword  PREFERRED_DIAG_LIBRARY ELPA in my input, the output says WARNING : DIAGONALIZATION library ELPA is not available  Trying SCALAPACK</div><div><br></div><div>Am I using the correct the correct flags in .arch file? </div><div><br></div><div>I know that that's not what the HOWTO page says, but using those flags I couldn't even compile the code.</div><div>I found the ones I mentioned above here in the forum.</div><div><br></div><div style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px"></div></div></blockquote></div>