Commit Graph

8883 Commits

Author SHA1 Message Date
ccavazzoni ada284e274 - preprocessor directive __LOWMEM substituted by input parameter "memory"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9306 c92efa57-630b-4861-b058-cf58834340f0
2012-08-15 20:27:24 +00:00
ccavazzoni 13f03fda16 - modified call to ggen
- new clocks for init dimensions


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9305 c92efa57-630b-4861-b058-cf58834340f0
2012-08-15 19:50:46 +00:00
ccavazzoni 8f2af7b2a6 - OpenMP parallelization of array elements rearrangement
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9304 c92efa57-630b-4861-b058-cf58834340f0
2012-08-15 19:48:23 +00:00
ccavazzoni 401eb6b82b - new randomization procedure based on cartesian mill g-vectors coordinates
not requiring global sorting and global wave functions.
! ... initialize the wave functions in such a way that the values
! ... of the components are independent on the number of processors
! ... with "local" option the initialization is independend from G sorting too!
NOTE that cptest now could fail, because the energy values (far from convergence)
are different



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9303 c92efa57-630b-4861-b058-cf58834340f0
2012-08-15 14:36:37 +00:00
ccavazzoni e9c0710441 - remove conditional compilation pragmas
- add optional parameters to make ggen working with both local and global sorting.
  In particular:
  if no_global_sort is present (and it is true) G vectors are sorted only locally and not globally.
  In this case no global array should be allocated and sorted (saving memory
  and a lot of computational time for large systems).



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9302 c92efa57-630b-4861-b058-cf58834340f0
2012-08-15 14:29:43 +00:00
dalcorso 799ce6ea91 Bug fix: After the recent reorganization of the symmetry routines, the names of the matrices multiplied by inversion were set uncorrectly.
-This line, and those below, will be ignored--

M    espresso/PW/src/symm_base.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9301 c92efa57-630b-4861-b058-cf58834340f0
2012-08-15 14:08:52 +00:00
dalcorso 9a3e9def7d A problem in yesterday commit.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9300 c92efa57-630b-4861-b058-cf58834340f0
2012-08-14 16:39:40 +00:00
oliviero ca7e08277b minor modification in environ related input parsing
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9299 c92efa57-630b-4861-b058-cf58834340f0
2012-08-14 16:30:09 +00:00
dalcorso 7ec43d0600 The information on the images is now on the user guide.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9298 c92efa57-630b-4861-b058-cf58834340f0
2012-08-14 13:15:23 +00:00
sclauzer 1ae489b65d Actually it was a small bug (fixed in previous commit).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9297 c92efa57-630b-4861-b058-cf58834340f0
2012-08-14 12:50:27 +00:00
sclauzer 60eb5dbed9 Small fix to input units for external calls of read_namelists
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9296 c92efa57-630b-4861-b058-cf58834340f0
2012-08-14 12:27:42 +00:00
dalcorso e2f1a64880 Added a check to stop the symmetry analysis if the number of classes of
the group is not as expected (may happen with user provided direct lattice
vectors).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9295 c92efa57-630b-4861-b058-cf58834340f0
2012-08-14 09:56:13 +00:00
dalcorso 8ed87b5856 Small correction to comments.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9293 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 16:40:34 +00:00
dalcorso 959aada02f A more consistent way to clean phonon examples.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9292 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 16:13:40 +00:00
dalcorso 212d5095a2 Now 'make clean' cleans also the phonon examples.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9291 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 15:53:05 +00:00
dalcorso 446c671d05 Routine set_irr_mode.f90 is no more used. Removed. A copy is in obsolete.f90.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9290 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 15:33:50 +00:00
dalcorso 8b69e123de The routine that checks the symmetry of the modes has been partially
revised. Now it stops the ph.x run when it does not recognize the symmetry 
of a modes of the random matrix. You can force continuation by setting 
search_sym=.false..


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9289 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 15:28:12 +00:00
dalcorso 5cfcaa8415 Corrected misleading error messages.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9288 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 15:18:01 +00:00
dalcorso 31845f94b9 Small cleanup of unused variables.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9287 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 15:13:10 +00:00
dalcorso 6c0d60f65b Minor error.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9286 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 13:37:23 +00:00
dalcorso ff0c45aa11 Bug fix: This seems as a serious bug that affects the saving of the
wavefunctions with images. 
Due to this bug phonon + images + pool sometimes crashes. 
Please check.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9285 c92efa57-630b-4861-b058-cf58834340f0
2012-08-13 13:32:06 +00:00
ccavazzoni f842daea11 other changes for BGQ
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9280 c92efa57-630b-4861-b058-cf58834340f0
2012-08-10 09:20:45 +00:00
ccavazzoni f8181a8cf9 -further changes for BGQ configuration
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9279 c92efa57-630b-4861-b058-cf58834340f0
2012-08-10 08:31:52 +00:00
gsamsonidze 5399c3e2fc BerkeleyGW interface: a proper way to handle non-linear core correction.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9278 c92efa57-630b-4861-b058-cf58834340f0
2012-08-10 02:05:50 +00:00
spigafi 5034059668 New configure regenerated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9277 c92efa57-630b-4861-b058-cf58834340f0
2012-08-10 00:48:09 +00:00
ccavazzoni 871af807b2 - detect BG/Q architecture and set the proper compiler flags
NOTE: I've not generated a new configure script since 
my autoconf tool is probably different from the one used to generate
the present configure script.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9276 c92efa57-630b-4861-b058-cf58834340f0
2012-08-09 16:39:16 +00:00
ccavazzoni e00753f776 as for the other libraries adding the possibility to
specify the scalapack lib from the environment variable SCALAPACK_LIBS.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9275 c92efa57-630b-4861-b058-cf58834340f0
2012-08-09 16:10:48 +00:00
marsamos 8684921ffa format cell param changed from f6.2 to f8.4 and from f7.3 to f9.5
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9274 c92efa57-630b-4861-b058-cf58834340f0
2012-08-08 12:07:57 +00:00
dalcorso ee6a178c75 Cleanup of the symmetry initialization of the phonon code.
Two main changes: The array irgq is removed.
                  The small group of q is calculated only in one routine.

The removal of the irgq array changed the list of input parameters of several
routines that may be called by external applications linked
with the phonon. I have tried not to break the compatibility
with these codes adding a suffix _new to the routines that required
a change of input parameters. The old routines are still there and
can be linked as before, but have been moved to a single file.
The old routines are:

smallgq -> becomes a routine called set_giq that sets only gi, gimq and
finds irotmq if minus_q is .true. It does not recalculate the small group
of q.

set_irr
set_irr_nosym
set irr_mode

are substituted by the two routines:

set_irr_new
set_irr_nosym_new

set_irr_mode is no more necessary. The input variables of the new routines
have been reduced. These routines set u, nirr, npert and these
are the only variables that are passed. All the others are passed by
USE association. Moreover these routines do not recalculate any more the
small group of q.

set_irr_sym -> set_irr_sym_new  (reduced the number of input parameters)

                               This routine sets t, tmq.                           

sgama_ph -> sgama_ph_new (the array sym is no more needed as input variable)

symdyn_munu -> symdyn_munu_new (the array irgq is no more in input variables)
symdynph_gq -> symdynph_gq_new (the array irgq is no more in input variables)
random_matrix -> random_matrix_new (the array irgq is no more in input variables)

dynmat0 -> dynmat0_new (call the new symdyn_munu_new)

dynmatrix -> dynmatrix_new (call the new symdyn_munu_new)

PAW_dusymmetrize (the array irgq has been removed from the list of input
variables, but the name of this routine has not been changed)

The old routines are in the file PHonon/PH/obsolete.f90. This file will
disapper in the future and the new routines will substitute the old ones,
so if you use these routines, you may update the argument list to the new
ones or copy the routines that you need in the directory of your
application (not advised) and change their names. Moreover soon the
array irgq will disappear from phcom.
Due to the changes in the organization of the symmetry routines in pw.x
now irgq(1)=1, irgq(2)=2, irgq(3)=3, ... and it is no more necessary to
use it. It can be safely removed from the routines that use it.
If you think that you need it, please create a copy in your common
variables. The array was set by smallgq.




git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9273 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 16:56:57 +00:00
degironc 1450b6ef2d mxr, the maximum number of lattice vectors contained in a sphere used for
Grimme's correction is always at least one (the origin).



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9272 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 16:44:57 +00:00
dalcorso 99c5602ef4 The writing of the modes is done by a separate routine.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9271 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 16:06:19 +00:00
dalcorso 9f7757fcb7 A few related instruction that build the small group of q collected in a
separate routine.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9270 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 16:01:23 +00:00
dalcorso 77af502a28 Clean up: array irgq removed.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9269 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 15:49:31 +00:00
dalcorso 8582a1be2d Small change.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9268 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 14:52:42 +00:00
ccavazzoni ed050db6aa add few more digit to the charge density print-out format
to avoid "***" in very large simulation (with more than 10K electrons)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9267 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 14:13:24 +00:00
dalcorso 8e0ce57a84 D3 was not working in parallel. Temporary fix.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9266 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 13:49:03 +00:00
ccavazzoni 19461e5a39 - updating of "bec" parallelized with OpenMP
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9265 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 11:15:09 +00:00
ccavazzoni fd5a97c4bd - adding digits to output formats to avoid *** in very
large run (above 10K cores)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9264 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 10:52:39 +00:00
ccavazzoni 7f0ad1d65b - add few digits to the output energy format, to avoid "***"
in very large runs



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9263 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 10:49:12 +00:00
dalcorso 71a4d99f03 Bug fix: A problem with phonon recover when the code stops at self-consistency.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9262 c92efa57-630b-4861-b058-cf58834340f0
2012-08-07 09:58:15 +00:00
ccavazzoni bad5b684c1 Parallelization: with extreme parallelism (10K procs or more),
ensure that all band groups have the same lambda matrix, 
  in order to avoid weird numerical side effects.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9261 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 15:05:55 +00:00
sclauzer 55c0e244fa Fixing some problems in the copy of input files (lines were split at 80th character if using Intel MPI).
I have assumed that a previous similar fix in Modules/open_close_input_file.f90 is fine.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9260 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 15:05:33 +00:00
dalcorso 7b49b32251 Small change in ph.x output.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9259 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 14:54:11 +00:00
dalcorso 419293460c Added a small script to run all phonon examples.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9258 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 14:42:33 +00:00
sclauzer 628df69f03 Small correction to the output.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9257 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 13:56:37 +00:00
oliviero bbbcab0790 small temporary commit on an environ related part
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9256 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 08:00:52 +00:00
dalcorso 5e78329f5e Added a small script to clean all phonon examples.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9255 c92efa57-630b-4861-b058-cf58834340f0
2012-08-06 07:43:52 +00:00
dalcorso ca138ce1bc Small corrections to the phonon user guide and additional info for
image parallelization.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9254 c92efa57-630b-4861-b058-cf58834340f0
2012-08-05 12:54:42 +00:00
dalcorso f6559d9365 Added an example to illustrate the use of images in ph.x.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9253 c92efa57-630b-4861-b058-cf58834340f0
2012-08-05 12:39:44 +00:00
dalcorso ee3efbf909 Bug fix: ph.x with images was not working any more.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9252 c92efa57-630b-4861-b058-cf58834340f0
2012-08-05 09:39:33 +00:00