Commit Graph

42 Commits

Author SHA1 Message Date
cavazzon 23634ce31b good_fft_dimension moved to fft_scalar
small fix (most probably a typo) in scatter.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@181 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 21:26:28 +00:00
giannozz 4d60840971 Makefile fixes (PP, PH, D3, Gamma)
Calls to allocate_fft, ggen moved out of setup.f90
Minor change in mix_rho to reduce memory use
CPV: Exch_corr: gradr not deallocated in some cases


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@175 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 20:42:34 +00:00
cavazzon 9b397d0af2 fft driver for SGI added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@174 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 16:04:45 +00:00
cavazzon 4831aaabac FPMD:
cleaning + removing of redundant files ( now in Modules )
  now FPMD rely entirely on Module/fft_scalar and Module/fft_base

CPV:
  fft drivers, in the parallel case, now rely entirely on fft_scalar
  CPV depends on FFTW only through fft_scalar which in turn calls
  the wrappers contained in clib/fft_sticks, in other words CPV and
  FPMD are now completely isolated from FFTW primitives.

PW:
  clocks.f90  moved to Modules
  scnds.f90   moved to flib

  When __AIX is defined PW now uses Module/fft_scalar drivers too.
  For testing and debugging, usage of fft_scalar or
  cft_sp drivers can be selected, for the time being, defining or undefining the
  __FFT_MODULE_DRV macro in the cft3.f90 and cft3s.f90 files.

  fft_scatter has been moved to Module/fft_base, file PW/fft_scatter.f90
  is still there for testing and debugging


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@170 c92efa57-630b-4861-b058-cf58834340f0
2003-04-20 22:22:26 +00:00
cavazzon a382fc8065 All CPV and FPMD FFTW drivers moved to Modules/fft_scalars.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@169 c92efa57-630b-4861-b058-cf58834340f0
2003-04-19 16:39:25 +00:00
cavazzon d5cab68c77 All the fft scalar drivers for AIX moved to Module/fft_scalar.f90
( CPV and FPMD codes )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@168 c92efa57-630b-4861-b058-cf58834340f0
2003-04-19 07:40:46 +00:00
cavazzon d4fe11821f small fix, again output format descriptors
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@166 c92efa57-630b-4861-b058-cf58834340f0
2003-04-18 10:52:59 +00:00
cavazzon 591f49e3a4 small fix for ifc 7.0 and FORMAT descriptor:
'( '' string '' )' --> "( ' string ' )"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@162 c92efa57-630b-4861-b058-cf58834340f0
2003-04-18 08:32:46 +00:00
cavazzon 1b9a9caa6b Working on FFTs, added module fft_scalar that will
contain all scalar fft drivers


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@157 c92efa57-630b-4861-b058-cf58834340f0
2003-04-17 21:43:54 +00:00
giannozz be52103a27 All filenames => 80 char
All directories=> 80 char
Filenames + directories + other => 256
---------------------------------------------------------------


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@154 c92efa57-630b-4861-b058-cf58834340f0
2003-04-12 19:25:08 +00:00
cavazzon 5c35e55713 Work in progress with the FFTs.
I've added a new module, fft_types, containing
a structure for the fft data layout description, this is
common to all cades and independent to a particular grid.
This data structure will be used in few general high level fft drivers.
Another module, fft_base, contains the scatter algorithms,
and low level fft auxiliary functions.
Test with the new data structure are being done with CP and FPMD.
Yet another module, fft_scalar (not yet in the repository),
will contain the scalar wrapper to the machine specific ffts


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@149 c92efa57-630b-4861-b058-cf58834340f0
2003-04-08 22:36:18 +00:00
cavazzon b08605d233 basic subroutines to distribute fft sticks/pencils/columns, now are
common to all codes. Comments have not been revised yet.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@139 c92efa57-630b-4861-b058-cf58834340f0
2003-03-31 08:42:59 +00:00
cavazzon 07b5bc7d9b - more common pieces of code move to stick_base
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@125 c92efa57-630b-4861-b058-cf58834340f0
2003-03-16 23:02:31 +00:00
giannozz 318fdfcfcf obsolete core-charge only term (etxcc) removed from bfgs.f90, set_rhoc.f90
bfgs.f90:  direct calls to mpi_bcast replaced by calls to mp_bcast
Misc. minor changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@122 c92efa57-630b-4861-b058-cf58834340f0
2003-03-13 18:20:45 +00:00
cavazzon 18a84020ef File Make.cp.irix replaced by the common Make.irix machine file
In CPV/Makefile FPMD/Makefile LDFLAGS now used like in PW/Makefile


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@121 c92efa57-630b-4861-b058-cf58834340f0
2003-03-12 11:18:21 +00:00
cavazzon f66d1a16ef - FPMD linked to sph_bes subroutine
- Startup subroutines of all codes now calls
  mp_start and mp_env mp module subroutines instead of
  mpi_... directly. This is a first step in the direction
  of hiding the communications within a few basic modules.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@120 c92efa57-630b-4861-b058-cf58834340f0
2003-03-11 22:47:22 +00:00
cavazzon c5443ef48e - File mp_buffers.f90 and ptoolkit.f90 moved to Module directory
- Some common parameters that were defined in different places for different codes,
  has been move to  Modules/parameters


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@106 c92efa57-630b-4861-b058-cf58834340f0
2003-03-02 23:19:44 +00:00
degironc e62197eada minor change in formatted writing needed for cpv compilation with ifc:
write(6,'('' so un corno '')') => write(6,'(" so un corno ")')

underscore characters must be prodected in manual.tex file if they should
not be interpreted
__FFTW  => \_\_FFTW and similia


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@100 c92efa57-630b-4861-b058-cf58834340f0
2003-02-27 17:10:15 +00:00
cavazzon 0d8fb8b997 CPP macro ORIGIN and SGI changed to __ORIGIN and __SGI
Make.origin now works for all codes, Make.cp.origin removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@95 c92efa57-630b-4861-b058-cf58834340f0
2003-02-25 22:45:04 +00:00
giannozz 4808f50277 Misc installation problems on SP3
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@92 c92efa57-630b-4861-b058-cf58834340f0
2003-02-25 09:45:09 +00:00
giannozz afb4531f8e Bug in Gamma/raman.f90 fixed
Bug in PP/work_function.f90 fixed (sort of)
LIB, LIBS => LIBS in all Makefiles


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@91 c92efa57-630b-4861-b058-cf58834340f0
2003-02-24 20:53:26 +00:00
giannozz 9e3a2de758 Support for lahey compiler added: "error" renamed to "errore", "rnd" to "rndx"
bug in io_base fixed
PARA => __PARA
cinterpolate moved into interpolate


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@86 c92efa57-630b-4861-b058-cf58834340f0
2003-02-21 14:57:00 +00:00
giannozz 28785fb665 Same FFTW preprocessed names in CP and PW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@82 c92efa57-630b-4861-b058-cf58834340f0
2003-02-17 21:16:11 +00:00
cavazzon 4455df25ab fpmd.h merged with machine.h and eliminated
use of machine.h extended to CPV in place of compiler macro
 other minor changes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@79 c92efa57-630b-4861-b058-cf58834340f0
2003-02-16 15:16:33 +00:00
giannozz 312e17a71f FFTW, __FFTWDRV, __FFTW => __FFTW, piu' altre piccole modifiche
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@77 c92efa57-630b-4861-b058-cf58834340f0
2003-02-15 18:03:15 +00:00
cavazzon 92b9450601 Makefiles and Make.sys files changed,
now everywhere the linker is "LD" and the linker flags are "LDFLAGS"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@76 c92efa57-630b-4861-b058-cf58834340f0
2003-02-14 23:36:46 +00:00
giannozz f66f874b26 oops...
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@75 c92efa57-630b-4861-b058-cf58834340f0
2003-02-14 15:32:03 +00:00
giannozz bcca3163f3 Compilation error in cp fixed, some installation cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@74 c92efa57-630b-4861-b058-cf58834340f0
2003-02-14 15:25:12 +00:00
giannozz d97bdca865 erf/erfc/gauss confusion hopefully solved
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@71 c92efa57-630b-4861-b058-cf58834340f0
2003-02-14 09:44:46 +00:00
cavazzon 6485045722 1) directory flib now contains only commons general pourpose subroutines,
all FPMD related subs moved back to FPMD directory.
2) All Make.fpmd... merged with Make.cp... and removed.
3) "use parameter .."  added to all cft_3 subroutines .
4) hpsort.f90 erf.f90 simpson.f90 moved to flib .

everything seem to compile fine,
at least on IBM
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@67 c92efa57-630b-4861-b058-cf58834340f0
2003-02-13 23:10:25 +00:00
giannozz d3b8eea7b5 calculation of empty orbitals re-added (not sure it works properly)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@66 c92efa57-630b-4861-b058-cf58834340f0
2003-02-13 18:03:02 +00:00
cavazzon aa8d833a4f - new common module "cell_base.f90" containing basic
types and subroutines related to the simulation cell

carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@63 c92efa57-630b-4861-b058-cf58834340f0
2003-02-11 23:19:35 +00:00
giannozz e522b5ee66 Support for nec sx6 (PW)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@61 c92efa57-630b-4861-b058-cf58834340f0
2003-02-11 21:31:06 +00:00
giannozz f3c6f33266 pseudo_dir implemented
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@60 c92efa57-630b-4861-b058-cf58834340f0
2003-02-11 12:48:02 +00:00
giannozz b6cab8a97a Sun, intel+linux+CP, misc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@58 c92efa57-630b-4861-b058-cf58834340f0
2003-02-10 14:44:51 +00:00
giannozz 04f073fa58 tag pw-1-2-0 (un'altra volta...)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@52 c92efa57-630b-4861-b058-cf58834340f0
2003-02-03 13:55:54 +00:00
giannozz ea67299117 CP + UPF bug fixed, examples updated, name cpv changed to cp, etc etc
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@45 c92efa57-630b-4861-b058-cf58834340f0
2003-02-02 17:52:18 +00:00
giannozz daca8a5f58 cpv: added check on dimension of pseudopotential arrays, temporarily
removed check on gamma_only, configure and cp_examples fixed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@44 c92efa57-630b-4861-b058-cf58834340f0
2003-02-01 12:01:35 +00:00
cavazzon 6c205ec03a - variable gamma_only added to restart file
- Make.fpmd.lnx.pgi compatible with cpv
- fix for PW/scnds.f90 with PGI compiler
carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@27 c92efa57-630b-4861-b058-cf58834340f0
2003-01-27 23:07:52 +00:00
cavazzon 15dd1c757c - many small changes ( comments and standartd output layout )
- some new pseudo
- some new cp_examples
- NEW shared module constants, this is the merge of FPMD and PW constants module
- NEW fpmd2upf pseudo converter (from fpmd format to upf )

carlo


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@22 c92efa57-630b-4861-b058-cf58834340f0
2003-01-26 22:39:33 +00:00
giannozz 99d3a31e2e Makefiles modified to work if some directory is missing
INSTALL file added, pwdocs/INSTALL.obsolete obsoleted,
README worth reading, misc. cleaning


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@20 c92efa57-630b-4861-b058-cf58834340f0
2003-01-25 18:05:41 +00:00
giannozz ac9f2144c0 O-sesame
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2 c92efa57-630b-4861-b058-cf58834340f0
2003-01-19 21:58:50 +00:00