Skip to content
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

[BUG] After dpgen is installed, "dpgen-h" indicates an error in the pyamtgen path #1634

Open
YXT996 opened this issue Sep 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@YXT996
Copy link

YXT996 commented Sep 9, 2024

Bug summary

conda create -n dpgen
conda install dpgen or pip install dpgen or other methods

dpgen -h
DeepModeling

Version: 0.12.1
Path: /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/dpgen

Dependency

 numpy     1.26.4   /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/numpy
dpdata     0.2.20   /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/dpdata

pymatgen unknown version or path
monty 2024.7.30 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/monty
ase 3.23.0 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/ase
paramiko 3.4.1 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/paramiko
custodian 2024.8.9 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/custodian

Reference

Please cite:
Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and Weinan E,
DP-GEN: A concurrent learning platform for the generation of reliable deep learning
based potential energy models, Computer Physics Communications, 2020, 107206.

Description

usage: dpgen [-h] {init_surf,init_bulk,auto_gen_param,init_reaction,run,run/report,collect,simplify,autotest,db,gui} ...

dpgen is a convenient script that uses DeepGenerator to prepare initial data, drive DeepMDkit and analyze results. This script works based on
several sub-commands with their own options. To see the options for the sub-commands, type "dpgen sub-command -h".

positional arguments:
{init_surf,init_bulk,auto_gen_param,init_reaction,run,run/report,collect,simplify,autotest,db,gui}
init_surf Generating initial data for surface systems.
init_bulk Generating initial data for bulk systems.
auto_gen_param auto gen param.json
init_reaction Generating initial data for reactive systems.
run Main process of Deep Potential Generator.
run/report Report the systems and the thermodynamic conditions of the labeled frames.
collect Collect data.
simplify Simplify data.
autotest Auto-test for Deep Potential.
db Collecting data from DP-GEN.
gui Serve DP-GUI.

optional arguments:
-h, --help show this help message and exit

pip show pymatgen
Name: pymatgen
Version: 2024.8.9
Summary: Python Materials Genomics is a robust materials analysis code that defines core object representations for structures
Home-page: https://pymatgen.org
Author:
Author-email: Pymatgen Development Team [email protected]
License: MIT
Location: /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages
Requires: joblib, matplotlib, monty, networkx, numpy, palettable, pandas, plotly, pybtex, requests, ruamel.yaml, scipy, spglib, sympy, tabulate, tqdm, uncertainties
Required-by: dpgen, mp-pyrho, pymatgen-analysis-defects

DP-GEN Version

Version: 0.12.1

Platform, Python Version, Remote Platform, etc

python=3.9 or 3.10
pymatgen=2042.8.9 or 2023.8.10 or 2023.5.31 or 2022.11.1

Input Files, Running Commands, Error Log, etc.

conda create -n dpgen
conda install dpgen or pip install dpgen or other methods

dpgen -h
DeepModeling

Version: 0.12.1
Path: /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/dpgen

Dependency

 numpy     1.26.4   /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/numpy
dpdata     0.2.20   /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/dpdata

pymatgen unknown version or path
monty 2024.7.30 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/monty
ase 3.23.0 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/ase
paramiko 3.4.1 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/paramiko
custodian 2024.8.9 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/custodian

Reference

Please cite:
Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and Weinan E,
DP-GEN: A concurrent learning platform for the generation of reliable deep learning
based potential energy models, Computer Physics Communications, 2020, 107206.

Description

usage: dpgen [-h] {init_surf,init_bulk,auto_gen_param,init_reaction,run,run/report,collect,simplify,autotest,db,gui} ...

dpgen is a convenient script that uses DeepGenerator to prepare initial data, drive DeepMDkit and analyze results. This script works based on
several sub-commands with their own options. To see the options for the sub-commands, type "dpgen sub-command -h".

positional arguments:
{init_surf,init_bulk,auto_gen_param,init_reaction,run,run/report,collect,simplify,autotest,db,gui}
init_surf Generating initial data for surface systems.
init_bulk Generating initial data for bulk systems.
auto_gen_param auto gen param.json
init_reaction Generating initial data for reactive systems.
run Main process of Deep Potential Generator.
run/report Report the systems and the thermodynamic conditions of the labeled frames.
collect Collect data.
simplify Simplify data.
autotest Auto-test for Deep Potential.
db Collecting data from DP-GEN.
gui Serve DP-GUI.

optional arguments:
-h, --help show this help message and exit

pip show pymatgen
Name: pymatgen
Version: 2024.8.9
Summary: Python Materials Genomics is a robust materials analysis code that defines core object representations for structures
Home-page: https://pymatgen.org
Author:
Author-email: Pymatgen Development Team [email protected]
License: MIT
Location: /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages
Requires: joblib, matplotlib, monty, networkx, numpy, palettable, pandas, plotly, pybtex, requests, ruamel.yaml, scipy, spglib, sympy, tabulate, tqdm, uncertainties
Required-by: dpgen, mp-pyrho, pymatgen-analysis-defects

Steps to Reproduce

conda create -n dpgen
conda install dpgen or pip install dpgen or other methods

dpgen -h
DeepModeling

Version: 0.12.1
Path: /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/dpgen

Dependency

 numpy     1.26.4   /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/numpy
dpdata     0.2.20   /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/dpdata

pymatgen unknown version or path
monty 2024.7.30 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/monty
ase 3.23.0 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/ase
paramiko 3.4.1 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/paramiko
custodian 2024.8.9 /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages/custodian

Reference

Please cite:
Yuzhi Zhang, Haidi Wang, Weijie Chen, Jinzhe Zeng, Linfeng Zhang, Han Wang, and Weinan E,
DP-GEN: A concurrent learning platform for the generation of reliable deep learning
based potential energy models, Computer Physics Communications, 2020, 107206.

Description

usage: dpgen [-h] {init_surf,init_bulk,auto_gen_param,init_reaction,run,run/report,collect,simplify,autotest,db,gui} ...

dpgen is a convenient script that uses DeepGenerator to prepare initial data, drive DeepMDkit and analyze results. This script works based on
several sub-commands with their own options. To see the options for the sub-commands, type "dpgen sub-command -h".

positional arguments:
{init_surf,init_bulk,auto_gen_param,init_reaction,run,run/report,collect,simplify,autotest,db,gui}
init_surf Generating initial data for surface systems.
init_bulk Generating initial data for bulk systems.
auto_gen_param auto gen param.json
init_reaction Generating initial data for reactive systems.
run Main process of Deep Potential Generator.
run/report Report the systems and the thermodynamic conditions of the labeled frames.
collect Collect data.
simplify Simplify data.
autotest Auto-test for Deep Potential.
db Collecting data from DP-GEN.
gui Serve DP-GUI.

optional arguments:
-h, --help show this help message and exit

pip show pymatgen
Name: pymatgen
Version: 2024.8.9
Summary: Python Materials Genomics is a robust materials analysis code that defines core object representations for structures
Home-page: https://pymatgen.org
Author:
Author-email: Pymatgen Development Team [email protected]
License: MIT
Location: /share/home/202110186979/soft/miniconda/envs/dpgen/lib/python3.9/site-packages
Requires: joblib, matplotlib, monty, networkx, numpy, palettable, pandas, plotly, pybtex, requests, ruamel.yaml, scipy, spglib, sympy, tabulate, tqdm, uncertainties
Required-by: dpgen, mp-pyrho, pymatgen-analysis-defects

Further Information, Files, and Links

No response

@YXT996 YXT996 added the bug Something isn't working label Sep 9, 2024
@njzjz
Copy link
Member

njzjz commented Sep 18, 2024

due to materialsproject/pymatgen#2094

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants