<div dir="ltr"><font face="georgia, serif" size="4">Hi, jhg</font><div><font face="georgia, serif" size="4">Thanks for your remind, I notice where the problem occurs.</font></div><div><font face="georgia, serif" size="4">Maybe I did not specify the 12 threads, I only tell the cluster to use 12 cores run the job.</font></div><div><font face="georgia, serif" size="4">How could I claim that I will use 12 threads to run the job ? In cp2k inputfile ?</font></div><div><br>在 2018年9月14日星期五 UTC+8下午3:28:07,jgh写道:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi
<br>
<br>I see in both of your outputs that you are running with 
<br>1 MPI process and 36 OpenMP threads
<br>
<br> GLOBAL| Total number of message passing processes                             1
<br> GLOBAL| Number of threads for this process                                   36
<br>
<br> GLOBAL| Total number of message passing processes                             1
<br> GLOBAL| Number of threads for this process                                   36
<br>
<br>With this setting you will get identical outputs. I don't see where your claim
<br>for 12 threads for the second run is coming from.
<br>
<br>regards
<br>
<br>Juerg Hutter
<br>------------------------------<wbr>------------------------------<wbr>--
<br>Juerg Hutter                         Phone : ++41 44 635 4491
<br>Institut für Chemie C                FAX   : ++41 44 635 6838
<br>Universität Zürich                   E-mail: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="2uWqz5S3BgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">hut...@chem.uzh.ch</a>
<br>Winterthurerstrasse 190
<br>CH-8057 Zürich, Switzerland
<br>------------------------------<wbr>------------------------------<wbr>---
<br>
<br>-----<a href="javascript:" target="_blank" gdf-obfuscated-mailto="2uWqz5S3BgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a> wrote: -----
<br>To: "cp2k" <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="2uWqz5S3BgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>>
<br>From: "Tianshu Jiang in Beijing" 
<br>Sent by: <a href="javascript:" target="_blank" gdf-obfuscated-mailto="2uWqz5S3BgAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">cp...@googlegroups.com</a>
<br>Date: 09/14/2018 03:49AM
<br>Subject: [CP2K:10729] Re: How to accelerate the calculation of pdos ?
<br>
<br>Hi Krack, thanks for your reply.
<br>In the attachment, bilayerIso.out is the file output by 1 core and bilayerIsoPara.out is the file output by 12cores. 
<br>I have no idea where the problem is. 
<br>
<br>在 2018年9月12日星期三 UTC+8下午7:58:50,Matthias Krack写道:
<br>Hi Tianshu Jiang
<br>
<br>without providing the CP2K output files of your 1-core and 12-cores runs, it is quite unlikely that you will get any reasonable hint from someone in this forum.
<br>
<br>Matthias
<br>
<br>On Wednesday, 12 September 2018 04:41:07 UTC+2, Tianshu Jiang in Beijing  wrote:
<br>Hi everyone in cp2k community,
<br>
<br>I am using cp2k to calculate the pdos of graphene, but the time spent to completing the calculation when I use 1 core and 12 cores is the same.
<br>The version I compile is Linux-x86-64-gfortran, and I use cp2k.psmp to finish the job. 
<br>But from the *.out file I get that in both situation (1 core and 12 cores), the job finished after half an hour from beginning.
<br>My question is how can I accelerate the calculation using parallel computing ?
<br>
<br>The following is my inputfile. Thanks for your reply !
<br>&GLOBAL
<br>  PROJECT trilayerABCIso
<br>  RUN_TYPE ENERGY 
<br>  PRINT_LEVEL MEDIUM
<br>&END GLOBAL
<br>
<br>&FORCE_EVAL
<br>  METHOD Quickstep
<br>  &DFT
<br>    BASIS_SET_FILE_NAME  BASIS_MOLOPT
<br>    POTENTIAL_FILE_NAME  POTENTIAL
<br>
<br>    &POISSON
<br>      PERIODIC XYZ 
<br>    &END POISSON
<br>    &SCF
<br>      SCF_GUESS ATOMIC
<br>      EPS_SCF 1.0E-6
<br>      MAX_SCF 300 
<br>
<br>      # The following settings help with convergence:
<br>      ADDED_MOS 100 
<br>      CHOLESKY INVERSE
<br>      &SMEAR ON
<br>        METHOD FERMI_DIRAC
<br>        ELECTRONIC_TEMPERATURE [K] 300 
<br>      &END SMEAR
<br>      &DIAGONALIZATION
<br>        ALGORITHM STANDARD
<br>        EPS_ADAPT 0.01
<br>      &END DIAGONALIZATION
<br>      &MIXING
<br>        METHOD BROYDEN_MIXING
<br>        ALPHA 0.2 
<br>        BETA 1.5
<br>        NBROYDEN 8
<br>      &END MIXING
<br>    &END SCF
<br>    &XC
<br>      &XC_FUNCTIONAL PBE
<br>      &END XC_FUNCTIONAL
<br>    &END XC
<br>    &PRINT
<br>      &PDOS
<br>        # print all projected DOS available:
<br>        NLUMO -1
<br>        # split the density by quantum number:
<br>        COMPONENTS
<br>      &END
<br>      &E_DENSITY_CUBE ON
<br>          STRIDE 1 1 1
<br>      &END E_DENSITY_CUBE
<br>    &END PRINT
<br>  &END DFT
<br>
<br>  &SUBSYS
<br>    &CELL
<br>      # create a hexagonal unit cell:
<br>      ABC  [angstrom] 2.4612 2.4612 26.72
<br>      ALPHA_BETA_GAMMA 90. 90. 60.
<br>      SYMMETRY HEXAGONAL
<br>      PERIODIC XYZ
<br>      # and replicate this cell (see text):
<br>      MULTIPLE_UNIT_CELL 6 6 1
<br>    &END CELL
<br>    &TOPOLOGY
<br>      # also replicate the topology (see text):
<br>      MULTIPLE_UNIT_CELL 6 6 1
<br>    &END TOPOLOGY
<br>    &COORD
<br>      SCALED
<br>      # ABC stacked
<br>      C 1./3  1./3  0.
<br>      C 0.    3./3  0.
<br>      C 1./3  1./3  1./8
<br>      C 2./3  2./3  1./8
<br>      C 2./3  2./3  2./8
<br>      C 3./3  0.    2./8
<br>    &END
<br>    &KIND C
<br>      ELEMENT C
<br>      BASIS_SET TZVP-MOLOPT-GTH
<br>      POTENTIAL GTH-PADE-q4
<br>    &END KIND
<br>  &END SUBSYS
<br>
<br>&END FORCE_EVAL
<br>
<br>
<br>
<br>
<br>
<br>
<br>  
<br>  -- 
<br> You received this message because you are subscribed to the Google Groups "cp2k" group.
<br> To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="2uWqz5S3BgAJ" 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="2uWqz5S3BgAJ" 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>
<br>[attachment "bilayerIso.out" removed by Jürg Hutter/at/UZH]
<br>[attachment "bilayerIsoPara.out" removed by Jürg Hutter/at/UZH]
<br></blockquote></div></div>