Developer repository for the LATTE code
Clone or download

Build Status codecov


Open source density functional tight binding molecular dynamics.


This material was produced under U.S. Government contract DE-AC52-06NA25396 for Los Alamos National Laboratory (LANL), which is operated by Los Alamos National Security, LLC for the U.S. Department of Energy. The U.S. Government has rights to use, reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR LOS ALAMOS NATIONAL SECURITY, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is modified to produce derivative works, such modified software should be clearly marked, so as not to confuse it with the version available from LANL.

Additionally, this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2.0 of the License. Accordingly, this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Compiling LATTE (Makefile):

Enter in the LATTE directory (cd ~/LATTE) and modify the makefile.CHOICES file according to your operative system, libraries, compiler, etc. There are several examples of makefile.CHOICES files inside the makefiles directory (~/LATTE/makefiles) that could be used as a template to replace the makefile.CHOICES that is located in the main directory.

To build the code just type make inside the main directory as follows:

      $ cd; cd ~/LATTE
      $ make; make test

The latter should build the code and test it with some examples that are located in ~/LATTE/tests.

Compiling LATTE (CMake):

To build LATTE with CMake:

$ cd; cd ~/LATTE
$ mkdir build
$ cd build
$ cmake ../cmake -D<OPTIONS>=<VALUE>
$ make

Some useful options are OPENMP (ON or OFF), DO_MPI and PROGRESS. For a full list of options use a CMake GUI, e.g. ccache or cache-gui.


Nicolas Bock (T-1) Marc J. Cawkwell (T-1) Josh D. Coe (T-1) Aditi Krishnapriyan (T-1) Matthew P. Kroonblawd (T-1) Adam Lang (T-1) Enrique Martinez Saez (MST-8) Susan M. Mniszewski (CCS-3) Christian F. A. Negre (T-1) Anders M. N. Niklasson (T-1) Edward Sanville (T-1) Mitchell A. Wood (T-1) Ping Yang (T-1)

Los Alamos National Laboratory


To cite the code, please proceed as follows:


with the following bibtex citation:

  title = {LATTE},
  url = {},
  author = {N. Bock and M. J. Cawkwell and J. D. Coe and A. Krishnapriyan and M. P. Kroonblawd and A. Lang and E. Martinez Saez and S. M. Mniszewski and C. F. A. Negre and A. M. N. Niklasson and E. Sanville and M. A. Wood and P. Yang},
  year = {2008}


Please subscribe to our mailing list to request information or send us feedback.