- What is Octopus?
- Octopus Web Page
- How to compile Octopus 5.0.0 (Developers subversion)?
- On Ubuntu 14.04 LTS
- Preparing the operative system
- Installing required basic libraries
- Cleaning unused libraries
- Compiling scientific libraries
- Downloding Octopus through SVN
- Preparing Octopus configuration
- Compiling and checking Octopus
- Creating system paths for Octopus
Octopus is a scientific program aimed at the ab initio virtual experimentation on a hopefully ever-increasing range of system types. Electrons are described quantum-mechanically within density-functional theory (DFT), and in its time-dependent form (TDDFT) when doing simulations in time. Nuclei are described classically as point particles. Electron-nucleus interaction is described within the pseudopotential approximation.
For optimal execution performance Octopus is parallelized using MPI and OpenMP and can scale to tens of thousands of processors. It also has support for graphical processing units (GPUs) through OpenCL.
Octopus is free software, released under the GPL license, so you are free to download it, use it and modify it.
I am a Monkey-Style developer of Octopus. My work has been related mainly to the implementation of the Tkatchenko-Scheffler van der Waals correction for standard density functional approximations.
To find out more information about Octopus, go to: OctopusWiki - TDDFT.org
Perhaps, the most difficult part of using Octopus is to compile it properly.
This is an effective method to compile Octopus on an Ubuntu Desktop 14.04 LTS. It is based on the "slow instructions" section from the Octopus manual, and it was tested on September 14th, 2015:
Make sure your system is up-to-date.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get install build-essential
sudo apt-get install gfortran
Install Math Libraries
sudo apt-get install libatlas-dev
sudo apt-get install libblas-dev
sudo apt-get install liblapack-dev
Install the Fast Fourier Transform 3 library.
sudo apt-get install libfftw3*
sudo apt-get install subversion
Clean after yourself.
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean
Compile the GNU Scientific Library.
In addition to installing the Fast Fourier Transform 3 library, you also need to compile the 3.3.4 version.
Compile the XC library.
Create a directory to download the Octopus source code.
Check-out the last version of Octopus through SVN.
svn co http://www.tddft.org/svn/octopus/trunk
Find out where the important libraries are in your system.
whereis libblas.a liblapack.a libfftw3.a
Export the corresponding flags for the configure script.
./configure --prefix=$HOME/octopus --with-gsl-prefix=/usr/local --with-libxc-prefix=/opt/etsf
Check the installation through a series of preloaded tests.
Create paths for Octopus binaries on your .profile.