Commit Graph

146 Commits

Author SHA1 Message Date
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 b8ed151b94 Patch from Axel for Windows (mingw) build, plus other minor fixes here and
there, plus more mp_global replaced by specific modules. Xspectra added to
"make all".


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10576 c92efa57-630b-4861-b058-cf58834340f0
2013-11-05 08:32:42 +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
giannozz 1976e0715c Removal of tabulators. There are many more in iotk and QHA, though
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10525 c92efa57-630b-4861-b058-cf58834340f0
2013-10-10 12:59:30 +00:00
ccavazzoni 34781504de - more implicit world communicator clean-up
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10511 c92efa57-630b-4861-b058-cf58834340f0
2013-10-06 19:09:46 +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 cb395ee1a4 adding explicit communicator in "mp" cals
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10489 c92efa57-630b-4861-b058-cf58834340f0
2013-09-26 20:50:56 +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
giannozz d22f5ceda0 make.depend updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10416 c92efa57-630b-4861-b058-cf58834340f0
2013-08-01 16:13:54 +00:00
sclauzer 70c9666102 Reverting to the old behaviour (v5.0.1 and earlier) of the path initialization as the default.
A warning is issued when atoms move more than 1/2 alat between two consecutive input images.
The usage of periodic replicas can be activate with the new option "minimum_image".
Documentation and user guide updated.

BTW, there are some undocumented parameters in namelist &path, such as fixed_tan.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10302 c92efa57-630b-4861-b058-cf58834340f0
2013-06-07 10:04:56 +00:00
giannozz d6f0c24900 Variable "swfcatom" moved out of module "ldaU" into module "basis". The
latter moved to a separate file called "atomic_wfc_mod.f90". It is slightly 
confusing right now but it will be cleaned up later. No real changes.
More OpenMP parallelization of Hubbard force calculation.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10209 c92efa57-630b-4861-b058-cf58834340f0
2013-04-30 18:09:31 +00:00
giannozz 5bdf7d88f9 Did I forget something in my previous commit ... ?
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10114 c92efa57-630b-4861-b058-cf58834340f0
2013-04-07 16:58:51 +00:00
giannozz 41be320556 NEB with images was broken by one of my previous changes to I/O
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10054 c92efa57-630b-4861-b058-cf58834340f0
2013-03-12 15:26:15 +00:00
giannozz c26a05f691 parallel_mkdir does not exist any longer
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10047 c92efa57-630b-4861-b058-cf58834340f0
2013-03-10 19:43:18 +00:00
giannozz 2f1d6fe097 Numeric constant given a name (ry_to_ghz) and moved to constants.f90;
make.depend updated; misc. minor things


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@10015 c92efa57-630b-4861-b058-cf58834340f0
2013-02-26 10:03:47 +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
giannozz 62583d7f5c 1) NEB (slightly) simplified: there is just one do loop over input files
2) Flags checking that read_cards has correctly read cards are reset by
   routine performing read, not by NEB: it is more logical and general


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9922 c92efa57-630b-4861-b058-cf58834340f0
2013-02-03 20:28:53 +00:00
giannozz 2d58494592 1) Routine "read_input_file" modified so that it accepts the input file name
as an argument instead of reading it from command line. Input file name is
   read instead from command line at startup by mp_startup. 
2) Removed #ifdef __MPI before mp_startup (command line must be read in serial 
   execution as well)
3) Replaced calls to lower-level routines read_namelists, read_cards etc by a
   call to read_input_file in NEB
4) Unused routines removed
Note that the above changes affect only pw.x, cp.x, neb.x; in all other cases,
mp_startup is not executed in serial case (will be fixed sooner or later) and
the command line is still read (by a different routine) at a later stage.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9919 c92efa57-630b-4861-b058-cf58834340f0
2013-02-02 21:12:16 +00:00
giannozz ccff9d7d7a Useless call removed - ionode and ionode_id already st at startup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9893 c92efa57-630b-4861-b058-cf58834340f0
2013-01-29 15:56:57 +00:00
giannozz aca32a501a Module mp_global split into more modules, one per parallelization level.
Module mp_global is still there for compatibility and still contains the
routine mp_startup that performs the intialization, but shouldn't be any
longer used in new developments and should be slowly replaced by specific
modules. New module containing command-line options added. Command-line
options are read at the beginning of the run and broadcast to all processors
(there is no guarantee that command-line options cam be accessed by all mpi
 processes). Nothing should be broken by these changes but please verify if
all parallelization levels work (I have limited access to parallel machines
right now)

The reason for these changes, and for those that will come soon, is to make
image parallelization easier (in particular in NEB but also for other cases). 
Right now it is a pain, in part because the initialization is inadequate,
in part because it is never clear who reads/writes what from/to where.
It will take a few weeks before everything converges to a stable state.
Meanwhile, please be patient and fix/report problems.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9876 c92efa57-630b-4861-b058-cf58834340f0
2013-01-28 09:21:12 +00:00
giannozz f65a9a8684 More cleanup of redundant units etc. I have left in place the possibility
to open the xml file with a different unit from stdin, but it doesn't seem
to have any usefulness


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9850 c92efa57-630b-4861-b058-cf58834340f0
2013-01-23 20:33:33 +00:00
giannozz 632047ae09 Parsing of command-line options in neb partly merged with the rest of the code,
simplified


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9823 c92efa57-630b-4861-b058-cf58834340f0
2013-01-20 21:02:07 +00:00
giannozz 652f460dfa There is no reason to have command-line options so looooong. I have introduced
a few shorthands (-i, -ni, -nk, -nb, -nt, -nd) with obvious meaning and updated
the documentation. The old syntax will still work. Cleanup of routines catching
command-line options. More serious cleanup of the entire stuff is anyway needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9819 c92efa57-630b-4861-b058-cf58834340f0
2013-01-19 21:52:32 +00:00
giannozz ff388f394a Removed temporary (and extemporary) change that should not have been commited
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9815 c92efa57-630b-4861-b058-cf58834340f0
2013-01-19 16:29:34 +00:00
giannozz 36a4b2b218 More cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9814 c92efa57-630b-4861-b058-cf58834340f0
2013-01-19 16:15:41 +00:00
giannozz 32e9e8e3dd Merged parallel startup in NEB with the rest of the code. Seems to work.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9805 c92efa57-630b-4861-b058-cf58834340f0
2013-01-18 20:42:01 +00:00
giannozz fd0b18fea2 Some cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9802 c92efa57-630b-4861-b058-cf58834340f0
2013-01-18 17:03:34 +00:00
giannozz f154ffc2fc Cleanup of image-related variables tha should no longer be in PW or CP;
make.depend updated, added clarification on how to run examples with images


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9782 c92efa57-630b-4861-b058-cf58834340f0
2013-01-16 12:53:40 +00:00
giannozz 551b659b1c Deprecated syntax of CELL_PARAMETER card updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9781 c92efa57-630b-4861-b058-cf58834340f0
2013-01-16 10:28:06 +00:00
giannozz 6a11fd42ab Incorrect reference results
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9780 c92efa57-630b-4861-b058-cf58834340f0
2013-01-16 09:21:53 +00:00
giannozz 696c817c3b More NEB cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9779 c92efa57-630b-4861-b058-cf58834340f0
2013-01-16 08:45:34 +00:00
giannozz 7c6aaed2e1 More comments
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9777 c92efa57-630b-4861-b058-cf58834340f0
2013-01-15 21:51:03 +00:00
giannozz 9e2e852155 COmments made clearer
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9776 c92efa57-630b-4861-b058-cf58834340f0
2013-01-15 21:27:00 +00:00
giannozz ea0f6e20d1 Local variable "stdinpath" replaces global one: there is no need to have so
many variables containing file units 


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9775 c92efa57-630b-4861-b058-cf58834340f0
2013-01-15 20:22:29 +00:00
giannozz b52defa736 Removed empty field MD
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9773 c92efa57-630b-4861-b058-cf58834340f0
2013-01-15 17:22:06 +00:00
giannozz 6dd1827b23 BEGIN had lost the beginnng letter - still not working, though: it complains
about the field MD. Mayne it doesn't like that it is empty?


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9771 c92efa57-630b-4861-b058-cf58834340f0
2013-01-15 09:14:28 +00:00
giannozz 5fa72625de test was not complete
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9765 c92efa57-630b-4861-b058-cf58834340f0
2013-01-09 20:56:51 +00:00
giannozz fc15c7bc7a Should have added *.ref. not *.out files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9763 c92efa57-630b-4861-b058-cf58834340f0
2013-01-08 22:12:23 +00:00
giannozz 116f8da387 Tests for neb were not working
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9762 c92efa57-630b-4861-b058-cf58834340f0
2013-01-08 22:10:32 +00:00
giannozz 6dc558d2d6 Subroutine test_input_file converted to function, makes a more careful check
whether a file is xml or not; cleanup pf neb.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9761 c92efa57-630b-4861-b058-cf58834340f0
2013-01-08 21:14:37 +00:00
spigafi 25be2b499c compute_scf is a simple routine, let it include into libneb.a
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9446 c92efa57-630b-4861-b058-cf58834340f0
2012-09-23 13:41:15 +00:00
sclauzer 961da0f58d Trying to improve the NEB user guide. Still needs some work...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9405 c92efa57-630b-4861-b058-cf58834340f0
2012-08-31 16:19:49 +00:00
sclauzer 8e9ca176e9 Output format of images fixed (now compatible with neb.x input).
Small changes to the formatting of path output.



git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9404 c92efa57-630b-4861-b058-cf58834340f0
2012-08-31 11:59:22 +00:00
sclauzer 3b1d126cff Small cleanup (unused module).
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9398 c92efa57-630b-4861-b058-cf58834340f0
2012-08-30 11:44:35 +00:00
marsamos ffb590b5a8 version changed in doc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9394 c92efa57-630b-4861-b058-cf58834340f0
2012-08-29 12:38:30 +00:00
dceresoli 1f7dc3f42b small correction.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9372 c92efa57-630b-4861-b058-cf58834340f0
2012-08-24 12:59:42 +00:00