<div dir="ltr"><div>Dear Ke,</div><div>i had the same problem on our cluster, when running MD simulations, as memory usage in every MD step increased slowly. In our case OpenMPI was causing the problem. Switching to MVAPICH2 solved the problem and also increased perfomance quite noticably on our OmniPath network.</div><div><br></div><div>Best wishes<br>Phillip<br></div><br>Am Mittwoch, 9. Oktober 2019 13:57:24 UTC+2 schrieb Ke Zhou:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">I test the same input files in our old cluster (cp2k 2.6) and it works well. <div>I thinks the problem could be from compile. </div><div>I compile the package use intel mpi. The follow is the "Linux-x86-64-intel.popt"  file.</div><div>Can you give me some suggestion on it?</div><div><br></div><div>





<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:19px"><span></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBXSMM<span>  </span>= /apps/lib/libxsmm/1.9.0/e/gnu</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBXC<span>    </span>= /apps/lib/libxc/4.0.4/e5/gnu</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBINT <span>  </span>= /apps/lib/libint/1.1.4/gnu</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBELPA<span>  </span>= /apps/lib/elpa/2017.05.002/e5/<wbr>gnu</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:19px"><span></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>CC <span>      </span>= cc</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>CPP<span>      </span>=<span> </span></span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>FC <span>      </span>= mpif90</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LD <span>      </span>= mpif90</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>AR <span>      </span>= ar -r</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>CPPFLAGS =</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>DFLAGS <span>  </span>= -D__MKL -D__FFTW3 -D__HAS_NO_SHARED_GLIBC -D__LIBXSMM \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span style="white-space:pre">       </span> <span>  </span>-D__parallel -D__SCALAPACK \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span style="white-space:pre">       </span> <span>  </span>-D__ELPA=201705 \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span style="white-space:pre">       </span> <span>  </span>-D__LIBXC \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span>           </span>-D__LIBINT -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span>           </span>-D__MAX_CONTR=4</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>CFLAGS <span>  </span>= $(DFLAGS) -O2</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>FCFLAGS<span>  </span>= $(DFLAGS) -O2 -ffast-math -ffree-form -ffree-line-length-none -ftree-vectorize -funroll-loops -mtune=native -std=f2008</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>#FCFLAGS<span>  </span>= $(DFLAGS) -O2 -xW -heap-arrays 64 -funroll-loops -fpp -free</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>#FCFLAGS += -fp-model precise</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>#FCFLAGS += -g -traceback</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>FCFLAGS += -I${MKLROOT}/include -I${MKLROOT}/include/fftw</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>FCFLAGS += -I$(LIBXSMM)/include</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>FCFLAGS += -I$(LIBXC)/include</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>FCFLAGS += -I$(LIBELPA)/include/elpa-<wbr>2017.05.002/modules -I$(LIBELPA)/include/elpa-<wbr>2017.05.002/elpa</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LDFLAGS<span>  </span>= $(FCFLAGS)<span> </span></span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LDFLAGS_C = $(FCFLAGS) <span> </span></span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBS <span>    </span>= -L$(LIBELPA)/lib -lelpa</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>MKL_LIB<span>  </span>= ${MKLROOT}/lib/intel64</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBS<span>    </span>+= $(MKL_LIB)/libmkl_scalapack_<wbr>lp64.a -Wl,--start-group \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span style="white-space:pre">       </span> <span>  </span>$(MKL_LIB)/libmkl_intel_lp64.a ${MKL_LIB}/libmkl_sequential.a \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span style="white-space:pre">       </span> <span>  </span>$(MKL_LIB)/libmkl_core.a \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span>           </span>${MKL_LIB}/libmkl_blacs_<wbr>intelmpi_lp64.a -Wl,--end-group \</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span>           </span>-lpthread -lm</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBS<span>    </span>+= -L$(LIBXSMM)/lib -lxsmmf -lxsmm -ldl</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBS<span>    </span>+= -L$(LIBXC)/lib -lxcf03 -lxc</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>LIBS<span>    </span>+= -L$(LIBINT)/lib -lderiv -lint -lstdc++</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:19px"><span></span><br></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span># Required due to memory leak that occurs if high optimisations are used</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>mp2_optimize_ri_basis.o: mp2_optimize_ri_basis.F</span></p>
<p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><span style="white-space:pre">       </span><span style="white-space:pre">     </span><span style="white-space:pre">     </span> $(FC) -c $(subst O2,O0,$(FCFLAGS)) $<</span></p><p style="margin:0px;font-stretch:normal;font-size:16px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span><br></span></p></div></div><br><div class="gmail_quote"><div dir="ltr">Nikhil Maroli <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="bMb65eU3CwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">sc...@gmail.com</a>> 于2019年10月9日周三 下午7:44写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>please share your running command here and details of your system. </div></div>

<p></p>

-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/lwPdChE_Iuk/unsubscribe" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/topic/cp2k/lwPdChE_Iuk/unsubscribe';return true;" onclick="this.href='https://groups.google.com/d/topic/cp2k/lwPdChE_Iuk/unsubscribe';return true;">https://groups.google.com/d/<wbr>topic/cp2k/lwPdChE_Iuk/<wbr>unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="bMb65eU3CwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.<wbr>com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CAMEzy6QtQ-Y8r0cA8e_CsXG3MLK-RVUMOEZZ-Lw7dcA8EFgpyg%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/cp2k/CAMEzy6QtQ-Y8r0cA8e_CsXG3MLK-RVUMOEZZ-Lw7dcA8EFgpyg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/cp2k/CAMEzy6QtQ-Y8r0cA8e_CsXG3MLK-RVUMOEZZ-Lw7dcA8EFgpyg%40mail.gmail.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/cp2k/CAMEzy6QtQ-<wbr>Y8r0cA8e_CsXG3MLK-RVUMOEZZ-<wbr>Lw7dcA8EFgpyg%40mail.gmail.com</a><wbr>.<br>
</blockquote></div>
</blockquote></div>