Skip to content
Snippets Groups Projects
  1. May 13, 2018
    • Giovanni Bussi's avatar
      Allow direct #include from other modules · fcc08f8b
      Giovanni Bussi authored
      I allowed include commands such as #include "../module/file.h",
      only in the case where module is an used module (or the current module).
      
      Later I would like to see if it is possible to eliminate
      the "make links" stuff completely.
      fcc08f8b
  2. Apr 21, 2017
  3. Sep 14, 2016
    • Giovanni Bussi's avatar
      Using codecheck from makefile · a25697a9
      Giovanni Bussi authored
      maketools/cppcheck has been renamed into maketools/codecheck
      
      To use it:
      make cppcheck only runs cppcheck
      make plumedcheck only runs plumedcheck
      make codecheck runs both and aggregate messages (to be used e.g. on travis)
      a25697a9
  4. Jun 13, 2016
  5. Apr 07, 2016
  6. Jun 18, 2015
  7. Jan 03, 2014
  8. Oct 18, 2013
    • Giovanni Bussi's avatar
      Configuration with autoconf · f98f64eb
      Giovanni Bussi authored
      One can now produce a Makefile.conf and a sourceme.sh
      using autoconf. Just type:
      
      ./configure
      
      Or maybe
      
      ./configure CXX=icpc
      
      In case you want to use mpi, just use:
      
      ./configure CXX=mpic++
      
      Everything should be smooth. I took care that the generated Makefile.conf
      is compatible with those stored in configurations/. In this way,
      one can always resort to a saved configuration file. Moreover,
      jumping between git branches (without need of reconfiguring) will be
      easier.
      
      More info on the manual page (no need to use autoconf to compile
      the manual and see that page)
      
      Closes #46
      f98f64eb
  9. Aug 11, 2013
  10. May 03, 2013
    • Giovanni Bussi's avatar
      Small fix · 3ee5c978
      Giovanni Bussi authored
      I think I fixed the problem that sometime leads to errors
      in builds with a lot of cpus (make -j 12)
      3ee5c978
  11. Dec 17, 2012
    • Giovanni Bussi's avatar
      Fixed way links are generated · 398d002e
      Giovanni Bussi authored
      There was a problem if starting compilation in some directory.
      Now also the links to other directories are generated recursively,
      thus are by construction up to date for all the used modules.
      
      Notice that config/ and wrapper/ are treated as special cases
      398d002e
  12. Dec 14, 2012
  13. Dec 13, 2012
    • Giovanni Bussi's avatar
      Separated Config.cpp · 43edaa66
      Giovanni Bussi authored
      Now the file containing the configuration options is a .cpp file.
      This limits the effect of the change in the configuration to
      a single object file and remove the need for BUILDAFTER variable
      in Makefiles
      43edaa66
  14. Dec 06, 2012
  15. Nov 28, 2012
  16. Nov 23, 2012
    • Giovanni Bussi's avatar
      Fixed makefile · fea013fb
      Giovanni Bussi authored
      error in cleaning is now ignored
      fea013fb
    • Giovanni Bussi's avatar
      Source tree reorganization · 07d51f5a
      Giovanni Bussi authored
      All the source code have been moved into subdirectories of src/
      Some of these subdirectories are treated in a special manner:
      src/wrapper contains the wrappers for MD codes
      src/main contains the main.cpp file
      src/config contains files generated without compilation,
        just based on configuration info
      src/lib is the place where executables and libraries are put
        at the end
      src/cltools contains the command line tools
      src/tools contains plumed tools (reusable classes)
      src/basic contains PlumedMain, Action hierarchy and other basic stuff
      src/multicolvar contains MultiColvar stuff
      src/imd is the interactive MD (still not totally portable).
      
      Notice that, to allow easy inclusion of .h files from other modules,
      I link all the directories in src/ into module directory. In this
      way it is possible e.g. to write #include "config/PlumedConfig.h"
      
      See src/README and src/basic/Makefile to understand how inter-module
      dependencies are set
      07d51f5a
Loading