<div dir="ltr">OK, Thank you very much for your provided information. <br>The compilation runs correctly now. I think it is just a warning.<br><br>Best,<br>Zuoheng<br><br>在 2018年8月29日星期三 UTC+2下午8:32:49,Travis写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div>The format of module files produced by different Fortran compilers changes pretty rapidly and the MPI .mod files may be unreadable by the version of Fortran you are now using to compile CP2K. As the warning message implies, you need to add '<font color="#ff0000">-D__HAS_NO_MPI_MOD</font><font color="#000000">' to your arch file along with your other DFLAGS to resolve the conflict.</font></div><div><font color="#b00000"><br></font></div><div><font color="#000000">More on that here, <a href="https://www.tcm.phy.cam.ac.uk/sw/gfortran.html" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.tcm.phy.cam.ac.uk%2Fsw%2Fgfortran.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFLQrn0hSbWlhA-FtDxGXe9m1o9Fg';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.tcm.phy.cam.ac.uk%2Fsw%2Fgfortran.html\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFLQrn0hSbWlhA-FtDxGXe9m1o9Fg';return true;">https://www.tcm.phy.cam.<wbr>ac.uk/sw/gfortran.html</a></font></div><div><font color="#b00000"><br></font></div><div><font color="#000000">I think Alfio is correct that you can ignore it if the compilation runs correctly otherwise and generates a functioning executable. However, if you see this warning and your compilation is breaking... it may be something to consider.</font></div><div><font color="#b00000"></font><font color="#000000"><br></font></div><div><br>On Tuesday, August 28, 2018 at 6:40:58 AM UTC-4, <a>zuoh...@gmail.com</a> wrote:</div><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello everyone,</div><div><br></div><div>When I compile my CP2K, I have the following Warning(or error?):</div><div><br></div><div><font color="#ff0000">USE mpi  ! compiler *errors* mean mpi installation and fortran compiler mismatch: see INSTALL (-D__HAS_NO_MPI_MOD)</font></div><div><font color="#ff0000">Warning: USE statement at (1) has no ONLY qualifier [-Wuse-without-only]</font></div><div><br></div><div>However, I could finish the compile and can use cp2k.popt or cp2k.psmp to do simulations. I am not sure if it will have some negtive effect on the speed of simulation.</div><div>I installed some dependence with tools/toolchain/install_cp2k_<wbr>toolchain.sh and all is OK. I don't know why the mpi and fortran are mismatched.</div><div><br></div><div>Thank you very much.</div><div><br></div><div>Best wishes,</div><div><br></div><div>Zuoheng</div></div></blockquote></div></blockquote></div>