<div dir="ltr">Hi Developers,<div><br></div><div>I have recently compiled a dev versions of CP2K and have been making some performance analysis. The test case is a GEO_OPT and here is the system size : </div><div>Test Case specifications : </div><div>Executable version : POPT</div><div>Runtype : GEO_OPT</div><div>System Size : 281 atoms</div><div>Nodes & Cores : 8, 128</div><div>Note : Exactly same nodes have been used for the test cases and there is no over commitment of the resources.</div><div><br></div><div><u>Computational Walltime (hr:min:s)</u></div><div>CP2K 2.6 w/o LIBSMM           : 4:57:45<br></div><div>CP2K 2.7(dev) with LIBSMM  : 6:11:04</div><div>CP2K 2.7(dev) w/o LIBSMM   : 5:42:42</div><div><br></div><div>The obvious reason is the differences in the time it takes for a <b>single SCF step in a given GEO Optimization step.</b></div><div><br></div><div><u>(Avg) Time for a single SCF step in any GEO Optimization step</u></div><div><div>CP2K 2.6 w/o LIBSMM           :  3.5 s<br></div><div>CP2K 2.7(dev) with LIBSMM  :  4.8 s</div><div>CP2K 2.7(dev) w/o LIBSMM   :  4.7 s</div></div><div><br></div><div>There has been a significant difference in the walltime for the testcase. Has anyone experienced this sort of behavior ?</div><div><br></div><div>ARCH file  is shown below : <p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">CC       = CC</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">FC       = mpif90</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">LD       = mpif90 -lstdc++</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">AR       = xiar -r</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">DFLAGS   = -D__INTEL \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">           -D__FFTSG \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__parallel \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__BLACS \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__SCALAPACK \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__FFTW3 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__LIBINT \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__LIBXC2 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -D__HAS_smm_dnn<span class="Apple-tab-span" style="white-space: pre;">        </span>   </p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">CPPFLAGS = -C $(DFLAGS) -P -traditional</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">FCFLAGS  = $(DFLAGS) \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">           -axSSE4.2 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">           -O2 -xW \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -heap-arrays 64 -funroll-loops \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -fpp -free \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -convert big_endian \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -I$(MKL_ROOT)/include \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -I$(FFTW_ROOT)/include</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">FCFLAGS2 = $(DFLAGS) \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">            -axSSE4.2 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">            -O1 -xW -heap-arrays 64 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -fpp -free</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">LIBSMM   = PATH_TO/build_libsmm</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">LDFLAGS  = $(FCFLAGS) \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">           -L$(MKL_ROOT)/lib/intel64 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -L$(LIBINT_ROOT)/lib \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -L$(LIBXC_ROOT)/lib \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -L$(FFTW_ROOT)/lib \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>   -L$(LIBSMM)/lib</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">LIBS      = -lmkl_rt \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">            -lmkl_blas95_lp64 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lmkl_lapack95_lp64 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lmkl_scalapack_lp64 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lmkl_blacs_openmpi_lp64 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lfftw3 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -liomp5 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    $(LIBSMM)/lib/libsmm_dnn_linux.intel.a \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lderiv \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lint \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lr12 \</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);"><span class="Apple-tab-span" style="white-space:pre">        </span>    -lxc</p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161); min-height: 13px;"><br></p><p style="font-size: 11px; font-family: Consolas; color: rgb(255, 255, 255); background-color: rgb(29, 80, 161);">OBJECTS_ARCHITECTURE = machine_intel.o</p></div><div><br></div><div>Thanks,</div><div>Abhishek</div></div>