OpenMX

OpenMX (Open source package for Material eXplorer) is a software package for nano-scale material simulations based on density functional theories (DFT) [1], norm-conserving pseudopotentials [32,33,34,35,36], and pseudo-atomic localized basis functions [41]. The methods and algorithms used in OpenMX and their implementation are carefully designed for the realization of large-scale ab initio electronic structure calculations on parallel computers based on the MPI or MPI/OpenMP hybrid parallelism. The efficient implementation of DFT enables us to investigate electronic, magnetic, and geometrical structures of a wide variety of materials such as bulk materials, surfaces, interfaces, liquids, and low-dimensional materials. Systems consisting of 1000 atoms can be treated using the conventional diagonalization method if several hundreds cores on a parallel computer are used. Even ab initio electronic structure calculations for systems consisting of more than 10000 atoms are possible with the O($N$) methods implemented in OpenMX if several thousands CPU cores on a parallel computer are available. Since optimized pseudopotentials and basis functions, which are well tested, are provided for many elements, users may be able to quickly start own calculations without preparing those data by themselves. Considerable functionalities have been implemented for calculations of physical properties such as magnetic, dielectric, and electric transport properties. Thus, it is expected that OpenMX can be a useful and powerful theoretical tool for nano-scale material sciences, leading to better and deeper understanding of complicated and useful materials based on quantum mechanics. The development of OpenMX has been initiated by the Ozaki group in 2000, and from then onward many developers listed in the top page of the manual have contributed for further development of the open source package. The distribution of the program package and the source codes follow the practice of the GNU General Public License version 3 (GPLv3) [102], and they are downloadable from http://www.openmx-square.org/

Usage

Example script : testOpenmx.sh

#!/bin/bash
#SBATCH --job-name=openMx
#SBATCH --output=openMx.o%j
#SBATCH --error=openMx.e%j
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=2
#SBATCH --mem=32G
#SBATCH --time=1-00:00:00
#SBATCH --partition=thin

module load openmpi/4.1.5-gcc-12.2.0-vo6j57n
module load openmx/3.9-gcc-12.2.0-yewsx2z

mpirun -np 4 openmx -runtest -nt 1
cp runtest.result runtest.result.4.1

mpirun -np 2 openmx -runtest -nt 2
cp runtest.result runtest.result.2.2

mpirun -np 1 openmx -runtest -nt 4
cp runtest.result runtest.result.1.4

Executed in openmx3.9/work directory inside openmx source files.

Submit with :

sbatch --account=your_project_ID testOpenmx.sh

More info :