[CP2K-user] [CP2K:21741] tring to compress cp2k output data using dpdata but error occured
Aditya
iitdelhi302 at gmail.com
Thu Aug 14 07:20:48 UTC 2025
Hello everyone, I have simulated 46 argon atoms using cp2k and now trying
to convert data into compressed format for generating deepmd ml potentials.
Now in between I faced this error after running the python script.
Traceback (most recent call last):
File
"/home/adityashukla/Downloads/md_simulations/deepmd/cp2k_md/compress.py",
line 6, in <module>
data = dpdata.LabeledSystem("cp2k_md", fmt="cp2k/aimd_output")
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/dpdata/system.py",
line 197, in __init__
self.from_fmt(
~~~~~~~~~~~~~^
file_name,
^^^^^^^^^^
...<5 lines>...
**kwargs,
^^^^^^^^^
)
^
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/dpdata/system.py",
line 234, in from_fmt
return self.from_fmt_obj(load_format(fmt), file_name, **kwargs)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/dpdata/system.py",
line 1224, in from_fmt_obj
data = fmtobj.from_labeled_system(file_name, **kwargs)
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/cp2kdata/dpdata_plugin.py",
line 93, in from_labeled_system
cp2kmd = Cp2kOutput(output_file=cp2k_output_name,
run_type="MD",
...<2 lines>...
restart=restart
)
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/cp2kdata/output.py",
line 122, in __init__
parse_run_type()
~~~~~~~~~~~~~~^^
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/cp2kdata/output.py",
line 376, in parse_md
self.md_info = self.get_md_info(ensemble_type=self.ensemble_type,
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
filename=self.filename)
^^^^^^^^^^^^^^^^^^^^^^^
File
"/home/adityashukla/miniconda3/lib/python3.13/site-packages/cp2kdata/output.py",
line 591, in get_md_info
raise ValueError("cp2kdata dosen't know your MD ensemble type!")
*ValueError: cp2kdata dosen't know your MD ensemble type!*
can someone please help me to rectify this error. I am attaching my input
file, output file and python script.
--
You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/2ec64b70-c02b-4bd4-8b2c-5f657245d080n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250814/00e6c6bd/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input.in
Type: application/octet-stream
Size: 2464 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250814/00e6c6bd/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compress.py
Type: text/x-python
Size: 867 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250814/00e6c6bd/attachment-0001.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.log
Type: text/x-log
Size: 3483261 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250814/00e6c6bd/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvt_1.ener
Type: application/octet-stream
Size: 26462 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250814/00e6c6bd/attachment-0003.obj>
More information about the CP2K-user
mailing list