Commit Graph

526 Commits

Author SHA1 Message Date
fabrizio22 d3446b573f a gga-threshold fix in atomic/src/vxcgc 2020-05-27 16:39:37 +02:00
T. Thonhauser f047985b92 vdW-DF: Implementing vdW-DF3-opt1, vdW-DF3-opt2, and vdW-DF-C6 & inlc cleanup
We implemented the new vdW-DF type functionals vdW-DF3-opt1, vdW-DF3-opt2, and
vdW-DF-C6. For purposes of non-local functional implementation and evaluation,
we also grouped similar implementations into ranges for the "inlc" variable. To
this end, we have reserved inlc=1 to inlc=25 for vdW-DF development and we
moved rVV10 to inlc=26. This allows for a cleaner code when parsing through the
various non-local functionals. In addition, we have removed all instances of
"inlc" and "get_inlc" in several source files where they are no longer needed.
This work was performed by T. Thonhauser and is supported by NSF Grant No.
1712425.
2020-05-21 12:49:41 -04:00
Paolo Giannozzi 6edef47848 POINTER => ALLOCATABLE
The old restriction on allocatable arrays in derived type no longer applies,
so all pointers in the derived-type upf variables are converted to allocatable
2020-04-30 15:43:04 +00:00
Paolo Giannozzi 2f349c1726 Some simplifications
"read_upf" replaced by "read_upf_new" that reads only upf v.2 and later;
"read_upf_v1" opens the file internally, removed useless optional argument.
2020-04-30 13:36:51 +00:00
Paolo Giannozzi 23b19a25b5 [skip-CI] Dumb compilation error in import_upf.f90, plus minor things (too many commas in write, useless comments) 2020-04-29 08:20:15 +02:00
Paolo Giannozzi 2b2f7a9906 There was a radial grid in upf%, an additional one with more variables (of
questionable usefulness) in upf%grid%, and finally another one in module atom,
pointing to the former, or vice versa. The latter was set when the pseudo file
were read. I don't think this makes sense, so I removed upf%grid and set up the
grid in module atom after the upf variable is read.
BEWARE: not sure I correctly decyphered the (il)logic of grids in atomic/src/.
Additionally: fixed a few more glitches in the broadcast of upf%.
2020-04-28 08:15:50 +00:00
giannozz 1b072fbc4f First compiling version of QE with initial "pseudolib" in upflib/.
Most of the changes consist in small updates to Makefile and make.depend and
in the replacement of module "parameters" with "upf_params" whenever variables
lmaxx and lqmax are USEd. Routine "read_pseudo" moved back to Modules/;
"simpsn" moved to upflib/; a copy of "matches" temporarily added to upflib/

Note that everything compiles (except EPW) but nothing has been tested yet!
2020-04-25 19:13:15 +00:00
Paolo Giannozzi 07f660e364 Compilation fixes
atomic/ and PP/ needed to be adapted to the new XC code
2019-12-02 11:37:10 +01:00
Paolo Giannozzi b956873a4e Removal of obsolete variable was not complete 2019-11-27 07:34:08 +01:00
Lorenzo Paulatto d4055fd986 New UPF tool and a few minor fixes 2019-09-20 12:57:10 +00:00
Zhenyu 10e8d2c8c1 Update ld1_readin.f90 2019-09-02 03:23:44 +00:00
Zhenyu c82cc22a89 Update ld1_readin.f90
default lgipaw_reconstruction value for PP generation
2019-08-29 02:17:57 +00:00
Paolo Giannozzi cf088926d6 Small fixes for XLF compilation 2019-08-22 09:11:55 +02:00
Paolo Giannozzi ea0d58461b XML and FoX cleanup and simplification
No need to set a unit for I/O
2019-08-10 09:33:39 +02:00
fabrizio22 48ef4e0f01 init_xc removed and some clean-up 2019-06-25 14:44:26 +02:00
fabrizio22 5a51ead3db minor fixes on rho signs 2019-06-17 16:23:21 +02:00
Fabrizio Ferrari dfddf86119 init_xc removed except in funct.f90 and other adjustments 2019-06-10 16:00:23 +00:00
Pietro Delugas 8b84aaeade non matching dims of arrays could cause segfault 2019-06-06 09:31:53 +00:00
Fabrizio Ferrari 9a5bc8d5a8 GGA vectorized and libxc functionals included 2019-06-04 07:26:24 +00:00
fabrizio22 5e5884bf6a master updated 2019-05-08 12:08:43 +02:00
fabrizio22 69780af0f3 Aligned with develop 2019-04-18 18:03:44 +02:00
giannozz 0463c2aefc misspells 2019-04-18 12:58:34 +02:00
fabrizio22 d6917bb0bc dmxc routines extracted from funct 2019-03-11 12:55:50 +01:00
fabrizio22 cfd2d4571a align with develop 2019-03-04 17:06:34 +01:00
fabrizio22 a62adae6b8 Merge branch 'develop' of https://gitlab.com/fabrizio22/q-e 2019-03-04 16:49:55 +01:00
fabrizio22 df10e23ed6 dmxc routines vectorized 2019-03-04 16:39:28 +01:00
Tone Kokalj af580b5874 A few more changes so that "make gui" creates a functional PWgui. 2019-03-01 23:44:12 +01:00
Paolo Giannozzi 6ab7abb6f6 html and txt manuals updated 2019-03-01 18:00:27 +01:00
Paolo Giannozzi 6834a502ef [Skip-CI] Obsolete version 'svn' replaced by 'git'; various .PHONY of questionable
usefulness, referring to no longer existing procedure devised for svn, removed
2019-03-01 17:42:56 +01:00
Pietro Delugas 958e1ca535 updating pdf files doc files 2019-02-28 18:46:00 +01:00
fabrizio22 d9d8edee9d Merge branch 'develop' of https://gitlab.com/fabrizio22/q-e 2019-02-28 14:14:03 +01:00
Lorenzo Paulatto 463b8507fa More bugfixes, syntax that xlf90 does not like:
1. FLUSH is an intrisic function
2. to continuate a string, you must end the firt line AND start the second with an '&'
3. missing comma in format string
2019-02-28 09:53:04 +00:00
fabrizio22 343cd6bfac Internal library for LDA xc functionals 2019-02-21 14:47:18 +01:00
Paolo Giannozzi e256a3e8dc [Skip-CI] Makefile and documentation cleanup 2019-02-14 09:45:46 +01:00
Paolo Giannozzi cebb7c1765 Initialization of "ortho" (or "diag") group taken out from mp_startup routine. The reasons for this are
- to avoid unneeded dependencies: currently each and every code that initializes mpi depends upon LAXlib,
  including those that never diagonalize a matrix (e.g., ld1.x). This is completely ridiculous.
- to be free to choose the parallelization of linear algebra after data is read and metabolized.
  It used to be done like that some time ago, by the way.
IMPORTANT NOTICE: all codes that use parallelization of linear algebra MUST explicitly call mp_start_diag.
Currently this is done by: cp.x, pw.x, neb.x, ph.x, projwfc.x. All other codes cannot currently use linear
algebra parallelization (linear algebra will run on 1 processor).
2019-02-07 21:06:21 +01:00
Paolo Giannozzi e82cf997de More minor fixes 2019-01-03 16:06:50 +01:00
Paolo Giannozzi 30b1cfe753 Some (very) old gfortran versions do not like F2007 syntax "open(newunit=..."
Replaced with old-style call to "open(unit=..." + find_free_unit
2018-08-23 10:39:06 +02:00
Paolo Giannozzi f5fa63f300 Miscellaneous cleanup of dependencies: some unneeded ones removed,
some needed for parallel make added. Maybe the latter works again.
2018-08-06 16:26:02 +02:00
Paolo Giannozzi 46a61bb91f Some compilers do not like that a variable has the same name of a module 2018-08-06 16:25:11 +02:00
Stefano de Gironcoli bc59e529d8 more missing dependencies for libppcg.a added to Makefiles 2018-08-03 04:15:56 +02:00
Stefano De Gironcoli 3c5389add6 more changes to add a ppcg option to c_bands.f90 diagonalization 2018-08-03 04:15:56 +02:00
Miguel Carvajal 3d822928ab Add definition for KLI on funct 2018-07-18 12:12:18 +02:00
Miguel Carvajal 9f0541c9c7 Add missing setting 2018-07-17 18:41:49 +02:00
Miguel Carvajal af3851fe76 Add KLI implementation and examples 2018-07-17 18:31:44 +02:00
Paolo Giannozzi 7f32483fff IN all Makefiles, LIBS replaced by QELIBS, to prevent unlikely but not
impossible clashes with LIBS as defined by the OS or as used by the configure's
of external libraries (e.g. FoX, for which one such problem has been reported)
2018-07-11 19:58:41 +02:00
Paolo Giannozzi a929525d7b No valid reason to re-defined IFLAGS inside Makefiles 2018-07-04 16:42:12 +02:00
Paolo Giannozzi ae635622db Added compiled documentation files in *.pdf. *txt, *html format.
Since github and gitlab just distribute a snapshot of the git repository,
these files must be in the repository as well. NOTA BENE:
All changes MUST GO TO *.tex or *.def FILES, NOT to these files!
Also note that the "make doc" machinery produces also *.xml files and
latex2html converted html versions of latex files. I don't think they belong
to the repository (latex files should maybe be replaced by md files)
2018-06-22 17:41:44 +02:00
Pietro Delugas a0e50a5bd8 ios variable was checked before initialization
in ld1_writeout a ios variable was passed to
errore as IERR flag without initialization. When  the program is
compiled with PGI this usually causes an unwanted stop.
2018-04-30 11:27:26 +02:00
Pietro Delugas d8cb0187c3 Upf IO 2018-02-07 13:09:37 +00:00
Pietro Delugas e31685e139 Squashed commit of the following:
Added write out of upf files with pp_pseudo schema:
    ld1 can now write with the pp_pseudo schema if the use_xsd logical
    variable is given in the inputp namelist  with value .true.

    writing routines have been somewhat reorganized, the write_upf_module
    provides now the interface for both writing routines, actual code is
    instead in two specific modules. The pseudo_config type and the
    nullify_pseudo config subroutine have been moved in pseudo_types.f90

    write_upf_v2.f90 modified to use FoX libraries instead of iotk

    cleanup and documentation added.
2018-01-25 19:06:59 +01:00