Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with newer LAMMPS #15

Open
5 tasks
ExpHP opened this issue Mar 7, 2022 · 0 comments
Open
5 tasks

Issues with newer LAMMPS #15

ExpHP opened this issue Mar 7, 2022 · 0 comments

Comments

@ExpHP
Copy link
Owner

ExpHP commented Mar 7, 2022

While trying to update the building from source guide, I tried building my own copy of LAMMPS and ran into a number of issues:

  • The use of the ptr argument to lammps_open is deprecated; the function now returns a pointer.
    • Unfortunately this makes it unclear how to fix lammps_open, which we need to define ourselves to avoid incompatibilities with how rsmpi defines MPI_Comm.
      • Thankfully, the current signature void(*) (int, **char, MPI_Comm, **void) is loosely ABI-compatible with the old signature void (int, **char, MPI_Comm, **void) in most modern calling conventions.
      • ...unfortunately I'm getting a segfault when I try to test with this.
      • There is still no update to mpi-sys
  • -DBUILD_LIB=on is no longer required`
  • Many packages were renamed or split up.
    • Here's the documented list as of 2022-03-07:
      ADIOS ASPHERE ATC AWPMD BOCS BODY BROWNIAN CG-DNA CG-SDK CLASS2 COLLOID COLVARS COMPRESS CORESHELL DIELECTRIC DIFFRACTION DIPOLE DPD-BASIC DPD-MESO DPD-REACT DPD-SMOOTH DRUDE EFF EXTRA-COMPUTE EXTRA-DUMP EXTRA-FIX EXTRA-MOLECULE EXTRA-PAIR FEP GPU GRANULAR H5MD INTEL INTERLAYER KIM KOKKOS KSPACE LATBOLTZ LATTE MACHDYN MANIFOLD MANYBODY MC MDI MEAM MESONT MESSAGE MGPT MISC ML-HDNNP ML-IAP ML-PACE ML-QUIP ML-RANN ML-SNAP MOFFF MOLECULE MOLFILE MPIIO MSCG NETCDF OPENMP OPT ORIENT PERI PHONON PLUGIN PLUMED POEMS PTM PYTHON QEQ QMMM QTB REACTION REAXFF REPLICA RIGID SCAFACOS SHOCK SMTBQ SPH SPIN SRD TALLY UEF VORONOI VTK YAFF
  • Virtually any update related to any of this is going to require adding CI Testing on a matrix of MPI/no-MPI, system/build, and a small number of "tested" lammps versions, because it's beyond the point where I have the bandwidth to test all of this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant