Install using deb packages

Using deb packages (based in GNU/Linux Debian distribution) is one of the easiest way to install LPMD in your personal computer. We suggest that for large-scale simulations and/or analysis you should compile the code in order to optimize it based in your computer architecture.

You need to first download the packages and then you can easily install with these steps :

  1. decompress the tgz with all packages
    tar -xvzf lpmdXX.tar.gz
  2. Install each package separatelly, we suggest start with the liblpmd package
    dpkg -i liblpmd*.deb
    dpkg -i *.deb
  3. Check your installation
    lpmd --version

If you have any issue with the installation using this technique, please do not hesitate to contact us.

Installing from source packages

Install LPMD from the source code, it’s a little more difficult than using binary files, however it is usually more effective in performance based in your computer architecture. The first step it’s decompress the source with all packages.

  1. Uncompress the source package
    tar -xvzf lpmdtgz.tar.gz
  2. Uncompress each one individually
    tar -xvzf liblpmd-0.6.4.tgz
    tar -xvzf plugins-0.6.4.tgz
    tar -xvzf lpmd-0.6.4.tgz
Setup and compile

To setup, each package should be set up individually, but using the same settings.

Setup and compile

You should repeat this procedure for each folder, we suggest start with the liblpmd (API) folder and finish with lpmd (executables) folder.

cd folder
./setup --intel --openmp 
make
sudo make install
cd ../
Additional setup opts and check install

Setup Options

There is a set of different options that you can (or can’t) use in the setup process.

  • –intel : USe the intel compilers instead of GNU/Compilers.
  • –openmp : Enable the use of openmp in some parts of the code (speed up for multi-core systems)
  • –prefix : Specify a different location to install the code (typically used for non-root installation)
  • –sufix : An additional name for the final executable (instead of use lpmd, you will have lpmd-”suffix”).

Check your installation

To check your installation just run : lpmd --version

Install on Mac OS X

If you are a Mac OS X owner, you can install lpmd using gcc compiler and basic configuration settings.

To do it, please follow the indication in this file :

Install on Mac OS X