Unknown command: region2vmd

I have compiled my lammps with region2vmd package according to documentation:
~/Downloads/lammps-29Aug2024/src$ make ps
Installed NO: package ADIOS
Installed NO: package AMOEBA
Installed NO: package ASPHERE
Installed NO: package ATC
Installed NO: package AWPMD
Installed NO: package BOCS
Installed YES: package BODY
Installed NO: package BPM
Installed YES: package BROWNIAN
Installed NO: package CG-DNA
Installed NO: package CG-SPICA
Installed NO: package CLASS2
Installed YES: package COLLOID
Installed NO: package COLVARS
Installed NO: package COMPRESS
Installed NO: package CORESHELL
Installed NO: package DIELECTRIC
Installed NO: package DIFFRACTION
Installed NO: package DIPOLE
Installed NO: package DPD-BASIC
Installed NO: package DPD-MESO
Installed NO: package DPD-REACT
Installed NO: package DPD-SMOOTH
Installed NO: package DRUDE
Installed YES: package EFF
Installed NO: package ELECTRODE
Installed YES: package EXTRA-COMMAND
Installed NO: package EXTRA-COMPUTE
Installed NO: package EXTRA-DUMP
Installed NO: package EXTRA-FIX

I still get unknown command error:
ERROR: Unknown command: region2vmd regions.vmd material Opaque color red region nonadecanamide_top (…/input.cpp:314)

Am I missing anything from the documentation? I’m guessing since the error says “unknown” it means it has something to do with installation, otherwise it would say “invalid”, right?

No, you don’t.

The documentation of the command says right at the top:

Added in version 2Apr2025.

If you are using the stable version of LAMMPS you have to look at https://docs.lammps.org/stable/ and not https://docs.lammps.org/

You can see which LAMMPS version the online documentation corresponds to in the top and the bottom of the navigation sidebar.

1 Like