Merge lp:~albertog/siesta/4.0-images-2 into lp:siesta/4.0

Proposed by Alberto Garcia
Status: Merged
Merged at revision: 576
Proposed branch: lp:~albertog/siesta/4.0-images-2
Merge into: lp:siesta/4.0
Diff against target: 686 lines (+179/-135) (has conflicts)
19 files modified
Docs/siesta.tex (+36/-9)
Src/Makefile (+1/-2)
Src/hsparse.F (+53/-77)
Src/new_dm.F (+20/-1)
Src/state_init.F (+50/-8)
Tests/born/born.fdf (+0/-3)
Tests/born_spin/born_spin.fdf (+0/-4)
Tests/force_2/force_2.fdf (+0/-4)
Tests/force_constants/force_constants.fdf (+0/-4)
Tests/graphite_c6/graphite_c6.fdf (+0/-2)
Tests/md_anneal/md_anneal.fdf (+2/-3)
Tests/md_nose/md_nose.fdf (+2/-3)
Tests/md_npr/md_npr.fdf (+2/-3)
Tests/md_pr/md_pr.fdf (+2/-3)
Tests/md_verlet/md_verlet.fdf (+2/-3)
Tests/sih_fire/sih_fire.fdf (+0/-2)
Tests/var_cell/var_cell.fdf (+2/-3)
Tests/zmatrix/zmatrix.fdf (+0/-1)
version.info (+7/-0)
Text conflict in version.info
To merge this branch: bzr merge lp:~albertog/siesta/4.0-images-2
Reviewer Review Type Date Requested Status
Nick Papior Approve
Review via email: mp+345362@code.launchpad.net

This proposal supersedes a proposal from 2018-05-08.

Commit message

(See individual commit messages)

Description of the change

Two initial independent changes:

1. The fix for the "severe folding" leading to wrong norm of the DM initialized by atomic data.
2. A saner hsparse.

Plus:

* Detection of the "severe folding" (called "diagonal_folding") in hsparse (by checking for sameness of io and jo). Harris runs with severe folding is not permitted.

* Removal of Harris option in tests.

* Update to the manual (pending removal of two obsolete auxiliary-cell options)

To post a comment you must log in.
Revision history for this message
Alberto Garcia (albertog) wrote : Posted in a previous version of this proposal

For Harris-functional calculations, severe folding is just plain crazy, as there is no time to smooth out the initial differences. We should remove the Harris option from the force_2 test.

In general, we should remove tests with non-physically small cells with gamma point (or at least flag them as showcases for the problems).

Revision history for this message
Nick Papior (nickpapior) wrote : Posted in a previous version of this proposal

Could we force the auxiliary cell for Harris functional?

1) I think very few people are using it,
2) The overhead is negligeble in this case.

Revision history for this message
Nick Papior (nickpapior) : Posted in a previous version of this proposal
review: Approve
Revision history for this message
Nick Papior (nickpapior) wrote : Posted in a previous version of this proposal

There are 2 directions to your listh_fold.

1) The indxuo is *ALWAYS* a linear array ((io,io=1:no),i_s=1:product(nsc)). So the listh_fold is unnecessary. Indxuo is also always available.
2) Since the above is valid the UCORB function in geom_helper.f90 is equivalent to the INDXUO array.

Maybe I don't get the listh_fold? Would you create a 3rd array?

Revision history for this message
Alberto Garcia (albertog) wrote : Posted in a previous version of this proposal

We are going to re-think the diagk0 issue.
I will re-submit with a different branch.

Revision history for this message
Alberto Garcia (albertog) wrote :

I have not updated the Reference outputs.

Revision history for this message
Nick Papior (nickpapior) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'Docs/siesta.tex'
--- Docs/siesta.tex 2018-04-24 08:40:31 +0000
+++ Docs/siesta.tex 2018-05-10 13:49:56 +0000
@@ -3044,6 +3044,7 @@
3044MaxSCFIterations, SCFMustConverge and DM.MixSCF1 are automatically set3044MaxSCFIterations, SCFMustConverge and DM.MixSCF1 are automatically set
3045up to False, 1, False and False respectively, no matter whatever other3045up to False, 1, False and False respectively, no matter whatever other
3046specification are in the INPUT file.3046specification are in the INPUT file.
3047
3047\end{itemize}3048\end{itemize}
30483049
3049{\it Default value:} {\tt .false.}3050{\it Default value:} {\tt .false.}
@@ -4184,20 +4185,32 @@
4184the matrix elements involving orbitals in different unit cells.4185the matrix elements involving orbitals in different unit cells.
4185It is computed automatically by the program at every geometry step.4186It is computed automatically by the program at every geometry step.
41864187
4188Note that for gamma-point-only calculations there is an implicit
4189``folding'' of matrix elements corresponding to the images of orbitals
4190outside the unit cell. If information about the specific values of
4191these matrix elements is needed (as for COOP/COHP analysis), one has
4192to make sure that the unit cell is large enough, or force the use
4193of an aunxiliary supercell.
4194\index{COOP/COHP curves!Folding in Gamma-point calculations}
4195
4187\begin{description}4196\begin{description}
41884197
4189\item[{\bf FixAuxiliaryCell}] ({\it logical}):4198\item[{\bf FixAuxiliaryCell}] ({\it logical}):
4190\index{FixAuxiliaryCell@{\bf FixAuxiliaryCell}}4199\index{FixAuxiliaryCell@{\bf FixAuxiliaryCell}}
41914200
4192Logical variable to control whether the auxiliary cell is changed4201Logical variable to control whether the auxiliary cell is changed
4193during a variable cell optimization.4202during a variable cell optimization. If this option is used, care
4203should be taken that the supercell is appropriate for the whole
4204duration of the run.
4205
4206{\it Default value:} {\tt .false.}
41944207
4195\item[{\bf NaiveAuxiliaryCell}] ({\it logical}):4208\item[{\bf NaiveAuxiliaryCell}] ({\it logical}):
4196\index{NaiveAuxiliaryCell@{\bf NaiveAuxiliaryCell}}4209\index{NaiveAuxiliaryCell@{\bf NaiveAuxiliaryCell}}
41974210
4198If true, the program does not check whether the auxiliary cell4211If true, the program does not check whether the auxiliary cell
4199constructed with a naive algorithm is appropriate. This variable is4212constructed with a naive algorithm is appropriate. This variable should
4200only useful if one wishes to reproduce calculations done with previous4213only be used if one wishes to reproduce calculations done with previous
4201versions of the program in which the auxiliary cell was not large4214versions of the program in which the auxiliary cell was not large
4202enough, as indicated by warnings such as:4215enough, as indicated by warnings such as:
42034216
@@ -4205,12 +4218,26 @@
42054218
4206Only small numerical differences in the results are to be expected.4219Only small numerical differences in the results are to be expected.
42074220
4208Note that for gamma-point-only calculations there is an implicit4221{\it Default value:} {\tt .false.}
4209``folding'' of matrix elements corresponding to the images of orbitals4222
4210outside the unit cell. If information about the specific values of4223\item[{\bf ForceAuxCell}] ({\it logical}):
4211these matrix elements is needed (as for COOP/COHP analysis), one has4224\index{ForceAuxCell@{\bf ForceAuxCell}}
4212to make sure that the unit cell is large enough. 4225
4213\index{COOP/COHP curves!Folding in Gamma-point calculations}4226If true, the program uses an auxiliary cell even for gamma-point-only
4227calculations. This might be needed for COOP/COHP calculations, as
4228noted above, \index{COOP/COHP curves!Folding in Gamma-point
4229 calculations} or in degenerate cases, such as when the cell is so
4230small that a given orbital ``self-interacts'' with its own images (via
4231direct overlap or through a KB projector). In this case, the diagonal
4232value of the overlap matrix S for this orbital is different from 1, and an
4233initialization of the DM via atomic data would be faulty. The
4234program corrects the problem to zeroth-order by dividing the DM value
4235by the corresponding overlap matrix entry, but the initial charge
4236density would exhibit distortions from a true atomic superposition
4237(See routine \texttt{new\_dm.F}). The distortion of the charge density
4238is a serious problem for Harris functional calculations, so this
4239option must be enabled for them if self-folding is present. (Note that
4240this should not happen in any serious calculation...)
42144241
4215{\it Default value:} {\tt .false.}4242{\it Default value:} {\tt .false.}
42164243
42174244
=== modified file 'Src/Makefile'
--- Src/Makefile 2018-04-11 11:00:02 +0000
+++ Src/Makefile 2018-05-10 13:49:56 +0000
@@ -528,8 +528,7 @@
528grdsam.o: alloc.o dhscf.o files.o m_mpi_utils.o m_partial_charges.o parallel.o528grdsam.o: alloc.o dhscf.o files.o m_mpi_utils.o m_partial_charges.o parallel.o
529grdsam.o: precision.o siesta_geom.o siesta_options.o sys.o units.o529grdsam.o: precision.o siesta_geom.o siesta_options.o sys.o units.o
530hsparse.o: alloc.o atm_types.o atmfuncs.o atomlist.o listsc.o mneighb.o530hsparse.o: alloc.o atm_types.o atmfuncs.o atomlist.o listsc.o mneighb.o
531hsparse.o: parallel.o parallelsubs.o precision.o siesta_options.o sorting.o531hsparse.o: parallel.o parallelsubs.o precision.o sorting.o sparse_matrices.o
532hsparse.o: sparse_matrices.o sys.o
533idiag.o: parallel.o sys.o532idiag.o: parallel.o sys.o
534initatom.o: atmparams.o atom.o atom_options.o basis_io.o basis_specs.o533initatom.o: atmparams.o atom.o atom_options.o basis_io.o basis_specs.o
535initatom.o: basis_types.o electrostatic.o old_atmfuncs.o precision.o534initatom.o: basis_types.o electrostatic.o old_atmfuncs.o precision.o
536535
=== modified file 'Src/hsparse.F'
--- Src/hsparse.F 2016-01-25 16:00:16 +0000
+++ Src/hsparse.F 2018-05-10 13:49:56 +0000
@@ -48,7 +48,8 @@
48 subroutine hsparse( negl, cell, nsc, na, isa, xa,48 subroutine hsparse( negl, cell, nsc, na, isa, xa,
49 & lasto, lastkb, iphorb, iphkb, 49 & lasto, lastkb, iphorb, iphkb,
50 & nlhmax, gamma,50 & nlhmax, gamma,
51 $ set_xijo, folding)51 $ set_xijo, folding,
52 $ diagonal_folding, debug_folding)
5253
53 use precision54 use precision
54 use parallel, only : Node, Nodes55 use parallel, only : Node, Nodes
@@ -59,9 +60,8 @@
59 use sorting60 use sorting
60 use neighbour, only : jna=>jan, xij, r2ij, maxna=>maxnna61 use neighbour, only : jna=>jan, xij, r2ij, maxna=>maxnna
61 use neighbour, only : mneighb, reset_neighbour_arrays62 use neighbour, only : mneighb, reset_neighbour_arrays
62 use sys, only : die
63 use alloc, only : re_alloc, de_alloc63 use alloc, only : re_alloc, de_alloc
64 use atomlist, only : no_l64 use atomlist, only : no_l, indxuo
65 use sparse_matrices, only : listhptr, numh, listh, xijo65 use sparse_matrices, only : listhptr, numh, listh, xijo
66 implicit none66 implicit none
6767
@@ -76,6 +76,8 @@
76 logical, intent(in) :: gamma76 logical, intent(in) :: gamma
77 logical, intent(in) :: set_xijo77 logical, intent(in) :: set_xijo
78 logical, intent(out) :: folding78 logical, intent(out) :: folding
79 logical, intent(out) :: diagonal_folding
80 logical, intent(in), optional :: debug_folding
7981
80 external timer82 external timer
8183
@@ -99,8 +101,6 @@
99 & rci, rcj, rck, rij, rik, rjk,101 & rci, rcj, rck, rij, rik, rjk,
100 & rmax, rmaxkb, rmaxo102 & rmax, rmaxkb, rmaxo
101103
102 logical, save :: warn1 = .false.
103
104 real(dp), dimension(:), pointer :: rckb104 real(dp), dimension(:), pointer :: rckb
105 logical, dimension(:), pointer :: conect105 logical, dimension(:), pointer :: conect
106 integer, dimension(:), pointer :: index106 integer, dimension(:), pointer :: index
@@ -108,14 +108,18 @@
108 integer, dimension(:), pointer :: listhtmp108 integer, dimension(:), pointer :: listhtmp
109109
110 logical :: connected110 logical :: connected
111111 logical :: debug
112 integer :: nprints ! for debugging
112C -------------------------------------113C -------------------------------------
113#ifdef DEBUG114
114 call write_debug( ' PRE hsparse' )
115#endif
116C Start time counter115C Start time counter
117 call timer( 'hsparse', 1 )116 call timer( 'hsparse', 1 )
118117
118 debug = .false.
119 if (present(debug_folding)) then
120 debug = debug_folding
121 endif
122
119C Check size of internal arrays123C Check size of internal arrays
120 ncells = nsc(1) * nsc(2) * nsc(3)124 ncells = nsc(1) * nsc(2) * nsc(3)
121 nua = na / ncells125 nua = na / ncells
@@ -192,6 +196,7 @@
192 enddo196 enddo
193197
194 folding = .false.198 folding = .false.
199 diagonal_folding = .false.
195200
196C------------------------------------C201C------------------------------------C
197C Find number of non-zeros in H C202C Find number of non-zeros in H C
@@ -324,6 +329,7 @@
324C------------------------------------C329C------------------------------------C
325C Find full H sparsity pattern C330C Find full H sparsity pattern C
326C------------------------------------C331C------------------------------------C
332 nprints = 0
327C Loop on atoms in unit cell333C Loop on atoms in unit cell
328 do ia = 1,nua334 do ia = 1,nua
329C Find neighbour atoms within maximum range335C Find neighbour atoms within maximum range
@@ -396,62 +402,53 @@
396 endif402 endif
397403
398 if (connected) then404 if (connected) then
399 if (conect(jo)) then405 if (conect(jo)) then
400 folding = .true.406 folding = .true.
401407 if (io == indxuo(jo)) then
402 ! This test is now deferred to be able408 diagonal_folding = .true.
403 ! to catch multiple images while avoiding409 endif
404 ! false positives (i.e., we test first410
405 ! whether there is indeed a connection).411 ! If already connected and using supercell, the
406412 ! latter might not be big enough... We defer
407 if (.true.) then413 ! the decision on whether to kill the program
408 ! If already connected and using supercell, 414 ! to the caller. Here keep the first instance
409 ! the latter might not be big enough...
410 ! We warn the user and keep the first instance
411 ! of xij (same behavior as the old xijorb, as415 ! of xij (same behavior as the old xijorb, as
412 ! earlier jnats are closer)416 ! earlier jnats are closer)
413 ! Warn also if Gamma-point calculation, just417 if (debug) then
414 ! in case418 ! This might not be pretty in
415 if (.not.warn1) then419 ! parallel. Better to build a list of a few
416 if (Node.eq.0) then420 ! cases, and pass it to the caller.
417 if (gamma) then421 if (nprints <= 20) then
418 call check_cohp(io,jo)422 print "(a,2i6,a)",
419 else423 . 'WARNING: orbital pair ',io,indxuo(jo),
420 write(6,'(/,a,2i6,a,/,a)')
421 . 'WARNING: orbital pair ',io,jo,
422 . ' is multiply connected'424 . ' is multiply connected'
423 endif425 nprints = nprints + 1
424 endif426 endif
425 warn1 = .true.427 endif
426 endif428
427 endif429 else
428430
429 else431 conect(jo) = .true.
430432 numh(iio) = numh(iio) + 1
431 conect(jo) = .true.433 ind = listhptr(iio)+numh(iio)
432 numh(iio) = numh(iio) + 1434 listh(ind) = jo
433 ind = listhptr(iio)+numh(iio)435 if (set_xijo) then
434 listh(ind) = jo436 xijo(1:3,ind) = xij(1:3,jnat)
435 if (set_xijo) then437 endif
436 xijo(1:3,ind) = xij(1:3,jnat)
437 endif438 endif
438 endif439 endif
439 endif440 enddo
440 enddo441 enddo
441 enddo
442442
443C Restore conect array for next orbital io443C Restore conect array for next orbital io
444 do j = 1,numh(iio)444 do j = 1,numh(iio)
445 jo = listh(listhptr(iio)+j)445 jo = listh(listhptr(iio)+j)
446 conect(jo) = .false.446 conect(jo) = .false.
447 enddo447 enddo
448 endif ! iio > 0448 endif ! iio > 0
449 enddo ! io449 enddo ! io
450 enddo ! ia450 enddo ! ia
451451
452!! print "(a5,i3,a40,3i8)",
453!! $ "Node: ", Node, "in hsparse nuo, nuotot, nlhmax: ",
454!! $ nuo, nuotot, nlhmax
455452
456C Initialize listsc453C Initialize listsc
457 call LISTSC_INIT( nsc, nuotot )454 call LISTSC_INIT( nsc, nuotot )
@@ -466,28 +463,7 @@
466 call de_alloc( rckb, 'rckb', 'hsparse' )463 call de_alloc( rckb, 'rckb', 'hsparse' )
467464
468 call timer( 'hsparse', 2 )465 call timer( 'hsparse', 2 )
469#ifdef DEBUG466
470 call write_debug( ' POS hsparse' )
471#endif
472 end subroutine hsparse467 end subroutine hsparse
473
474 subroutine check_cohp(io,jo)
475 use siesta_options, only: write_coop
476
477 integer, intent(in) :: io, jo
478
479 if (write_coop) then
480 write(6,'(/,a,2i6,a,/,a)')
481 . 'NOTE: orbital pair ',io,jo,
482 . ' (at least) is multiply connected.',
483 . 'NOTE: Your COOP/COHP analysis might ' //
484 $ 'be affected by folding.'
485 write(0,'(/,a,2i6,a,/,a)')
486 . 'NOTE: orbital pair ',io,jo,
487 . ' (at least) is multiply connected.',
488 . 'NOTE: Your COOP/COHP analysis might ' //
489 $ 'be affected by folding.'
490 endif
491 end subroutine check_cohp
492468
493 end module m_hsparse469 end module m_hsparse
494470
=== modified file 'Src/new_dm.F'
--- Src/new_dm.F 2018-04-06 12:32:04 +0000
+++ Src/new_dm.F 2018-05-10 13:49:56 +0000
@@ -485,6 +485,7 @@
485 use mpi_siesta485 use mpi_siesta
486#endif486#endif
487 use units, only : pi487 use units, only : pi
488 use sparse_matrices, only: S
488489
489 implicit none490 implicit none
490491
@@ -655,7 +656,7 @@
655 endif656 endif
656657
657658
658 else659 else ! Initialize with neutral atoms
659660
660C See whether specific initial spins are given in a DM.InitSpin block661C See whether specific initial spins are given in a DM.InitSpin block
661C and read them in a loop on atoms where lines are read and parsed662C and read them in a loop on atoms where lines are read and parsed
@@ -903,6 +904,24 @@
903904
904 endif905 endif
905906
907 ! We have initialized with atomic information. Correct in case we
908 ! are using such a small cell that there are direct interactions
909 ! of orbitals with their own images, and we insist on using the
910 ! Gamma-point only. Otherwise S(diagonal) is always 1.0 and the
911 ! simple atomic-orbital superposition works as intended.
912
913
914 do io = 1, no_l
915 call LocalToGlobalOrb(io,Node,Nodes,iio)
916 do in = 1,numh(io)
917 ind = listhptr(io)+in
918 jo = listh(ind)
919 if (iio .eq. jo) then ! diagonal element
920 Dscf(ind,:) = Dscf(ind,:) / S(ind)
921 endif
922 enddo
923 enddo
924
906 endif925 endif
907926
908 end subroutine initdm927 end subroutine initdm
909928
=== modified file 'Src/state_init.F'
--- Src/state_init.F 2018-04-11 09:23:27 +0000
+++ Src/state_init.F 2018-05-10 13:49:56 +0000
@@ -48,7 +48,8 @@
48 use m_mpi_utils, only: globalize_or48 use m_mpi_utils, only: globalize_or
49 use m_mpi_utils, only: globalize_sum49 use m_mpi_utils, only: globalize_sum
50 use domain_decom, only: domainDecom, use_dd, use_dd_perm50 use domain_decom, only: domainDecom, use_dd, use_dd_perm
5151 use fdf, only: fdf_get
52 use sys, only: message, die
52#ifdef TRANSIESTA53#ifdef TRANSIESTA
53 use m_ts_options, only : onlyS54 use m_ts_options, only : onlyS
54 use sys, only : bye55 use sys, only : bye
@@ -69,6 +70,7 @@
69 integer :: i, ix, iadispl, ixdispl70 integer :: i, ix, iadispl, ixdispl
70 logical :: auxchanged ! Auxiliary supercell changed?71 logical :: auxchanged ! Auxiliary supercell changed?
71 logical :: folding, folding172 logical :: folding, folding1
73 logical :: diag_folding, diag_folding1
72 logical :: foundxv ! dummy for call to ioxv74 logical :: foundxv ! dummy for call to ioxv
73 real(dp) :: dummy_qspin(8)75 real(dp) :: dummy_qspin(8)
74 external :: madelung, timer76 external :: madelung, timer
@@ -255,7 +257,38 @@
255! analyses.257! analyses.
256 call hsparse( negl, scell, nsc, na_s, isa, xa, lasto,258 call hsparse( negl, scell, nsc, na_s, isa, xa, lasto,
257 & lastkb, iphorb, iphKB, maxnh, gamma,259 & lastkb, iphorb, iphKB, maxnh, gamma,
258 $ set_xijo=.true., folding=folding1)260 $ set_xijo=.true., folding=folding1,
261 $ diagonal_folding=diag_folding1,
262 $ debug_folding=fdf_get('debug-folding',.false.))
263!
264 call globalize_or(diag_folding1,diag_folding)
265 call globalize_or(folding1,folding)
266 if (diag_folding .and. gamma) then
267 call message("WARNING","Gamma-point calculation " //
268 $ "with interaction between periodic images")
269 call message("WARNING",
270 $ "Some features might not work optimally:")
271 call message("WARNING",
272 $ "e.g. DM initialization from atomic data")
273 if (harrisfun) call die("Harris functional run needs " //
274 $ "'force-aux-cell T'")
275
276 else if (folding) then
277 if (gamma) then
278 call message("INFO","Gamma-point calculation " //
279 $ "with multiply-connected orbital pairs")
280 call message("INFO",
281 $ "Folding of H and S implicitly performed")
282 call check_cohp()
283 else
284 write(6,"(a,/,a)") "Non Gamma-point calculation " //
285 $ "with multiply-connected orbital pairs " //
286 $ "in auxiliary supercell.",
287 $ "Possible internal error. " //
288 $ "Use 'debug-folding T' to debug."
289 call die("Inadequate auxiliary supercell")
290 endif
291 endif
259!292!
260 call globalize_sum(maxnh,nnz)293 call globalize_sum(maxnh,nnz)
261 if (cml_p) then294 if (cml_p) then
@@ -269,12 +302,6 @@
269 call cmlEndPropertyList(mainXML)302 call cmlEndPropertyList(mainXML)
270 endif303 endif
271 !304 !
272 call globalize_or(folding1,folding)
273 if (folding) then
274 if (IOnode) then
275 print *, "Folding of H and S is implicitly performed"
276 endif
277 endif
278 !305 !
279 ! If using domain decomposition, redistribute orbitals306 ! If using domain decomposition, redistribute orbitals
280 ! for this geometry, based on the hsparse info. 307 ! for this geometry, based on the hsparse info.
@@ -387,4 +414,19 @@
387414
388!--------------------------------------------------------------------------- END415!--------------------------------------------------------------------------- END
389 END subroutine state_init416 END subroutine state_init
417
418 subroutine check_cohp()
419 use siesta_options, only: write_coop
420 use sys, only: message
421
422 if (write_coop) then
423 call message("WARNING","There are multiply-connected "//
424 $ "orbitals.")
425 call message("WARNING","Your COOP/COHP analysis might " //
426 $ "be affected by folding.")
427 call message("WARNING",'Use "force-aux-cell T "' //
428 $ 'or k-point sampling')
429 endif
430 end subroutine check_cohp
431
390 END module m_state_init432 END module m_state_init
391433
=== modified file 'Tests/born/born.fdf'
--- Tests/born/born.fdf 2007-06-05 09:59:21 +0000
+++ Tests/born/born.fdf 2018-05-10 13:49:56 +0000
@@ -25,8 +25,5 @@
25#DM.MixingWeight 0.325#DM.MixingWeight 0.3
26#DM.NumberPulay 326#DM.NumberPulay 3
27#DM.Tolerance 1.0d-5 27#DM.Tolerance 1.0d-5
28# Here we use Harris since we are just interested in testing the displacement
29# logic
3028
31HarrisFunctional T
3229
3330
=== modified file 'Tests/born_spin/born_spin.fdf'
--- Tests/born_spin/born_spin.fdf 2007-06-05 09:59:21 +0000
+++ Tests/born_spin/born_spin.fdf 2018-05-10 13:49:56 +0000
@@ -26,8 +26,4 @@
26#DM.MixingWeight 0.326#DM.MixingWeight 0.3
27#DM.NumberPulay 327#DM.NumberPulay 3
28#DM.Tolerance 1.0d-5 28#DM.Tolerance 1.0d-5
29# Here we use Harris since we are just interested in testing the displacement
30# logic
31
32HarrisFunctional T
3329
3430
=== modified file 'Tests/force_2/force_2.fdf'
--- Tests/force_2/force_2.fdf 2007-11-21 11:45:49 +0000
+++ Tests/force_2/force_2.fdf 2018-05-10 13:49:56 +0000
@@ -15,10 +15,6 @@
15#DM.MixingWeight 0.315#DM.MixingWeight 0.3
16#DM.NumberPulay 316#DM.NumberPulay 3
17#DM.Tolerance 1.0d-5 17#DM.Tolerance 1.0d-5
18# Here we use Harris since we are just interested in testing the displacement
19# logic
20
21HarrisFunctional T
2218
23%include FC.fdf19%include FC.fdf
2420
2521
=== modified file 'Tests/force_constants/force_constants.fdf'
--- Tests/force_constants/force_constants.fdf 2007-11-21 11:45:49 +0000
+++ Tests/force_constants/force_constants.fdf 2018-05-10 13:49:56 +0000
@@ -15,10 +15,6 @@
15#DM.MixingWeight 0.315#DM.MixingWeight 0.3
16#DM.NumberPulay 316#DM.NumberPulay 3
17#DM.Tolerance 1.0d-5 17#DM.Tolerance 1.0d-5
18# Here we use Harris since we are just interested in testing the displacement
19# logic
20
21HarrisFunctional T
2218
23%include FC.fdf19%include FC.fdf
2420
2521
=== modified file 'Tests/graphite_c6/graphite_c6.fdf'
--- Tests/graphite_c6/graphite_c6.fdf 2018-04-25 07:34:20 +0000
+++ Tests/graphite_c6/graphite_c6.fdf 2018-05-10 13:49:56 +0000
@@ -31,5 +31,3 @@
31kgrid_cutoff 4.0 Ang31kgrid_cutoff 4.0 Ang
3232
33ElectronicTemperature 0 K33ElectronicTemperature 0 K
34
35HarrisFunctional T
3634
=== modified file 'Tests/md_anneal/md_anneal.fdf'
--- Tests/md_anneal/md_anneal.fdf 2012-10-24 13:10:17 +0000
+++ Tests/md_anneal/md_anneal.fdf 2018-05-10 13:49:56 +0000
@@ -1,10 +1,10 @@
1# -----------------------------------------------------------------------------1# -----------------------------------------------------------------------------
2# Primitive c-Si supercell, using STRUCT file2# Primitive c-Si supercell, using STRUCT file
3# Annealing, HarrisFunctional3# Annealing
4# Alberto Garcia, August-December 2005, January 20064# Alberto Garcia, August-December 2005, January 2006
5# -----------------------------------------------------------------------------5# -----------------------------------------------------------------------------
66
7SystemName Primitive silicon, Annealing, Harris, Struct File7SystemName Primitive silicon, Annealing, Struct File
8SystemLabel md_anneal8SystemLabel md_anneal
99
10NumberOfAtoms 210NumberOfAtoms 2
@@ -27,7 +27,6 @@
2727
28SolutionMethod diagon 28SolutionMethod diagon
29ElectronicTemperature 100 K29ElectronicTemperature 100 K
30HarrisFunctional T
31WriteMDHistory T30WriteMDHistory T
3231
33MD.TypeOfRun anneal32MD.TypeOfRun anneal
3433
=== modified file 'Tests/md_nose/md_nose.fdf'
--- Tests/md_nose/md_nose.fdf 2006-02-02 14:00:17 +0000
+++ Tests/md_nose/md_nose.fdf 2018-05-10 13:49:56 +0000
@@ -1,7 +1,7 @@
1#1#
2# MgCO3 in primitive cell. SZ Harris. Some MD steps in Nose MD2# MgCO3 in primitive cell. SZ. Some MD steps in Nose MD
3#3#
4SystemName MgCo3 MD Nose test -- SZ, 100 Ry Harris4SystemName MgCo3 MD Nose test -- SZ, 100 Ry
5SystemLabel md_nose5SystemLabel md_nose
6NumberOfSpecies 36NumberOfSpecies 3
7NumberOfAtoms 107NumberOfAtoms 10
@@ -37,7 +37,6 @@
37 0.0274 -0.25 -0.5274 337 0.0274 -0.25 -0.5274 3
38%endblock AtomicCoordinatesAndAtomicSpecies38%endblock AtomicCoordinatesAndAtomicSpecies
3939
40HarrisFunctional T
41Solution.Method diagon40Solution.Method diagon
42MeshCutoff 100 Ry41MeshCutoff 100 Ry
4342
4443
=== modified file 'Tests/md_npr/md_npr.fdf'
--- Tests/md_npr/md_npr.fdf 2006-01-27 17:09:47 +0000
+++ Tests/md_npr/md_npr.fdf 2018-05-10 13:49:56 +0000
@@ -1,7 +1,7 @@
1#1#
2# MgCO3 in primitive cell. SZ. Nose-Parrinello-Rahman. Harris2# MgCO3 in primitive cell. SZ. Nose-Parrinello-Rahman.
3#3#
4SystemName MgCo3 R-3c Harris -- SZ, 50 R -- NPR at 10 Gpa, 500K4SystemName MgCo3 R-3c -- SZ, 50 R -- NPR at 10 Gpa, 500K
5SystemLabel md_npr5SystemLabel md_npr
6NumberOfSpecies 36NumberOfSpecies 3
7NumberOfAtoms 107NumberOfAtoms 10
@@ -51,7 +51,6 @@
5151
52WriteCoorStep .true.52WriteCoorStep .true.
53WriteForces .true.53WriteForces .true.
54HarrisFunctional T
5554
56WriteMDHistory .true.55WriteMDHistory .true.
57MD.UseSaveXV T56MD.UseSaveXV T
5857
=== modified file 'Tests/md_pr/md_pr.fdf'
--- Tests/md_pr/md_pr.fdf 2006-01-27 17:09:47 +0000
+++ Tests/md_pr/md_pr.fdf 2018-05-10 13:49:56 +0000
@@ -1,7 +1,7 @@
1#1#
2# MgCO3 in primitive cell. SZ. Parrinello-Rahman. Harris2# MgCO3 in primitive cell. SZ. Parrinello-Rahman
3#3#
4SystemName MgCo3 R-3c Harris -- SZ, 50 R -- PR at 10 Gpa4SystemName MgCo3 R-3c -- SZ, 50 R -- PR at 10 Gpa
5SystemLabel md_pr5SystemLabel md_pr
6NumberOfSpecies 36NumberOfSpecies 3
7NumberOfAtoms 107NumberOfAtoms 10
@@ -51,7 +51,6 @@
5151
52WriteCoorStep .true.52WriteCoorStep .true.
53WriteForces .true.53WriteForces .true.
54HarrisFunctional T
5554
56WriteMDHistory .true.55WriteMDHistory .true.
57MD.UseSaveXV T56MD.UseSaveXV T
5857
=== modified file 'Tests/md_verlet/md_verlet.fdf'
--- Tests/md_verlet/md_verlet.fdf 2006-02-02 14:00:17 +0000
+++ Tests/md_verlet/md_verlet.fdf 2018-05-10 13:49:56 +0000
@@ -1,7 +1,7 @@
1#1#
2# MgCO3 in primitive cell. SZ Harris. Some MD steps in Verlet MD2# MgCO3 in primitive cell. SZ. Some MD steps in Verlet MD
3#3#
4SystemName MgCo3 MD Verlet test -- SZ, 100 Ry Harris4SystemName MgCo3 MD Verlet test -- SZ, 100 Ry
5SystemLabel md_verlet5SystemLabel md_verlet
6NumberOfSpecies 36NumberOfSpecies 3
7NumberOfAtoms 107NumberOfAtoms 10
@@ -37,7 +37,6 @@
37 0.0274 -0.25 -0.5274 337 0.0274 -0.25 -0.5274 3
38%endblock AtomicCoordinatesAndAtomicSpecies38%endblock AtomicCoordinatesAndAtomicSpecies
3939
40HarrisFunctional T
41Solution.Method diagon40Solution.Method diagon
42MeshCutoff 100 Ry41MeshCutoff 100 Ry
4342
4443
=== modified file 'Tests/sih_fire/sih_fire.fdf'
--- Tests/sih_fire/sih_fire.fdf 2006-12-11 15:30:16 +0000
+++ Tests/sih_fire/sih_fire.fdf 2018-05-10 13:49:56 +0000
@@ -39,8 +39,6 @@
3939
40MeshCutoff 40.0 Ry40MeshCutoff 40.0 Ry
4141
42Harris_Functional
43
44MaxSCFIterations 50 42MaxSCFIterations 50
45DM.MixingWeight 0.3 43DM.MixingWeight 0.3
46DM.NumberPulay 3 44DM.NumberPulay 3
4745
=== modified file 'Tests/var_cell/var_cell.fdf'
--- Tests/var_cell/var_cell.fdf 2006-02-12 18:45:29 +0000
+++ Tests/var_cell/var_cell.fdf 2018-05-10 13:49:56 +0000
@@ -1,7 +1,7 @@
1#1#
2# MgCO3 in primitive cell. SZ. Variable cell. Harris. Broyden Optim2# MgCO3 in primitive cell. SZ. Variable cell. Broyden Optim
3#3#
4SystemName MgCo3 R-3c Harris -- SZ, 100 R -- variable cell at 100 Gpa4SystemName MgCo3 R-3c -- SZ, 100 R -- variable cell at 100 Gpa
5SystemLabel var_cell5SystemLabel var_cell
6NumberOfSpecies 36NumberOfSpecies 3
7NumberOfAtoms 107NumberOfAtoms 10
@@ -51,7 +51,6 @@
5151
52WriteCoorStep .true.52WriteCoorStep .true.
53WriteForces .true.53WriteForces .true.
54HarrisFunctional T
5554
56MD.TypeOfRun Broyden55MD.TypeOfRun Broyden
57MD.Variable-Cell T56MD.Variable-Cell T
5857
=== modified file 'Tests/zmatrix/zmatrix.fdf'
--- Tests/zmatrix/zmatrix.fdf 2008-10-13 12:44:47 +0000
+++ Tests/zmatrix/zmatrix.fdf 2018-05-10 13:49:56 +0000
@@ -35,7 +35,6 @@
35xc.functional LDA35xc.functional LDA
36xc.authors PZ36xc.authors PZ
3737
38HarrisFunctional T
39MD.TypeOfRun CG38MD.TypeOfRun CG
40MD.NumCGsteps 439MD.NumCGsteps 4
41MD.VariableCell T40MD.VariableCell T
4241
=== modified file 'version.info'
--- version.info 2018-05-07 12:07:29 +0000
+++ version.info 2018-05-10 13:49:56 +0000
@@ -1,1 +1,8 @@
1<<<<<<< TREE
1siesta-4.0--5752siesta-4.0--575
3=======
4siesta-4.0--573--folding-579
5
6
7
8>>>>>>> MERGE-SOURCE

Subscribers

People subscribed via source and target branches