Commit Graph

22 Commits

Author SHA1 Message Date
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
sbraccia 6d112da1e3 Cleanup: f_defs.h should be included before the definition or use of cpp macros
(it should be the first line after the license).
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1934 c92efa57-630b-4861-b058-cf58834340f0
2005-06-06 22:38:32 +00:00
sbraccia dfac0d6c83 References to para module replaced (everywhere in PW ) by references to mp_global, pfft, pffts.
Old parallel variables me and mypool have been replaced by me_pool ( = ( me - 1 ) ) and my_pool_id ( = ( mypool - 1) ), defined in mp_global.
The old combination ( me == 1 .AND. mypool == 1 ) used in the I/O should be replaced by the logical variable ionode.
All parallel variables (communicators included) are properly defined in the serial case too, so that "#ifdef __PARA" is not
needed.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1338 c92efa57-630b-4861-b058-cf58834340f0
2004-09-27 09:11:56 +00:00
sbraccia 0caeadbd7b Machine-dependent definitions are now contained in two different files (both in /include):
1) f_defs.h  for definitions to be included in FORTRAN files ONLY
   2) c_defs.h  for definitions to be included in C       files ONLY

C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1012 c92efa57-630b-4861-b058-cf58834340f0
2004-06-25 17:25:37 +00:00
giannozz 0b1a5c9fd8 Extensive module cleanup: DP moved from wrong place (parameters) to the
correct place (kinds); module "varie" replaced by "control_flags" (not
yet in pwcom, though) - many many files changed.
64-bit cpus (Opteron, maybe Itanium) should now work if __LINUX64 is defined


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@513 c92efa57-630b-4861-b058-cf58834340f0
2004-01-23 15:08:03 +00:00
giannozz 545a48b5d2 Fixed recently introduced memory leak, some cleanup,
removed useless "include mpif.h"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@266 c92efa57-630b-4861-b058-cf58834340f0
2003-07-21 13:35:53 +00:00
cavazzon 1625356cb6 - arrays ipc ipcs icpl icpls substituted by
data structures dfftp dffts

- small bug fixed in setlocal.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@254 c92efa57-630b-4861-b058-cf58834340f0
2003-07-01 10:11:55 +00:00
giannozz 6dc987f2fe Yet another line continuation problem in bp_c_phase.f90 (with ifc)
DEC __QSW TRU64 => __ALPHA for Alpha machines (with OSF/Tru64 or
whatever it is called now: any Alpha Linux around?)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@232 c92efa57-630b-4861-b058-cf58834340f0
2003-06-12 11:23:17 +00:00
cavazzon 07c97593b8 - cleanup
- serial code sticks enabled with fftw to (then we should check when
  it is worth to use them, in most cases seems convenient)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@197 c92efa57-630b-4861-b058-cf58834340f0
2003-05-01 22:47:53 +00:00
degironc d13dd8a575 temporary fix: avoid calls to cfts_3; NOPENCILS is defined if not __PARA
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@191 c92efa57-630b-4861-b058-cf58834340f0
2003-04-28 10:56:10 +00:00
cavazzon 23aec87a2f - more performance issues
- ifdef __PARA removed from the main subroutine of PW, Gamma, D3, PP, PH
  now startup is called both for serial and parallel codes.
- cfts_3 included in fft_scalar ( tested for __AIX )
- module pencils in serial executions is no more needed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@189 c92efa57-630b-4861-b058-cf58834340f0
2003-04-28 07:23:04 +00:00
cavazzon 616b483f36 Performance issues and Harware Performance Monitor
interface for Power4 processor ( can by switched on defining __HPM )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@187 c92efa57-630b-4861-b058-cf58834340f0
2003-04-24 22:10:04 +00:00
cavazzon 52e6da3bfb now PW could be linked with fft_scalar fft drivers
also on SGI machine


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@186 c92efa57-630b-4861-b058-cf58834340f0
2003-04-24 09:14:58 +00:00
degironc c830a68c37 22 apr 2003 All setv statements in PW repalaced by f90 constructs.
Minor changes in PW & PH (code readability).


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@178 c92efa57-630b-4861-b058-cf58834340f0
2003-04-22 16:03:45 +00:00
cavazzon 45858fb8bd Small fixes in Makefiles (consequence of the directory change of clocks.f90)
..... fixed by PG few minutes ago!
PW interfaced to Module/fft_scalar.f90 when __FFTW is defined.
Extensive tests of parallel and serial execution for all codes,
has been done on ALPHA system.
In pw_examples/example6 found a problem in parallel execution with 4 procs,
related to stdin (I've got an end of file on stdin), no problem
for the serial execution.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@176 c92efa57-630b-4861-b058-cf58834340f0
2003-04-21 21:29:49 +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 d16e2e87f7 - AIX changed in __AIX
- Machine file Make.ibmsp now is common to all codes,
  Make.cp.ibmsp removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@90 c92efa57-630b-4861-b058-cf58834340f0
2003-02-23 11:34:24 +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 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
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 d852392cab module allocate, calls to mallocate, mfree removed
pointers replaced by allocatable whenever possible


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@56 c92efa57-630b-4861-b058-cf58834340f0
2003-02-07 16:04:36 +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