For consistency with PW: wfc => wfcU, n_atomic_wfc => nwfcU


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10658 c92efa57-630b-4861-b058-cf58834340f0
More PW/CP harmonization for LDA+U


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10659 c92efa57-630b-4861-b058-cf58834340f0
Oops...


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10660 c92efa57-630b-4861-b058-cf58834340f0
First attempt of a band parallelization for LDA+U in CP.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10661 c92efa57-630b-4861-b058-cf58834340f0
No need to sum over k-points in CP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10662 c92efa57-630b-4861-b058-cf58834340f0
Unprecise routine name in error messages and modified a few comments.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10663 c92efa57-630b-4861-b058-cf58834340f0
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
Removed a change introduced in previous commit. Note however that this cleaning
instruction is wrong and is not cleaning anything.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10665 c92efa57-630b-4861-b058-cf58834340f0
A more consistent broadcast.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10666 c92efa57-630b-4861-b058-cf58834340f0
More consistent broadcast and other small changes to phq_readin.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10667 c92efa57-630b-4861-b058-cf58834340f0
Bug fix: a check was not completely correct, usually harmless.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10668 c92efa57-630b-4861-b058-cf58834340f0
Added some cleanup of variables in check initial status. Needed if this 
routine is called several times by an external driver.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10669 c92efa57-630b-4861-b058-cf58834340f0
Close the iudyn file.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10670 c92efa57-630b-4861-b058-cf58834340f0
Call environment_end before stopping after writing the modes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10671 c92efa57-630b-4861-b058-cf58834340f0
The main loop over q in the phonon code moved to a separate subroutine that
can be called by other external drivers. 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10672 c92efa57-630b-4861-b058-cf58834340f0
Added two variables, not currently used:
with_ext_images: setting this variable to .true. an external driver can
                 take control of what each image computes.
always_run: setting this variable to .true. forces the do_phonon routine
            to return without stopping when it finishes the calculation.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10673 c92efa57-630b-4861-b058-cf58834340f0
Restart in parallel case was incorrect


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10674 c92efa57-630b-4861-b058-cf58834340f0
Calls to mpi_comm_split replaced by interface mp_comm_split


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10675 c92efa57-630b-4861-b058-cf58834340f0
make.depend updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10676 c92efa57-630b-4861-b058-cf58834340f0
Safer cleanup of "ortho" communicators. Does not seem to clean communicators
used by scalapack, though


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10677 c92efa57-630b-4861-b058-cf58834340f0