Skip to content
Snippets Groups Projects
  1. Jul 20, 2015
    • Giovanni Bussi's avatar
      Fixed install suffix. · b22ed559
      Giovanni Bussi authored
      Using "_" instead of "-" to avoid clashes.
      
      Actually, the problem was that doing
      make install PLUMED_SUFFIX=2
      make install
      The second install would have canceled the executables installed
      by the first install. This is because install assumes names such as
      plumed-* to be scripts installed for cross compiling
      b22ed559
  2. Jun 04, 2015
    • Giovanni Bussi's avatar
      DESTDIR · 87c50291
      Giovanni Bussi authored
      Added support for DESTDIR
      87c50291
    • Giovanni Bussi's avatar
      Added autoconf program transform name · 00ebf759
      Giovanni Bussi authored
      We usually allowed users to customize the name of the plumed
      library using env var PLUMED_LIBSUFFIX. I changed it to the
      standard autoconf behavior, that is using
      --program-suffix
      --program-prefix
      at configure time.
      
      PLUMED_LIBSUFFIX still works but is now deprecated and dumps a warning.
      I will convert it to an error in a later version (2.3).
      00ebf759
    • Giovanni Bussi's avatar
      Replaced PLUMED_PREFIX with prefix · 206087c2
      Giovanni Bussi authored
      This makes it compatible with the standard behavior of GNU tools.
      
      PLUMED_PREFIX still works but is now deprecated and dumps a warning.
      I will convert it to an error in a later version (2.3).
      206087c2
  3. 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
  4. Jul 28, 2013
    • Giovanni Bussi's avatar
      Changed default install path to /usr/local · ce83ef0c
      Giovanni Bussi authored
      This is the standard path for linux distribution. Thus "make install"
      will fail unless run with root permission or unless PLUMED_PREFIX is
      explicitly set. I also fixed DYLIB path for mac (plumed path
      should be prepended)
      ce83ef0c
  5. May 17, 2013
    • Giovanni Bussi's avatar
      Install procedure · 8a823a5b
      Giovanni Bussi authored
      It is now possible to install plumed with "make install".
      
      Installation is done just copying most files (e.g. obj needed
      for patching) and fixing hardcoded paths. The advantage is
      that it is possible to fix a location with environment variables
      PLUMED_PREFIX (e.g. /opt/local/) and a suffix with
      PLUMED_LIBPREFIX (e.g. 2.0.0). This will help in installing multiple
      plumed versions in the same path.
      
      Moreover, also include files are copied to e.g.
      /opt/local/include/plumed, so that it is possible to use the plumed
      tools library as a normal system library
      8a823a5b
Loading