<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.004/build/include</div><div>ELPA_LIB=/path/elpa-2016.05.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 class="level1" style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 14px;"></div></div>