Commit Graph

333 Commits

Author SHA1 Message Date
giannozz 0091e313e1 Replicated, useless and confusing variable "outdir" in module io_files deleted
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12450 c92efa57-630b-4861-b058-cf58834340f0
2016-05-31 18:07:16 +00:00
giannozz df30a665aa Explicit preprocessing produces *_tmp.f90 files instead of *.F90 files, to
prevent trouble with OS-X. May or may not work (it won't unless configure
is updated: please somebody with v.2.63 of autoconf do it), may turn out to
be obsolete anyway.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12364 c92efa57-630b-4861-b058-cf58834340f0
2016-04-27 14:53:38 +00:00
giannozz ff7471ead0 Output of non-writing processes should not be redirected to /dev/null: it is
useless (the call to "environment_set" already does that) and breaks Windows


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12357 c92efa57-630b-4861-b058-cf58834340f0
2016-04-25 18:40:02 +00:00
giannozz 230cc9193b Minor clarification
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12303 c92efa57-630b-4861-b058-cf58834340f0
2016-04-12 20:21:52 +00:00
spigafi 5365327e70 Fix dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12265 c92efa57-630b-4861-b058-cf58834340f0
2016-03-26 14:45:06 +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 b9da770dff - Changes for LAXlib
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12062 c92efa57-630b-4861-b058-cf58834340f0
2016-01-23 20:10:10 +00:00
giannozz 2f840c030a PWCOND fixed
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11987 c92efa57-630b-4861-b058-cf58834340f0
2016-01-14 16:18:07 +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 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
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
giannozz b5db8d6d76 Standard F2003 calls to: get_environment_variable, get_command_argument,
command_argument_count, flush, are used everywhere instead of wrappers.
Some old versions of compilers may no longer work.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11759 c92efa57-630b-4861-b058-cf58834340f0
2015-09-24 10:24:03 +00:00
giannozz d67d7b5e20 Removed useless #ifdef __MPI, definition of starting index of real-space FFT
arrays made uniform everywhere


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11540 c92efa57-630b-4861-b058-cf58834340f0
2015-05-13 13:16:24 +00:00
giannozz c712255b03 Cleanup of the too many gather/scatter routines, first step:
a single interface "gather_grid" replaces "grid_gather", "gather_smooth",
"cgather_smooth", "cgather_custom". The FFT descriptor is always passed 
as argument. Should be safe but beware: I tested only PW.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11526 c92efa57-630b-4861-b058-cf58834340f0
2015-05-06 16:45:50 +00:00
giannozz 688731fc8a Real-space calculation of forces added. Not completely wrong but not clear yet
if it is correct. Some cleanup of real-space module.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11492 c92efa57-630b-4861-b058-cf58834340f0
2015-04-27 20:25:10 +00:00
giannozz d99d0c0b2b Removed duplicated routine write_header in Modules/xml_io_base.f90
make.depend and release-notes updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@11030 c92efa57-630b-4861-b058-cf58834340f0
2014-06-06 12:54:01 +00:00
sclauzer a531252e7a Example for PWcond within LDA+U(pseudo) fixed and updated (GS)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10878 c92efa57-630b-4861-b058-cf58834340f0
2014-04-14 08:41:05 +00:00
giannozz 7c01062ba0 Final (?) set of changes to the build system, especially for Windows (Axel)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10590 c92efa57-630b-4861-b058-cf58834340f0
2013-11-07 21:06:06 +00:00
giannozz 54aa35ab00 More changes to the build system for MinGW by Axel, more Makefile cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10586 c92efa57-630b-4861-b058-cf58834340f0
2013-11-06 20:45:58 +00:00
giannozz d224f9d7b8 Small fixes for unitialized variables and questionable constructs,
courtesy of Ake Sandgren


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10577 c92efa57-630b-4861-b058-cf58834340f0
2013-11-05 14:35:41 +00:00
giannozz 19782a8bbb Missing & in continuation line (harmless but some compilers don't like)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10561 c92efa57-630b-4861-b058-cf58834340f0
2013-10-28 09:27:07 +00:00
giannozz 95600c8582 More cleanup of parallel modules: mp_global no longer contains references to
variables for the "world" MPI communicator. The latter are to be found in 
world_comm instead. mp_global should be used only to start and to end the
various parallelization levels. Many small but harmless changes: a few 
variables removed or moved to another module in most cases.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10558 c92efa57-630b-4861-b058-cf58834340f0
2013-10-27 09:09:10 +00:00
ccavazzoni 3667d17bd3 - optional communicator completely removed
- PWCOND was not compiling any more after last branch merging,
  I fix it mapping old to new variables (realus), but I need someone checking it 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10532 c92efa57-630b-4861-b058-cf58834340f0
2013-10-12 21:32:01 +00:00
giannozz 041d970f65 More minor MPI changes by Axel:
- adapt mp_abort() to have a mandatory communicator
- remove the unused err_msg string variable
- fix a compilation issue
- update dependencies



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10501 c92efa57-630b-4861-b058-cf58834340f0
2013-10-01 20:04:21 +00:00
ccavazzoni 8e3c312346 - more implicit communicator clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10500 c92efa57-630b-4861-b058-cf58834340f0
2013-09-30 11:35:20 +00:00
ccavazzoni b1fabb0fd9 - more clean-up about mp call without communicator
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10498 c92efa57-630b-4861-b058-cf58834340f0
2013-09-28 23:32:46 +00:00
ccavazzoni 8b9c1a54d0 - more Axel patches for LAMMPS and QE integration
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10493 c92efa57-630b-4861-b058-cf58834340f0
2013-09-27 14:37:51 +00:00
ccavazzoni 8f624ecd1d adding explicit communicator in "mp" cals
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10491 c92efa57-630b-4861-b058-cf58834340f0
2013-09-26 20:53:32 +00:00
giannozz e0086b6882 The IFLAGS variable is set in make.sys to a value that works if sources are
one directory down, not two directories down. Now it is explicitly set to
something (hopefully) appropriate everywhere. Note that include/f_defs.h 
is obsolete and shouldn't be included (it is still in GWW and TDDFPT).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10446 c92efa57-630b-4861-b058-cf58834340f0
2013-08-26 16:36:27 +00:00
giannozz db78b5799b More careful removal of scratch files in examples: only files starting with
"pwscf" or "cp" are removed when the scratch directory is cleaned. May still
need some tweaking in some cases, though, because not all files start with
the value of "prefix" variable


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10437 c92efa57-630b-4861-b058-cf58834340f0
2013-08-16 14:39:10 +00:00
smogunov d1d6cdf335 Bug fix: addition to the total transmission was not in the
right place. 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10301 c92efa57-630b-4861-b058-cf58834340f0
2013-06-06 13:08:04 +00:00
giannozz 97e60dad78 make.depend updated\
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10285 c92efa57-630b-4861-b058-cf58834340f0
2013-05-30 13:39:55 +00:00
smogunov ac119834e7 Fix bug: memory allocation problem encountered at some cases
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10282 c92efa57-630b-4861-b058-cf58834340f0
2013-05-28 07:16:36 +00:00
smogunov 6e5b4621b4 Some small cleaning.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10269 c92efa57-630b-4861-b058-cf58834340f0
2013-05-23 09:00:30 +00:00
smogunov a299043f0d Implemented the transport with DFT+U (a simple scheme for collinear case only, at the moment),
where it is assumed that +U orbitals are located only in the scattering region (A. Smogunov).   


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10266 c92efa57-630b-4861-b058-cf58834340f0
2013-05-23 08:01:57 +00:00
giannozz 05778aacaf There is no reason to store into a file (or into a buffer) the atomic
wavefunctions, unit "iunat": they are used only at the end to calculate
forces and stresses with LDA+U. It takes less than no time to re-generate
them on the fly. Unit "iunat" removed everywhere. Also: unit iunatsicwfc
used only in pw2wannier.f90 moved there.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10193 c92efa57-630b-4861-b058-cf58834340f0
2013-04-26 20:02:37 +00:00
giannozz bd1f333e47 LDA+U initialization moved out from routine setup.f90 into the lda+U module,
together with lda+U variables extracted from pwcom.f90; stored in a separate 
ldaU.f90 file. Added a yet unused variable "is_hubbard". make.depend update. 
Lot of noise but nothing substantial. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10169 c92efa57-630b-4861-b058-cf58834340f0
2013-04-19 14:14:42 +00:00
giannozz 2a4b284d07 Changed the "open_buffer" call. It is no longer needed to specify the
maximum number of record. Better to specify with a flag if writing to a
RAM buffer than using tricks such as negative units. BEWARE: may break 
things *but it shouldn't)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10056 c92efa57-630b-4861-b058-cf58834340f0
2013-03-13 21:17:31 +00:00
giannozz 7df850e0c1 Not yet band-parallelization-ready ..
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9971 c92efa57-630b-4861-b058-cf58834340f0
2013-02-14 13:55:44 +00:00
giannozz 414a29622f Addendum to previous commit: a few more instances of questionable
calculation of quantities in real space fixed (I hope). I think there 
can be more (in particular, dipole calculation in Makov-Payne is for sure
affected). Moreover it seems that in several cases there is no check whether
the (i,j,k) indices in real space correspond to a physical position or to
a bogus one. Please have a careful look. The correct (?) way to do things
should be the one in realus.f90. The latter has only been cleaned up a bit.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9970 c92efa57-630b-4861-b058-cf58834340f0
2013-02-14 13:44:48 +00:00
giannozz c44dd0535d Further attempt of a I/O cleanup. BEWARE: it may break a number of things.
1) wfc_dir is always set to something sensible: either its value or tmp_dir
2) files containing wavefunctions and the like in pw.x are stored in wfc_dir,
   always; no need to save, modify, reset tmp_dir
3) with the exception of TDDFPT, all other codes do not read wfc_dir. Thus,
   wfc_dir is set to tmp_dir by read_file(), since in any case it is where 
   it is looking for wavefunctions
4) TDDFPT reads and uses wfc_dir; for the time being, wfc_dir is set to
   either its value or to "undefined", in order to keep compatibility with 
   its usage in TDDFPT. The setting is done AFTER read_file is called
May or may not work. I hope it does.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9965 c92efa57-630b-4861-b058-cf58834340f0
2013-02-12 16:42:54 +00:00
giannozz 847297ba79 Interface for read/write in memory slightly simplified. Note that now the
unit for writing in memory is -10. Shouldn't have unexpected effects but
no warranty


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9964 c92efa57-630b-4861-b058-cf58834340f0
2013-02-12 13:34:22 +00:00
sclauzer 76c65671c9 Support for ballistic transport with DFT+U using pseudopotential projectors added to PWcond.
Example of usage included (needs PP with AE wfcs, added in pseudo/).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9572 c92efa57-630b-4861-b058-cf58834340f0
2012-10-24 09:41:28 +00:00
dalcorso 0a64c6da77 Added a script to run all PWCOND examples and a script to clean all the
examples.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9376 c92efa57-630b-4861-b058-cf58834340f0
2012-08-25 13:44:48 +00:00
ccavazzoni 55990bc1a2 - new dependencies
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9235 c92efa57-630b-4861-b058-cf58834340f0
2012-07-26 15:44:01 +00:00
giannozz 7cfc6e68fc make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9211 c92efa57-630b-4861-b058-cf58834340f0
2012-07-20 13:54:45 +00:00
giannozz f7a9f33a2e integer used as logical: not all compilers like it
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9207 c92efa57-630b-4861-b058-cf58834340f0
2012-07-20 13:10:58 +00:00
smogunov 50aa74b1c1 Documentation updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9185 c92efa57-630b-4861-b058-cf58834340f0
2012-07-12 13:24:03 +00:00
smogunov f9729c4a23 Added a possibility to plot a k-resolved transmission
using the option tk_plot, integer, if it is > 0 the code
will plot the transmission in k-space region [Full BZ x tk_plot]
Also an option to change the order of 2 loops over k and E
is introduced by using the parameter loop_ek (if .true.
E loop is outside the k-point loop) which could be useful
for 2D interfaces. (A. Smogunov)  

(A. Smogunov) 



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9184 c92efa57-630b-4861-b058-cf58834340f0
2012-07-12 13:01:34 +00:00
giannozz ff6d238f00 Address for network download of pseudopotentials updated and moved to
environment_variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8999 c92efa57-630b-4861-b058-cf58834340f0
2012-05-14 13:10:13 +00:00