| 7 | 1/1 | 返回列表 |
| 查看: 2535 | 回復(fù): 6 | ||
[求助]
Abinit 并行運算和串行運算的差別
|
|
大家好,我是剛深入學(xué)習(xí)使用Abinit,我在自己的電腦上面串行編譯了Abinit的程序,之后又在學(xué)校集群上面裝了同一個版本并行編譯后的Abinit。 我在自己電腦上面試驗計算ZrO2例子的時候,發(fā)現(xiàn)能正常輸出結(jié)果和分析結(jié)果,用了大概1個多小時。 但是同一個輸入文件我上傳到集群上,用12個核,并行了將近一天,還是沒有結(jié)束,感覺里面應(yīng)該有問題,不得已殺死任務(wù),請問這是怎么回事? 并行提交任務(wù)指令: bsub -q normal -n 12 -o %J.log -e %J.err -i zroo.files mpijob abinit 下面是計算的輸入文件: # ZrO2-cubic # # Computation of the band structure. # First, a SCF density computation, then a non-SCF band structure calculation. ndtset 2 #Dataset 1 : usual self-consistent calculation kptopt1 1 # Option for the automatic generation of k points, # taking into account the symmetry nshiftk1 4 shiftk1 0.5 0.5 0.5 # These shifts will be the same for all grids 0.5 0.0 0.0 0.0 0.5 0.0 0.0 0.0 0.5 ngkpt1 8 8 8 prtden1 1 # Print the density, for use by dataset 2 toldfe1 1.0d-20 # This value is way too large for most realistic studies of materials iscf1 5 #Dataset 2 : the band structure iscf2 -2 getden2 -1 kptopt2 -5 nband2 30 ndivk2 10 12 18 8 8 # 10, 12 and 18,8,8 divisions of the 5 segments, delimited # by 6 points. tolwfr2 1.0d-20 kptbounds2 0.5 0.25 0.75 # W point 0.5 0.0 0.0 # L point 0.0 0.0 0.0 # Gamma point 0.5 0.0 0.5 # X point 0.5 0.25 0.75 # W point 0.0 0.0 0.0 # Gamma point in another cell. # tolwfr2 1.0d-12 enunit2 0 # Will output the eigenenergies in Har prteig2 1 # #Definition of the unit cell acell 3*9.48196 # This is equivalent to 9.48196 9.48196 9.48196 rprim 0.0 0.5 0.5 # FCC primitive vectors (to be scaled by acell) 0.5 0.0 0.5 0.5 0.5 0.0 #Definition of the atom types ntypat 2 # There is two types of atom znucl 8 40 # The keyword "znucl" refers to the atomic number of the # possible type(s) of atom. The pseudopotential(s) # mentioned in the "files" file must correspond # to the type(s) of atom. Here, the only type is Silicon. #Definition of the atoms natom 3 # There are 3 atoms typat 1 1 2 # xred # This keyword indicate that the location of the atoms # will follow, one triplet of number for each atom 0.0 0.0 0.0 # Triplet giving the REDUCED coordinate of atom 1. 1/4 1/4 1/4 # Triplet giving the REDUCED coordinate of atom 2. 3/4 3/4 3/4 # #Definition of the planewave basis set ecut 40.0 # Maximal kinetic energy cut-off, in Hartree #Definition of the SCF procedure nstep 60 # Maximal number of SCF cycles diemac 3.0 # Although this is not mandatory, it is worth to # precondition the SCF cycle. The model dielectric # function used as the standard preconditioner # is described in the "dielng" input variable section. # Here, we follow the prescription for bulk silicon. # add to conserve old < 6.7.2 behavior for calculating forces at each SCF step optforces 1 |

金蟲 (小有名氣)
|
金蟲 (著名寫手)
|
Abinit的收斂精度和通常理解的優(yōu)點不一樣。1.0-20是正常值。 此外,并行肯定是要快一些的。但是要注意的是,你這個并行只是對k點并行,且最好是cpu數(shù)目能被k點數(shù)目整除。 真正的并行比這復(fù)雜,還需要另外的參數(shù)。Abinit算起來真的很慢。 |
金蟲 (著名寫手)
| 7 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 南京大學(xué)化學(xué)調(diào)劑 +9 | 景隨風(fēng) 2026-03-29 | 14/700 |
|
|---|---|---|---|---|
|
[考研] 070305高分子化學(xué)與物理 304分求調(diào)劑 +12 | c297914 2026-03-28 | 12/600 |
|
|
[考研] 375求調(diào)劑 +4 | 雨夏整夜 2026-03-29 | 4/200 |
|
|
[考研] 086000生物與醫(yī)藥調(diào)劑 +5 | Feisty。 2026-03-28 | 9/450 |
|
|
[考研] 本科雙非材料,跨考一志愿華電085801電氣,283求調(diào)劑,任何專業(yè)都可以 +6 | 芝士雪baoo 2026-03-28 | 8/400 |
|
|
[考研] 本科新能源科學(xué)與工程,一志愿華理能動285求調(diào)劑 +3 | AZMK 2026-03-27 | 5/250 |
|
|
[考研] 394求調(diào)劑 +3 | 好事多磨靜候佳?/a> 2026-03-26 | 5/250 |
|
|
[考研] 317求調(diào)劑 +6 | 十閑wx 2026-03-24 | 6/300 |
|
|
[考研] 0703一志愿9,初試成績:338,四六級已過,有科研經(jīng)歷,求調(diào)劑! +4 | Zuhui0306 2026-03-25 | 4/200 |
|
|
[考研] 070300求調(diào)劑306分 +4 | 26要上岸 2026-03-27 | 4/200 |
|
|
[考研] 081200-314 +3 | LILIQQ 2026-03-27 | 4/200 |
|
|
[考研] 復(fù)試調(diào)劑,一志愿南農(nóng)083200食品科學(xué)與工程 +5 | XQTJZ 2026-03-26 | 5/250 |
|
|
[考研] 一志愿吉大071010,316分求調(diào)劑 +3 | xgbiknn 2026-03-27 | 3/150 |
|
|
[考研] 284求調(diào)劑 +11 | junqihahaha 2026-03-26 | 12/600 |
|
|
[考研] 調(diào)劑 +4 | 柚柚yoyo 2026-03-26 | 4/200 |
|
|
[考研] 303求調(diào)劑 +6 | 藍山月 2026-03-25 | 6/300 |
|
|
[考研] 0854電子信息求調(diào)劑 324 +4 | Promise-jyl 2026-03-23 | 4/200 |
|
|
[考研] 086003食品工程求調(diào)劑 +6 | 淼淼111 2026-03-24 | 6/300 |
|
|
[考研] 一志愿吉大化學(xué)322求調(diào)劑 +4 | 17501029541 2026-03-23 | 6/300 |
|
|
[考研] 求老師收我 +3 | zzh16938784 2026-03-23 | 3/150 |
|