• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..10-Nov-2021-

GNUmakefileH A D10-Nov-2021870 3021

READMEH A D10-Nov-2021604 4125

README_plumed.mdH A D10-Nov-20211.8 KiB5342

qmd_cavity.FH A D10-Nov-20212.7 KiB8346

qmd_civecs_read.FH A D10-Nov-20216.4 KiB235161

qmd_common.fhH A D10-Nov-20211.4 KiB5251

qmd_coords_vels.FH A D10-Nov-20213.9 KiB12669

qmd_coup.FH A D10-Nov-202119.5 KiB623393

qmd_driver.FH A D10-Nov-202118.9 KiB518342

qmd_elec_prop.FH A D10-Nov-202113.4 KiB417283

qmd_energy.FH A D10-Nov-20211,022 3919

qmd_ext.FH A D10-Nov-20216.4 KiB187128

qmd_ext.fhH A D10-Nov-2021190 119

qmd_fix_momentum.FH A D10-Nov-20216 KiB185147

qmd_freeze_inactive.FH A D10-Nov-2021907 4022

qmd_gamdev.FH A D10-Nov-2021682 3427

qmd_gasdev.FH A D10-Nov-2021595 3223

qmd_geom_store.FH A D10-Nov-2021848 3614

qmd_gradient.FH A D10-Nov-20211.4 KiB5331

qmd_init.FH A D10-Nov-20218.3 KiB246171

qmd_input.FH A D10-Nov-202112.3 KiB337221

qmd_kinetic.FH A D10-Nov-2021486 2814

qmd_main.FH A D10-Nov-20215.6 KiB205152

qmd_move_civecs.FH A D10-Nov-20211.4 KiB5130

qmd_namd_init.FH A D10-Nov-20218.5 KiB224150

qmd_namd_input.FH A D10-Nov-20214.1 KiB14985

qmd_nucl_dt.FH A D10-Nov-2021999 4125

qmd_nucl_dt2.FH A D10-Nov-20211.1 KiB4428

qmd_nucl_pos.FH A D10-Nov-2021673 3117

qmd_nucl_step.FH A D10-Nov-20211.8 KiB7140

qmd_nucl_vel.FH A D10-Nov-2021889 4021

qmd_property.FH A D10-Nov-20211.2 KiB6427

qmd_ran1.FH A D10-Nov-2021847 3628

qmd_randomize.FH A D10-Nov-2021699 3617

qmd_read_rst.FH A D10-Nov-20212.3 KiB8444

qmd_set_den.FH A D10-Nov-2021634 3616

qmd_start.FH A D10-Nov-20214.2 KiB173122

qmd_sumno.FH A D10-Nov-2021688 2818

qmd_tddft_enmo.FH A D10-Nov-20214.9 KiB184114

qmd_tdks_enmo.FH A D10-Nov-20218.6 KiB311204

qmd_thermostat.FH A D10-Nov-20217.4 KiB330179

qmd_write_rst.FH A D10-Nov-20212.1 KiB8655

qmd_write_trj.FH A D10-Nov-20211.7 KiB7040

task_qmd.FH A D10-Nov-20211.1 KiB5424

README

1NOTE: routines in qmd_main are from the old routines called via nwmd.
2Not used in current qmd module
3
4== QMD TODO items ==
5
6* Applying constraints (Rattle, Shake)
7* Simulated annealing
8* CPMD style dynamics
9* Metadynamics
10
11=== rough flow-chart ==
12r: coordinates
13g: forces
14v:
15m:
16
17qmd_init
18*qmd_ext_init
19qmd_coords_vel(r,v,m)
20
21qmd_gradient(g) -> * qmd_ext_gradient(r,g)
22
23do istep_nucl =
24
25  qmd_nucl_vel(m,v,g)  ! v update at dt/2
26
27  qmd_nucl_post(m,r,v) ! r update at dt
28
29  qmd_gradient(g)
30
31  qmd_nucl_vel(m,v,g)  ! v update at dt/2
32
33enddo
34
35PLUMED Interface
36=========
37F=-gradient . Need to invert sign
38
39
40
41

README_plumed.md

1# Notes on NWChem-Plumed interface
2
3Used Plumed version 2.6
4
5## Plumed Installation
6
7https://www.plumed.org/doc-v2.6/user-doc/html/_installation.html
8
9* 32bit integer BLAS/LAPACK (e.g. MKL,OpenBLAS) are required both in NWChem and Plumed.
10In order to get Plumed to link the correct Blas/Lapack libraries, the variales LDFLAGS and LIBS must be supplied to
11autconf.
12* No need of MPI for now. It is better to disable the MPI option with --disable-mpi
13Example on EMSL Tahoma
14```
15FC=ifort  LDFLAGS=-L$MKLROOT/lib/intel64 LIBS="-lmkl_intel_lp64 -lmkl_sequential -lmkl_core  -lpthread -lm" ./configure --prefix=/home/edo/tahoma/apps/plumed262.intel20u2 --disable-mpi
16make
17make install
18```
19
20## Compilation of the NWChem Interface
21
22* modify `PATH` to point to the location of the plumed command (e.g. `/home/edo/tahoma/apps/plumed262.intel20u2/bin` in the
23example above) and `LD_LIBRARY_PATH` to point to the location of the plumed libraries (e.g. `/home/edo/tahoma/apps/plumed262.intel20u2/lib` in the
24example above)
25* set the env. variable `USE_PLUMED=y`
26* include the qmd module in `NWCHEM_MODULES`
27* use BLASOPT and LAPACK_LIB compatible with the definitions used to compile Plumed.
28In the example above
29```
30BLASOPT="-L$MKLROOT/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core  -lpthread -lm"
31LAPACK_LIB=$BLASOPT
32BLAS_SIZE=4
33```
34
35## Files of the NWChem-Plumed interface
36
37* input and output files reside in `permanent_dir`
38* the Plumed input file can be either suffix.`plumed.dat` our just `plumed.dat`
39* the Plumed output file will be name suffix.`plumed.out` (and its content will be copied to stdout, too)
40
41## NWChem input options
42
43* the keyword `ext_forces` must be added to the `qmd` input section. `ext_forces` can take an additional optional argument.
44Choices are `plumed` (Plumed interface is used) or `none`.
45Example:
46```
47....
48qmd
49 ext_forces
50end
51task dft qmd
52```
53