~jose-soler/siesta/unfolding

« back to all changes in this revision

Viewing changes to Util/STM/simple-stm/Makefile

TS manual and updates. Building rationalization. Hsparse speedup

* Added TranSIESTA sections to the manual (Docs/siesta.tex) (by
  J.A. Torres).

* TranSIESTA and TBTrans updates (by F.D. Novaes):

- Reimplementation of getGF_Tri, that obtains the Green's Function
 using the fact that the Hamiltonian is tridiagonal.

- Fixed the generation of listudg in the transiesta routine
 (m_ts_in_siesta.F).  Now, when the TS.UpdateDMCR is set to
 .false. the cross terms between the electrodes and the contact region
 of the density matrix are also updated in the TS iteration
 process. If set to .true., only the elements of the contact region
 are changed during the self consistent cycle.

- In weightDM and weightDMC (m_ts_scattering.F), changed the weights
 of the cross terms elements, since when using Tri_Diag the
 non-equilibrium contributions are zero the way it used to be.

- In new_dm.F, added a condition that does not sets the energy-density
 matrix to zero in the first iteration of the SCF cycle.

- (with A. Garcia) New building scheme for TBTrans.

* Building rationalization (by A. Garcia):

- Move auxiliary programs from Src to individual directories in Util

 -- gen-basis and ioncat now live in Util/Gen-basis
 -- mixps and fractional have been moved to Util/VCA
 -- The programs to test the MPI installation are now in Util/MPI_test

- Update building mechanisms in Util/STM

(Some of the above building improvements use new functionality in
the fdf and MPI makefiles that allows these modules to be compiled in
"private subdirectories" anywhere: see Denchar and TBTrans for examples.)

* Hsparse has been dramatically speeded-up by removing a superfluous
  inner loop (by A. Garcia).

* Other updates to the manual by A. Garcia
 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
2
# This file is part of the SIESTA package.
 
3
#
 
4
# Copyright (c) Fundacion General Universidad Autonoma de Madrid:
 
5
# E.Artacho, J.Gale, A.Garcia, J.Junquera, P.Ordejon, D.Sanchez-Portal
 
6
# and J.M.Soler, 1996-2006.
 
7
 
8
# Use of this software constitutes agreement with the full conditions
 
9
# given in the SIESTA license, as signed by all legitimate users.
 
10
#
 
11
#
 
12
# Makefile for PLSTM 
 
13
#
 
14
.SUFFIXES: 
 
15
.SUFFIXES: .f .F .o .a  .f90 .F90
 
16
#
 
17
OBJDIR=Obj
 
18
#
 
19
all: plstm
 
20
#
 
21
include ../../../$(OBJDIR)/arch.make
 
22
#
 
23
# This is needed on some systems to avoid loading the parallel libraries, which
 
24
# sometimes force running on queuing systems
 
25
#
 
26
FC_DEFAULT:=$(FC)
 
27
FC_SERIAL?=$(FC_DEFAULT)
 
28
FC:=$(FC_SERIAL)         # Make it non-recursive
 
29
#
 
30
##FFLAGS=$(FFLAGS_DEBUG)
 
31
#
 
32
#------------------
 
33
plstm: plstm.o
 
34
        $(FC) $(LDFLAGS) -o $@  plstm.o 
 
35
#------------------
 
36
clean: 
 
37
        rm -f *.o plstm *.*d
 
38
#
 
39
 
 
40
 
 
41
 
 
42
 
 
43
 
 
44
 
 
45
 
 
46
 
 
47
 
 
48