[CP2K-user] Methods for reducing the memory usage of QS

ma...@gmail.com ma455... at gmail.com
Tue May 18 02:50:03 UTC 2021


Hi,

Recently, most of my calculations cannot be run due to the huge memory 
usage of cp2k. I'm wondering are there any effective ways for reducing the 
memory usage of DFT?

Regards,
Hongyang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20210517/7279de66/attachment.htm>
-------------- next part --------------
#Generated by Multiwfn
&GLOBAL
        PROJECT s3-pbe-01
        PRINT_LEVEL LOW
        RUN_TYPE GEO_OPT
        PREFERRED_DIAG_LIBRARY SL
&END GLOBAL

&FORCE_EVAL
        METHOD Quickstep
        &SUBSYS
                &CELL
                        A     1.6451198725457122E+01    0.0000000000000000E+00    0.0000000000000000E+00
                        B     2.0166414785804172E-12    1.6451198725456248E+01    0.0000000000000000E+00
                        C     4.3905829359276239E-12    3.3251138882727543E-12    1.6451198725456539E+01
                        PERIODIC  XYZ
                        MULTIPLE_UNIT_CELL  1 1 1
                &END CELL
                &COORD
                        P    6.8546661323999292E-01    6.8546661323709923E-01    6.8546661323616642E-01
                        Si    2.0579652753431024E+00    2.0579652753404236E+00    4.8009746775095357E+00
                        Si    4.8009746775096671E+00    2.0579652753341282E+00    2.0579652753469984E+00
                        Si    2.0579652753439741E+00    4.8009746775046196E+00    2.0579652753335642E+00
                        Si    6.9902169342032261E-01    3.4230287238860404E+00    3.4230287238856305E+00
                        Si    3.4230287238883292E+00    6.9902169341073472E-01    3.4230287238941406E+00
                        Si    3.4230287238951020E+00    3.4230287238791903E+00    6.9902169341851073E-01
                        Si    4.7966895214727483E+00    4.7966895214670213E+00    4.7966895214577745E+00
                        Si    6.8546661321486380E-01    6.8546661321177749E-01    6.1706069626885363E+00
                        Si    2.0561666001342886E+00    2.0561666001357888E+00    1.0279569989269664E+01
                        Si    4.7974282899218599E+00    2.0563837660746072E+00    7.5414870385781256E+00
                        Si    2.0563837660716859E+00    4.7974282899147864E+00    7.5414870385787234E+00
                        Si    6.8546661324481140E-01    3.4259932579875345E+00    8.9110659766075280E+00
                        Si    3.4259932579859909E+00    6.8546661324754754E-01    8.9110659766096223E+00
                        Si    3.4277023852449813E+00    3.4277023852462349E+00    6.1701717975553425E+00
                        Si    4.7983289693723075E+00    4.7983289693766205E+00    1.0281434425507650E+01
                        Si    6.8546661319997049E-01    6.8546661319932045E-01    1.1651524987008933E+01
                        Si    2.0633138613512698E+00    2.0633138613487145E+00    1.5758818091224974E+01
                        Si    4.7918982639128940E+00    2.0623680859766100E+00    1.3030233688669931E+01
                        Si    2.0623680859880524E+00    4.7918982639202641E+00    1.3030233688688702E+01
                        Si    6.7191153300647100E-01    3.4230287237002686E+00    1.4399103229374790E+01
                        Si    3.4230287236990344E+00    6.7191153300293616E-01    1.4399103229373580E+01
                        Si    3.4263663277388043E+00    3.4263663277420728E+00    1.1652871412673163E+01
                        Si    4.7918982638853267E+00    4.7918982638939669E+00    1.5759763866378837E+01
                        Si    6.8546661321482094E-01    6.1706069626914539E+00    6.8546661321226043E-01
                        Si    2.0563837660727597E+00    7.5414870385790902E+00    4.7974282899079546E+00
                        Si    4.7974282899117302E+00    7.5414870385766752E+00    2.0563837660559345E+00
                        Si    2.0561666001310157E+00    1.0279569989265967E+01    2.0561666001320091E+00
                        Si    6.8546661324428548E-01    8.9110659766080964E+00    3.4259932579863235E+00
                        Si    3.4277023852443533E+00    6.1701717975581554E+00    3.4277023852368527E+00
                        Si    3.4259932579830834E+00    8.9110659766143137E+00    6.8546661323775848E-01
                        Si    4.7983289693803668E+00    1.0281434425493682E+01    4.7983289693699902E+00
                        Si    6.8734947492935550E-01    6.1665380957512212E+00    6.1665380957493818E+00
                        Si    2.0559870958401860E+00    7.5387803821381132E+00    1.0283351570540550E+01
                        Si    4.7983790292150568E+00    7.5398264097792529E+00    7.5398264097767154E+00
                        Si    2.0559870958407629E+00    1.0283351570539114E+01    7.5387803821329245E+00
                        Si    6.8546661324208247E-01    8.9110659766295583E+00    8.9110659766301588E+00
                        Si    3.4263346677642512E+00    6.1685960383796612E+00    8.9105309670122370E+00
                        Si    3.4263346677641029E+00    8.9105309670055188E+00    6.1685960383703078E+00
                        Si    4.7983790292191966E+00    1.0282305542875367E+01    1.0282305542882645E+01
                        Si    6.8358375140447780E-01    6.1665380957514380E+00    1.1655593855947519E+01
                        Si    2.0561665998065002E+00    7.5425619630561851E+00    1.5765965352743230E+01
                        Si    4.7983289693788356E+00    7.5406975271071914E+00    1.3023802983217262E+01
                        Si    2.0563837661390183E+00    1.0280644914011775E+01    1.3024703662638498E+01
                        Si    6.8546661326464697E-01    8.9110659766018134E+00    1.4396138695403405E+01
                        Si    3.4263663276761598E+00    6.1692605392261823E+00    1.4395765625696340E+01
                        Si    3.4263346678193858E+00    8.9116009862203747E+00    1.1653535913351215E+01
                        Si    4.7974282898960281E+00    1.0280644913945808E+01    1.5765748186380661E+01
                        Si    6.8546661319842128E-01    1.1651524987008708E+01    6.8546661319644908E-01
                        Si    2.0623680859862810E+00    1.3030233688684618E+01    4.7918982639158321E+00
                        Si    4.7918982639158694E+00    1.3030233688686614E+01    2.0623680859857529E+00
                        Si    2.0633138613484610E+00    1.5758818091224969E+01    2.0633138613425346E+00
                        Si    6.7191153300526663E-01    1.4399103229375962E+01    3.4230287236978714E+00
                        Si    3.4263663277397334E+00    1.1652871412668024E+01    3.4263663277406797E+00
                        Si    3.4230287237009565E+00    1.4399103229373981E+01    6.7191153300378370E-01
                        Si    4.7918982638895917E+00    1.5759763866379320E+01    4.7918982638894150E+00
                        Si    6.8358375140182015E-01    1.1655593855946607E+01    6.1665380957480176E+00
                        Si    2.0563837661400517E+00    1.3024703662643962E+01    1.0280644914008427E+01
                        Si    4.7983289693737605E+00    1.3023802983216845E+01    7.5406975270925392E+00
                        Si    2.0561665998053882E+00    1.5765965352752604E+01    7.5425619630543794E+00
                        Si    6.8546661326624247E-01    1.4396138695405917E+01    8.9110659765977029E+00
                        Si    3.4263346678212030E+00    1.1653535913363164E+01    8.9116009862057606E+00
                        Si    3.4263663276744909E+00    1.4395765625702948E+01    6.1692605392258688E+00
                        Si    4.7974282898985710E+00    1.5765748186397538E+01    1.0280644913935872E+01
                        Si    6.8734947497374810E-01    1.1655593855980642E+01    1.1655593855977367E+01
                        Si    2.0579652750153032E+00    1.3021157274650943E+01    1.5764166677422551E+01
                        Si    4.7966895215082923E+00    1.3025442431114271E+01    1.3025442431117263E+01
                        Si    2.0579652750153530E+00    1.5764166677423647E+01    1.3021157274641448E+01
                        Si    6.9902169344131482E-01    1.4399103229459547E+01    1.4399103229455646E+01
                        Si    3.4277023852813686E+00    1.1651960154220298E+01    1.4394429568189372E+01
                        Si    3.4277023852874429E+00    1.4394429568194013E+01    1.1651960154212070E+01
                        Si    4.8009746774051854E+00    1.5764166677210250E+01    1.5764166677198446E+01
                        Si    6.1706069626889635E+00    6.8546661321331892E-01    6.8546661322096569E-01
                        Si    7.5414870385803079E+00    2.0563837660796387E+00    4.7974282899362422E+00
                        Si    1.0279569989268946E+01    2.0561666001357102E+00    2.0561666001113101E+00
                        Si    7.5414870385689410E+00    4.7974282899257483E+00    2.0563837660366464E+00
                        Si    6.1701717975702834E+00    3.4277023852378732E+00    3.4277023852303228E+00
                        Si    8.9110659766113223E+00    6.8546661324582858E-01    3.4259932579913386E+00
                        Si    8.9110659766095370E+00    3.4259932579743673E+00    6.8546661324920288E-01
                        Si    1.0281434425492730E+01    4.7983289693665174E+00    4.7983289693775308E+00
                        Si    6.1665380957504281E+00    6.8734947491202480E-01    6.1665380957345377E+00
                        Si    7.5387803821430648E+00    2.0559870958426032E+00    1.0283351570536601E+01
                        Si    1.0283351570539851E+01    2.0559870958421320E+00    7.5387803821639929E+00
                        Si    7.5398264097620320E+00    4.7983790292091344E+00    7.5398264097937906E+00
                        Si    6.1685960383703211E+00    3.4263346677711235E+00    8.9105309670422876E+00
                        Si    8.9110659766403373E+00    6.8546661321004199E-01    8.9110659766445277E+00
                        Si    8.9105309670055135E+00    3.4263346677585220E+00    6.1685960383958456E+00
                        Si    1.0282305542872168E+01    4.7983790292073927E+00    1.0282305542868091E+01
                        Si    6.1665380957484190E+00    6.8358375141174987E-01    1.1655593855937338E+01
                        Si    7.5425619630583389E+00    2.0561665998004921E+00    1.5765965352722498E+01
                        Si    1.0280644914018364E+01    2.0563837661287216E+00    1.3024703662661407E+01
                        Si    7.5406975271072367E+00    4.7983289693758602E+00    1.3023802983220525E+01
                        Si    6.1692605392151094E+00    3.4263663276806295E+00    1.4395765625688053E+01
                        Si    8.9110659766048261E+00    6.8546661325074965E-01    1.4396138695395553E+01
                        Si    8.9116009862279224E+00    3.4263346678077746E+00    1.1653535913366250E+01
                        Si    1.0280644913951196E+01    4.7974282898905463E+00    1.5765748186374800E+01
                        Si    6.1665380957457492E+00    6.1665380957496589E+00    6.8734947488861442E-01
                        Si    7.5398264097695300E+00    7.5398264097678656E+00    4.7983790292381929E+00
                        Si    1.0283351570537803E+01    7.5387803821474657E+00    2.0559870958362931E+00
                        Si    7.5387803821438659E+00    1.0283351570545513E+01    2.0559870958186708E+00
                        Si    6.1685960383807679E+00    8.9105309669999855E+00    3.4263346677479096E+00
                        Si    8.9105309669958448E+00    6.1685960383726268E+00    3.4263346677563606E+00
                        Si    8.9110659766433535E+00    8.9110659766397049E+00    6.8546661320237368E-01
                        Si    1.0282305542874948E+01    1.0282305542864220E+01    4.7983790292126205E+00
                        Si    6.1687984665889903E+00    6.1687984665912916E+00    6.1687984665967974E+00
                        Si    7.5395926843680998E+00    7.5395926843464185E+00    1.0282539268305454E+01
                        Si    1.0282539268286770E+01    7.5395926843482570E+00    7.5395926843501577E+00
                        Si    7.5395926843600565E+00    1.0282539268291387E+01    7.5395926843447754E+00
                        Si    6.1689249854561776E+00    8.9110659766349656E+00    8.9110659766374258E+00
                        Si    8.9110659766393177E+00    6.1689249854303609E+00    8.9110659766088141E+00
                        Si    8.9110659766409697E+00    8.9110659766291374E+00    6.1689249854159049E+00
                        Si    1.0282539268298224E+01    1.0282539268298915E+01    1.0282539268295672E+01
                        Si    6.1681199905561641E+00    6.1681199905562805E+00    1.1654011961177165E+01
                        Si    7.5387803821442763E+00    7.5387803821752861E+00    1.5766144856666289E+01
                        Si    1.0282305542870965E+01    7.5398264097747818E+00    1.3023752923388772E+01
                        Si    7.5398264097657988E+00    1.0282305542877683E+01    1.3023752923369436E+01
                        Si    6.1685960383899383E+00    8.9116009862183230E+00    1.4395797285584793E+01
                        Si    8.9116009862190584E+00    6.1685960384168599E+00    1.4395797285617592E+01
                        Si    8.9110659766401650E+00    8.9110659766279738E+00    1.1653206966325218E+01
                        Si    1.0283351570530421E+01    1.0283351570513117E+01    1.5766144856609984E+01
                        Si    6.1665380957426619E+00    1.1655593855958024E+01    6.8358375139777894E-01
                        Si    7.5406975270957242E+00    1.3023802983234077E+01    4.7983289693535287E+00
                        Si    1.0280644914018740E+01    1.3024703662622036E+01    2.0563837661371549E+00
                        Si    7.5425619630658014E+00    1.5765965352763461E+01    2.0561665997693828E+00
                        Si    6.1692605392248048E+00    1.4395765625728458E+01    3.4263663276542116E+00
                        Si    8.9116009862239629E+00    1.1653535913362251E+01    3.4263346678052677E+00
                        Si    8.9110659766084002E+00    1.4396138695386089E+01    6.8546661327809022E-01
                        Si    1.0280644913949246E+01    1.5765748186399950E+01    4.7974282899040155E+00
                        Si    6.1681199905545787E+00    1.1654011961196799E+01    6.1681199905469937E+00
                        Si    7.5398264097569037E+00    1.3023752923385432E+01    1.0282305542871997E+01
                        Si    1.0282305542867309E+01    1.3023752923379570E+01    7.5398264097780903E+00
                        Si    7.5387803821409909E+00    1.5766144856673222E+01    7.5387803821642425E+00
                        Si    6.1685960383839671E+00    1.4395797285576052E+01    8.9116009862041334E+00
                        Si    8.9110659766309404E+00    1.1653206966325596E+01    8.9110659766529672E+00
                        Si    8.9116009862113330E+00    1.4395797285608035E+01    6.1685960383882907E+00
                        Si    1.0283351570522825E+01    1.5766144856641143E+01    1.0283351570529080E+01
                        Si    6.1687984666027784E+00    1.1653333485174242E+01    1.1653333485175784E+01
                        Si    7.5414870385815345E+00    1.3024703662644765E+01    1.5765748186432649E+01
                        Si    1.0281434425511360E+01    1.3023802983183762E+01    1.3023802983187455E+01
                        Si    7.5414870385826980E+00    1.5765748186431082E+01    1.3024703662608736E+01
                        Si    6.1701717975282717E+00    1.4394429568183845E+01    1.4394429568165735E+01
                        Si    8.9105309670032327E+00    1.1653535913370925E+01    1.4395797285618114E+01
                        Si    8.9105309670080093E+00    1.4395797285602720E+01    1.1653535913363678E+01
                        Si    1.0279569989240164E+01    1.5765965352372907E+01    1.5765965352393421E+01
                        Si    1.1651524987021473E+01    6.8546661320344260E-01    6.8546661318160951E-01
                        Si    1.3030233688695345E+01    2.0623680859750202E+00    4.7918982639144483E+00
                        Si    1.5758818091228996E+01    2.0633138613456743E+00    2.0633138613437829E+00
                        Si    1.3030233688691697E+01    4.7918982639213947E+00    2.0623680859763440E+00
                        Si    1.1652871412686563E+01    3.4263663277291121E+00    3.4263663277353631E+00
                        Si    1.4399103229382550E+01    6.7191153299724415E-01    3.4230287236908308E+00
                        Si    1.4399103229377404E+01    3.4230287236971786E+00    6.7191153300172035E-01
                        Si    1.5759763866388337E+01    4.7918982638868552E+00    4.7918982638884877E+00
                        Si    1.1655593855950338E+01    6.8358375140662708E-01    6.1665380957568781E+00
                        Si    1.3024703662650026E+01    2.0563837661400752E+00    1.0280644914015662E+01
                        Si    1.5765965352755080E+01    2.0561665998022449E+00    7.5425619630519156E+00
                        Si    1.3023802983221524E+01    4.7983289693796216E+00    7.5406975270946335E+00
                        Si    1.1653535913370986E+01    3.4263346678271862E+00    8.9116009862075014E+00
                        Si    1.4396138695412429E+01    6.8546661326147229E-01    8.9110659765999962E+00
                        Si    1.4395765625704049E+01    3.4263663276746246E+00    6.1692605392233002E+00
                        Si    1.5765748186392372E+01    4.7974282898911973E+00    1.0280644913943970E+01
                        Si    1.1655593855982634E+01    6.8734947497170518E-01    1.1655593855973489E+01
                        Si    1.3021157274653918E+01    2.0579652750256336E+00    1.5764166677405782E+01
                        Si    1.5764166677426017E+01    2.0579652750125419E+00    1.3021157274646150E+01
                        Si    1.3025442431119664E+01    4.7966895215189140E+00    1.3025442431104088E+01
                        Si    1.1651960154225327E+01    3.4277023852875419E+00    1.4394429568171290E+01
                        Si    1.4399103229463924E+01    6.9902169343855269E-01    1.4399103229458648E+01
                        Si    1.4394429568196818E+01    3.4277023852846482E+00    1.1651960154218989E+01
                        Si    1.5764166677213433E+01    4.8009746774029027E+00    1.5764166677207356E+01
                        Si    1.1655593855944351E+01    6.1665380957441061E+00    6.8358375140138894E-01
                        Si    1.3023802983218728E+01    7.5406975270903089E+00    4.7983289693721156E+00
                        Si    1.5765965352754712E+01    7.5425619630552596E+00    2.0561665998008940E+00
                        Si    1.3024703662644827E+01    1.0280644914013680E+01    2.0563837661306681E+00
                        Si    1.1653535913373242E+01    8.9116009862220249E+00    3.4263346678202500E+00
                        Si    1.4395765625708497E+01    6.1692605392215487E+00    3.4263663276687355E+00
                        Si    1.4396138695410162E+01    8.9110659765980973E+00    6.8546661326346559E-01
                        Si    1.5765748186390795E+01    1.0280644913945311E+01    4.7974282898862102E+00
                        Si    1.1654011961194650E+01    6.1681199905530573E+00    6.1681199905605908E+00
                        Si    1.3023752923385004E+01    7.5398264097427798E+00    1.0282305542874155E+01
                        Si    1.5766144856657551E+01    7.5387803821490849E+00    7.5387803821473289E+00
                        Si    1.3023752923385450E+01    1.0282305542860062E+01    7.5398264097605319E+00
                        Si    1.1653206966339217E+01    8.9110659766210603E+00    8.9110659766412059E+00
                        Si    1.4395797285604026E+01    6.1685960383771841E+00    8.9116009862089793E+00
                        Si    1.4395797285602928E+01    8.9116009862097023E+00    6.1685960383745808E+00
                        Si    1.5766144856664534E+01    1.0283351570520708E+01    1.0283351570518620E+01
                        Si    1.1653333485157088E+01    6.1687984666066402E+00    1.1653333485171959E+01
                        Si    1.3024703662649380E+01    7.5414870385789499E+00    1.5765748186432988E+01
                        Si    1.5765748186434081E+01    7.5414870385817689E+00    1.3024703662636371E+01
                        Si    1.3023802983210830E+01    1.0281434425500800E+01    1.3023802983192539E+01
                        Si    1.1653535913382298E+01    8.9105309669929440E+00    1.4395797285619537E+01
                        Si    1.4394429568194965E+01    6.1701717975254047E+00    1.4394429568186643E+01
                        Si    1.4395797285630461E+01    8.9105309669981310E+00    1.1653535913352464E+01
                        Si    1.5765965352385360E+01    1.0279569989238400E+01    1.5765965352376348E+01
                        Si    1.1655593855976262E+01    1.1655593855967751E+01    6.8734947495101439E-01
                        Si    1.3025442431119000E+01    1.3025442431113676E+01    4.7966895215130414E+00
                        Si    1.5764166677425930E+01    1.3021157274646853E+01    2.0579652750113038E+00
                        Si    1.3021157274649722E+01    1.5764166677415222E+01    2.0579652750146997E+00
                        Si    1.1651960154212071E+01    1.4394429568186382E+01    3.4277023852831894E+00
                        Si    1.4394429568193393E+01    1.1651960154214830E+01    3.4277023852752633E+00
                        Si    1.4399103229461367E+01    1.4399103229453846E+01    6.9902169343301601E-01
                        Si    1.5764166677210874E+01    1.5764166677205184E+01    4.8009746773993358E+00
                        Si    1.1653333485167156E+01    1.1653333485162333E+01    6.1687984666098741E+00
                        Si    1.3023802983207654E+01    1.3023802983213074E+01    1.0281434425497855E+01
                        Si    1.5765748186434706E+01    1.3024703662637119E+01    7.5414870385793753E+00
                        Si    1.3024703662644292E+01    1.5765748186432837E+01    7.5414870385800672E+00
                        Si    1.1653535913364960E+01    1.4395797285635629E+01    8.9105309669972677E+00
                        Si    1.4395797285630088E+01    1.1653535913357517E+01    8.9105309670014705E+00
                        Si    1.4394429568193349E+01    1.4394429568189791E+01    6.1701717975287469E+00
                        Si    1.5765965352386942E+01    1.5765965352377995E+01    1.0279569989236347E+01
                        Si    1.1654011961229070E+01    1.1654011961206933E+01    1.1654011961197641E+01
                        Si    1.3030233688646064E+01    1.3030233688645252E+01    1.5759763866342725E+01
                        Si    1.5759763866347333E+01    1.3030233688642031E+01    1.3030233688641014E+01
                        Si    1.3030233688652720E+01    1.5759763866343468E+01    1.3030233688636478E+01
                        Si    1.1652871412634466E+01    1.4395765625634343E+01    1.4395765625624266E+01
                        Si    1.4395765625640855E+01    1.1652871412632930E+01    1.4395765625637347E+01
                        Si    1.4395765625646321E+01    1.4395765625635809E+01    1.1652871412626679E+01
                        Si    1.5758818091187068E+01    1.5758818091180425E+01    1.5758818091177490E+01
                &END COORD
                &KIND Si   
                        ELEMENT Si
                        BASIS_SET 6-311G**
                        POTENTIAL ALL
                &END KIND
                &KIND P
                        ELEMENT P
                        BASIS_SET 6-311G**
                        POTENTIAL ALL
                        MAGNETIZATION 1
                &END KIND
        &END SUBSYS

        &DFT
                BASIS_SET_FILE_NAME  EMSL_BASIS_SETS
                POTENTIAL_FILE_NAME  POTENTIAL
                WFN_RESTART_FILE_NAME s3-pbe-01-RESTART.wfn
                CHARGE    0 #Net charge
                MULTIPLICITY    2 #Spin multiplicity
                LSD
                &QS
                        EPS_DEFAULT 1E-12 #This is default. Set all EPS_xxx to values such that the energy will be correct up to this value
                        #EPS_PGF_ORB 1E-20
                        METHOD GAPW
                &END QS
                &POISSON
                        PERIODIC XYZ #Direction(s) of PBC for calculating electrostatics
                        PSOLVER PERIODIC #The way to solve Poisson equation
                &END POISSON
                &XC
                        &XC_FUNCTIONAL PBE
                        &END XC_FUNCTIONAL
                &END XC
                #&XC
                #        &XC_FUNCTIONAL
                #                &XWPBE
                #                        SCALE_X -0.13
                #                        SCALE_X0 1.0
                #                        OMEGA 0.11
                #                &END XWPBE
                #                &PBE
                #                        SCALE_X 0.0
                #                        SCALE_C 1.0
                #                &END PBE
                #        &END XC_FUNCTIONAL
                #        &HF
                #                FRACTION 0.13
                #                &SCREENING
                #                        EPS_SCHWARZ 1E-6 #Important to improve scaling. The larger the value, the lower the cost and lower the accuracy
                #                        SCREEN_ON_INITIAL_P T #Screening on product between maximum of density matrix elements and ERI
                #                        EPS_SCHWARZ_FORCES 1E-5
                #                &END SCREENING
                #                &INTERACTION_POTENTIAL
                #                        POTENTIAL_TYPE SHORTRANGE
                #                        OMEGA 0.11
                #                &END INTERACTION_POTENTIAL
                #                &MEMORY
                #                        MAX_MEMORY 3000 #Memory(MB) per MPI process for calculating HF exchange
                #                        EPS_STORAGE_SCALING 0.1
                #                &END MEMORY
                #        &END HF
                #&END XC
                &MGRID
                        CUTOFF 450
                        REL_CUTOFF 60
                &END MGRID
                &SCF
                        MAX_SCF 200
                        EPS_SCF 1.0E-06 #Convergence threshold of density matrix during SCF
                        SCF_GUESS RESTART #Use wavefunction from WFN_RESTART_FILE_NAME file as initial guess
                        &DIAGONALIZATION
                                ALGORITHM STANDARD #Algorithm for diagonalization. DAVIDSON is faster for large systems
                        &END DIAGONALIZATION
                        &MIXING #How to mix old and new density matrices
                                METHOD BROYDEN_MIXING #PULAY_MIXING is also a good alternative
                                ALPHA 0.2 #Default. Mixing 40% of new density matrix with the old one
                                NBROYDEN 8 #Default is 4. Number of previous steps stored for the actual mixing scheme
                        &END MIXING
                        &PRINT
                                &RESTART #Use "&RESTART OFF" can prevent generating wfn file
                                        BACKUP_COPIES 0 #Maximum number of backup copies of wfn file
                                &END RESTART
                        &END PRINT
                &END SCF
                &PRINT
                        &MO_CUBES
                                WRITE_CUBE F
                                NHOMO 1
                                NLUMO 1
                        &END MO_CUBES
                        &HYPERFINE_COUPLING_TENSOR
                        &END HYPERFINE_COUPLING_TENSOR
                &END PRINT
        &END DFT
        #STRESS_TENSOR ANALYTICAL
&END FORCE_EVAL
&MOTION
        &GEO_OPT
                TYPE MINIMIZATION #Search for minimum
                OPTIMIZER BFGS #Can also be CG (more robust for difficult cases) or LBFGS
                &BFGS
                        TRUST_RADIUS 0.2 #Trust radius (maximum stepsize) in Angstrom
                        #     RESTART_HESSIAN T #If read initial Hessian, uncomment this line and specify the file in the next line
                        #     RESTART_FILE_NAME to_be_specified
                &END BFGS
                MAX_ITER 250 #Maximum number of geometry optimization
                #The following thresholds of geometry convergence are the default ones
                MAX_DR 3E-3 #Maximum geometry change
                RMS_DR 1.5E-3 #RMS geometry change
                MAX_FORCE 4.5E-4 #Maximum force
                RMS_FORCE 3E-4 #RMS force
        &END GEO_OPT
        &PRINT
                &RESTART
                        BACKUP_COPIES 0 #Maximum number of backing up restart file
                &END RESTART
        &END PRINT
&END MOTION



More information about the CP2K-user mailing list