# Title: Script for running ABINIT for the tutorials # Before running RunTests.pl with this file, read README in this directory. # # Copyright (C) 2003-2006 ABINIT group (LSi) # This file is distributed under the terms of the # GNU General Public License, see ~abinit/COPYING # or http://www.gnu.org/copyleft/gpl.txt . # For the initials of contributors, see ~abinit/doc/developers/contributors . # # for all the following tests, use unix-style file paths # they will be converted by function transpath if necessary # file paths may contain a perl variable (e.g. $PSPS) # # The following lines describe the tests to be run. The general syntax of # these lines is: [testID | end] [command | program] parameters. # # The first word is the test identification. All consecutive lines that begin # with the same word will be executed in that order. "testID" can be 'end' to # signal the normal end of a tests sequence: multiple 'end's are allowed. # The second word specifies an ABINIT module or system command to be run. The # following system commands are available: copy, erase # The following keywords refer to ABINIT programs: # abinis | seq exercise the sequential version of abinis # aim exercise the atom-in-molecule Bader analysis # ana | anaddb exercise anaddb # band2eps exercise band2eps # cut3d exercise cut3d # conducti exercise conducti # lwf exercise lwf # macroave exercise macroave # mrg | mrgddb exercise mrgddb # newsp exercise newsp # # parameters for copy and erase are file or directory names # # parameters for mrgddb must comply to the following format: # [fn1] 'short description' (fn2 fn3 ... fnLast) # fn2 ... fnLast can reside in the Test directory as normal or g-zipped files # they will be copied, and unzipped if necessary, to the working directory # before the test and the copy will be deleted after # # parameters for the other programs are either file paths derived from the # subroutines 'doseqtest', 'newsptest', ... in the old Run.pl scripts, or # options to tailor the flow of results analysis and other operations before # or after the tests; # format for file paths is: fnI=path # format for pseudo-potential file paths is: pspI=path # format for the GEO file is: GEO=path # format for the DS3_DOS_AT000x file name is: DS3AT=path # format for options is: opt=option # option can be either a standard option of the fldiff script (-easy , -medium , -ridiculous), # options to tailor the analysis of the results after test completion: # -nofld don't run fldiff # -logout log to .out file and apply diff/fldiff to it # -DOS apply diff/fldiff to the o_DOS file # -DS2 apply diff/fldiff to the o_DS2_DOS file # +xml also apply diff/fldiff to the CML.xml file # or the following options to modify the flow of operations during the test: # -keepfn4 # default options to call fldiff are: -ignore -ignoreP # # Default file names for the test with Id NNN (1 to 3 characters string): # 1) mrg/mrgddb # fn1 = tNNN.ddb.out # 2) abinis/seq # fn1 = ../tNNN.in # fn2 = tNNN.out # fn3 = tNNNi # fn4 = tNNNo # fn5 = tNNN # fn6-fn9,psp1-psp4 = none # 3) newsp # fn1-fn2 = none # fn3 = tNNNo_WFK # 4) ana/anaddb # fn1 = ../tNNN.in # fn2 = tNNN.out # fn3 = tNNN.ddb.in # fn3 can reside in the Test directory as a normal or g-zipped file # it will be copied, and unzipped if necessary, to the working directory before # the test and the copy will be deleted after # fn4 = tNNN.md # 5) cut3d # fn1 = ../tNNN.in # fn2 = tNNN.out # 6) aim # fn1 = ../tNNN.in # fn2 = tNNNi_DEN # fn3 = tNNN # fn4-fn5,psp1-psp2 = none # 7) conducti # fn1 = ../tNNN.in # fn2 = tNNN.out # fn3 = tNNN # 8) lwf # fn1 = ../tNNN.in # fn2 = ../tNNN.moldyn.in # fn3 = tNNN.out # fn4 = tNNN.wandata # 9) band2eps # fn1 = ../tNNN.in # fn2 = tNNN.out.eps # fn3 = ../tNNN.in.freq # fn4 = ../tNNN.in.displ # 10) macroave # fn1 = ../tNNN.in # fn2 = tNNN_DEN.MAV # fn3 = tNNN_DEN.PAV # fn4 = tNNN 11 seq psp1=01h.pspgth 12 seq psp1=01h.pspgth 13 seq psp1=01h.pspgth 14 seq psp1=01h.pspgth 15 seq psp1=01h.pspgth 21 seq psp1=01h.pspgth # In some cases, change the default tolerance from 1.0d-10 to 1.0d-8 or 1.0d-5 22 seq psp1=01h.pspgth opt=-medium 23 seq psp1=01h.pspgth opt=-medium 24 seq psp1=01h.pspgth 25 seq psp1=01h.pspgth opt=-medium 31 seq psp1=14si.pspnc 32 seq psp1=14si.pspnc 33 seq psp1=14si.pspnc 34 seq psp1=14si.pspnc opt=-medium 35 seq psp1=14si.pspnc 41 seq psp1=13al.981214.fhi 42 seq psp1=13al.981214.fhi opt=-easy 43 seq psp1=13al.981214.fhi opt=-easy 44 seq psp1=13al.981214.fhi 45 seq psp1=13al.981214.fhi opt=-easy 46 seq psp1=13al.981214.fhi opt=-easy 47 seq psp1=13al.981214.fhi opt=-easy 48 seq psp1=13al.981214.fhi elast_1 seq psp1=13al.pspnc psp2=33as.pspnc elast_2 seq psp1=13al.pspnc psp2=33as.pspnc opt=-easy elast_3 anaddb fn3=telast_2o_DS3_DDB opt=-easy elast_4 seq psp1=13al.pspnc psp2=33as.pspnc elast_5 seq psp1=13al.pspnc psp2=33as.pspnc elast_6 seq psp1=13al.pspnc opt=-medium elphon_1 seq psp1=13al.981214.fhi opt=-medium elphon_2 mrg 'Total ddb for Al FCC system' (telphon_1o_DS3_DDB telphon_1o_DS4_DDB telphon_1o_DS5_DDB telphon_1o_DS7_DDB telphon_1o_DS8_DDB telphon_1o_DS9_DDB telphon_1o_DS11_DDB telphon_1o_DS12_DDB telphon_1o_DS13_DDB) elphon_3 mrggkk elphon_4 anaddb fn3=telphon_2.ddb.out fn5=telphon_3o_GKK.bin elphon_5 anaddb fn3=telphon_2.ddb.out fn5=telphon_3o_GKK.bin ffield_1 seq psp1=13al.pspnc psp2=33as.pspnc ffield_2 seq psp1=13al.pspnc psp2=33as.pspnc opt=-medium ffield_3 anaddb fn3=tffield_2o_DS3_DDB opt=-easy ffield_4 seq psp1=13al.pspnc psp2=33as.pspnc ffield_5 seq psp1=13al.pspnc psp2=33as.pspnc ffield_6 seq psp1=13al.pspnc psp2=33as.pspnc opt=-easy #ffield_7 seq psp1=13al.pspnc psp2=33as.pspnc # Does not work on my PC gw_1 seq psp1=14si.pspnc gw_2 seq psp1=14si.pspnc # Case gw_3-gw_9: copy files at the right place, then, must keep the copied files gw_3 erase tgw_3o_* gw_3 copy tgw_2o_DS2_KSS tgw_3o_DS1_KSS gw_3 copy tgw_2o_DS3_SCR tgw_3o_DS1_SCR gw_3 seq psp1=14si.pspnc opt=-keepfn4 gw_4 erase tgw_4o_* gw_4 copy tgw_2o_DS2_KSS tgw_4o_DS1_KSS gw_4 copy tgw_2o_DS3_SCR tgw_4o_DS1_SCR gw_4 seq psp1=14si.pspnc opt=-keepfn4 gw_5 erase tgw_5o_* gw_5 copy tgw_2o_DS2_KSS tgw_5o_DS1_KSS gw_5 copy tgw_2o_DS3_SCR tgw_5o_DS1_SCR gw_5 seq psp1=14si.pspnc opt=-keepfn4 gw_6 erase tgw_6o_* gw_6 copy tgw_2o_DS2_KSS tgw_6o_DS1_KSS gw_6 copy tgw_2o_DS3_SCR tgw_6o_DS1_SCR gw_6 seq psp1=14si.pspnc opt=-keepfn4 gw_7 erase tgw_7o_* gw_7 copy tgw_2o_DS2_KSS tgw_7o_DS1_KSS gw_7 copy tgw_2o_DS3_SCR tgw_7o_DS1_SCR gw_7 seq psp1=14si.pspnc opt=-keepfn4 gw_8 erase tgw_8o_* gw_8 copy tgw_2o_DS2_KSS tgw_8o_DS1_KSS gw_8 copy tgw_2o_DS3_SCR tgw_8o_DS1_SCR gw_8 seq psp1=14si.pspnc opt=-keepfn4 gw_9 erase tgw_9o_* gw_9 copy tgw_2o_DS2_KSS tgw_9o_DS1_KSS gw_9 copy tgw_2o_DS3_SCR tgw_9o_DS1_SCR gw_9 seq psp1=14si.pspnc opt=-keepfn4 nlo_1 seq psp1=13al.pspnc psp2=33as.pspnc opt=-medium nlo_2 seq psp1=13al.pspnc psp2=33as.pspnc nlo_3 seq psp1=13al.pspnc psp2=33as.pspnc opt=-medium nlo_4 mrg 'linear + nonlinear response calculation of AlAs' (tnlo_3o_DS4_DDB tnlo_2o_DS4_DDB tnlo_2o_DS5_DDB) opt=-medium nlo_5 anaddb fn3=tnlo_4.ddb.out opt=-easy #Too long, and likely not used for the tutorial #nlo_6 seq psp1=13al.pspnc psp2=33as.pspnc optic_1 seq psp1=31ga.pspnc psp2=33as.pspnc opt=-easy optic_2 optic opt=-easy optic_3 seq psp1=31ga.pspnc psp2=33as.pspnc opt=-easy optic_4 optic opt=-easy paral_1 seq psp1=HGH/82pb.4.hgh paral_2 seq psp1=HGH/26fe.8.hgh paral_3 seq psp1=HGH/79au.11.hgh paw1_1 seq psp1=6c.pspnc paw1_2 seq psp1=6c_lda.paw opt=-easy paw1_3 seq psp1=6c_lda.paw opt=-easy paw1_4 seq psp1=6c_lda.paw opt=-easy paw1_5 seq psp1=6c_lda.paw opt=-easy paw1_6 seq psp1=6c_lda.paw opt=-easy rf1_1 seq psp1=13al.981214.fhi psp2=33as.pspnc rf1_2 seq fn3=trf1_1o psp1=13al.981214.fhi psp2=33as.pspnc rf1_3 seq fn3=trf1_1o psp1=13al.981214.fhi psp2=33as.pspnc rf1_4 seq fn3=trf1_1o psp1=13al.981214.fhi psp2=33as.pspnc opt=-medium rf1_5 seq psp1=13al.981214.fhi psp2=33as.pspnc opt=-medium rf1_6 seq psp1=13al.981214.fhi psp2=33as.pspnc opt=-medium rf2_1 seq psp1=13al.981214.fhi psp2=33as.pspnc opt=-medium rf2_2 seq psp1=13al.981214.fhi psp2=33as.pspnc opt=-medium rf2_3 mrg 'AlAs phonons on 4 4 4 mesh' (trf2_1o_DS3_DDB trf2_1o_DS4_DDB trf2_1o_DS5_DDB trf2_1o_DS6_DDB trf2_1o_DS7_DDB trf2_1o_DS8_DDB trf2_1o_DS9_DDB trf2_1o_DS10_DDB) opt=-medium rf2_4 anaddb fn3=trf2_3.ddb.out fn4=trf2_4_dummy opt=-easy rf2_5 anaddb fn3=trf2_3.ddb.out fn4=trf2_5_band2eps opt=-easy rf2_6 band2eps fn4=no rf2_7 anaddb fn3=trf2_3.ddb.out fn4=trf2_7_dummy opt=-easy spin_1 seq psp1=26fe.pspnc spin_2 seq psp1=26fe.pspnc spin_3 seq psp1=26fe.pspnc spin_5 seq psp1=73ta.hghsc tddft_1 seq psp1=7n.psphgh make report