Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: MetaD NEIGHBOR list option to sum gaussians (#639)
* MetaD: this commits add the neighbor list option to sum hills this can be usefull with many cvs where grids are either too memory consuming and/or too slow. I was playing with this idea with OPES and it actually works pretty well. The neighbor list update at the moment is only openMP parallelised. this commits add also the openMP parallelisation to the cycle over the gaussians * MetaD: some fixes for the OMP implementation * MetaD NL, not use mpi for the neighbor list update * MetaD: split getBiasDer and not Der * MetaD: more cleaning and NEIGHBOR restart * MetaD: added missing components in doc * MetaD: some reorganisation and fix * MetaD: added control for too few hills and openMP * MetaD: take also into account mpi threads to avoid the use of too many threads for few hills * increased the number of gaussians in two regtest to cover better the parallelism * Fixed grids * Metad: cleaning * MetaD: performanaces and cleaning * more std * added back std::time * Metad: fix thread safety without loss of performances * MetaD: some cleaning in the initialisation * METAD: regtest for CALC_WORK and NLIST * Metad: added checks that RESTART and WALKERS_MPI behave consistently among the walkers * Metad: cleaning * Metad: updated documentation and added NLIST_PARAMETERS to modify the neighbor list rules * Metad: slightly improved performances of GRID and more docs * MetaD: moved a line in nlistUpdate * Metad: spelling * MetaD: in case of WALKERS_MPI the root replica will set the folder from which reading GRID or HILLS files upon RESTART * doc * Metad - restart stops if hills not found - broadcasting avoided if absolute path provided * Metad: restart with hills give error if not already restarted from grid * fixes for new METAD restart checks * fixed regteast * Metad: removed unused headers added two missing std
- Loading branch information
1 parent
ae3edb1
commit 190093f
Showing
25 changed files
with
897 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# this is to test restart | ||
#! FIELDS d1 d2 meta2.bias der_d1 der_d2 | ||
#! SET min_d1 0 | ||
#! SET max_d1 2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
RESTART | ||
|
||
d1: DISTANCE ATOMS=1,2 | ||
d2: DISTANCE ATOMS=3,4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#! FIELDS time mu1 vol sigma_mu1 sigma_vol height biasf | ||
#! SET multivariate false | ||
0 1.162646040831079 127.932640011072 0.1 0.2 0 1 | ||
0.05 1.130546273059004 127.932640011072 0.1 0.2 0 1 | ||
0.1 1.097928292824707 127.932640011072 0.1 0.2 0 1 | ||
0.15 1.080244153391634 127.932640011072 0.1 0.2 0 1 | ||
0.2 1.086854650075657 127.932640011072 0.1 0.2 0 1 | ||
#! FIELDS time mu1 vol sigma_mu1 sigma_vol height biasf | ||
#! SET multivariate false | ||
0.050000 1.130546 127.932640 0.100000 0.200000 0.000000 1.000000 | ||
0.100000 1.097928 127.932640 0.100000 0.200000 0.000000 1.000000 | ||
0.150000 1.080244 127.932640 0.100000 0.200000 0.000000 1.000000 | ||
0.200000 1.086855 127.932640 0.100000 0.200000 0.000000 1.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! FIELDS time mu1 vol md.bias | ||
0.000000 1.163 127.933 0.000 | ||
0.050000 1.131 127.933 0.000 | ||
0.100000 1.098 127.933 0.948 | ||
0.150000 1.080 127.933 1.866 | ||
0.200000 1.087 127.933 2.901 | ||
0.100000 1.098 127.933 0.000 | ||
0.150000 1.080 127.933 0.984 | ||
0.200000 1.087 127.933 0.994 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
#! FIELDS time mu1 vol sigma_mu1 sigma_vol height biasf | ||
#! SET multivariate false | ||
#! SET kerneltype gaussian | ||
0.050000 1.130546 127.932640 0.100000 0.200000 1.000000 -1.000000 | ||
0.100000 1.097928 127.932640 0.100000 0.200000 1.000000 -1.000000 | ||
0.150000 1.080244 127.932640 0.100000 0.200000 1.000000 -1.000000 | ||
0.200000 1.086855 127.932640 0.100000 0.200000 1.000000 -1.000000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
d: DISTANCE ATOMS=1,10 | ||
c: COORDINATION GROUPA=1-108 GROUPB=1-108 R_0=0.5 | ||
|
||
fg: METAD ARG=c,d SIGMA=0.1,0.2 HEIGHT=5.0 PACE=1 FMT=%14.6f WALKERS_MPI FILE=HILLS_multi FLYING_GAUSSIAN RESTART=YES | ||
fg: METAD ARG=c,d SIGMA=0.1,0.2 HEIGHT=5.0 PACE=1 FMT=%14.6f WALKERS_MPI FILE=HILLS_multi FLYING_GAUSSIAN | ||
|
||
PRINT ARG=fg.bias FILE=colvar | ||
|
Oops, something went wrong.
190093f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found broken examples in automatic/performance-optimization.txt
Found broken examples in automatic/a-trieste-6.txt
Found broken examples in automatic/munster.txt
Found broken examples in automatic/ANN.tmp
Found broken examples in automatic/EDS.tmp
Found broken examples in automatic/EMMI.tmp
Found broken examples in automatic/FOURIER_TRANSFORM.tmp
Found broken examples in automatic/FUNCPATHGENERAL.tmp
Found broken examples in automatic/FUNCPATHMSD.tmp
Found broken examples in automatic/FUNNEL.tmp
Found broken examples in automatic/FUNNEL_PS.tmp
Found broken examples in automatic/INCLUDE.tmp
Found broken examples in automatic/MAZE_MEMETIC_SAMPLING.tmp
Found broken examples in automatic/MAZE_OPTIMIZER_BIAS.tmp
Found broken examples in automatic/MAZE_RANDOM_ACCELERATION_MD.tmp
Found broken examples in automatic/MAZE_RANDOM_WALK.tmp
Found broken examples in automatic/MAZE_SIMULATED_ANNEALING.tmp
Found broken examples in automatic/MAZE_STEERED_MD.tmp
Found broken examples in automatic/PIV.tmp
Found broken examples in automatic/PLUMED.tmp
Found broken examples in MiscelaneousPP.md