-
Notifications
You must be signed in to change notification settings - Fork 15
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
[ERROR] LAMMPS Format Option Segfaults #35
Comments
Hi - please pull and check (and confirm) if the format fix is ok. |
Good point - I got the message about PRs after having committed. @Ethan -
did you succeed with the new commit?
M.
…On Mon, Jan 8, 2024 at 9:35 AM Florian Knoop ***@***.***> wrote:
@mjv500 <https://github.com/mjv500> maybe a good motivation to include #10
<#10> as well (preferably
via a PR that closes both issues, but we can do that manually of course)?
—
Reply to this email directly, view it on GitHub
<#35 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWOT3YMZZH75Z7R6TZWFVTYNOVWNAVCNFSM6AAAAABBQQXIJKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQGU3TAMRQGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Professor Matthieu J Verstraete
Fellow, American Physical Society
Chair, Steering Committee, European Theoretical Spectroscopy Facility
www.etsf.eu
Alumnus Fellow, Young Academy of Europe yacadeuro.org
Institute for Theoretical Physics (ITP) Department of Physics
Buys Ballot Gebouw/Building, Princetonplein 5, office
University of Utrecht, 3584 CC Utrecht
ITP Secretariat: +31 30 253 5928 E-mail: ***@***.***
Group web page (Liège): http://www.nanomat.ulg.ac.be/
Nanomat lab, Q-Mat center, Université de Liège
Département de Physique, Bat. B5a, 4/50
Allée du 6 août, 19 B-4000 Sart Tilman, Liège Belgium
Phone : +32 4 366 90 17
European Theoretical Spectroscopy Facility (ETSF)
Mail : ***@***.***
***@***.***
***@***.***
|
The error is now on the next item of the format string:
|
Command runs well now, I believe you need an new (empty) line after the "Masses" heading for it to get parsed right though. With that space it gets parsed correctly. (quite the annoying format in my opinion). The command also prints Here's an example file that LAMMPS generated internally. |
@ejmeitz ok thanks for checking. LAMMPS seems to be a little problematic. We discussed the issue and tend towards removing native LAMMPS support as we don't use (and maintain) it ourselves. Converting (default) VASP POSCARs to Lammps is as easy as e.g. ase convert contcar_conf0001 -i vasp lammps.in -o lammps-data (--write-args masses=True) Would that be fine? |
Fine by me, I dont actually use the LAMMPS format was just testing stuff for the JOSS paper and this was the thing that broke. I guess I'd say just remove it as an option rather than leave it half working maybe? That format is problematic in many ways, I understand why this would be faster. |
@ejmeitz ok I removed lammps altogether now. I'll update the docs once we all agree on this. In case somebody would try to use the lammps interface, we now exit with
I also removed the |
Public website is also updated |
When using the option
output_format
on both thegenerate_structure
andcanonical_configuration
(and I expect any binary that has this option) I get an error when using the LAMMPS format.The command I ran was from the MgO example, but I added the
-of 3
option to the end:canonical_configuration -n 4 -t 300 -mf 20 --quantum -of 3
The text was updated successfully, but these errors were encountered: