Commit Graph

34 Commits

Author SHA1 Message Date
cavazzon a0a94e0782 - new interface for ACML(AMD Core Math Library) fft driver
thanks to Filippo Spiga


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5149 c92efa57-630b-4861-b058-cf58834340f0
2008-08-29 13:25:46 +00:00
giannozz b2b6433c05 Since nobody has reported anything: MKL FFT removed. I don't think
they were working anyway, and there should be an interface between
FFTW3 and MKL FFT provided by Intel


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4593 c92efa57-630b-4861-b058-cf58834340f0
2008-01-03 10:33:00 +00:00
cavazzon a5fd4ec078 - simplified call tree for 3d fft driver,
not depending on modules contained in PW, but only on
  modules. This is useful for future modularization.
- The high level interfaces cft3 and cft3s has not
  been changed yet. Please have a look of what
  is implemented in CP (fft.f90 module) and let me know.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4579 c92efa57-630b-4861-b058-cf58834340f0
2007-12-31 11:05:59 +00:00
cavazzon 1b60e5c548 - new macro __LINUX_ESSL added to link essl for linux
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3966 c92efa57-630b-4861-b058-cf58834340f0
2007-06-12 16:18:37 +00:00
giannozz 8276662c0f Added support for Intel MKL v.8 FFTs (courtesy of Nicolas Lacorne).
Preprocessing flag -D__FFTMKL8 must be used (configure hasn't been
configured for this case). Whoever has access to MKL v.8 is invited
to try and to report if it works better than FFTW. Note from the author:
"it requires a minor bug correction in the MKL. It has been submitted
 to Intel and will be integrated in their next release."


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3203 c92efa57-630b-4861-b058-cf58834340f0
2006-06-23 15:47:59 +00:00
giannozz 0c7b6e2902 __AIX (IBM machines with essl) split into __AIX and __ESSL
Beware: configure not yet updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2924 c92efa57-630b-4861-b058-cf58834340f0
2006-03-16 18:04:33 +00:00
giannozz 38007b9f62 Support for FFT v.3 added (for good this time)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2845 c92efa57-630b-4861-b058-cf58834340f0
2006-02-22 17:38:10 +00:00
giannozz a58954ea14 Added __USE_3D_FFT option for testing purposes. In serial execution, it
does not use 'sticks' in the fft for wavefunctions; in parallel execution,
it uses the 3d serial fft (valid for one processor per pool only!)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2843 c92efa57-630b-4861-b058-cf58834340f0
2006-02-21 16:15:32 +00:00
giannozz 4ecfe7f280 All machine-dependent 3d FFTs moved to module fft_scalar
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2827 c92efa57-630b-4861-b058-cf58834340f0
2006-02-16 13:22:19 +00:00
giannozz a2954e1512 SUN FFT's merged into fft_scalar - no more cft_1 and cft_2.
In fft_scalar the convention for the sign of the transform
is now the most common one, and not the essl one. Comments
updated to reflect this and other changes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2820 c92efa57-630b-4861-b058-cf58834340f0
2006-02-15 11:03:48 +00:00
giannozz 793aba95d5 First attempt of a cleanup of FFT mess in PW
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2810 c92efa57-630b-4861-b058-cf58834340f0
2006-02-14 14:17:24 +00:00
giannozz 04829cc556 - Version number updated to 3.1
- Changed format when writing a copy of the UPF file: for some reason
  the free format adds an initial blank character, causing the program
  to fail when reading (in fixed format) additional info for spin-orbit.
  Format A is now used when writing, free format when reading. (AdC)
- More preprocessing cleanup and documentation: anybody having access
  to weird machines is kindly requested to verify if things work


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2732 c92efa57-630b-4861-b058-cf58834340f0
2006-01-26 16:42:14 +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
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