r/ScientificComputing • • 14h ago

GridLock: an open-source debugger built for MPI and parallel C++ development

Thumbnail
reddit.com
2 Upvotes

r/ScientificComputing • • 5h ago

Force-field benchmarking for fatty-acid crystallisation in LAMMPS: PCFF, OPLS-AA, CHARMM and TraPPE-UA

1 Upvotes

Hi everyone,

I’m the first author of a recent open-access study that may be relevant to people simulating fatty acids, organic PCMs, or crystallisation more generally.

We wanted to examine how strongly force-field choice affects the predicted phase behaviour of fatty acids. Using a unified LAMMPS protocol, we compared PCFF, OPLS-AA, CHARMM and TraPPE-UA across six saturated fatty acids from C4 to C18. We evaluated crystallisation, phase-change temperatures and enthalpies, densities, and thermal conductivities.

A few results stood out:

  • Under our simulation protocol, PCFF was the only tested force field that reproduced crystallisation across C8–C18.
  • PCFF predicted the transition temperatures for these systems with a mean absolute error of 3.2%.
  • OPLS-AA produced crystallisation for C16 and C18, while CHARMM and TraPPE-UA showed no clear ordering transition under the same protocol.

The paper’s Supporting Information includes a ZIP archive containing all LAMMPS input files and the Python scripts used for post-processing, so others can inspect, reproduce, or adapt the workflow.

Paper: https://doi.org/10.1038/s41598-026-80735-3

I’d be interested to hear from others who have compared force fields for organic crystallisation. Have you observed similarly large differences in ordering behaviour under otherwise comparable simulation protocols?


r/ScientificComputing • • 12h ago

What are your biggest frustrations with scientific data analysis software like OriginPro?

Thumbnail reddit.com
1 Upvotes

r/ScientificComputing • • 19h ago

lrpipe: An all-in-one germline pipeline for long reads, written in Rust

Post image
1 Upvotes

Hi, been working on this one for months, supports HIFI and ONT genomes. Aligned or unaligned, one command calls phased SNVs and indels, structural variants, copy-number variants and loss of heterozygosity, tandem repeats, read depth and CpG methylation.

A whole human genome in 10 minutes, more accurate than Clair3, while being efficient and fast enough to run on a laptop.

To build it, I made an aligner (Bonefish: up to 8x faster & more accurate than minimap2)

A new bioinformatic I/O library (Pasta: much faster and more efficient than samtools/BCFtools)

And a new genomic codec (zflate: Faster and more efficient than libdeflate)

https://github.com/DylanCosto/lrpipe


r/ScientificComputing • • 23h ago

SpinSpec 1.2.0 — faster exact NMR calculations and spectrum replot without rediagonalization

Post image
1 Upvotes

I've released version 1.2.0 of SpinSpec, an open-source program for simulating NMR spectra of coupled spin-1/2 nuclei across high-, low- and zero-field conditions.

The main numerical change is the use of conserved M_z blocks during Hamiltonian diagonalization, together with faster transformations of the gamma-weighted observation operator.

In nine-spin benchmarks, this reduced calculation times by approximately 22× at 3 T and 49× at zero field compared with the reference implementation. The online interface currently has an eight-spin limit.

Another useful improvement is automatic spectrum replotting: changing FWHM, frequency windows or vertical intensity limits reuses existing transition data rather than diagonalizing the Hamiltonian again.

The renderer also supports independent X/Y boundaries, automatic window selection and negative Y limits for visualizing signed interference between spin-group contributions.

I'm particularly interested in feedback on the numerical treatment of strongly coupled systems and the interpretation of group-resolved spectra near zero field.

Web calculator: https://nmrspec.org

Source: https://github.com/scleroze/SpinSpec

Release notes: https://nmrspec.org/changes


r/ScientificComputing • • 23h ago

Three Big Advancements in Raku Numerics

Thumbnail
rakuforprediction.wordpress.com
1 Upvotes

r/ScientificComputing • • 23h ago

I spent 13 years writing FDTD code and turned it into a GPU-native solver. Validation report inside, criticism welcome.

Thumbnail
liminuslabs.com
1 Upvotes