Commit Graph

99 Commits

Author SHA1 Message Date
giannozz b051cefc93 Added info on new preprocessing option
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9512 c92efa57-630b-4861-b058-cf58834340f0
2012-10-10 17:52:52 +00:00
dalcorso 3a98971c71 Further cleaning of the make clean command. Now also the pseudopotentials are
cleaned.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9344 c92efa57-630b-4861-b058-cf58834340f0
2012-08-20 14:16:00 +00:00
dceresoli 6300a19bb7 Use of -D__BANDS is not needed anymore in PW.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8882 c92efa57-630b-4861-b058-cf58834340f0
2012-04-12 10:04:27 +00:00
giannozz 509a845418 FFT from ACML removed (were not working any longer and have never been
really useful anyway); -D__ACML remved as well, documentation updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8795 c92efa57-630b-4861-b058-cf58834340f0
2012-03-17 15:26:26 +00:00
giannozz a12774fc35 Removed EXX preprocessing option: now the code will perform EXX
calculation if so required in input. Be prepared to unexpected side 
effects, especially in postprocessing. Added Hubbard U for Ga and In.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8565 c92efa57-630b-4861-b058-cf58834340f0
2012-02-01 21:07:04 +00:00
giannozz f32914a127 A few more updates and corrections
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8545 c92efa57-630b-4861-b058-cf58834340f0
2012-01-28 21:06:22 +00:00
giannozz f12d2e3932 Minor updates
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@8544 c92efa57-630b-4861-b058-cf58834340f0
2012-01-28 20:39:21 +00:00
giannozz 134cc39ef6 Cleanup of configure: removed several obsolete cases. Documentation
updated accordingly, removed old stuff.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6508 c92efa57-630b-4861-b058-cf58834340f0
2010-03-17 17:07:05 +00:00
giannozz 4934b395ba Added signal processing by RdM. Disabled by default, enabled by option
-D__TRAP_SIGUSR1 or using "./configure --enable-signals"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6370 c92efa57-630b-4861-b058-cf58834340f0
2010-02-08 19:25:34 +00:00
giannozz cbe390bdc2 More instances of nonstandard forms for "Quantum ESPRESSO"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6304 c92efa57-630b-4861-b058-cf58834340f0
2010-01-18 13:46:16 +00:00
giannozz 5d4372e58a Cleanup: gfortran hacks split into __GFORTRAN (for bugs) and __STD_F95
(for what is not a bug but a feature of standard f95: no allocatable arrays
in derived types); GWW made gfortran-compatible (#endif something is also
not standard ; removed unused allocate_bec and deallocate_bec; make.depend,
configure, doc updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5970 c92efa57-630b-4861-b058-cf58834340f0
2009-09-25 14:05:11 +00:00
giannozz 5c2f8645f8 Removed SHMEM, Makefiles and make.depend updated; lenght => length ; misc
Second attempt - for some reason the cvs on qe-forge more often than not
doesn't complete the job


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5815 c92efa57-630b-4861-b058-cf58834340f0
2009-08-04 14:36:12 +00:00
giannozz afec752184 End of this set of not-so-fundamental changes. Summary:
1) no more f_defs.h file to be included in fortran files
2) all CMPLX explicitly defined as CMPLX(...,KIND=dp)
3) blas/lapack names in lowercase (not all of them, actually)
4) documentation accordingly updated (plus unrelated changes to user_guide)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5805 c92efa57-630b-4861-b058-cf58834340f0
2009-08-03 09:19:02 +00:00
giannozz bd7cd24c2a Documentation on valid preprocessing flags updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5768 c92efa57-630b-4861-b058-cf58834340f0
2009-07-29 12:53:44 +00:00
giannozz 682e063081 Minor changes for Sun Sparcs
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5263 c92efa57-630b-4861-b058-cf58834340f0
2008-11-04 11:04:30 +00:00
giannozz 8d339650a3 Minor changes to installation and its documentation
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5239 c92efa57-630b-4861-b058-cf58834340f0
2008-10-24 12:41:05 +00:00
giannozz 0b8cbf3b75 Configure modified so that it recognizes FFTW3 and FFT libraries from ACML.
Mostly untested. Support for external fftw v.2 removed.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@5228 c92efa57-630b-4861-b058-cf58834340f0
2008-10-18 14:40:51 +00:00
giannozz bea61e7dc2 Support for Solaris PC with Sun compiler added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4631 c92efa57-630b-4861-b058-cf58834340f0
2008-01-16 15:23:43 +00:00
giannozz 89763f735c FFT drivers for COMPLIB and CXML removed as well
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4594 c92efa57-630b-4861-b058-cf58834340f0
2008-01-03 10:56:26 +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
giannozz 9fe21891e2 gfortran hacks - not nice but not too invasive either
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4460 c92efa57-630b-4861-b058-cf58834340f0
2007-11-20 17:44:41 +00:00
giannozz e0378cf043 Various compilation problems after last changes fixed.
There is one left in PWCOND, related to arrays betar*
Misc small changes here and there


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@4317 c92efa57-630b-4861-b058-cf58834340f0
2007-10-06 13:50:02 +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 d6d7d3e10d Documentation updated, some XD1-related info added
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3857 c92efa57-630b-4861-b058-cf58834340f0
2007-03-19 09:32:10 +00:00
giannozz d4da64ec0c More cleanup from Axel:
- workaround for gfortran (it is sort of working)
- single precision constants promoted to double precision
- dfloat-> DBLE
- DIMAG ->AIMAG
- DCMPLX->CMPLX
Note that ALL calls to dfloat, dimag, dcmplx have been added recently,
since I removed all of them no more than a few months ago


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3586 c92efa57-630b-4861-b058-cf58834340f0
2006-12-02 17:58:50 +00:00
giannozz 6232da2eaf getenv replaced by wrapper get_env, preprocessed only in a single file
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3452 c92efa57-630b-4861-b058-cf58834340f0
2006-10-11 14:42:42 +00:00
giannozz cc73a76a46 - misspell in configure
- symmetrize_at needed for compilation of PP
- more preprocessing cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3427 c92efa57-630b-4861-b058-cf58834340f0
2006-10-03 14:29:27 +00:00
giannozz aab0e4a65b More preprocessing and installation cleanup (or maybe messup)
The include file for C routines is generated by configure,
in a way that should be very general and robust.  Beware:
you need to re-run configure to regenerate include/c_defs.h


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3423 c92efa57-630b-4861-b058-cf58834340f0
2006-09-29 15:25:53 +00:00
giannozz 1c2a940e58 oops, lost two functions...documentation updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3417 c92efa57-630b-4861-b058-cf58834340f0
2006-09-22 15:49:32 +00:00
giannozz 18f702a8c1 Mangling of C routines to be called by fortran is done by the "standard"
F77_FUNC and F77_FUNC_ preprocessor macro . It is easy now to select the
good functions with "configure" (it is still done with -D flags though)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3416 c92efa57-630b-4861-b058-cf58834340f0
2006-09-22 14:59:25 +00:00
giannozz 2bbb557fd4 Bug in the --disable-parallel option of configure fixed.
It had gone unnoticed for a long time, but the recent changes
made its presence noticeable via a rather obscure failure.
C_POINTER is defined integer*N instead of integer(kind=N).
The former definition is obsolescent but always valid, while the latter
may fail for compilers (ex. NAG) not using the length in bytes as kind


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3413 c92efa57-630b-4861-b058-cf58834340f0
2006-09-22 12:49:52 +00:00
giannozz fe7f0cfee7 More installation cleanup (or maybe messup): "configure" should now
recognize the correct length of fortran integer variables containing
C pointers, writing it into file include/fft_defs.h . Side effects
not unlikely, please check and correct if you can (and dare to).
Version number moved to 3.2cvs


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3407 c92efa57-630b-4861-b058-cf58834340f0
2006-09-21 15:23:47 +00:00
giannozz 4421cfc590 MPI_REAL8 => MPI_DOUBLE_PRECISION
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3406 c92efa57-630b-4861-b058-cf58834340f0
2006-09-21 10:32:04 +00:00
giannozz caacfcec1f linking of cclock and scnds fixed for G95
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3403 c92efa57-630b-4861-b058-cf58834340f0
2006-09-20 12:10:56 +00:00
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
giannozz 65988cde08 Minor changes related to Mac OS-X support - hopefully no more need to
locate malloc.h and to define __MAC


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3379 c92efa57-630b-4861-b058-cf58834340f0
2006-09-12 16:17:24 +00:00
giannozz 2fb4a947a1 Support for Mac OS-X (Intel) with g95 added in configure
re-aligned configure and configure.ac
fixed minor format glitches signaled by g95
added __XLF preprocessing option
updated documentation and Make.*, removed obsolete Make.ibm*


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3374 c92efa57-630b-4861-b058-cf58834340f0
2006-09-11 12:56:12 +00:00
giannozz 6ff55479e9 Added support for Pathscale compiler (courtesy of Paolo Cazzato)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@3252 c92efa57-630b-4861-b058-cf58834340f0
2006-07-06 15:50:28 +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 069a27b3fe Documentation updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2940 c92efa57-630b-4861-b058-cf58834340f0
2006-03-22 17:22:45 +00:00
giannozz d07b0cf31a documentation for preprocessing updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2738 c92efa57-630b-4861-b058-cf58834340f0
2006-01-27 18:12:45 +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 d2513b2a6f Cleanup of preprocessing stuff in include files, documentation updated
Who knows what the __GNU_LINK stuff was used for?


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2731 c92efa57-630b-4861-b058-cf58834340f0
2006-01-26 13:08:28 +00:00
giannozz bf4bfe222f General cleanup of intrinsic functions:
conversion to real    => DBLE
(including real part of a complex number)
conversion to complex => CMPLX
complex conjugate     => CONJG
imaginary part        => AIMAG

All functions are uppercase.
CMPLX is preprocessed by f_defs.h and performs an explicit cast:
#define CMPLX(a,b)  cmplx(a,b,kind=DP)
This implies that 1) f_defs.h must be included whenever a CMPLX is present,
2) CMPLX should stay in a single line, 3) DP must be defined.

All occurrences of real, float, dreal, dfloat, dconjg, dimag, dcmplx
removed - please do not reintroduce any of them.
Tested only with ifc7 and g95 - beware unintended side effects

Maybe not the best solution (explicit casts everywhere would be better)
but it can be easily changed with a script if the need arises.
The following code might be used to test for possible trouble:

program test_intrinsic

  implicit none
  integer, parameter :: dp = selected_real_kind(14,200)
  real (kind=dp) :: a = 0.123456789012345_dp
  real (kind=dp) :: b = 0.987654321098765_dp
  complex (kind=dp) :: c = ( 0.123456789012345_dp, 0.987654321098765_dp)

  print *, '      A = ', a
  print *, ' DBLE(A)= ', DBLE(a)
  print *, '      C = ', c
  print *, 'CONJG(C)= ', CONJG(c)
  print *, 'DBLE(c),AIMAG(C)  = ', DBLE(c), AIMAG(c)
  print *, 'CMPLX(A,B,kind=dp)= ', CMPLX( a, b, kind=dp)

end program test_intrinsic

Note that CMPLX and REAL without a cast yield single precision numbers on
ifc7 and g95 !!!


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2133 c92efa57-630b-4861-b058-cf58834340f0
2005-08-26 17:44:42 +00:00
giannozz 56598ddea4 Doc updated
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1908 c92efa57-630b-4861-b058-cf58834340f0
2005-05-25 12:48:01 +00:00
sbraccia 09c4ba2b6b The Preprocessor flag -D__FLUSH has been removed. C.S.
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1905 c92efa57-630b-4861-b058-cf58834340f0
2005-05-25 03:02:06 +00:00
cavazzon 0219a46b4c - CP clean-ups: eigr, ei1, ei2, ei3, eigrb, ... arrays
now have the same layout (equal to the layout they have in PW)
- iotk files in Modules have been removed


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1801 c92efa57-630b-4861-b058-cf58834340f0
2005-04-14 21:08:53 +00:00
giannozz d450333ead Various fixes for Mac by AK
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1797 c92efa57-630b-4861-b058-cf58834340f0
2005-04-13 13:36:49 +00:00
cavazzon 2745921618 - iotk_multitype_complex splitted into two files, to workaround
xlf simbols stack problem
- iotk definition for ia64 platforms


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1735 c92efa57-630b-4861-b058-cf58834340f0
2005-03-22 17:16:03 +00:00
cavazzon 7ef3905d49 - iotk update
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@1726 c92efa57-630b-4861-b058-cf58834340f0
2005-03-18 16:22:48 +00:00