SearcharxivSearch

arXiv · 2411.18024

SPARC-X-API: Versatile Python Interface for Real-space Density Functional Theory Calculations

Abstract

Density Functional Theory (DFT) is the de facto workhorse for large-scale electronic structure calculations in chemistry and materials science. While plane-wave DFT implementations remain the most widely used, real-space DFT provides advantages in handling complex boundary conditions and scaling to very large systems by allowing for the efficient use of large-scale supercomputers and linear-scaling methods that circumvent the cubic scaling bottleneck. The SPARC-X project (https://github.com/SPARC-X) provides highly efficient and portable real-space DFT codes for a wide range of first principle applications, available in both Matlab (M-SPARC) and C/C++ (SPARC). The rapid growth of SPARC's feature set has created the need for a fully functional interface to drive SPARC in high-throughput calculations. Here we introduce SPARC-X-API, a Python package designed to bridge the SPARC-X project with broader computational frameworks. Built on the atomic simulation environment (ASE) standard, the SPARC-X-API allows users to handle SPARC file formats and run SPARC calculations through the same interface as with other ASE-compatible DFT packages. Beyond standard ASE capabilities, SPARC-X-API provides additional features including 1) support of SPARC-specific setups, including complex boundary conditions and unit conversion, 2) a JSON schema parsed from SPARC's documentation for parameter validation and compatibility checks, and 3) a comprehensive socket communication layer derived from the i-PI protocol facilitating message passing between low-level C code and the Python interface. The goal of the SPARC-X-API is to provide an easy-to-use interface for users with diverse needs and levels of expertise, allowing for minimal effort in adapting SPARC to existing computational workflows, while also supporting developers of advanced real-space methods.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Tian Tian, Lucas R Timmerman, Shashikant Kumar, Ben Comer, Andrew J Medford, Phanish Suryanarayana. 2024-11-27. SPARC-X-API: Versatile Python Interface for Real-space Density Functional Theory Calculations. https://arxiv.org/abs/2411.18024

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Breaking Water at Graphene Defects

Water dissociation at solid surfaces underpins processes ranging from corrosion and catalysis to electrochemistry and photovoltaics. Defects often serve as reactive sites for dissociation, yet how solvation influences water dissociation at such sites remains poorly understood. Here, we use state-of-the-art machine-learned interatomic potentials to explore water dissociation at defective graphene-water interfaces. We show that solvation qualitatively changes the reaction mechanism at a graphene single vacancy (SV), opening pathways that are absent for an isolated water molecule. Whereas the gas-phase process proceeds via a single concerted channel, the solvated SV splits water through two competing pathways: a basic route forming SV-H and OH-(aq), and an acidic route forming SV-OH and H3O+(aq). These lower-barrier pathways produce distinct chemisorbed intermediates that enhance graphene-water adsorption. Accordingly, even a simple carbon vacancy gives rise to unexpectedly rich interfacial chemistry, coupling surface chemistry to interfacial charge and wettability, with implications for carbon functionalization and nanofluidic transport.

physics.chem-ph

Comprehensive Study of L-Menthol and Octanoic Acid as a Hydrophobic Eutectic Solvent

Hydrophobic eutectic solvents (HES) based on natural compounds represent promising green alternatives to conventional solvents. In this work, we investigate the physicochemical, structural, and dynamical properties of an ES formed by L-menthol and octanoic acid using a combined experimental and molecular dynamics simulation approach. Five compositions with molar ratios from 1:3 to 3:1 were studied with molecular dynamics simulation in the temperature range 15 degrees C to 35 degrees C. Experimental measurements of density and viscosity in the temperature range from 5 degrees C to 35 degrees C were complemented with results obtained from MD simulations employing the OPLS force field. Structural analyses based on radial distribution functions and Kirkwood-Buff integrals reveal that the dominant interactions in the mixture are hydrogen bonds between L-menthol and octanoic acid molecules. Dynamic properties, including self-diffusion coefficients and hydrogen-bond lifetimes, indicate that intermolecular hydrogen bonds between the two components are stronger and longer-lived than bonds between identical species. These findings provide molecular-level insight into the structure and transport properties of menthol-based ESs relevant for green solvent applications.

physics.chem-ph

More is not always better: Dissociative photoionization limits the EUV absorbing photacid generator pentafluorophenyl triflate in photolithography

Pentafluorophenyl triflate has been explored as a highly absorbing neutral photoacid generator (PAG) candidate for next generation chemically amplified resists used in extreme ultraviolet (EUV) lithography. Although increased fluorination enhances EUV absorption, this study demonstrates that such an approach does not necessarily improve photoacid generation efficiency. Using photoelectron-photoion coincidence (PEPICO) spectroscopy at the 92 eV photon energy of the EUV scanners in combination with quantum chemical calculations, the dissociative photoionization of pentafluorophenyl triflate was systematically investigated. The photoionization mass spectrum reveals extensive fragmentation, with the parent ion contributing only 3.1 % of the total signal and CF$_3^+$ representing the dominant product ion. Computed appearance energies align well with experimental trends and support a sequential fragmentation pathway involving loss of SO$_2$, CF$_3$, and CO. Crucially, none of the major dissociation channels yield precursors capable of forming triflic acid, the strong photoacid required for efficient deprotection reactions in chemically amplified resists. Combined with previous dissociative electron attachment studies indicating similarly unfavorable fragmentation, the results demonstrate that despite its high EUV absorption cross section, pentafluorophenyl triflate is unsuitable as a PAG for EUV lithography. The findings highlight the importance of understanding fundamental photoionization and electron interaction mechanisms to guide the rational design of next generation high performance EUV photoresists.

physics.chem-ph