Issue Description
Dear developer, I encountered an issue while running dpgen2, where the output of dpgen2 status shows lvl_f_lo as nan. Additionally, the Outputs-model_devi file contains nan values for all relevant fields. Below are the details:
1. dpgen2 status Output
100%|█████████████████████████████████████████████| 1/1 [00:00<00:00, 13.33it/s]
# stage id_stg. iter. accu. cand. fail. lvl_f_lo lvl_f_hi
# Stage 0 --------------------
0 0 0 0.7646 0.1323 0.1032 0.2118 0.5000
0 1 1 0.8519 0.1481 0.0000 nan 0.5000
0 2 2 0.8519 0.1481 0.0000 nan 0.5000
2. Checking Output Files
Outputs-traj:
The file /iter-000001--run-lmp-group/Outputs-traj contains valid data. Sample content:
ITEM: TIMESTEP
0
ITEM: NUMBER OF ATOMS
184
ITEM: BOX BOUNDS xy xz yz pp pp pp
...
Outputs-log:
The log file also shows normal output:
LAMMPS (29 Aug 2024)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
...
3. Outputs-model_devi Contains nan
However, in the file /iter-000001--run-lmp-group/Outputs-model_devi, the avg_devi_f, max_devi_f, and min_devi_f fields all contain nan:
# step max_devi_v min_devi_v avg_devi_v max_devi_f min_devi_f avg_devi_f
0 0.000000e+00 1.797693e+308 -nan -nan -nan -nan
50 0.000000e+00 1.797693e+308 -nan -nan -nan -nan
100 0.000000e+00 1.797693e+308 -nan -nan -nan -nan
...
Expected Behavior
The lvl_f_lo value and the fields in Outputs-model_devi should not contain nan.
Steps to Reproduce
- Run the
dpgen2 workflow with the provided input files.
- Observe the
dpgen2 status output and check the corresponding output files (Outputs-traj, Outputs-log, Outputs-model_devi).
Environment
- dpgen2 version: 0.0.8.dev138+g2877e2f
- DeepMD-kit version: 3.0.0b4
- Operating website: Bohrium
- Hardware: Bohrium V100*1
Thank you!
Issue Description
Dear developer, I encountered an issue while running dpgen2, where the output of
dpgen2 statusshowslvl_f_loasnan. Additionally, theOutputs-model_devifile containsnanvalues for all relevant fields. Below are the details:1.
dpgen2 statusOutput2. Checking Output Files
Outputs-traj:The file
/iter-000001--run-lmp-group/Outputs-trajcontains valid data. Sample content:Outputs-log:The log file also shows normal output:
3.
Outputs-model_deviContainsnanHowever, in the file
/iter-000001--run-lmp-group/Outputs-model_devi, theavg_devi_f,max_devi_f, andmin_devi_ffields all containnan:Expected Behavior
The
lvl_f_lovalue and the fields inOutputs-model_devishould not containnan.Steps to Reproduce
dpgen2workflow with the provided input files.dpgen2 statusoutput and check the corresponding output files (Outputs-traj,Outputs-log,Outputs-model_devi).Environment
Thank you!