Commit Graph

207 Commits

Author SHA1 Message Date
giannozz 40f289167b Minor cleanup of symmetry routines:
1) the dependency upon module "extfield" via recently introduced "monopole" 
   variable made explicit in the call, with an optional variable
2) the code doesn't stop any longer in case it doesn't manage to find
   symmetries, it just issue a warning, removes symmetry and proceeds
Should be harmless but please check. All make.depend files updated.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13114 c92efa57-630b-4861-b058-cf58834340f0
2016-10-23 19:40:46 +00:00
pietrodelugas 2fa96088a5 removed a garbage from Modules/make.depend which I inadvertently commited in the previous submission
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12989 c92efa57-630b-4861-b058-cf58834340f0
2016-09-20 13:08:24 +00:00
pietrodelugas f92ae3341a gvectors.hdf5 containing the Miller indexes of G vectors is now written inside the pwscf.save directory
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12988 c92efa57-630b-4861-b058-cf58834340f0
2016-09-20 12:36:07 +00:00
giannozz 4182e5f6ae make.depend files updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12918 c92efa57-630b-4861-b058-cf58834340f0
2016-09-05 20:04:25 +00:00
pietrodelugas a4eea81c77 added the writing of the g.hdf5 file, it is an ugly hdf5 with only attributes but better that one there than one that the gvecs.dat one in the end. Anyhow is going to disappear in the stable version. Thanks to Ye Luo for prompt tests
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12878 c92efa57-630b-4861-b058-cf58834340f0
2016-08-29 18:02:26 +00:00
giannozz 325d3a75c6 The last changes to the makedeps script were not so smart (the script itself is
not so smart and should be simplified as much as possible). Minor Makefile 
change: it is no longer needed to compile Modules in order to run the makedeps
script (it is sufficient to regenerate the version.f90 file). 
make.depend updated: there were several dependencies of nonexistent files.   


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12873 c92efa57-630b-4861-b058-cf58834340f0
2016-08-29 12:42:14 +00:00
pietrodelugas 6e93ffec3c experimental version of HDF5 bynary output for charge density, spin-polarization g-vectors and collected wavefunctions. Thanks to Nicola Varini
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12856 c92efa57-630b-4861-b058-cf58834340f0
2016-08-27 14:30:50 +00:00
giannozz 73746cc0ea Major simplification of new I/O: each pool writes its own set of wavefunctions
Little tested and unfinished, should anyway work (names and contents of files
not changed wrt the previous situation)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12834 c92efa57-630b-4861-b058-cf58834340f0
2016-08-25 07:13:40 +00:00
giannozz a0a6b8977b Added interface with PALENQUE. Following the traditional logic (or lack of it)
the three pieces are in three different places: fsocket.f90 in Modules/,
sockets.c in clib/, run_driver in PW/src. Subroutine get_server_address might
actually be moved to module "command_line_options".
Version number updated to 6.beta (6.0.beta too long, 6.0bet? 6.0.b?)  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12833 c92efa57-630b-4861-b058-cf58834340f0
2016-08-24 19:54:34 +00:00
ccavazzoni 54ca5bf7ce - no need to keep the instance of smap descriptor in the base library
- no need to keep stick_set.f90 at all
- eliminating unused type member


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12779 c92efa57-630b-4861-b058-cf58834340f0
2016-08-17 22:46:37 +00:00
ccavazzoni 75cb15a76d - real space grid initialization moved to fft_types module
(it was acting only on descriptor variables, noneed to keep it into module)
- name change: all function/variables named *_dlay_* renamed *_type_* for consistency

- IMPORTANT: fft_type_allocate merged with real space grid initializaiton
  some other grid functions removed/merged with fft types.
  Since some initialization has been moved elseware there could be some SIDE EFFECT

- In practice, now grid dimensions (nr1, nr2, nr3) comes with fft variable definition
  and variable allocation. 
  NEXT: review of the initialization/setting of the fft parallelization

- real space grid initialization subroutines moved to fft_types module
  (it was acting only on descriptor variables, no need to keep it in Modules)
- name change: all function/variables named *_dlay_* renamed *_type_* for consistency

- IMPORTANT: fft_type_allocate merged with real space grid initializaiton
  some other grid functions removed/merged with fft types.
  Since some initialization has been moved elseware there could be some SIDE EFFECT

- In practice, now grid dimensions (nr1, nr2, nr3) comes with fft variable definition
  and variable allocation.
  NEXT: review of the initialization/setting of the fft parallelization



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12703 c92efa57-630b-4861-b058-cf58834340f0
2016-08-09 21:38:57 +00:00
ccavazzoni 92503eb2cd - small boxes fft variables placed in a separate datatype, and removed from fft type
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12671 c92efa57-630b-4861-b058-cf58834340f0
2016-08-06 09:09:42 +00:00
ccavazzoni de2a01c4e6 - Task groups variables moved form FFT type to a new data type
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12626 c92efa57-630b-4861-b058-cf58834340f0
2016-07-29 14:25:22 +00:00
pietrodelugas 61c514d0cd Implementation of reading part of new XML schema file added. If compiled with the FLAG __XSD the code will write the XML output file described by the schema and restart information will also be read from the new XML file. Still in testing phase.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12598 c92efa57-630b-4861-b058-cf58834340f0
2016-07-21 14:44:22 +00:00
degironc 18dc5b3bd1 routine upf_to_internal modified so that for USPP we set the augmentation charge as an
l-dependent array in all cases.
 This is already the case when upf%tpawp or upf%q_with_l are .true. .
 For vanderbilt US pseudos, where nqf and rinner are non zero, we do here what otherwise
 would be done multiple times in many parts of the code (such as in init_us_1, addusforce_r, 
 bp_calc_btq, compute_qdipol) whenever the q_l(r) were to be constructed. 
 For simple rrkj3 pseudos we duplicate the infomation contained in q(r) for all q_l(r).

 This requires a little extra memory but unifies the treatment of q_l(r) and allows further 
 tweaking with the augmentation charge.

 Variable upf%q_with_l set .true. at the end of the operation. It would be better to leave the 
 variable untouched at its input value  and modify the routines that compute q_l(r) to just use
 the now always present upf%qfuncl array  but this is the first step before some cleanup.

 setqf.f90 moved from PW/src to Modules, Makefiles and dependencies updated




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12591 c92efa57-630b-4861-b058-cf58834340f0
2016-07-20 11:42:37 +00:00
degironc a7f121cbca execution order of the ffts in the scalar case (cftt3ds) changed from
x-y-z to z-y-x (for a G->R transform) to make it consistent with the way
ffts are executed in the general parallel case.

changes to 
- fft_dlay_scalar (in fft_types.f90)
- sticks_maps_scalar (in sticks_base.f90)
- all variant of fft_scalar.XXX.f90 ( tested for XXX=FFTW3 )

no more need to call fft_dlay_allocate with arguments like max(dfft%nr1x,dfft%nrx3) ...  dfft%nr1x should be always fine.

changes should not be needed to CPV and GWW that use cfft3ds initializing data via the modified stick_maps_scalar and fft_dlay_scalar. 
explicitely tested for CPV.

in PW,  pw2blip.f90 uses cfft3ds. The new execution order needs a different definition of the auxiliary array do_fft_x -> do_fft_z, 
that should now be the same as dfft%isind. For now it is initialized following the same logics as the original routine.

some auxiliary functions/subroutines like    put_f_of_R, put_f_of_G, get_f_of_R, get_f_of_G    added to fft_parallel to help
assigning/retrieving values to/from a distributed fft array in the parallel case.
These tools are NOT designed for efficiency but to make life easier in testing programs (see for instance test0.f90).




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12570 c92efa57-630b-4861-b058-cf58834340f0
2016-07-07 15:44:16 +00:00
timrov ef4a28ff1a Several changes:
1) Moved some TDDFPT-specific cases from the general routine LR_Modules/ch_psi_all.f90 to the TDDFPT routines;
2) Deleted the variable "tddfpt", because it is no longer needed anywhere (in the older versions of the code this variable was used to tell to the PHonon routines about TDDFPT specific operations);
3) Some other minor changes in TDDFPT.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12432 c92efa57-630b-4861-b058-cf58834340f0
2016-05-25 17:49:25 +00:00
giannozz 02624a5d03 Make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12378 c92efa57-630b-4861-b058-cf58834340f0
2016-04-30 15:25:47 +00:00
pietrodelugas 0213240c44 The data types and routines for writing the schema-compliant XML output
of pw.x, developed in a distinct branch  are merged to the trunk. 
Work done by: 
Giovanni Borghi, Andrea Ferretti, Pietro Delugas  

N.B. The feature is still experimental. To compile it,
 add in make.sys the manual preprocessing  flag   
              -D __XSD   

  


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12372 c92efa57-630b-4861-b058-cf58834340f0
2016-04-29 17:19:28 +00:00
giannozz 3c5e774079 Misc changes for NAG compiler, by Samuel, plus make.depend update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12286 c92efa57-630b-4861-b058-cf58834340f0
2016-04-06 16:41:55 +00:00
spigafi fb3fadb63a Updated dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12264 c92efa57-630b-4861-b058-cf58834340f0
2016-03-26 13:05:19 +00:00
spigafi 0222214f42 Compile GWL in serial and parallel
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12262 c92efa57-630b-4861-b058-cf58834340f0
2016-03-25 22:29:49 +00:00
giannozz 4c34ba3ab3 make.depend updated; added missing make.depend for bse
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12240 c92efa57-630b-4861-b058-cf58834340f0
2016-03-23 14:55:51 +00:00
giannozz 1fea499fae Since we are in the process of moving stuff around, I think it is a good
moment to get rid of flib/, whose usefulness is far from obvious. The content
of flib/ is now in Modules/. Many makefiles updated and little more. 

Packages using QE routines should just remove links to flib/flib.a.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12072 c92efa57-630b-4861-b058-cf58834340f0
2016-01-26 12:51:02 +00:00
ccavazzoni 491b47d6e6 - removing LA files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12056 c92efa57-630b-4861-b058-cf58834340f0
2016-01-23 20:04:03 +00:00
degironc 101e401714 iit was not a good idea... yet
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12031 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 13:02:44 +00:00
giannozz e193710eaa Routines invmat, invmat_complex, dinv_matrix, zinv_matrix merged into a small
module invmat. Should be harmless, but please check.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12028 c92efa57-630b-4861-b058-cf58834340f0
2016-01-20 10:34:27 +00:00
giannozz 9d708045b5 Module gvecw moved to Modules/; variables for modified kinetic energy merged
with PW. There are several other variables that can be merged now, but these 
three were easier and required changes to a very small number of routines.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11983 c92efa57-630b-4861-b058-cf58834340f0
2016-01-13 18:33:08 +00:00
giannozz 80c8f196b0 A few make.depend files updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11912 c92efa57-630b-4861-b058-cf58834340f0
2015-12-16 21:23:39 +00:00
ccavazzoni adb2110747 - again dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11861 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 11:14:56 +00:00
ccavazzoni 0f6b93868d - fix dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11860 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 11:08:30 +00:00
ccavazzoni 095077e2e8 - wrong dependency
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11858 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 10:47:30 +00:00
ccavazzoni fdf7766648 - FFT Modules replaced by FFTXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11857 c92efa57-630b-4861-b058-cf58834340f0
2015-11-21 10:37:48 +00:00
giannozz cafa35d1a5 Maybe I should commit the sources as well and not only the results (together
with make.depend and documentation updates and a correction of a misspell)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11854 c92efa57-630b-4861-b058-cf58834340f0
2015-11-19 17:09:35 +00:00
ccavazzoni 780f46c67f - separation of fft data type instances and scatter functions in different modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11813 c92efa57-630b-4861-b058-cf58834340f0
2015-10-29 09:08:16 +00:00
gborghi 97d862cdf5 -D __XSD protected commit: sample code for writing a file data-file-schema.xml according to the new xml format
defined in qes.xsd schema, collaboration with Schroedinger company


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11763 c92efa57-630b-4861-b058-cf58834340f0
2015-09-24 16:52:50 +00:00
giannozz 03d8985312 "pot" parallelization level, no longer used, is removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11688 c92efa57-630b-4861-b058-cf58834340f0
2015-08-20 17:29:18 +00:00
giannozz cd0f8332d2 New version of ESM, courtesy of Minoru Otani
1. rewritten the core part of the ESM to improve readability and efficiency 
   of the code (esm.f90).
2. introduce a new function (exp_erfc(x,y) = exp(x) * erfc(y)) to avoid 
   getting “NaN” in particular case.
4. two dimensional (xy plane) average charge density and electrostatic
   potentials are printed out to ‘prefix.esm1’ instead of stdout
3. make ESM calculation compatible with the NEB (neb.x).
4. introduce the constant bias potential (constant-mu) 
   (PRL 109, 266101 (2012)) feature to both pw.x and neb.x.
5. write ESM information in the XML file (One can use post-processing program
   such as pp.x).
6. including various example calculations. 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11662 c92efa57-630b-4861-b058-cf58834340f0
2015-07-30 11:48:07 +00:00
giannozz 144abd2db2 Added support for analytical GTH PPs, courtesy of Sebastiano Caravati
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11573 c92efa57-630b-4861-b058-cf58834340f0
2015-06-12 08:24:39 +00:00
giannozz 6a1c6ec7e5 FFT interface routines simplified. The "Box" case is treated separately, since
it requires a quite different treatment from all other cases. These are made
uniform: the FFT descriptor passed in input is always used (before it was a bit
but not always). Should be safe, nothing has changed in practice.
Disadvantage: no more consistency check between declared grid and descriptor.
Advantages: simpler; more uniformity between the three grids (and in case of
more future grids); no more dependent upon fft_base modules via dffts and dfftp 
descriptors, that can now be moved where they should belong (i.e. to modules 
gvect, gvecs, containing G-vectors and indices) (I am not going to do this any
time soon, though: it takes a lot of small changes everywhere) 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11559 c92efa57-630b-4861-b058-cf58834340f0
2015-06-04 17:09:22 +00:00
hsinyu f87ec17699 migration from exx_wf lwfpbe0 to using funct variables
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11179 c92efa57-630b-4861-b058-cf58834340f0
2014-09-20 00:10:39 +00:00
giannozz 4943e637ed Since sic.f90 is used only in CP, moved from Modules/ to CPV/src/
More minor fixes, make.depend updated 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11172 c92efa57-630b-4861-b058-cf58834340f0
2014-09-17 13:08:59 +00:00
dalcorso c32485bad1 Wyckoff positions parser cleanup and addition of special positions.
(Contributed by Federico Zadra)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11146 c92efa57-630b-4861-b058-cf58834340f0
2014-08-28 09:08:29 +00:00
giannozz ab5fe5bc55 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11132 c92efa57-630b-4861-b058-cf58834340f0
2014-08-04 16:26:03 +00:00
dalcorso b785c27093 Added the possibility to give as input coordinates the space group and the
inequivalent atomic positions in crystal coordinates. (Federico Zadra and 
A. Dal Corso)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11126 c92efa57-630b-4861-b058-cf58834340f0
2014-08-04 09:59:04 +00:00
giannozz c1b72fa44f Added TB09 functional, from libxc, courtesy of Eric Germaneau.
Added two small files from libxc. Compile with -D__LIBXC, link with libxc:
-L/dir/where/libxc/is -lxcf90 -lxc
User guides updated with a reshuffling of names: contributors to all of QE
(in particular, most functionals) are listed in the user guide of QE and
not in the one of PW. make.depend updated

This is just to avoid that the work done is lost. It should be a first step 
towards better organization of XC functionals. We should seriously consider
one of the following options:
1. move to libxc, getting rid of all duplicated functionals, keeping only
   those that are not available in libxc;
2. add the possibility to use any functional from libxc (currently only a few
   can be used). This may require serious restructuring work in our XC
   functional (il-)logic, that has become clumsy, obscure and redundant


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11075 c92efa57-630b-4861-b058-cf58834340f0
2014-07-08 10:57:02 +00:00
giannozz 31d8eed2a6 world_comm => intra_image_comm. Version number updated to 5.1
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10985 c92efa57-630b-4861-b058-cf58834340f0
2014-05-19 14:27:23 +00:00
giannozz be978a739d Added wrapper for nonstandard implementation of complex BLAS function zdotc
(e.g. some versions of optimized BLAS for Mac). In order to ctivate it, add 
-Dzdotc=zdotc_wrapper to DFLAGS in make.sys.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10972 c92efa57-630b-4861-b058-cf58834340f0
2014-05-16 11:55:10 +00:00
oliviero 6e2f58e1d9 removing environ namelist from QE input files, moving it to a separate input file.
environ_input.f90 is moved into Environ/src
cleaned the make.depend


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10949 c92efa57-630b-4861-b058-cf58834340f0
2014-05-09 14:07:29 +00:00
giannozz 75526ea2a9 make.depend updated (again)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10933 c92efa57-630b-4861-b058-cf58834340f0
2014-05-07 12:14:35 +00:00