[DFTB-Plus-User] Problem with Barostat
Bálint Aradi
aradi at uni-bremen.de
Wed Oct 29 18:44:31 CET 2025
Dear Liam,
the problem is, that you system is not recognized as a periodic one, and
the Barostat (and many other options) are only parsed for periodic systems.
You are using the xyz-Format to specify the geometry. However, as the
xyz-Format has no standard way of specifying lattice vectors (different
programs are using different hacks for it), DFTB+ interprets
xyz-geometries as non-periodic. You should either use the GenFormat or
the VaspFormat option to specify periodic geometries.
Best regards,
Bálint
On 10/29/25 12:26 PM, 袁湘磊 via DFTB-Plus-User wrote:
> Hello everyone,
>
>
> I was trying to do a NPT simulation using dftb+ 24.1, however the
> Barostat was ignored by the parser and I got the following error message:
>
> -> The following 1 node(s) have been ignored by the parser:
>
> (1)
>
> Path: dftbplusinput/Driver/VelocityVerlet/Barostat
>
> Line: 15-19 (File: dftb_in.hsd)
>
>
> Here is my input file:
>
> Geometry = xyzFormat {
>
> <<< "Si.xyz"
>
> }
>
>
> Driver = VelocityVerlet {
>
>
> MDRestartFrequency = 100
>
> Timestep [fs] = 1.0
>
> Steps = 150000
>
>
> Thermostat = NoseHoover {
>
>
> Temperature [K] = 300.0
>
> CouplingStrength [cm^-1] = 500.0
>
> }
>
>
> Barostat {
>
>
> Pressure [Pa] = 1.0E5
>
> Timescale [ps] = 0.5
>
> Coupling = isotropic
>
> }
>
> }
>
>
> Hamiltonian = DFTB {
>
>
> SCC = No
>
> SlaterKosterFiles = Type2FileNames {
>
> Prefix = "/public1/home/scf0259/DeviceStudioProject/Software/
> dftbplus-24.1.x86_64-linux/slako/pbc-0-3/"
>
> Separator = "-"
>
> Suffix = ".skf"
>
> }
>
> MaxAngularMomentum {
>
> Si = "p"
>
> }
>
> }
>
>
> Options {
>
>
> WriteResultsTag = Yes
>
> }
>
>
> ParserOptions {
>
>
> ParserVersion = 14
>
> }
>
>
> Additionally, I encountered a very similar parser warning
> with KPointsAndWeights when trying to perform a band structure
> calculation using a input file based on the example provided in the band
> structure section of the latest dftb+ recipes:
>
> Geometry = xyzFormat {
>
> <<< "Si.xyz"
>
> }
>
>
> Hamiltonian = DFTB {
>
>
> SCC = Yes
>
> SccTolerance = 1e-5
>
> SlaterKosterFiles = Type2FileNames {
>
> Prefix = "/public1/home/scf0259/DeviceStudioProject/Software/
> dftbplus-24.1.x86_64-linux/slako/pbc-0-3/"
>
> Separator = "-"
>
> Suffix = ".skf"
>
> }
>
> MaxAngularMomentum {
>
> Si = "p"
>
> }
>
> KPointsAndWeights = SupercellFolding {
>
> 2 0 0
>
> 0 2 0
>
> 0 0 2
>
> 0.5 0.5 0.5
>
> }
>
> }
>
>
> Analysis {
>
>
> ProjectStates {
>
> Region {
>
> Atoms = Si
>
> ShellResolved = Yes
>
> Label = "dos_si"
>
> }
>
> }
>
> }
>
>
> Options {
>
>
> WriteResultsTag = Yes
>
> }
>
>
> ParserOptions {
>
>
> ParserVersion = 14
>
> }
>
>
> Thank you very much for your time and assistance.
>
> Liam
>
>
> _______________________________________________
> DFTB-Plus-User mailing list
> DFTB-Plus-User at mailman.zfn.uni-bremen.de
> https://mailman.zfn.uni-bremen.de/cgi-bin/mailman/listinfo/dftb-plus-user
--
Dr. Bálint Aradi
Bremen Center for Computational Materials Science, University of Bremen
http://www.uni-bremen.de/en/lmcqm/b-aradi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5016 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.zfn.uni-bremen.de/pipermail/dftb-plus-user/attachments/20251029/a9ebacf6/attachment.bin>
More information about the DFTB-Plus-User
mailing list