Commit Graph

144 Commits

Author SHA1 Message Date
Paolo Giannozzi 671f25d895 Merge https://gitlab.com/QEF/q-e into devel-upflib 2021-01-19 17:44:14 +00:00
Andrea Ferretti 504ce31a46 init_us_1 moved to upflib 2021-01-16 01:07:21 +01:00
fabrizio22 46494302bd XClib - beef interfaces only in XClib (by Paolo) 2021-01-06 16:06:22 +01:00
fabrizio22 509ce8ad64 XClib - all in module xc_lib 2021-01-06 15:42:52 +01:00
fabrizio22 65a3bed86c XClib - funct into XClib - all fldrs 2021-01-06 15:36:00 +01:00
fabrizio22 c1337867b2 XClib - lib name changed 2021-01-06 15:36:00 +01:00
fabrizio22 2f933d101e XClib - lda - scratch 2021-01-06 15:31:24 +01:00
Paolo Giannozzi d59300e883 make.depend files and related script updated 2020-08-17 19:04:40 +02:00
Your Name 5ed1efc670 Updated for keeping pace with QE 2020-07-23 10:32:30 +02: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 6a90348831 Small change suggested by Antoine Jay to allow calling run_pwscf more than once 2019-12-19 13:01:10 +01:00
Paolo Giannozzi 322f6b2d6b Removal of unused variables 2019-08-21 09:51:27 +02:00
Paolo Giannozzi 0c73b496bc Removal of USE input_parameters
Module input_parameters should be used ONLY to read input variables.
Once variables are read, they must be copied into QE modules and
input_parameters should be no longer used. Morever, input_parameters
is initialized ONLY when input is read, NOT when the data file is read.
2019-07-13 21:23:32 +02:00
Paolo Giannozzi 00ff840eed More mp_global cleanup: PHonon, GWW 2019-01-31 22:09:24 +01:00
Paolo Giannozzi 11d764fddf Removal of obsolete lkpoint_dir variable 2019-01-28 22:26:32 +01:00
Paolo Giannozzi dc3ca5412f Merge branch 'develop' of gitlab.com:QEF/q-e into wfcollect
Conflict with unrelated commit removed, make.depend updated
2019-01-28 21:44:35 +01:00
Paolo Giannozzi da041348d1 twfcollect variable deleted. It is still mentioned here and there, still written
into xml files, listed among input variables, but it is never used and no longer
useful. In case, it is easy and quick to reintroduce it, in a less confusing way
2019-01-26 18:26:16 +01:00
Paolo Giannozzi 6f7bbdf452 More Makefile cleanup: targets pwlibs, phlibs added in order to avoid much
uneeded relinking; the mysterious "tldeps" machinery modified accordingly;
added explicit dependencies to GWW targets to prevent (once again) problems
with make -j (seems to work now). make.depend updated (once again).
2018-08-21 17:14:04 +02:00
Stefano De Gironcoli 18bfc19c86 a single libks_solvers.a library is created.
Makefiles of the children codes are updated to use it.
2018-08-14 01:41:44 +02:00
Stefano de Gironcoli a241241d27 updated dependencies 2018-08-05 16:52:11 +02:00
Stefano de Gironcoli 89c9680c04 changes needed due to recent displacement of some wariables to iunits_lr module 2018-08-05 14:58:21 +02:00
Stefano de Gironcoli bc59e529d8 more missing dependencies for libppcg.a added to Makefiles 2018-08-03 04:15:56 +02:00
giannozz 54abe91aa3 Merge branch 'feature/RefactorWfcModuleName' into 'develop'
Rename module wavefunctions_module to wavefunctions

See merge request QEF/q-e!118
2018-07-18 15:58:00 +00:00
Miguel Carvajal 68ee7b5e87 Rename module wavefunctions_module to wavefunctions 2018-07-12 16:11:48 +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 84d09bcc20 With the latest change, clean_pw, used in many places, depend upon dft-d3/.
Makefiles modified accordingly.

I am not at all happy about this "solution": unneeded dependencies should be
avoided, but this would need to change the way things are deallocated at the
end of a run (clean_pw does too many things at the same time)
2018-05-10 08:27:14 +02:00
Paolo Giannozzi 99515484f3 Some general-purpose routines for file and directory handling:
create_directory, check_tempdir, check_file_exist, clean_tempdir,
moved from input.f90 or xml_io_base into module "io_files"
2018-03-14 21:23:26 +01:00
Paolo Giannozzi da290b9cad Cleanup of unused or avoidable fixed dimension nsx, make.depend updated 2018-03-02 18:37:09 +01:00
Stefano de Gironcoli cd2e99c523 Merge branch 'master' of https://gitlab.com/QEF/q-e
Conflicts:
	PW/src/sum_band.f90
2018-01-10 14:58:38 +01:00
Stefano de Gironcoli 4c4c93c257 define a generic interface for fft_interpolate and move the correspondig routine to FFTXlib 2018-01-08 23:02:08 +01:00
Paolo Giannozzi b99ec0dd54 A few more Makefile changes 2018-01-08 22:54:58 +01:00
Stefano de Gironcoli 407a1c444a routine cinterpolate replaced by fft_interpolate_complex
similar to fft_interpolate_real
2018-01-03 00:50:24 +01:00
Stefano de Gironcoli 41e91c0dac new interface to fft calls
three types of calls are possibles :  'Rho', 'Wave', 'tgWave'

   In order to enable an fft-type for a given grid the corresponding clock_labels must be set.
   One gives a name to desc%rho_clock_lable for 'Rho' type fft and a name to
   desc%wave_clock_lable for 'Wave' and 'tgWave' types. Whether tg is
   possible depends of the already defined value of desc%have_task_groups variable (mispell to be corrected soon).

   definining
      dffts%rho_clock_label='ffts', dffts%wave_clock_label='fftw',
      dfftp%rho_clock_label='fft', dfftt%rho_clock_label='fftc' and
      dfftt%wave_clock_label='fftcw'
   and changing
      'Dense'->'Rho', 'Smooth'->'Rho', 'Custom'->'Rho', 'CustomWave'->'Wave'
   the same clock names and the same overall behavior as with the old interface is obtained.
2018-01-02 17:45:45 +01:00
Carlo Cavazzoni 5cbf84920c nl indexes now in fft type 2017-12-24 16:46:42 +01:00
giannozz a6e197099e dependencies updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13790 c92efa57-630b-4861-b058-cf58834340f0
2017-08-28 10:20:06 +00:00
giannozz 43f8062c8c Final cleanup of check_stop machinery - only real change in the end:
max_seconds is stored into module check_stop and no longer in input_parameters


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13774 c92efa57-630b-4861-b058-cf58834340f0
2017-08-25 09:51:34 +00:00
giannozz bf80dd9831 Minor changes to check_stop; max_seconds initialized in CP as in PW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13768 c92efa57-630b-4861-b058-cf58834340f0
2017-08-24 19:49:34 +00:00
degironc 4636bca635 KS_Solvers directory has been created with three subdirectories:
KS_Solvers/CG, KS_Solvers/Davidson, KS_Solvers/Davidson_RCI.
Two are currently used by QE, the third one implements the Davidson
diagonalization within the Reverse Communication Interface paradigm,
courtesy of Micael Oliveira.

KS_Solvers routines depend only on lower level libraries, notably UtilXlib, 
LAXlib, (SCA)LAPACK, and BLAS.

reorganization can be improved. For instance some duplicated routines like
cdiaghg and rdiaghg could/should be moved in LAXlib. This could reduce the need
to include  KS_Solvers directories in the link step of many codes.    

Minimal changes to calling sequence have been made, essentially just adding
h_psi,s_psi,g_psi and h_1psi,s_1psi routines names as arguments (with a
specific calling sequence ihardcode inside the routines that agree with PWSCF one). 
This could be avoided adopting the RCI paradigm.

Compiled in serial and parallel, 177/182 pw tests passed (3 that were failing 
even before on my laptop pw-berry, pw-langevin, pw-pawatom + 2 unknown==not tested), 
12 /17 cp tests passed (some o2-us-para-pbe-X fail but the same was for the 
original version)

I assume the modified calling procedure is working and the problem lies somewhere else.
 
Randomly tested some examples in pw, ph, pwcond and it seams to work.

Please report any problem.





git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13644 c92efa57-630b-4861-b058-cf58834340f0
2017-07-29 12:19:19 +00:00
degironc 7fd27ba0ad UtilXlib directory created to contain a library (libutil.a) for
basic operations: error handling, timing clocks, interfaces to basic mpi 
calls, find free units...
These routines are moved from Modules and dependencies to other modules
are removed. 

MANY files are updated to comply with the move.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13629 c92efa57-630b-4861-b058-cf58834340f0
2017-07-26 11:15:20 +00:00
giannozz 44d31e4709 Module pwcom should not contain references to other modules
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13498 c92efa57-630b-4861-b058-cf58834340f0
2017-05-08 15:26:53 +00:00
giannozz 0635f827dd Modules gvecs, gvect, ldaU no longer USEd by pwcom; minor changes here and there
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13409 c92efa57-630b-4861-b058-cf58834340f0
2017-03-17 15:25:44 +00:00
giannozz 3dce174c0d Module "ktetra" taken out of pwcom.f90 in view of some additions coming.
Variable "ltetra" moved to common "klist" together with all other variables
setting occupations. All make.depend updated. Should be harmless.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13204 c92efa57-630b-4861-b058-cf58834340f0
2016-12-21 14:23:06 +00:00
giannozz 3722216d93 Unused routine h_psiq removed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13100 c92efa57-630b-4861-b058-cf58834340f0
2016-10-09 20:36:06 +00:00
giannozz 06f5544ee7 First GWW bug fix: npw shouldn't be used any longer, igkq array not allocated.
Better fix: get rid of h_psiq altogether, replace it with h_psi


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@13099 c92efa57-630b-4861-b058-cf58834340f0
2016-10-09 20:06:27 +00:00
spigafi 02ad44cdf1 ifdef preprocessor macro refactoring (GWW)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12979 c92efa57-630b-4861-b058-cf58834340f0
2016-09-18 15:13:03 +00:00
giannozz 7ce7d161bf Makefile simplification: TOPDIR is used to define the same LIBOBJS everywhere.
In case of trouble, see instruction in the make.inc file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12840 c92efa57-630b-4861-b058-cf58834340f0
2016-08-25 19:27:31 +00:00
puma 55d3a2f694 igk_k inserted
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12562 c92efa57-630b-4861-b058-cf58834340f0
2016-07-06 12:14:42 +00:00
giannozz 02ce4df8d6 make.sys => make.inc. All other codes using make.sys should modify their build
mechanism accordingly.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12539 c92efa57-630b-4861-b058-cf58834340f0
2016-06-25 07:26:50 +00:00
giannozz 083900417d More removal of I/O for index - harmless but please verify if head.x works
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12491 c92efa57-630b-4861-b058-cf58834340f0
2016-06-13 12:39:34 +00:00