File tree Expand file tree Collapse file tree 7 files changed +9
-8
lines changed Expand file tree Collapse file tree 7 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ orbital_dir ../../../tests/PP_ORB
66calculation scf
77nbands 6
88symmetry -1
9+ nspin 2
910
1011#Parameters (2.Iteration)
1112ecutwfc 20
@@ -26,12 +27,12 @@ mixing_beta 0.4
2627
2728lr_nstates 2 # for test/debug, you can try a smaller one like 2
2829xc_kernel lda
29- lr_solver dav
30+ lr_solver dav_subspace
3031lr_thr 1e-2
3132pw_diag_ndim 4
3233
3334esolver_type ks-lr
3435
3536nvirt 2
36- abs_wavelen_range 100 175
37+ abs_wavelen_range 200 600
3738
Original file line number Diff line number Diff line change 1- totexcitationenergyref 0.391462
2- totaltimeref
1+ totexcitationenergyref 0.784963
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ orbital_dir ../../../tests/PP_ORB
66calculation scf
77nbands 6
88symmetry -1
9+ nspin 2
910
1011#Parameters (2.Iteration)
1112ecutwfc 10
Original file line number Diff line number Diff line change 1- totexcitationenergyref 1.313946
2- totaltimeref
1+ totexcitationenergyref 2.641295
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ orbital_dir ../../../tests/PP_ORB
66calculation scf
77nbands 6
88symmetry -1
9+ nspin 2
910
1011#Parameters (2.Iteration)
1112ecutwfc 10
Original file line number Diff line number Diff line change 1- totexcitationenergyref 1.587504
1+ totexcitationenergyref 3.067979
Original file line number Diff line number Diff line change @@ -539,7 +539,7 @@ if [ $is_lr == 1 ]; then
539539 lr_path=OUT.autotest/running_lr.log
540540 lrns=$( get_input_key_value " lr_nstates" " INPUT" )
541541 lrns1=` echo " $lrns + 1" | bc`
542- grep -A$lrns1 " Excitation Energy" $lr_path | tail - $lrns | awk ' {print $2}' > lr_eig.txt
542+ grep -A$lrns1 " Excitation Energy" $lr_path | awk ' NR > 2 && $2 ~ /^[0-9]+\.[0-9]+$/ {print $2}' > lr_eig.txt
543543 lreig_tot=` sum_file lr_eig.txt`
544544 echo " totexcitationenergyref $lreig_tot " >> $1
545545fi
You can’t perform that action at this time.
0 commit comments