Commit Graph

20 Commits

Author SHA1 Message Date
Paolo Giannozzi 88ef346c79 More removal of ftau: now is a local variable, obtained from ft, where
useful (real-space symmetrization). Please verify!
2019-04-08 22:44:53 +02:00
paulatto efc1ea5cd9 bugfix, unallocated variables where accessed (but not really used) in the parallel case
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13450 c92efa57-630b-4861-b058-cf58834340f0
2017-03-31 14:17:35 +00:00
paulatto 6d37477c0e New version of the subroutine to rotate drho or dvscf in real space (in the most stupid way, i.e.e by doing a global gather).
This version rotates the pattern to the one of the final q-point, instead of recomputing, which works around oddities of set_irr and company subroutines (i.e. using global variables, calling mp_bcast..)



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13441 c92efa57-630b-4861-b058-cf58834340f0
2017-03-28 08:20:06 +00:00
giannozz 464a9a2062 More cleanup of double-precision complex that weren't. In the vast majority
of cases, there is no difference and it's just aesthetic, but in some cases 
a tiny error may have been corrected - please verify


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13316 c92efa57-630b-4861-b058-cf58834340f0
2017-02-17 14:10:00 +00:00
degironc 2d4e3fda5a module modes in phcom.f90 split in modes + lr_symm_base in LR_Modules/lrcom.f90
dependencies updated



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12033 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 14:53:42 +00:00
giannozz 3d01263af6 Routines grid_scatter, cscatter_sym, cscatter_smooth, cscatter_custom, all
replaced by a single interface routine scatter_grid. Should be harmless, but 
it was tested a bit only in PW


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11530 c92efa57-630b-4861-b058-cf58834340f0
2015-05-07 20:34:19 +00:00
giannozz ef57da5ef6 Removal of __STD_F95 preprocessing option: compilers that do not accept
allocatable arrays in derived-type structures are obsolete, and moreover,
there is some new code that wouldn't compile


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11514 c92efa57-630b-4861-b058-cf58834340f0
2015-05-05 21:11:38 +00:00
dalcorso 4cdd6b5e0a mp_global substituted with mp_pools, mp_bands, mp_images in the phonon code.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10664 c92efa57-630b-4861-b058-cf58834340f0
2014-01-07 15:46:06 +00:00
paulatto 0db771c5c1 All c/fortran interfaces replace with iso_c_binding.
f_mkdir replaced with a more explicit f_mkdir_safe, f_mkdir is now a direct wrapper of the POSIX function.

f_mkdir_safe now checks if a directory exists and is writable before creating it, it will only return error if at the end the directory is not writable
Possible causes: file exists but is not a directory; exists and is a directory, but not owned by the user; broken filesystem; perverted umask

check_tempdir does not change directly, but it benefits from the changes in f_mkdir_safe

parallel_mkdir replaced with check_tempdir where it was necessary



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10052 c92efa57-630b-4861-b058-cf58834340f0
2013-03-11 10:40:05 +00:00
giannozz ff32097ff2 Misc compilation errors: find_free_unit is no longer in module io_files
(I have nothing against putting it in the module but it has to be done
everywhere and in a consistent way) and other obscure errors due to a
variable not found in CONTAIN'ed routines


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9859 c92efa57-630b-4861-b058-cf58834340f0
2013-01-24 20:26:51 +00:00
paulatto f3508d9ca0 1. Use new ruotaijk subroutine instead of rotating r by hand
2. Cleanup of debug lines
3. Commented for some obscure parts



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9760 c92efa57-630b-4861-b058-cf58834340f0
2013-01-08 10:19:55 +00:00
calandra 9865e26e1a The introduction of a new variable in dfile_name implies changes in
all the place where dfile_name is called: 
dfile_star
io_pattern
solve_linter
dynmatrix

It is necessary to modify
dynmatrix and phonon.f90 in such a way that an integer variable iq is passed
to the routine: 
call dynmatrix(iq)
In the case ldisp=.true. and electro_phonon='Wannier' iq is
the index of the phonon momenta in the reduced Brillouin zone
(1,...,nqs).

MCB



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9055 c92efa57-630b-4861-b058-cf58834340f0
2012-06-04 14:49:23 +00:00
giannozz 895206eb76 Nonstandard Fortran (95 at least): allocatables non allowed in
structures. Unchecked.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9003 c92efa57-630b-4861-b058-cf58834340f0
2012-05-14 13:58:04 +00:00
paulatto 8958ec89a6 Rotation of dvscf and drho changed slightly to work better with the el-ph code
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8941 c92efa57-630b-4861-b058-cf58834340f0
2012-05-02 12:39:06 +00:00
paulatto a8da87a87e cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8828 c92efa57-630b-4861-b058-cf58834340f0
2012-03-27 11:43:22 +00:00
paulatto f5ef44cc4b Removed initialization for compatibility with gfortran 5 bug. Initialization is done in phq_readin anyway
LP



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8827 c92efa57-630b-4861-b058-cf58834340f0
2012-03-27 10:13:25 +00:00
paulatto 7eab645417 Added a fallback mechanism to generate a file name when the q-point does not have a simple rational-number expression (i.e. [0 0 0.99194853094755497]). The mechanism does not really matter a lot as names are generated whil writing but read from a list when seeking the file.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8716 c92efa57-630b-4861-b058-cf58834340f0
2012-02-23 13:26:53 +00:00
paulatto 4237b1a9cc Now all the star of drho and dvsct stuff should be fixed, also in parallel, and the el-ph wannier code should be working again.
A working example for (currently undocumented) el-ph wannier will be committed before the release of QE 5.0




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8681 c92efa57-630b-4861-b058-cf58834340f0
2012-02-18 12:47:37 +00:00
paulatto 621a75d594 A few changes to have example 3 and 5 working again. The el-ph with wannier code (the Calandra one) is not working yet, I'll fix it in the next few days.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8647 c92efa57-630b-4861-b058-cf58834340f0
2012-02-14 17:37:51 +00:00
paulatto 94de6cb0e0 dfile_star.f90 will immediately replace open_dvscf_star with a more general interface that allows the dvscf and drho to be opened on the star and to be saved on both the basis of the modes or the cartesian basis. There are probably a few bugs that I'll fix during these week
dfile_autoname.f90 generates automatically a name suitable for storing something dependent on a q vectors from a regular grid in reciprocal space. It also keeps track of the name and allows you to look for the file corresponding to a certain q. A few improvements are necessary for full compatibility with the new wannier-elph code, these will come next.




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8626 c92efa57-630b-4861-b058-cf58834340f0
2012-02-13 15:17:49 +00:00