Commit Graph

29 Commits

Author SHA1 Message Date
dalcorso 0a81ea40cd A major reorganization of the phonon recover logic.
Main advantages:
1) Some initialization parts are not calculated.
2) It should be possible to recover after reaching self-consistency
   without doing additional iterations.
It will require some tuning. So please report any anomalous behaviour.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6155 c92efa57-630b-4861-b058-cf58834340f0
2009-11-16 17:04:25 +00:00
dalcorso 872019944d Avoid repeating electric field calculations if the tensors are available
on file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6142 c92efa57-630b-4861-b058-cf58834340f0
2009-11-12 17:17:14 +00:00
giannozz afec752184 End of this set of not-so-fundamental changes. Summary:
1) no more f_defs.h file to be included in fortran files
2) all CMPLX explicitly defined as CMPLX(...,KIND=dp)
3) blas/lapack names in lowercase (not all of them, actually)
4) documentation accordingly updated (plus unrelated changes to user_guide)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5805 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 09:19:02 +00:00
dalcorso 8deedeccf7 Minor cleanup of the phonon code. USE phcom substituted with multiple USE statements
in many routines.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5367 c92efa57-630b-4861-b058-cf58834340f0
2009-02-02 10:52:58 +00:00
dalcorso aaaf67a0ec 1) One further grid optimiziation.
2) Some cleanup.
3) With lgamma_gamma the polarization is written also in the final summary.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5260 c92efa57-630b-4861-b058-cf58834340f0
2008-11-03 08:40:14 +00:00
dalcorso 39a065f51d Several improvements, problems/bug fixes needed for the grid.
(Thanks to R. Di Meo for pointing out some of the problems).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5236 c92efa57-630b-4861-b058-cf58834340f0
2008-10-23 14:47:04 +00:00
dalcorso 78945be233 Corrected some problems when start_irr=0 and last_irr=0.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5226 c92efa57-630b-4861-b058-cf58834340f0
2008-10-18 14:11:44 +00:00
dalcorso 8efedc981f Some speed-up in the final diagonalization when different representations
are calculated in different machines.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5222 c92efa57-630b-4861-b058-cf58834340f0
2008-10-10 14:50:07 +00:00
dalcorso 0bf37d220c Two small bugs in the new recover.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5067 c92efa57-630b-4861-b058-cf58834340f0
2008-07-23 14:31:36 +00:00
dalcorso d3b31c3cc3 A tentative to improve the phonon recover.
Introduced four new input variables:

start_q, last_q  Makes the phonon calculation for a subset of the q points.
                 From start_q to last_q.

start_irr, last_irr Makes the phonon calculation for a subset of the
                 irreducible representations.

Removed the input variable maxirr.

Starting k points now written in the punch file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5066 c92efa57-630b-4861-b058-cf58834340f0
2008-07-23 08:46:48 +00:00
giannozz 166ec98487 Restart with US PP and electric fields should be fixed now
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3595 c92efa57-630b-4861-b058-cf58834340f0
2006-12-11 16:52:18 +00:00
giannozz 50889b7e3d Yet another bug in phonon restart: it wasn't working if the run was
stopped after convergence of a scf loop and before the first iteration
of the next scf loop. The workaround is not smart (the scf cycle is
restarted from the beginning) but it seems to work. A better workaround
requires a complete restructuring of the restart procedure.

There is still a mysterious problem with US PP: restarting during the
electric field calculation produces wrong results for Z* and phonons.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3594 c92efa57-630b-4861-b058-cf58834340f0
2006-12-11 15:14:02 +00:00
giannozz 4c75e48b33 Documentation (sort of) for restart procedure added to phq_recover
Restart in solve_e_fpol disabled (couldn't work)
Restart from raman calculation modified so that if restarting from a
raman+phonon calculation might work - completely untested


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3518 c92efa57-630b-4861-b058-cf58834340f0
2006-11-08 08:21:55 +00:00
dalcorso 914605565b Bug fix: int1 and int2 are needed to recover the US phonon calculation.
They are saved on disk as before.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3250 c92efa57-630b-4861-b058-cf58834340f0
2006-07-06 14:48:52 +00:00
giannozz 0a6cf4552d Updated documentation for simplified interatomic force constants calculation
A file containing information on the q-point grid is written by ph.x
and read by q2r.x, thus making the process less clumsy
The phonon code does not restart automatically any longer unless instructed
to do so by setting input variable "recover"
Misc cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2039 c92efa57-630b-4861-b058-cf58834340f0
2005-07-20 14:57:21 +00:00
giannozz 7de4ac5c64 More minor changes to restart, cpu time printout
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1825 c92efa57-630b-4861-b058-cf58834340f0
2005-04-21 14:37:21 +00:00
giannozz d14d877a48 Less buggy Raman restart - not yet final
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1824 c92efa57-630b-4861-b058-cf58834340f0
2005-04-21 12:41:18 +00:00
giannozz fe1f888e42 Minor fixes to have phonon restart in a Raman calculation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1819 c92efa57-630b-4861-b058-cf58834340f0
2005-04-20 17:27:14 +00:00
cazzato a6ad18850a iswitch flag removed; appropriate flags (as lscf, lmd, lphonon, etc.) should be used
in particular (modenum.ne.0) stands for iswitch = -4 now: is it OK?
unused show_memory routine also removed
documentation updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1503 c92efa57-630b-4861-b058-cf58834340f0
2004-12-10 15:20:46 +00:00
sbraccia 0caeadbd7b Machine-dependent definitions are now contained in two different files (both in /include):
1) f_defs.h  for definitions to be included in FORTRAN files ONLY
   2) c_defs.h  for definitions to be included in C       files ONLY

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1012 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 17:25:37 +00:00
dalcorso 87c39c304e recovering from an electric field perturbation now possible.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@966 c92efa57-630b-4861-b058-cf58834340f0
2004-06-14 15:45:07 +00:00
sbraccia d1579c66ec Removed references (not yet everywhere) to module basis for those variables already in module ions_base.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@953 c92efa57-630b-4861-b058-cf58834340f0
2004-06-12 13:44:18 +00:00
sbraccia 5f4676dda1 Cleanup: all references to varie replaced by references to control_flags
(also when varie is indirectly called by pwcom).
Fake module varie has been removed from pwcom.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@761 c92efa57-630b-4861-b058-cf58834340f0
2004-04-02 13:01:15 +00:00
giannozz 509459fc93 Cleanup in PH/ and D3/, setv removed (please verify collateral damages!)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@698 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 13:47:42 +00:00
giannozz 0b1a5c9fd8 Extensive module cleanup: DP moved from wrong place (parameters) to the
correct place (kinds); module "varie" replaced by "control_flags" (not
yet in pwcom, though) - many many files changed.
64-bit cpus (Opteron, maybe Itanium) should now work if __LINUX64 is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@513 c92efa57-630b-4861-b058-cf58834340f0
2004-01-23 15:08:03 +00:00
sbraccia 871e3677b3 Unit stdout (set in Modules/io_global.f90) is used to write on standard output
instead of 6 or *.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@374 c92efa57-630b-4861-b058-cf58834340f0
2003-11-05 19:01:20 +00:00
giannozz 9e3a2de758 Support for lahey compiler added: "error" renamed to "errore", "rnd" to "rndx"
bug in io_base fixed
PARA => __PARA
cinterpolate moved into interpolate


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@86 c92efa57-630b-4861-b058-cf58834340f0
2003-02-21 14:57:00 +00:00
giannozz d852392cab module allocate, calls to mallocate, mfree removed
pointers replaced by allocatable whenever possible


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@56 c92efa57-630b-4861-b058-cf58834340f0
2003-02-07 16:04:36 +00:00
giannozz ac9f2144c0 O-sesame
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2 c92efa57-630b-4861-b058-cf58834340f0
2003-01-19 21:58:50 +00:00