- Sep 16, 2017
-
-
Gareth Tribello authored
* Added first working python interface * Tidied up python interface * Further simplification of python * Added example which should be deleted later * Added functions for getting values from plumed to python * Added regression test for python interface * Added mechanism to return exceptions from plumed to python * First commit of experimental stuff to catch exceptions in python correctly * Got rid of unecessarily duplicated method in PlumedMain * Fixed crazy MAC input encoding * Oops, had also broken the script.. * Removed debug messages. Works on Ubuntu Linux Linus rules. Apple sucks. * Fixed PlumedMain passing of data from plumed to outside code * Hard coded real precision for python interface - this should have been with the last commit * Added first go at working makefile for python interface * Added options to configure to build python interface from makefile * Small changes to where loading of python interface is done * Removed unecessary wrapper c++ function from python interface * Made python install work in a way that is consistent with the rest of plumed * Added pythonpath to travis.yml * Added installation of Cython to travis.yml * Added ifdef block to stop cppcheck throwing an error * Using uniqu_ptr for DataFetching object in PlumedMain * Added install command for numpy to travis * Added string to tell me whether plumed+python is being built * Small change in travis.yml file to see if I can get python compile working * Compilers for cython are now specified from Makefile.conf * Now printing stuff on environment to try to work out why linking doesn't work * A new attempt to fix the travis-ci issues * Got rid of troubling TRAVIS_PYTHON_FLAG * Small change to see if we can get this to work on travis * Now setting LDSHARED from LDSO in makefile * Added something to print everything in the python path when we run the python test * Fixed python path in travis.yml * Removed stuff for debugging configuration on travis * Customized conda install (for python) in travis.yml so that osx version is installed for osx and linux version is installed for linux * Set TMPDIR in .travis.yml to hopefully get osx to compile PLUMED + Python * Made it so that python interface is rebuilt when user does make install so that correct paths are used * Made it so that python interface is rebuilt in staging area during install procedure * Corrected regtest script so that python tests are dealt with the same as everything else
-
- Sep 08, 2017
-
-
Giovanni Bussi authored
This change required some small fixes here and there. In particular, the code accessing elements of ActionSet thinking it was a pointer now need a .get() in order to access the pointer (e.g. for a dynamic_cast)
-
- Aug 28, 2017
-
-
Giovanni Bussi authored
I changed all the forward references to unique_ptr using an auxiliary class (ForwardDecl). Notice that in this manner the order of destructors is exactly the reverse of the order of constructors. This forces me to move a variable up in the layout of PlumedMain to avoid a segfault. This change is necessary to make plumed exception-safe.
-
Giovanni Bussi authored
This change is necessary to make plumed exception-safe
-
- Jul 23, 2017
-
-
Giovanni Bussi authored
Fixes #236
-
- Jun 19, 2017
-
-
Giovanni authored
* speed up of sharing and applying in plumed core the main differences are: - new member of class atoms to track unique local atoms (i.e. all the atoms needed by plumed action in a domain) - positions are retrieved only for unique local atoms - forces are zeroed only for unique local aotms - forces are applied only for unique local atoms in a system of 200K atoms on 4 mpi rank with plumed using only 4 atoms the sharing and applyign time improves by 2 order of magnitudes * removed leftover printf * core: make it a bit faster also without domain decomposition * astyle * fix-241: unique atoms are update only if: - particle decomposition has been updated - domain decomposition has been updated - replica-exchange step - neighbour lists have been updated overall this should make the sharing code even faster * actionAtomistic have now a list of local atoms that is updated on: - neighbour list step - update of the pd/dd list this allow to simplify the loop for the generation of global local list of unique atoms * atoms: small tweaks * fix: reallocate memory less often * fix: for the scalar case there is no need to generate the list of unique atoms * style * few comments
-
- Jun 06, 2017
-
-
Giovanni Bussi authored
-
- May 12, 2017
-
-
Gareth Tribello authored
-
- May 11, 2017
-
-
Gareth Tribello authored
-
- Apr 25, 2017
-
-
Giovanni Bussi authored
-
- Apr 21, 2017
-
-
Giovanni Bussi authored
This is a huge commit, applying indentation to the whole code. Notice that this commit is made on master branch after having merged with -s ours from branch v2.3 See #215
-
Giovanni Bussi authored
This is a huge commit, applying indentation to the whole code. See #215
-
- Mar 05, 2017
-
-
Giovanni Bussi authored
-
- Feb 28, 2017
-
-
Giovanni Bussi authored
In case of error with LOAD, the code was returning an error without raising an exception.
-
- Feb 27, 2017
-
-
Giovanni Bussi authored
This is done only in the cmd interpreter This should make the code slightly fast.
-
- Feb 23, 2017
-
-
Gareth Tribello authored
-
- Feb 22, 2017
-
-
Gareth Tribello authored
-
- Feb 14, 2017
-
-
Giovanni Bussi authored
-
- Jan 30, 2017
-
-
Carlo Camilloni authored
-
- Jan 29, 2017
-
-
Carlo Camilloni authored
-
Carlo Camilloni authored
-
- Jan 26, 2017
-
-
Giovanni Bussi authored
-
- Jan 10, 2017
-
-
Giovanni Bussi authored
-
Giovanni Bussi authored
fixes #211
-
- Oct 06, 2016
-
-
Carlo Camilloni authored
[makedoc]
-
- Jul 28, 2016
-
-
Giovanni Bussi authored
These are the files generated automatically with the cmd dictionaries. I renamed them to inc which is a more standard extension for include files.
-
- Jun 21, 2016
-
-
Carlo Camilloni authored
that is used to flush all the actions [ makedoc ]
-
- Jun 13, 2016
-
-
Giovanni Bussi authored
Now works also when plumed has been installed with a different name
-
- May 13, 2016
-
-
Carlo Camilloni authored
added local masses
-
- May 04, 2016
-
-
Carlo Camilloni authored
-
- Apr 04, 2016
-
-
Giovanni Bussi authored
No EOL at the end of the file is only tolerated in input file (e.g. plumed.dat) and not in other files (including HILLS files). Indeed, when using multiple walkers, it is possible that transiently the HILLS file from other walkers have incomplete lines. With this fix, those lines are ignored and read at the next iteration. This fixes #190
-
- Mar 09, 2016
-
-
Carlo Camilloni authored
this is usually not important, but for the case (like with metainference) in which you have a bias that is applied on a large number of arguments, then it was getting very slow
-
- Feb 26, 2016
-
-
Giovanni Bussi authored
Now multi words commands are parsed like single word ones. This will make it easy to automatize documentation. Related to #182
-
Carlo Camilloni authored
this is usually not important, but for the case (like with metainference) in which you have a bias that is applied on a large number of arguments, then it was getting very slow
-
- Feb 01, 2016
-
-
Carlo Camilloni authored
-
Giovanni Bussi authored
Since the pointer should be not null, the new name makes more sense
-
Giovanni Bussi authored
Defining a capitalized enum was useless in the end. I now use cmd_string as the name of the enum, where string is the string for the cmd interpreter
-
- Jan 29, 2016
-
-
Giovanni Bussi authored
map is now a global static object
-
Giovanni Bussi authored
Enum list and word map are now generated with a script. To add a new command it is sufficient to add a case command as: case PIPPO: // cmd pippo It is related to #182, though I let the issue open since I think we should automatize also the cmd documentation.
-
- Jan 27, 2016
-
-
Giovanni Bussi authored
Allow for splitting of performCalc() into performCalcNoUpdate() and update() This makes it possible to call performCalc() multiple times per step
-