Skip to content

xshinhe/PSiNad

Repository files navigation

PSiNaD: Phase Space Integrated Nonadiabatic Dynamics

version language license

Overview

PSiNaD (Phase Space Integrated Nonadiabatic Dynamics) is an open-source computational framework specifically designed for nonadiabatic dynamics simulations, with a focus on phase space integration methodologies. It aims to provide a flexible, efficient, and extensible platform for researchers in condensed matter physics, computational chemistry, and related fields to explore complex dynamical processes involving electronic nonadiabatic effects.

Nonadiabatic dynamics, which describes transitions between electronic states, is crucial for understanding phenomena such as photoexcitation, charge transfer, and chemical reactions. PSiNaD integrates state-of-the-art theoretical approaches and computational tools to enable accurate and efficient simulations of these processes across diverse systems.

Objectives

The primary goals of PSiNaD are:

  • To provide a unified framework for implementing and testing phase space-integrated nonadiabatic dynamics methods.
  • To bridge classical and quantum dynamics approaches, supporting a spectrum of methodologies from Newtonian/Hamiltonian mechanics to advanced quantum approximations.
  • To facilitate easy integration with external electronic structure packages and force fields, enabling multiscale simulations.
  • To offer a user-friendly interface for setting up simulations and a modular architecture for developers to extend functionality.

Key Features

  • Comprehensive Dynamics Methods: Supports mixed quantum-classical dynamics (e.g., CMM/NaF-TW phase-space mapping methods, Ehrenfest dynamics, surface hopping), as well as quantum dynamics approaches (quantum phase space approximations).
  • Flexible Workflow Management: Intuitive tools for constructing and controlling simulation workflows (see Simulation Flow Control).
  • Extensibility for Developers: Modular design simplifies adding new algorithms, models, and solvers. Guides for extending functionality are available in Developing Models and Adding Solvers.
  • Multi-Scale Integration: Diverse interfaces to external force fields and ab initio quantum chemistry packages (e.g., BAGEL, BDF, Gaussian, ORCA, PySCF, MNDO; see full list in scripts/psnd_arg.py).
  • Parallel Computing Support: MPI-enabled C++ frontend for efficient parallel simulations (not available in the Python wrapper).
  • Cross-Platform Compatibility: Tested on Linux (Ubuntu 20.04 LTS + Intel oneAPI) and macOS (Sequoia + Open-mpi 5.0.6); Windows support is in development.
  • Python Integration: Available as a Python package (PyPSiNaD) for enhanced accessibility and scripting capabilities.

Installation

Refer to the detailed Installation Guide for step-by-step instructions. Prerequisites include:

  • Unix-like OS (Linux/macOS; Windows pending)
  • CMake 3.17+
  • C++ compiler supporting C++17 (GCC, Clang, Intel C++ Compiler)
  • Optional dependencies: MPI, MKL, gflags, glog, pybind11 (for Python bindings), Catch2 (for testing)

Basic installation steps:

# Clone the repository with submodules
git clone --recurse-submodules http://path_to_repository/PSiNaD.git
cd PSiNaD

# Create and navigate to build directory
mkdir build && cd build

# Configure (customize with -D options as needed)
cmake ..

# Compile and install
make -j$(nproc)
make install

# Optional: Install Python wrapper
# pip install pybind11 Cython
make PythonInstall

Basic Usage

The C++ frontend psinad_mpi supports MPI for parallel simulations. A typical parallel run command:

mpirun -np 32 ./psinad_mpi -w -d output_dir -dump final -p param.json
  • mpirun -np 32: Specifies 32 MPI processes (adjust based on your queue system, e.g., srun -N 32 for Slurm).
  • -w: Overwrite existing output directory.
  • -d output_dir: Set output directory.
  • -dump final: Dump final results.
  • -p param.json: Path to the parameter file.

The full description of parameters can be found in the introduction to input file

For Python usage, refer to the PyPSiNaD API.

Documentation

Contributors

License

Copyright © Peking University. Maintained by the Jian Liu Group, College of Chemistry and Molecular Engineering (CCME), Peking University. For inquiries, contact [email protected].

The PSiNaD framework is free for use and integration, with specific algorithms potentially requiring proper attribution as per academic standards.

Support

For questions, bug reports, or feature requests, please contact the maintainers via the group email or submit an issue on the repository.

Read Next
Installation
Tutorial
Developer Guide

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •