Commit graph

31 commits

Author SHA1 Message Date
Ole Schütt
3d0b1c90e6 Tests: Convert TEST_TYPES to matchers.py 2025-03-01 19:07:38 +01:00
Ole Schütt
2b6ea54d62 Format all input files 2023-12-18 22:41:19 +01:00
Ole Schütt
6a330cddb3 Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
Ole Schütt
a42c4d12de do_regtest: Make reference values mandatory 2020-01-28 12:07:44 +01:00
Ole Schütt
bb17fff6cb prettify TEST_FILES files
svn-origin-rev: 15777
2015-08-28 11:26:53 +00:00
Ole Schütt
b5f3e387bc Add fixed reference values to all stable regtests
svn-origin-rev: 15422
2015-06-12 17:08:00 +00:00
Matthias Krack
7c8e988d96 Remove cvs based tidy scripts. Similar svn based script clean_cwd.sh added (see cp2k/tools/).
svn-origin-rev: 12089
2011-12-12 15:23:26 +00:00
Teodoro Laino
1bb8aeac39 a more appropriate choice for PROJECT_NAME : use different ones unless a RESTART is
in place.


svn-origin-rev: 10814
2010-12-28 13:33:01 +00:00
Teodoro Laino
46dad20c38 Add dependcy tags and change project names (setup for a new regtester: to be committed soon)
svn-origin-rev: 10582
2010-11-22 17:01:09 +00:00
Teodoro Laino
ff7cea6a02 NONBONDED14: The option is no longer useful. Moreover cp2k would probably crash
when nonbonded and nonbonded14 flags would be different in an input
file. There are no tests either that have such combination of
input flags. Moreover: The name in the source code and the input are made consistent. It
was also confusing to have a nonbonded flag and a nonbonded section
in the FORCEFIELD section.


svn-origin-rev: 10558
2010-11-18 22:36:05 +00:00
Teodoro Laino
6db34e266e his is the critical patch that reroutes the onfo evaluation. The
contribution is simply removed from fist_intra_force, and changes a few
other things to activate the onfo evaluation on fist_nonbond_force.F.
Many preparative patches are now effectively used. There is still a lot
of stuff to be removed, which will be done in later patches (Toon).


svn-origin-rev: 10554
2010-11-18 19:47:06 +00:00
Matthias Krack
51178c426c * Two single-precision constants introducing a numerical noise of 1.0E-6 replaced
* Reset of 204 regtests due to numerical noise
* Please, check new code (especially basic functions) always for a missing "_dp" and use the constants from the module mathconstants preferibly to avoid such annoying incidents


svn-origin-rev: 10155
2010-09-03 12:45:00 +00:00
Matthias Krack
d63263211c * Standard atomic weights updated to IUPAC 2007 (reference given in module periodic_table)
* Old weights are still available using the compile flag -D__USE_LEGACY_WEIGHTS (source of these weights is not specified)
* Ground state electronic configuration of Ce and Tc corrected
* Unused component mass removed from ptable (weight of most abundant isotope)
* Elements up to 118 added
* Reset of more than 300 regtests


svn-origin-rev: 9847
2010-05-28 10:18:36 +00:00
Teodoro Laino
ff0c5dc656 short range part of electrostatic handled analytically (i.e. removed from the spline): this, unfortunately, is causing a slight overhead in the evaluation of the pair potential, but it was necessary to handle different exclusion lists for electrostatic and van der waals : this option was preferred to the one of having two separate NL. Reser most of FIST regtests (error for energy evaluation less than 1.0E-5%.. maybe larger in some cases due to propagation). (Toon and Teo).
svn-origin-rev: 9753
2010-04-09 09:13:46 +00:00
Teodoro Laino
2154ba256c clening cell type (removing everything connected with units), removing UNIT keyword
from CELL and defining instead units for A,B,C and ABC keywords. Added two more keywords
in COORD sections to have an additional and disentangled control of the units for
coordinates (UNIT and SCALEDi, in &COORD). Updating the whole bunch of regtests and
resetting 9 for numerics (due to the new conversion tools). Several cosmetics.
Moreover, this commit introduces the possibility to have units also for output quantities.
At the moment this keyword is supported only for a minor set of print_keys (essentially
the ones that were depending on the unit_of_length of cell). More work to do on this
topic in the future.


svn-origin-rev: 7967
2008-11-25 10:57:52 +00:00
Teodoro Laino
6aac6bb711 correct the analytical form of the dihedral potential
svn-origin-rev: 7903
2008-11-07 18:09:18 +00:00
Teodoro Laino
d44be4ae02 set a better default for write frequency of MD restart (now by default every 20 steps)
svn-origin-rev: 7839
2008-10-26 11:46:31 +00:00
Matthias Krack
0ded6124ee * eps0 set to 1/(4*pi) (stage 1 of getting rid of eps0)
* 275 regtests reset


svn-origin-rev: 7477
2008-08-12 13:52:14 +00:00
Teodoro Laino
50fdbbc47c CODATA 2006. reset most of regtests. CODATA 1998 still available through a pre-processing flag.
svn-origin-rev: 7214
2008-03-31 04:45:38 +00:00
Teodoro Laino
7cbd4494e5 Converting the EACH keyword of the print_key sections into a section and
specifying a more easy to use way for the iteration levels. The section
EACH constains several keywords each attached to a specific each iteration
level (for example the keyword MD that maps the steps of the MD, and so on).
This should make more user-friendly how to decide the frequency of a print
for each print_key..
fixed a bug in the routine deciding if the present iteration level was the
right one to print (i.e. in the old version very weird behavior with the
keyword EACH was possible). Now it should show the right behavior.
Regtests have been properly adapted.
Moreover the iteration_info has been fully made consistent with retain/release.
This makes impossible (gives an error at run time) to create iteration levels and
destroy them randomly or even keep them allocated. They must be destroyed in the
inverse order they are created. When adding a new iteration level
remember to update also the create_print_key_section properly (if not so a
 runtime error will pop up..).
RESTART keywords have been also specified with the add_last_numeric specification
(this was essentially the behavior we had so far, though induced by the bug
present in the code, much more clean now).


svn-origin-rev: 6878
2008-01-24 00:53:34 +00:00
Teodoro Laino
e46a73b3a4 moving STRESS_TENSOR from MD section to FORCE_EVAL section: is the most adapt place
for specifying how to compute the stress tensor.


svn-origin-rev: 6718
2007-12-14 16:07:31 +00:00
Teodoro Laino
a43fe336ba Now also FIST behaves as all other methods in CP2K. To access the stress tensor
you need to specify the keyword "STRESS_TENSOR" in the MD section. PV_AVA and PV_NUM and
others have been deleted. STRESS_TENSOR takes care of them. This is the biggest user
change regarding keywords controlling stress tensor.
Next commit will make FIST possible skipping the computation of the stress tensor in order
to save some cpu time if stress tensor is not needed.


svn-origin-rev: 6716
2007-12-14 11:47:14 +00:00
Joost VandeVondele
92f31dfeac IMPORTANT: change in FFT library selection and setup, these can affect total energies significantly if you have been using an FFT library different from FFTSG. All FFT libraries now use by default the same grids, meaning that total energies now become 'independent' from the FFT library selected (and equal to FFTSG results, but with the extra speed that comes from using more optimised libraries). For simulations that need capabilities beyond the default FFTSG grids or that need to reproduce old results, use EXTENDED_FFT_LENGTHS. Furthermore, FFTW is now the default for PREFERRED_FFT_LIBRARY. If PREFERRED_FFT_LIBRARY is not available, FFTW is tried first, and FFTSG is used as a fall-back. The distinction between FFTW2 and FFTW3 on the input-file level is gone. No regtests require reset if FFTW was not linked into the code (otherwise the number depends on having either FFTW2 or FFTW3 linked in).
svn-origin-rev: 6371
2007-09-26 14:02:43 +00:00
Teodoro Laino
062b820578 Reorganizing thermostat and barostat - PART 1. For a complete description see message:
"THERMOSTATs - PART 1" on cp2k google group.


svn-origin-rev: 6368
2007-09-26 12:28:19 +00:00
Joost VandeVondele
0b999e91e3 fix a (serious) bug in the generation of the initial velocities, i.e. use proper mass-weighting (provided by T. Kuehne). Reset 276 regtests
svn-origin-rev: 6366
2007-09-24 13:58:05 +00:00
Teodoro Laino
d927326fa2 new syntax for mapping section of free energy methods.. fixing info for dumping
particles info for several methods.. added 1 regtest..


svn-origin-rev: 6283
2007-08-13 22:53:39 +00:00
Teodoro Laino
dbbb30bfd4 Bug fix for NP* runs mixed_env.. Bug fix for general NP* and NVT : making sections
BAROSTAT and NOSE non-optional.. this means that in NP* and NVT runs the header of the
BAROSTAT or NOSE must always be present (default values can always be used)..
this avoids possible bugs when using in cascade restarts produced with MD with
different ensembles..
added one more regtest for restart mixed_env NPT..


svn-origin-rev: 6169
2007-07-02 00:46:09 +00:00
Teodoro Laino
5b58cb736d printing biased and weighting energy for alchemical change free energy calculations.
1 more regtest.


svn-origin-rev: 6049
2007-05-12 13:34:24 +00:00
Teodoro Laino
b06e96f0f9 Making the sub_force_eval really parallel for mixed_env.. all defined sub_force_eval
can be run in parallel, exactly like the replica_env.. added one more regtest for
group_partition ..


svn-origin-rev: 6032
2007-05-08 17:50:38 +00:00
Teodoro Laino
a8562923c9 Virial for mixed_env.. enabling the use of NP* ensemble for mixed force eval calculations..
removing old stuff and cleaning.. new regtest for NPT mixed force eval..


svn-origin-rev: 6026
2007-05-06 23:58:42 +00:00
Teodoro Laino
76775b9f88 bug fix for FE AC.. added regtest.. some cosmetics..
svn-origin-rev: 6010
2007-05-03 21:09:11 +00:00