Working paper Open Access

Memory Optimization for the Octopus Scientific Code

J. Alberdi-Rodriguez

A. Rubio; M. Oliveira; A. Charalampidou; D. Folias

Octopus is a software package for density-functional theory (DFT), and its time-dependent (TDDFT) variant. Linear Combination of the Atomic Orbitals (LCAO) is performed previous to the actual DFT run. LCAO is used to get an initial guess of densities, and therefore, to start with the Self Consistent Field (SCF) of the Ground-State (GS). System initialization and LCAO steps consume a large amount of memory and do not demonstrate good performance. In this study, extensive profiling has been performed, in order to identify large matrices and scaling behaviour of initialization and LCAO. Alternative implementations of LCAO in Octopus have been investigated in order to optimize memory usage and performance of LCAO approach. Use of ScaLAPACK library led to significant improvement of memory allocation and performance. Benchmark tests have been performed on MareNostrum III HPC system using various combinations of atomic  systems’ sizes and numbers of CPU cores.

Files (1.2 MB)
Name Size
1.2 MB Download
All versions This version
Views 2323
Downloads 1717
Data volume 19.7 MB19.7 MB
Unique views 2020
Unique downloads 1717


Cite as