Commit Graph

1254 Commits

Author SHA1 Message Date
giannozz f4c0dbe91a FIxed core correction bug introduced yesterday
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@834 c92efa57-630b-4861-b058-cf58834340f0
2004-04-29 09:43:05 +00:00
giannozz d69e112706 More PP cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@828 c92efa57-630b-4861-b058-cf58834340f0
2004-04-28 10:25:36 +00:00
giannozz 150ae509f3 more pseudopotential cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@824 c92efa57-630b-4861-b058-cf58834340f0
2004-04-27 13:44:55 +00:00
cavazzon e14fed6180 bug fix with the use of clocks
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@823 c92efa57-630b-4861-b058-cf58834340f0
2004-04-27 08:43:02 +00:00
giannozz d11e803883 PP cleanup and merge: rucore => vloc_at
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@822 c92efa57-630b-4861-b058-cf58834340f0
2004-04-26 15:02:25 +00:00
giannozz d198ebad0c ndm, mmaxx => ndmx ; 0:ndm => ndmx (starting from 0 no longer needed)
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@815 c92efa57-630b-4861-b058-cf58834340f0
2004-04-23 17:10:44 +00:00
giannozz 118fd9975c funct.f90 and which_dft moved to Modules/functionals.f90
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@811 c92efa57-630b-4861-b058-cf58834340f0
2004-04-22 14:28:37 +00:00
giannozz 70e40efc0c L=3 sort of implemented (untested). ng0 => gstart
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@808 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 17:11:56 +00:00
giannozz 39930b528b More cleanup. l=3 might work
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@807 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 14:51:19 +00:00
giannozz 9e9dc7aa85 cleanup
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@806 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 12:54:06 +00:00
giannozz ddf1db2df5 Derivatives of ylm merged, variable cell works again (maybe).
Indices of gx and gxb reversed, cleanup (PG)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@805 c92efa57-630b-4861-b058-cf58834340f0
2004-04-21 10:33:55 +00:00
giannozz 5b72fb1897 More USPP harmonization: aainit, spherical harmonics merged -
derivatives of ylm NOT YET, variable cell NOT WORKING


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@803 c92efa57-630b-4861-b058-cf58834340f0
2004-04-19 20:35:42 +00:00
cavazzon 9917e27772 - SIC again
- bug fix, allocation in CP


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@801 c92efa57-630b-4861-b058-cf58834340f0
2004-04-19 07:29:16 +00:00
cavazzon 8f259a07ce - Changes in FPMD required by SIC implementation
- simplified ionic positions management in FPMD ( many staff moved to
  Modules/ions_base.f90
- sort_gvec.f90 ( a part of ggen common to FPMD and CP )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@794 c92efa57-630b-4861-b058-cf58834340f0
2004-04-13 22:30:02 +00:00
giannozz e277741dc8 First steps in USPP merge between CP and PW:
PW: nqfm => nqfx, some us variables and aainit moved to Modules/uspp.f90 (new)
CP: lx, lqx => lqmax, lix => lmaxx+1, variables moved, aainit not yet merged
invmat moved to flib/ and merged with invmat3 of CP/FPMD,
rndm and ylmr2 moved to flib/ in rranf.f90


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@793 c92efa57-630b-4861-b058-cf58834340f0
2004-04-13 21:49:51 +00:00
cavazzon 9b67f06d87 - date_and_tim moved to flib and used by all code,
- cleanup in clib
- tictac substituted by start_clock/stop_clock
- other cleanup


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@751 c92efa57-630b-4861-b058-cf58834340f0
2004-03-28 21:36:28 +00:00
cavazzon 31b6ad65d4 Subroutine PW/error.f90 moved to flib/ directory,
and linked by all codes.
Now in case of severe error, errore writes its message also to the file 'CRASH'
that is closed before aborting, this to avoid information loss in those
systems that do not flush open streams, when the code is stopped through
a call to MPI_ABORT


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@750 c92efa57-630b-4861-b058-cf58834340f0
2004-03-27 23:54:17 +00:00
cavazzon dabaf5d817 celldm/alat/at input parameters in FPMD/CPV read
and set as in PW .


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@748 c92efa57-630b-4861-b058-cf58834340f0
2004-03-27 14:15:43 +00:00
cavazzon 7ef5f7a286 - fix in restart for spin polarized systems
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@737 c92efa57-630b-4861-b058-cf58834340f0
2004-03-17 20:36:27 +00:00
cavazzon c880a0a848 - Almost all neb routines moved to Modules
- New module check_stop used by all codes
  to check for exit conditions ( maximum time
  or EXIT file )


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@718 c92efa57-630b-4861-b058-cf58834340f0
2004-03-15 00:08:26 +00:00
cavazzon 5b413b4c28 All the machinery has been ported and the
calculation = 'neb'
works as for PW and FPMD


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@713 c92efa57-630b-4861-b058-cf58834340f0
2004-03-11 17:05:27 +00:00
cavazzon d15696e8a0 Porting of NEB to CP
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@712 c92efa57-630b-4861-b058-cf58834340f0
2004-03-11 17:03:51 +00:00
giannozz 2e392e6b64 Cleanup in CPV: no more SSUM and CSUM
Modules/smallbox.f90 should work again


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@700 c92efa57-630b-4861-b058-cf58834340f0
2004-03-07 16:37:10 +00:00
cavazzon 2b9008ea8a - More merging between CP and FPMD
- some common NEB modules moved to Modules directory
  others NEB modules will be moved soon


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@687 c92efa57-630b-4861-b058-cf58834340f0
2004-02-29 23:30:07 +00:00
giannozz 88f90f0851 Support for SGI Altix (Martin Hilgeman) - see cpdocs/ChangeLog
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@681 c92efa57-630b-4861-b058-cf58834340f0
2004-02-26 16:26:48 +00:00
cavazzon 11cb02075a merging FPMD/CPV added common subroutines
( wave_steepest wave_verlet )
to advance wave_functions .
FPMD friction parameter for electrons gdelt substituted with frice


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@669 c92efa57-630b-4861-b058-cf58834340f0
2004-02-25 11:44:39 +00:00
cavazzon adc7521f95 more support for NEB and meta dynamics.
I do not include NEB dynamics modules in this version,
because I want to wait for common neb modules,
to be built as soon as this version has been released


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@617 c92efa57-630b-4861-b058-cf58834340f0
2004-02-18 17:00:32 +00:00
cavazzon 6ad165c90a outdir added to the path of the output and restart files,
pseudopotential reading moved out from cprmain subroutine


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@608 c92efa57-630b-4861-b058-cf58834340f0
2004-02-17 09:53:14 +00:00
cavazzon 962296d977 deallocation statements added to CPV
for neb like dynamics


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@601 c92efa57-630b-4861-b058-cf58834340f0
2004-02-16 09:53:00 +00:00
cavazzon 860ca5c917 CPV has been "subroutinized" like PW and FPMD, and is ready for
NEB like dynamics.
Note that iosys has been split into two subroutines:
read_input_file and iosys.
The first routine simply calls read_namelists
and read_cards to read in the stdin, and do not perform any initialization.
The second (iosys) do not read anythings but copy values from input_parameters
to local variables.
read_input_file is called from the new main program.
iosys is called from the cprmain subroutine (the old main program).
This is the scheme of FPMD.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@600 c92efa57-630b-4861-b058-cf58834340f0
2004-02-15 10:29:15 +00:00
sbraccia 424e28d6c1 Function int_to_char moved from miscellany to parser.
C.S.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@546 c92efa57-630b-4861-b058-cf58834340f0
2004-02-02 17:25:03 +00:00
cavazzon 5260d7731d function cpitoa replaced by int_to_char everywhere
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@533 c92efa57-630b-4861-b058-cf58834340f0
2004-01-27 16:57:58 +00:00
ballabio ff247c327d Cleanup [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@439 c92efa57-630b-4861-b058-cf58834340f0
2003-12-02 15:47:00 +00:00
ballabio 155794554e fixed problem with ifc compiler [Gerardo]
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@419 c92efa57-630b-4861-b058-cf58834340f0
2003-11-21 11:27:32 +00:00
ballabio bdd5bd96ea fixed problems with ifc compiler
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@418 c92efa57-630b-4861-b058-cf58834340f0
2003-11-21 11:24:02 +00:00
giannozz 32951806bf Workaround for ifc 7.1 internal compiler error
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@395 c92efa57-630b-4861-b058-cf58834340f0
2003-11-14 14:01:37 +00:00
cavazzon c5d8ff2f66 - unit 6 replaced by stdout in CPV
- ^M removed from pseudo files
- wavefunctions arrais moved to module
  wavefunctions_module, common to all codes
  this is required to reduce duplicated subroutine
- new lapack subroutine, called from PWCOND,
  added to lib/lapack.f lib/lapack_ibm.f


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@381 c92efa57-630b-4861-b058-cf58834340f0
2003-11-09 10:42:50 +00:00
giannozz ce8515b1be many calls to "setv" replaced by f90 assignements
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@314 c92efa57-630b-4861-b058-cf58834340f0
2003-09-17 21:50:03 +00:00
giannozz 7d4d6c7fc5 Added consistency check on DFT read from PP files
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@304 c92efa57-630b-4861-b058-cf58834340f0
2003-09-09 08:52:21 +00:00
cavazzon 0afcf95c6f io_base logic simplified even more,
variable wf_collect added to the control namelist.
This logical variable will be used in pw to
collect wave funcions at the end of a parallel run.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@295 c92efa57-630b-4861-b058-cf58834340f0
2003-09-02 09:16:09 +00:00
giannozz d0706224d4 Version number centralized in Modules/version.f90, updated to 1.3.0
Auxiliary programs in pwtools/: equation of state (ev.x),
distances/angles (dist.x), k-point generation (kpoints.x).
D3 fixes (maybe). Misc cleanup.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@291 c92efa57-630b-4861-b058-cf58834340f0
2003-08-29 17:15:25 +00:00
cavazzon a042e7a1f5 - io_base logic simplified
- substitution of USE ... with USE ... ONLY ...
- directories and filenames moved to io_files,
  common to all codes
- clean up in control_flags


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@290 c92efa57-630b-4861-b058-cf58834340f0
2003-08-24 22:25:53 +00:00
giannozz 0442f9a2aa Compilation problem for CP on sp4
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@286 c92efa57-630b-4861-b058-cf58834340f0
2003-08-20 17:05:49 +00:00
giannozz 7c657dc0ff punch_band.f90 works in parallel. Misc cleanup. "aceived" => "achieved"
nelec, nelup, neldw may be real (PW only: CP, FPMD to be verified)


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@284 c92efa57-630b-4861-b058-cf58834340f0
2003-08-20 16:16:26 +00:00
cavazzon da47185a66 All namelists and cards moved to Modules/input_parameters.f90 .
From now on, all new input variables should be added
  to this module, and then copied to the code internal
  variables in the input.f90 subroutine
The namelists and cards parsers are in :
  Modules/read_namelists.f90 and Modules/read_cards.f90

files input_parameters.f90 read_namelists.f90 read_cards.f90
are shared by all codes, while each code has its own version
of input.f90 ( used to copy input values into internals variables ).

EXAMPLE:
 suppose you need to add a new input variable called "pippo"
 to the namelist control, then:

1) add pippo to the input_parameters.f90 file containing the
   namelist control

   INTEGER :: pippo = 0
   NAMELIST / control / ....., pippo

   remember: always set an initialization value!

2) add pippo to the control_default subroutine
   ( cantained in module  read_namelists.f90 )

   subroutine control_default( prog )
     ...
     IF( prog == 'PW' ) pippo = 10
     ...
   end subroutine

   this routine set the default value for pippo,
   that could vary with the code

3) add pippo to the control_bcast subroutine
   ( cantained in module  read_namelists.f90 )

   subroutine control_bcast( )
     ...
     call mp_bcast( pippo )
     ...
   end subroutine


4) add pippo to the control_checkin subroutine
   ( cantained in module  read_namelists.f90 )

   subroutine control_checking( prog )
     ...
     IF( pippo < 0 ) &
       CALL error(' control_checkin ',' variable pippo less than 0 ', 1 )
     ...
   end subroutine

5) Copy the value of pippo in the code internal variables
   ( file input.f90 )

   subroutine iosys()
     use input_parameters, only: ...., pippo
     use pwcom, only: ....., myvar
     ...
     call read_namelists( 'PW' )
     ...
     myvar =  pippo
     ...
   end subroutine


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@282 c92efa57-630b-4861-b058-cf58834340f0
2003-07-31 13:24:20 +00:00
cavazzon 21473c7a29 FPMD:
PRIVATE keyword added to all FPMD source files,
variables that have to be known outside the module
are explicitly declared as PUBLIC
CPV:
now CP uses the same input parser as FPMD


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@267 c92efa57-630b-4861-b058-cf58834340f0
2003-07-21 15:59:32 +00:00
cavazzon eac7b833e4 a new iosys subroutine, called iosys2 added in CPV/input.f90 .
This sub. share the input parsers (read_namelist and read_cards)
with FPMD. Soon it will be possible to initialize and call all
CP subroutines within FPMD, and viceversa.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@259 c92efa57-630b-4861-b058-cf58834340f0
2003-07-07 21:58:02 +00:00
cavazzon 6ca8b2ce58 more merging, "only" keyword added to many "use"
io_base: strings with the name of the data sections added to the
restart file, this will allow R/W of data sections in any order


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@257 c92efa57-630b-4861-b058-cf58834340f0
2003-07-06 21:47:17 +00:00
giannozz 7f479705f9 - CP : calls to "sph_bes" fixed, variable-cell is working again
- PW : examples for conjugate gradient diagonalization


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@255 c92efa57-630b-4861-b058-cf58834340f0
2003-07-01 15:00:30 +00:00
cavazzon b361a00b78 restart file restructure started.
new hpsort that should solve the problems with the unique
g vectors ordering, d1, d2, d3 eliminated from ggens of all
the codes.


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@253 c92efa57-630b-4861-b058-cf58834340f0
2003-06-30 14:30:44 +00:00
giannozz 854a981c66 Compilation problem in CP + minor things
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@248 c92efa57-630b-4861-b058-cf58834340f0
2003-06-25 17:29:12 +00:00
cavazzon de9a865b6c subroutine latgen and volume moved to flib
and used by all codes,
as common latgen it has been used the one contained in CPV,
sice this version solve some problems related to left-handed cell

new common module ions_base with ionic basic variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@247 c92efa57-630b-4861-b058-cf58834340f0
2003-06-25 12:43:25 +00:00
cavazzon 21187430a4 More common modules for grid dimensioning,
recips.f90 moved to flib and used by all codes


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@245 c92efa57-630b-4861-b058-cf58834340f0
2003-06-24 21:38:49 +00:00
giannozz a8bbb6a06a PW/startup.f90: longer character variable np needed
Band extraction moved out of PP/pp.x, into PP/bands.x
Band plotting program (PP/plotband.f90) added
Misc corrections


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@244 c92efa57-630b-4861-b058-cf58834340f0
2003-06-20 15:30:55 +00:00
cavazzon c77bf5f61d more merging in Module/recvecs
intel compiler bug workaround: it seems that the intel compiler
does not set the save attribute to the module variables unless
there is an explicit initialization, this only for module not directly
accessible to the main (if they are not in the same directory).
The workaround is to set an initial value for all variables


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@243 c92efa57-630b-4861-b058-cf58834340f0
2003-06-19 16:49:30 +00:00
cavazzon 1491227547 more merging, recvecs module
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@239 c92efa57-630b-4861-b058-cf58834340f0
2003-06-16 10:41:12 +00:00
giannozz 1cd87510e6 Spelling : "Informations" => "Information"
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@237 c92efa57-630b-4861-b058-cf58834340f0
2003-06-13 16:55:38 +00:00
cavazzon a85db0682b More merging: modules energies and control_flags of FPMD and CPV
merged and moved to Modules
Basic modules descriptors and parallel_types moved from FPMD to Modules


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@225 c92efa57-630b-4861-b058-cf58834340f0
2003-06-09 21:27:20 +00:00
cavazzon daad304857 - Cleanup
- similar subroutines and variables merged together


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@223 c92efa57-630b-4861-b058-cf58834340f0
2003-06-02 20:55:14 +00:00
cavazzon d6d6eef8a0 - common subroutine sph_bes linked to the CP in place
of bess
- FPMD clean up and some performance issues


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@218 c92efa57-630b-4861-b058-cf58834340f0
2003-05-26 22:02:26 +00:00
giannozz c511ef1c70 CP: some cleanup for occupancy and empty state calculation
PW:  some cleanup in c_bands, timing, documentation
     removed obsolete "scf in/out correction"


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@214 c92efa57-630b-4861-b058-cf58834340f0
2003-05-19 17:46:44 +00:00
giannozz 8f7900d5c9 CP bug: namelist &ions must be read in all cases
Write charge density (if required) only at last step
Documentation updated


git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@211 c92efa57-630b-4861-b058-cf58834340f0
2003-05-14 16:09:14 +00:00
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