<div dir="ltr">Hi Ole. Thanks for your reply. <div>Well, as I mentioned in my first message using the flags as said in the HOWTOs pages I couldn't even compile the code. </div><div>The error I got using  -D__ELPA=201605 is the following:  <b><i>cp2k/src/fm/cp_fm_elpa.F:23: error: elpa_kernel_constants.h: No such file or directory</i></b></div><div><br>On Friday, June 16, 2017 at 4:45:33 AM UTC-7, Ole Schütt wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Luiz,
<br>
<br>the flags for ELPA have recently been changed:
<br>
<br><a href="https://www.cp2k.org/howto:compile#l_elpa_optional_improved_performance_for_diagonalization" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.cp2k.org%2Fhowto%3Acompile%23l_elpa_optional_improved_performance_for_diagonalization\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFJFILzobt9hWkKcn0p3Apwa4Povg';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.cp2k.org%2Fhowto%3Acompile%23l_elpa_optional_improved_performance_for_diagonalization\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFJFILzobt9hWkKcn0p3Apwa4Povg';return true;">https://www.cp2k.org/howto:<wbr>compile#l_elpa_optional_<wbr>improved_performance_for_<wbr>diagonalization</a>
<br>
<br>You will need to use -D__ELPA=201605 .
<br>
<br>-Ole
<br>
<br>On 2017-06-16 02:43, Luiz Fernando Lopes Oliveira wrote:
<br>> Hi.
<br>> 
<br>> I sucessufuly compiled elpa-2016.05 and added these flats to my .arch
<br>> file:
<br>> 
<br>> ELPA_INC=/path/elpa-2016.05.<wbr>004/build/include
<br>> ELPA_LIB=/path/elpa-2016.05.<wbr>004/build/lib
<br>> DFLAGS += -D__ELPA3
<br>> FCFLAGS += -I$(ELPA_INC)
<br>> LDFLAGS +=-L$(ELPAROOT)
<br>> LIBS += -L$(ELPA_LIB) -lelpa
<br>> CPPFLAGS += -I$(ELPA_INC)
<br>> 
<br>> which produced no error during the CP2K compilation.
<br>> 
<br>> I had to use LD_LIBRARY_PATH and point to libelpa.so.4.
<br>> 
<br>> So far so good, my problem comes when I used the keyword
<br>> PREFERRED_DIAG_LIBRARY ELPA in my input, the output says WARNING :
<br>> DIAGONALIZATION library ELPA is not available  Trying SCALAPACK
<br>> 
<br>> Am I using the correct the correct flags in .arch file?
<br>> 
<br>> I know that that's not what the HOWTO page says, but using those flags
<br>> I couldn't even compile the code.
<br>> I found the ones I mentioned above here in the forum.
<br>> 
<br>>  --
<br>> You received this message because you are subscribed to the Google
<br>> Groups "cp2k" group.
<br>> To unsubscribe from this group and stop receiving emails from it, send
<br>> an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0iKlIJj6AwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp2k+uns...@googlegroups.<wbr>com</a>.
<br>> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0iKlIJj6AwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>.
<br>> Visit this group at <a href="https://groups.google.com/group/cp2k" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/group/cp2k';return true;" onclick="this.href='https://groups.google.com/group/cp2k';return true;">https://groups.google.com/<wbr>group/cp2k</a>.
<br>> For more options, visit <a href="https://groups.google.com/d/optout" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/optout';return true;" onclick="this.href='https://groups.google.com/d/optout';return true;">https://groups.google.com/d/<wbr>optout</a>.
<br>
<br></blockquote></div></div>