Commit Graph

14 Commits

Author SHA1 Message Date
cavazzon fafe34f06b - fixed a configuration problem with pgi compiler and preprocessor
- elapsed_seconds substituted by cclock
- fortran version of scnds substituted by c version.

now time information is taken only through:
cclock   for the real wall clock time
scnds    for cpu time of the running process
defined in file clib/cptimer.c


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3400 c92efa57-630b-4861-b058-cf58834340f0
2006-09-19 17:00:18 +00:00
kkudin 5b9f84cee9 prefix.EXIT was broken by the last update (QE-3.1.1 does not work).
Kostya


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3263 c92efa57-630b-4861-b058-cf58834340f0
2006-07-10 20:15:57 +00:00
sbraccia 1c123d4600 The check on stop conditions must be done by ionode(s) and not by meta_ionode,
otherwise parallelization on neb images doesn't work anymore. C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3244 c92efa57-630b-4861-b058-cf58834340f0
2006-07-05 21:31:35 +00:00
sbraccia 2ad9db50c5 Stop by user request (prefix.EXIT) was not working for CP. Fixed and reorganised.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2602 c92efa57-630b-4861-b058-cf58834340f0
2005-12-17 17:40:37 +00:00
sbraccia d55347e4dc Some cleanup: the info message about reading/writing the restart file now indicates the
restart directory (the only file users are aware of) and not the xml descriptor.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2432 c92efa57-630b-4861-b058-cf58834340f0
2005-11-07 18:56:23 +00:00
giannozz 09057cffa0 When reading UPF potentials it is better to check for end-of-file rather
than saving a useless value of 'iostat' that is never verified


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2417 c92efa57-630b-4861-b058-cf58834340f0
2005-11-03 15:59:28 +00:00
giannozz f533b052d5 dbl => DP (defined as previously dbl was)
syntax for declarations: real(DP), without "kind="


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2135 c92efa57-630b-4861-b058-cf58834340f0
2005-08-28 14:09:42 +00:00
ballabio 74467026df more end subroutine --> end subroutine name [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1873 c92efa57-630b-4861-b058-cf58834340f0
2005-05-18 09:38:45 +00:00
sbraccia 423059c9f1 ionode substituted by meta_ionode (this because in neb and smd all images have an ionode,
but only one image (the one identified by meta_ionode) can check stop). C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1268 c92efa57-630b-4861-b058-cf58834340f0
2004-09-13 13:39:54 +00:00
sbraccia 8d870d4cea The exit_file is no longer a parameter (set in io_files.f90 to "EXIT"), but an internal variable
set in input.f90 to "prefix.EXIT".
This is necessary to allow the user to stop the "correct" job when several jobs are
running on the same working directory.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@798 c92efa57-630b-4861-b058-cf58834340f0
2004-04-14 13:48:54 +00:00
sbraccia 28bfb48b47 - General cleanup.
- NEB: 1) units for activation energy and errors are printed in the output file
       2) elastic constants are automatically rescaled so that "spring"-forces have the
          same magnitude as "external-potential"-forces: this permits a larger time step
	  in NEB optimizations (the default will be changed later)
       3) fixed a bug in the way istep and istep_neb were set
- parser: the subroutine delete_if_present has a logical optional input argument to require a
          warning message when a file is removed
- check_stop: the function check_stop_now has an option input argument to assign an output unit
              different from stdout
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@753 c92efa57-630b-4861-b058-cf58834340f0
2004-03-29 08:42:37 +00:00
sbraccia df371533ce Tests on cpu time and soft exit adaptet to "parallel" NEB.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@746 c92efa57-630b-4861-b058-cf58834340f0
2004-03-25 12:09:40 +00:00
sbraccia 2a99b6fdac 1) An experimental parallelization of NEB images has been implemented.
This required a deep modification of the parallelism in PWscf:
there are two new communicators (intra_image_comm and inter_image_comm) and the
existing "pool" communicators (intra_pool_comm and inter_pool_comm) are now vectors
of length given by the number of parallel images. #ifdef __PARA is no longer
needed because all "parallel" variables are always initialized for a serial run
and all parallel routines are, in the case of a serial run, dummy routines.
The wrappers to MPI routines used only by PWscf are in the PW/para.f90 file.
The others (mp_***) are in the Modules/mp.f90. All explicit referencies to mpif.h
should be replaced by an "USE parallel_include" (in a serial run parallel_include
is simply a dummy module).

2) The extrapolation of both potential and wavefunctions has been rewritten in
order to be smarter than before: on the basis of the required extrapolation
order, on the basis of the history and on the basis of which files are really
present on the disk, the algorithm chooses the extrapolation order.
All the algorithms in which ions are moved can use the extrapolation.

These are both unstable features: I need the help of everybody to test them.

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@742 c92efa57-630b-4861-b058-cf58834340f0
2004-03-24 09:36:50 +00:00
cavazzon c880a0a848 - Almost all neb routines moved to Modules
- New module check_stop used by all codes
  to check for exit conditions ( maximum time
  or EXIT file )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@718 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 00:08:26 +00:00