| 7 | 1/1 | 返回列表 |
| 查看: 2534 | 回復(fù): 6 | ||
[求助]
Abinit 并行運(yùn)算和串行運(yùn)算的差別
|
|
大家好,我是剛深入學(xué)習(xí)使用Abinit,我在自己的電腦上面串行編譯了Abinit的程序,之后又在學(xué)校集群上面裝了同一個(gè)版本并行編譯后的Abinit。 我在自己電腦上面試驗(yàn)計(jì)算ZrO2例子的時(shí)候,發(fā)現(xiàn)能正常輸出結(jié)果和分析結(jié)果,用了大概1個(gè)多小時(shí)。 但是同一個(gè)輸入文件我上傳到集群上,用12個(gè)核,并行了將近一天,還是沒(méi)有結(jié)束,感覺(jué)里面應(yīng)該有問(wèn)題,不得已殺死任務(wù),請(qǐng)問(wèn)這是怎么回事? 并行提交任務(wù)指令: bsub -q normal -n 12 -o %J.log -e %J.err -i zroo.files mpijob abinit 下面是計(jì)算的輸入文件: # 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 |
鐵桿木蟲(chóng) (著名寫(xiě)手)

金蟲(chóng) (小有名氣)
|
金蟲(chóng) (著名寫(xiě)手)
|
Abinit的收斂精度和通常理解的優(yōu)點(diǎn)不一樣。1.0-20是正常值。 此外,并行肯定是要快一些的。但是要注意的是,你這個(gè)并行只是對(duì)k點(diǎn)并行,且最好是cpu數(shù)目能被k點(diǎn)數(shù)目整除。 真正的并行比這復(fù)雜,還需要另外的參數(shù)。Abinit算起來(lái)真的很慢。 |
金蟲(chóng) (著名寫(xiě)手)
| 7 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 一志愿:西北大學(xué),英一數(shù)一408-284分求調(diào)劑 +4 | 12.27 2026-03-27 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 309求調(diào)劑 +7 | 誰(shuí)不是少年 2026-03-29 | 7/350 |
|
|
[考研] 求調(diào)劑一志愿武漢理工大學(xué)材料工程(085601) +7 | WW.' 2026-03-23 | 9/450 |
|
|
[考研] 356求調(diào)劑 +4 | gysy?s?a 2026-03-28 | 4/200 |
|
|
[考研] 11408軟件工程求調(diào)劑 +3 | Qiu學(xué)ing 2026-03-28 | 3/150 |
|
|
[考研] 085701求調(diào)劑初試286分 +4 | secret0328 2026-03-28 | 4/200 |
|
|
[考研] 一志愿北化085600材料專碩275|有文章專利|求調(diào)劑 +7 | Micky11223 2026-03-25 | 7/350 |
|
|
[考研] 286求調(diào)劑 +12 | PolarBear11 2026-03-26 | 12/600 |
|
|
[考研] 一志愿南京航空航天大學(xué)材料學(xué)碩求調(diào)劑 +3 | @taotao 2026-03-28 | 3/150 |
|
|
[考博] 26申博 +3 | 加油沖啊! 2026-03-26 | 3/150 |
|
|
[考研] 安徽大學(xué)專碩生物與醫(yī)藥專業(yè)(086000)324分,英語(yǔ)已過(guò)四六級(jí),六級(jí)521,求調(diào)劑 +4 | 美味可樂(lè)雞翅 2026-03-26 | 4/200 |
|
|
[考研] 08開(kāi)頭275求調(diào)劑 +4 | 拉誰(shuí)不重要 2026-03-26 | 4/200 |
|
|
[考研] 求調(diào)劑 +3 | 劉柯@ 2026-03-24 | 4/200 |
|
|
[考研] 材料調(diào)劑 +8 | 匹克i 2026-03-23 | 8/400 |
|
|
[考研] 351求調(diào)劑 +4 | 麥克阿磊 2026-03-24 | 4/200 |
|
|
[考研] 327求調(diào)劑 +7 | prayer13 2026-03-23 | 7/350 |
|
|
[考研] 081200-11408-276學(xué)碩求調(diào)劑 +3 | 崔wj 2026-03-26 | 3/150 |
|
|
[考研] 07化學(xué)303求調(diào)劑 +5 | 睿08 2026-03-25 | 5/250 |
|
|
[考研] 一志愿南航 335分 | 0856材料化工 | GPA 4.07 | 有科研經(jīng)歷 +6 | cccchenso 2026-03-23 | 6/300 |
|
|
[考研] 材料專碩331求調(diào)劑 +4 | 鮮當(dāng)牛 2026-03-24 | 4/200 |
|