You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not support formats otherwise POSCAR when using shuffle_poscar
when running dpgen run, an error occured with "abacus/stru" format as sys_configs
nohup: ignoring input
INFO:dpgen:-------------------------iter.000000 task 03--------------------------
Traceback (most recent call last):
File "/opt/mamba/bin/dpgen", line 8, in <module>
sys.exit(main())
File "/opt/mamba/lib/python3.10/site-packages/dpgen/main.py", line 255, in main
args.func(args)
File "/opt/mamba/lib/python3.10/site-packages/dpgen/generator/run.py", line 5411, in gen_run
run_iter(args.PARAM, args.MACHINE)
File "/opt/mamba/lib/python3.10/site-packages/dpgen/generator/run.py", line 4748, in run_iter
cont = make_model_devi(ii, jdata, mdata)
File "/opt/mamba/lib/python3.10/site-packages/dpgen/generator/run.py", line 1216, in make_model_devi
poscar_shuffle(
File "/opt/mamba/lib/python3.10/site-packages/dpgen/generator/run.py", line 203, in poscar_shuffle
numb_atoms = poscar_natoms(lines)
File "/opt/mamba/lib/python3.10/site-packages/dpgen/generator/run.py", line 196, in poscar_natoms
numb_atoms += int(ii)
ValueError: invalid literal for int() with base 10: 'LATTICE_CONSTANT'
I've checked the poscar_natoms func in dpgen/generator/run.py, and I think only a fixed POSCAR for vasp are supported
cherushui
changed the title
[BUG] not support formats otherwise POSCAR when
[BUG] not support formats otherwise POSCAR when using shuffle_poscar
Jun 19, 2024
njzjz
added a commit
to njzjz/dpgen
that referenced
this issue
Aug 2, 2024
Fix#1570.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced efficiency in handling atomic configurations by directly
modifying coordinates in memory, eliminating the need for intermediate
files.
- Simplified logic for shuffling atomic indices.
- **Bug Fixes**
- Removed obsolete function that may have caused confusion in the
workflow related to POSCAR file management.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Signed-off-by: Jinzhe Zeng <[email protected]>
Bug summary
not support formats otherwise POSCAR when using shuffle_poscar
when running dpgen run, an error occured with "abacus/stru" format as sys_configs
I've checked the poscar_natoms func in dpgen/generator/run.py, and I think only a fixed POSCAR for vasp are supported
when set
"shuffle_poscar": false
, dpgen can run normally.DP-GEN Version
0.12.0
Platform, Python Version, Remote Platform, etc
Input Files, Running Commands, Error Log, etc.
run_param.json
Steps to Reproduce
running
dpgen run run_param.json machine.json
Further Information, Files, and Links
No response
The text was updated successfully, but these errors were encountered: