lecture04.pdf

上传人:b****2 文档编号:3217294 上传时间:2022-11-20 格式:PDF 页数:32 大小:436.10KB
下载 相关 举报
lecture04.pdf_第1页
第1页 / 共32页
lecture04.pdf_第2页
第2页 / 共32页
lecture04.pdf_第3页
第3页 / 共32页
lecture04.pdf_第4页
第4页 / 共32页
lecture04.pdf_第5页
第5页 / 共32页
点击查看更多>>
下载资源
资源描述

lecture04.pdf

《lecture04.pdf》由会员分享,可在线阅读,更多相关《lecture04.pdf(32页珍藏版)》请在冰豆网上搜索。

lecture04.pdf

TheNutsandBoltsofFirst-PrinciplesSimulationDurham,6th-13thDecember20014:

TheNewCASTEPCASTEPDevelopersGroupwithsupportfromtheESFkNetworkNewCAmbridgeSerialTotalEnergyPackageAnintroductionTheNutsandBoltsofFirst-PrinciplesDurham,6th-13thDecember2001Lecture4:

NutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

3WhatNewCASTEPisnot?

ItsnotjustCAmbridge?

ItsnotjustSerial?

ItsdoesntjustcalculateTotalEnergies?

However,itisstillaPackage!

NutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

4So,WhatisitThen?

IntroductiontotheCASTEPDevelopersGroup?

ThegoalsoftheNewCASTEPproject?

AbriefhistoryofNewCASTEP?

Thefeaturesofthepackage?

Howtousethecode(commandline)?

Philosophyanddesignofthecode?

ThefutureofNewCASTEPNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

5TheCASTEPDevelopersGroup?

MikePayne(Cambridge)?

MattProbert(York)?

ChrisPickard(Cambridge)?

StewartClark(Durham)?

PhilHasnip(Cambridge)?

PhilLindan(KentatCanterbury)?

MattSegall(Cambridge,CamitroUKLtd.)NutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

6TheGoalsofNewCASTEP?

Easeofmaintenance?

Easeoffuturedevelopment?

Portability?

EfficiencyThesegoalsaresometimesconflicting,thereforeacompromisemustbefoundNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

7ABriefHistoryofNewCASTEP?

July99:

Ameetingofinterestedparties.IsthereaneedforanewPWpseudopotentialcode?

July99-Jan.00:

Informalspecificationgroupoutlinesthespec.ofanewcode.?

Feb.00:

Implementationofnewcodebegins.CDGformed.?

May01:

AgreementreachedwithMSI(NowAccelrys)tocommercialiseNewCASTEP.?

Dec.01:

CodefreezeonfirstversionofNewCASTEP.NutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

8NewCASTEPFeatures?

Parallel,portablecode?

GeometryOptimisation?

BFGS?

DampedMD?

MolecularDynamics?

NVE?

NVT?

LinearResponseforPhononspectraNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

9CASTEPFeaturesContinued?

Transitionstatesearch?

LST/QST?

Electronicproperties?

OpticalSpectra?

DOS?

PopulationAnalysisNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

10CASTEPTechnicalFeatures?

Ultrasoft/Norm-conservingpseudopotentials?

Pseudopotentialgenerationon-the-fly?

Doublegridtechniqueforcharge/potentialgrid?

Multipleelectronicminimisers?

All-bandsCG?

RMM/DIISNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

11TechnicalFeaturesCont?

Metalstreatedby?

Densitymixing?

EnsembleDFT?

Exchange-CorrelationPotentials?

LDA?

Perdew-Wang91GGA?

PBE/RPBEGGA?

Non-linearcorecorrectionsNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

12HowtoUsetheCode:

TheCellFile!

ExamplecellfileforprimitiveSiC%blockLATTICE_ABC3.0745003.0745003.07450060.060.060.0%endblockLATTICE_ABC%blockPOSITIONS_FRACSi0.00000.00000.0000C0.25000.25000.2500%endblockPOSITIONS_FRACNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

13MoreCellFileKeywordsKPOINTS_MP_GRID444%blockSYMMETRY_OPS%endblockSYMMETRY_OPS%blockSPECIES_POTCmy_C_pot.usp%endblockSPECIES_POTNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

14ControllingtheCalculation:

TheParameterFileTask:

GeometryOptimizationXC_functionalPW91Basis_precisionPreciseElectronic_minimiserCGElec_energy_tol=0.000001eVNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

15MoreParametersGeom_methodBFGSGeom_force_tol:

0.01hartree/bohrFix_occupancies=TRUEContinuation=my_last_run.checkEnergy_unit=kcal/molNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

16ExampleOutputSummaryofcellandparametersinput-SCFSCFloopEnergyEnergygainTimer-SCFperatom(sec)-SCF-SCFInitial6.99675047E+0024.22-SCF1-8.56371636E+0021.94505835E+00223.70-SCF2-8.57260747E+0021.11138925E-00142.59-SCF3-8.57286394E+0023.20580434E-00362.00-SCF4-8.57286462E+0028.55207285E-00680.91-SCF5-8.57286463E+0023.12287085E-00898.20-SCF-tokineticenergycontributioncallwave_add(wvfn_temp,H_wvfn)!

Applythenon-localpotentialtothewavefunctioncallnlpot_apply(wvfn,wvfn_temp)!

AddVnl|psitogetfinalH|psicallwave_add(wvfn_temp,H_wvfn)NutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

27CodingStyle?

Clearcode?

Meaningfulvariableandsubroutinenames?

Lotsofcomments?

Goodstructure?

Carewithperformanceissues?

SomefeaturesofFORTRAN90sub-optimal?

UseBLAS/LAPACKwhereapplicableNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

28ExampleproblemwithF90!

Findingthetraceofasub-arrayreal,dimension(N,N):

A!

Passasub-arrayofAofdimensionmtr=bad_trace(A(1:

m,1:

m),m)!

Passthewholearraywithdimensionofsub-arraytr=good_trace(A,m,N)NutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

29Timingsforbad_traceNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

30Timingsforgood_traceNutsandBolts2001Lecture4:

IntroductiontoNewCASTEP?

31TheFutureofNewCASTEP?

NPTMolecularDynamics?

Free-energyintegrationforreactionbarriers?

Newnon-localXCfunctionals?

NMRchemicalshifts?

EELS?

Ramanspectro

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 考试认证 > 财会金融考试

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1