Commit 56d2b104 authored by zhangqha's avatar zhangqha
Browse files

BladeDISC DeePMD code update

parent 6b33aeb8
Pipeline #180 failed with stages
in 0 seconds
<span style="font-size:larger;">DeePMD-kit Manual</span>
========
[![GitHub release](https://img.shields.io/github/release/deepmodeling/deepmd-kit.svg?maxAge=86400)](https://github.com/deepmodeling/deepmd-kit/releases)
[![doi:10.1016/j.cpc.2018.03.016](https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2018.03.016-blue)](https://doi.org/10.1016/j.cpc.2020.107206)
![Citations](https://citations.njzjz.win/10.1016/j.cpc.2018.03.016)
[![offline packages](https://img.shields.io/github/downloads/deepmodeling/deepmd-kit/total?label=offline%20packages)](https://github.com/deepmodeling/deepmd-kit/releases)
[![conda install](https://img.shields.io/badge/downloads-9k%20total-green.svg?style=round-square&label=conda%20install)](https://anaconda.org/deepmodeling/deepmd-kit)
[![pip install](https://img.shields.io/pypi/dm/deepmd-kit?label=pip%20install)](https://pypi.org/project/deepmd-kit)
[![docker pull](https://img.shields.io/docker/pulls/deepmodeling/deepmd-kit)](https://hub.docker.com/r/deepmodeling/deepmd-kit)
[![Documentation Status](https://readthedocs.org/projects/deepmd/badge/)](https://deepmd.readthedocs.io/)
# Table of contents
- [About DeePMD-kit](#about-deepmd-kit)
- [Highlights in v2.0](#highlights-in-deepmd-kit-v2.0)
- [Highlighted features](#highlighted-features)
- [License and credits](#license-and-credits)
- [Deep Potential in a nutshell](#deep-potential-in-a-nutshell)
- [Download and install](#download-and-install)
- [Use DeePMD-kit](#use-deepmd-kit)
- [Code structure](#code-structure)
- [Troubleshooting](#troubleshooting)
# About DeePMD-kit
DeePMD-kit is a package written in Python/C++, designed to minimize the effort required to build deep learning based model of interatomic potential energy and force field and to perform molecular dynamics (MD). This brings new hopes to addressing the accuracy-versus-efficiency dilemma in molecular simulations. Applications of DeePMD-kit span from finite molecules to extended systems and from metallic systems to chemically bonded systems.
For more information, check the [documentation](https://deepmd.readthedocs.io/).
# Highlights in DeePMD-kit v2.0
* [Model compression](doc/freeze/compress.md). Accelerate the efficiency of model inference for 4-15 times.
* [New descriptors](doc/model/overall.md). Including [`se_e2_r`](doc/model/train-se-e2-r.md) and [`se_e3`](doc/model/train-se-e3.md).
* [Hybridization of descriptors](doc/model/train-hybrid.md). Hybrid descriptor constructed from concatenation of several descriptors.
* [Atom type embedding](doc/model/train-se-e2-a-tebd.md). Enable atom type embedding to decline training complexity and refine performance.
* Training and inference the dipole (vector) and polarizability (matrix).
* Split of training and validation dataset.
* Optimized training on GPUs.
## Highlighted features
* **interfaced with TensorFlow**, one of the most popular deep learning frameworks, making the training process highly automatic and efficient, in addition Tensorboard can be used to visualize training procedure.
* **interfaced with high-performance classical MD and quantum (path-integral) MD packages**, i.e., LAMMPS and i-PI, respectively.
* **implements the Deep Potential series models**, which have been successfully applied to finite and extended systems including organic molecules, metals, semiconductors, and insulators, etc.
* **implements MPI and GPU supports**, makes it highly efficient for high performance parallel and distributed computing.
* **highly modularized**, easy to adapt to different descriptors for deep learning based potential energy models.
## License and credits
The project DeePMD-kit is licensed under [GNU LGPLv3.0](./LICENSE).
If you use this code in any future publications, please cite this using
``Han Wang, Linfeng Zhang, Jiequn Han, and Weinan E. "DeePMD-kit: A deep learning package for many-body potential energy representation and molecular dynamics." Computer Physics Communications 228 (2018): 178-184.``
## Deep Potential in a nutshell
The goal of Deep Potential is to employ deep learning techniques and realize an inter-atomic potential energy model that is general, accurate, computationally efficient and scalable. The key component is to respect the extensive and symmetry-invariant properties of a potential energy model by assigning a local reference frame and a local environment to each atom. Each environment contains a finite number of atoms, whose local coordinates are arranged in a symmetry preserving way. These local coordinates are then transformed, through a sub-network, to a so-called *atomic energy*. Summing up all the atomic energies gives the potential energy of the system.
The initial proof of concept is in the [Deep Potential][1] paper, which employed an approach that was devised to train the neural network model with the potential energy only. With typical *ab initio* molecular dynamics (AIMD) datasets this is insufficient to reproduce the trajectories. The Deep Potential Molecular Dynamics ([DeePMD][2]) model overcomes this limitation. In addition, the learning process in DeePMD improves significantly over the Deep Potential method thanks to the introduction of a flexible family of loss functions. The NN potential constructed in this way reproduces accurately the AIMD trajectories, both classical and quantum (path integral), in extended and finite systems, at a cost that scales linearly with system size and is always several orders of magnitude lower than that of equivalent AIMD simulations.
Although being highly efficient, the original Deep Potential model satisfies the extensive and symmetry-invariant properties of a potential energy model at the price of introducing discontinuities in the model. This has negligible influence on a trajectory from canonical sampling but might not be sufficient for calculations of dynamical and mechanical properties. These points motivated us to develop the Deep Potential-Smooth Edition ([DeepPot-SE][3]) model, which replaces the non-smooth local frame with a smooth and adaptive embedding network. DeepPot-SE shows great ability in modeling many kinds of systems that are of interests in the fields of physics, chemistry, biology, and materials science.
In addition to building up potential energy models, DeePMD-kit can also be used to build up coarse-grained models. In these models, the quantity that we want to parameterize is the free energy, or the coarse-grained potential, of the coarse-grained particles. See the [DeePCG paper][4] for more details.
# Download and install
Please follow our [GitHub](https://github.com/deepmodeling/deepmd-kit) webpage to download the [latest released version](https://github.com/deepmodeling/deepmd-kit/tree/master) and [development version](https://github.com/deepmodeling/deepmd-kit/tree/devel).
DeePMD-kit offers multiple installation methods. It is recommend using easily methods like [offline packages](doc/install/easy-install.md#offline-packages), [conda](doc/install/easy-install.md#with-conda) and [docker](doc/install/easy-install.md#with-docker).
One may manually install DeePMD-kit by following the instuctions on [installing the Python interface](doc/install/install-from-source.md#install-the-python-interface) and [installing the C++ interface](doc/install/install-from-source.md#install-the-c-interface). The C++ interface is necessary when using DeePMD-kit with LAMMPS, i-PI or GROMACS.
# Use DeePMD-kit
A quick-start on using DeePMD-kit can be found as follows:
- [Prepare data with dpdata](doc/data/dpdata.md)
- [Training a model](doc/train/training.md)
- [Freeze a model](doc/freeze/freeze.md)
- [Test a model](doc/test/test.md)
- [Run MD with LAMMPS](doc/third-party/lammps.md)
A full [document](doc/train/train-input-auto.rst) on options in the training input script is available.
# Advanced
- [Installation](doc/install/index.md)
- [Easy install](doc/install/easy-install.md)
- [Install from source code](doc/install/install-from-source.md)
- [Install LAMMPS](doc/install/install-lammps.md)
- [Install i-PI](doc/install/install-ipi.md)
- [Install GROMACS](doc/install/install-gromacs.md)
- [Building conda packages](doc/install/build-conda.md)
- [Data](doc/data/index.md)
- [System](doc/data/system.md)
- [Formats of a system](doc/data/data-conv.md)
- [Prepare data with dpdata](doc/data/dpdata.md)
- [Model](doc/model/index.md)
- [Overall](doc/model/overall.md)
- [Descriptor `"se_e2_a"`](doc/model/train-se-e2-a.md)
- [Descriptor `"se_e2_r"`](doc/model/train-se-e2-r.md)
- [Descriptor `"se_e3"`](doc/model/train-se-e3.md)
- [Descriptor `"se_atten"`](doc/model/train-se-atten.md)
- [Descriptor `"hybrid"`](doc/model/train-hybrid.md)
- [Descriptor `sel`](doc/model/sel.md)
- [Fit energy](doc/model/train-energy.md)
- [Fit `tensor` like `Dipole` and `Polarizability`](doc/model/train-fitting-tensor.md)
- [Train a Deep Potential model using `type embedding` approach](doc/model/train-se-e2-a-tebd.md)
- [Deep potential long-range](doc/model/dplr.md)
- [Deep Potential - Range Correction (DPRc)](doc/model/dprc.md)
- [Training](doc/train/index.md)
- [Training a model](doc/train/training.md)
- [Advanced options](doc/train/training-advanced.md)
- [Parallel training](doc/train/parallel-training.md)
- [TensorBoard Usage](doc/train/tensorboard.md)
- [Known limitations of using GPUs](doc/train/gpu-limitations.md)
- [Training Parameters](doc/train/train-input-auto.rst)
- [Freeze and Compress](doc/freeze/index.rst)
- [Freeze a model](doc/freeze/freeze.md)
- [Compress a model](doc/freeze/compress.md)
- [Test](doc/test/index.rst)
- [Test a model](doc/test/test.md)
- [Calculate Model Deviation](doc/test/model-deviation.md)
- [Inference](doc/inference/index.rst)
- [Python interface](doc/inference/python.md)
- [C++ interface](doc/inference/cxx.md)
- [Integrate with third-party packages](doc/third-party/index.rst)
- [Use deep potential with ASE](doc/third-party/ase.md)
- [Run MD with LAMMPS](doc/third-party/lammps.md)
- [LAMMPS commands](doc/third-party/lammps-command.md)
- [Run path-integral MD with i-PI](doc/third-party/ipi.md)
- [Run MD with GROMACS](doc/third-party/gromacs.md)
- [Interfaces out of DeePMD-kit](doc/third-party/out-of-deepmd-kit.md)
- [Use NVNMD](doc/nvnmd/index.md)
# Code structure
The code is organized as follows:
* `data/raw`: tools manipulating the raw data files.
* `examples`: examples.
* `deepmd`: DeePMD-kit python modules.
* `source/api_cc`: source code of DeePMD-kit C++ API.
* `source/ipi`: source code of i-PI client.
* `source/lib`: source code of DeePMD-kit library.
* `source/lmp`: source code of Lammps module.
* `source/gmx`: source code of Gromacs plugin.
* `source/op`: tensorflow op implementation. working with library.
# Troubleshooting
- [Model compatibility](doc/troubleshooting/model_compatability.md)
- [Installation](doc/troubleshooting/installation.md)
- [The temperature undulates violently during early stages of MD](doc/troubleshooting/md_energy_undulation.md)
- [MD: cannot run LAMMPS after installing a new version of DeePMD-kit](doc/troubleshooting/md_version_compatibility.md)
- [Do we need to set rcut < half boxsize?](doc/troubleshooting/howtoset_rcut.md)
- [How to set sel?](doc/troubleshooting/howtoset_sel.md)
- [How to control the number of nodes used by a job?](doc/troubleshooting/howtoset_num_nodes.md)
- [How to tune Fitting/embedding-net size?](doc/troubleshooting/howtoset_netsize.md)
# Contributing
See [DeePMD-kit Contributing Guide](CONTRIBUTING.md) to become a contributor! 🤓
[1]: https://arxiv.org/abs/1707.01478
[2]: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.120.143001
[3]: https://arxiv.org/abs/1805.09003
[4]: https://aip.scitation.org/doi/full/10.1063/1.5027645
# DeePMD-kit(Deep Potential Molecular Dynamics)
## 模型介绍
DeePMD-kit是深度势能分子动力学的开源项目。分子动力学是一套分子模拟方法,该方法主要依靠牛顿力学来模拟分子体系的运动。分子动力学在微观世界模拟中起着承载作用,在物理、化学、生物、材料科学以及力学等领域都有着非常重要的应用。
深势科技成功将DeePMD-kit进行了并行化,首次实现了具有AIMD精度的第一性原理分子动力学模拟的商业与原子规模的应用,为分子动力学提供了革命性的高性能解决方案。
## 模型结构
DeePMD-Kit,参考https://docs.deepmodeling.com/projects/deepmd/en/master/index.html
## DeePMD代码参考版本
版本:v2.1.5
原始代码位置:https://github.com/deepmodeling/deepmd-kit
## 数据集
示例中验证的数据集来自:
wget http://pai-blade.oss-accelerate.aliyuncs.com/bladedisc_notebook_binaries/data/disc_deepmd_example/data.tar.gz
tar -xvf data.tar.gz
实际业务测试请选择合适的数据集进行测试。
## 训练
### 环境配置
提供[光源](https://www.sourcefind.cn/#/service-details)拉取的训练的docker镜像:
* 训练镜像:
python依赖安装:
pip3 install -r requirement.txt
### 安装
export ROCM_ROOT=/opt/dtk-22.04.2
DP_VARIANT=rocm python3 -m pip install . -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
### 单卡测试
使用BladeDISC加速的测试命令(此处以单机单卡规模为例说明),请根据实际使用的卡id号调整run.sh中指定的卡号:
bash run.sh
如果需要关闭BladeDISC加速,需要注释掉main.py文件中的如下内容:
disc.enable()
### 性能和准确率数据
| case | 优化前(关闭disc) | 优化后(打开disc) | 性能提升 |
| :---- | ----: | :----: | ---- |
water | 3.1s | 2.7s | 12.9%
GeTe_2_body描述符| 4.06s | 2.67s | 34.2%
| GeTe_hybrid描述符 | 18.5s | 17.8s | 3.7% |
准确率通过对比优化前与优化后的输出文件lcurve.out输出趋势一致进行确认;
## 参考
* https://github.com/deepmodeling/deepmd-kit
<span style="font-size:larger;">DeePMD-kit Manual</span>
========
[![GitHub release](https://img.shields.io/github/release/deepmodeling/deepmd-kit.svg?maxAge=86400)](https://github.com/deepmodeling/deepmd-kit/releases)
[![doi:10.1016/j.cpc.2018.03.016](https://img.shields.io/badge/DOI-10.1016%2Fj.cpc.2018.03.016-blue)](https://doi.org/10.1016/j.cpc.2020.107206)
![Citations](https://citations.njzjz.win/10.1016/j.cpc.2018.03.016)
[![offline packages](https://img.shields.io/github/downloads/deepmodeling/deepmd-kit/total?label=offline%20packages)](https://github.com/deepmodeling/deepmd-kit/releases)
[![conda install](https://img.shields.io/badge/downloads-9k%20total-green.svg?style=round-square&label=conda%20install)](https://anaconda.org/deepmodeling/deepmd-kit)
[![pip install](https://img.shields.io/pypi/dm/deepmd-kit?label=pip%20install)](https://pypi.org/project/deepmd-kit)
[![docker pull](https://img.shields.io/docker/pulls/deepmodeling/deepmd-kit)](https://hub.docker.com/r/deepmodeling/deepmd-kit)
[![Documentation Status](https://readthedocs.org/projects/deepmd/badge/)](https://deepmd.readthedocs.io/)
# Table of contents
- [About DeePMD-kit](#about-deepmd-kit)
- [Highlights in v2.0](#highlights-in-deepmd-kit-v2.0)
- [Highlighted features](#highlighted-features)
- [License and credits](#license-and-credits)
- [Deep Potential in a nutshell](#deep-potential-in-a-nutshell)
- [Download and install](#download-and-install)
- [Use DeePMD-kit](#use-deepmd-kit)
- [Code structure](#code-structure)
- [Troubleshooting](#troubleshooting)
# About DeePMD-kit
DeePMD-kit is a package written in Python/C++, designed to minimize the effort required to build deep learning based model of interatomic potential energy and force field and to perform molecular dynamics (MD). This brings new hopes to addressing the accuracy-versus-efficiency dilemma in molecular simulations. Applications of DeePMD-kit span from finite molecules to extended systems and from metallic systems to chemically bonded systems.
For more information, check the [documentation](https://deepmd.readthedocs.io/).
# Highlights in DeePMD-kit v2.0
* [Model compression](doc/freeze/compress.md). Accelerate the efficiency of model inference for 4-15 times.
* [New descriptors](doc/model/overall.md). Including [`se_e2_r`](doc/model/train-se-e2-r.md) and [`se_e3`](doc/model/train-se-e3.md).
* [Hybridization of descriptors](doc/model/train-hybrid.md). Hybrid descriptor constructed from concatenation of several descriptors.
* [Atom type embedding](doc/model/train-se-e2-a-tebd.md). Enable atom type embedding to decline training complexity and refine performance.
* Training and inference the dipole (vector) and polarizability (matrix).
* Split of training and validation dataset.
* Optimized training on GPUs.
## Highlighted features
* **interfaced with TensorFlow**, one of the most popular deep learning frameworks, making the training process highly automatic and efficient, in addition Tensorboard can be used to visualize training procedure.
* **interfaced with high-performance classical MD and quantum (path-integral) MD packages**, i.e., LAMMPS and i-PI, respectively.
* **implements the Deep Potential series models**, which have been successfully applied to finite and extended systems including organic molecules, metals, semiconductors, and insulators, etc.
* **implements MPI and GPU supports**, makes it highly efficient for high performance parallel and distributed computing.
* **highly modularized**, easy to adapt to different descriptors for deep learning based potential energy models.
## License and credits
The project DeePMD-kit is licensed under [GNU LGPLv3.0](./LICENSE).
If you use this code in any future publications, please cite this using
``Han Wang, Linfeng Zhang, Jiequn Han, and Weinan E. "DeePMD-kit: A deep learning package for many-body potential energy representation and molecular dynamics." Computer Physics Communications 228 (2018): 178-184.``
## Deep Potential in a nutshell
The goal of Deep Potential is to employ deep learning techniques and realize an inter-atomic potential energy model that is general, accurate, computationally efficient and scalable. The key component is to respect the extensive and symmetry-invariant properties of a potential energy model by assigning a local reference frame and a local environment to each atom. Each environment contains a finite number of atoms, whose local coordinates are arranged in a symmetry preserving way. These local coordinates are then transformed, through a sub-network, to a so-called *atomic energy*. Summing up all the atomic energies gives the potential energy of the system.
The initial proof of concept is in the [Deep Potential][1] paper, which employed an approach that was devised to train the neural network model with the potential energy only. With typical *ab initio* molecular dynamics (AIMD) datasets this is insufficient to reproduce the trajectories. The Deep Potential Molecular Dynamics ([DeePMD][2]) model overcomes this limitation. In addition, the learning process in DeePMD improves significantly over the Deep Potential method thanks to the introduction of a flexible family of loss functions. The NN potential constructed in this way reproduces accurately the AIMD trajectories, both classical and quantum (path integral), in extended and finite systems, at a cost that scales linearly with system size and is always several orders of magnitude lower than that of equivalent AIMD simulations.
Although being highly efficient, the original Deep Potential model satisfies the extensive and symmetry-invariant properties of a potential energy model at the price of introducing discontinuities in the model. This has negligible influence on a trajectory from canonical sampling but might not be sufficient for calculations of dynamical and mechanical properties. These points motivated us to develop the Deep Potential-Smooth Edition ([DeepPot-SE][3]) model, which replaces the non-smooth local frame with a smooth and adaptive embedding network. DeepPot-SE shows great ability in modeling many kinds of systems that are of interests in the fields of physics, chemistry, biology, and materials science.
In addition to building up potential energy models, DeePMD-kit can also be used to build up coarse-grained models. In these models, the quantity that we want to parameterize is the free energy, or the coarse-grained potential, of the coarse-grained particles. See the [DeePCG paper][4] for more details.
# Download and install
Please follow our [GitHub](https://github.com/deepmodeling/deepmd-kit) webpage to download the [latest released version](https://github.com/deepmodeling/deepmd-kit/tree/master) and [development version](https://github.com/deepmodeling/deepmd-kit/tree/devel).
DeePMD-kit offers multiple installation methods. It is recommend using easily methods like [offline packages](doc/install/easy-install.md#offline-packages), [conda](doc/install/easy-install.md#with-conda) and [docker](doc/install/easy-install.md#with-docker).
One may manually install DeePMD-kit by following the instuctions on [installing the Python interface](doc/install/install-from-source.md#install-the-python-interface) and [installing the C++ interface](doc/install/install-from-source.md#install-the-c-interface). The C++ interface is necessary when using DeePMD-kit with LAMMPS, i-PI or GROMACS.
# Use DeePMD-kit
A quick-start on using DeePMD-kit can be found as follows:
- [Prepare data with dpdata](doc/data/dpdata.md)
- [Training a model](doc/train/training.md)
- [Freeze a model](doc/freeze/freeze.md)
- [Test a model](doc/test/test.md)
- [Run MD with LAMMPS](doc/third-party/lammps.md)
A full [document](doc/train/train-input-auto.rst) on options in the training input script is available.
# Advanced
- [Installation](doc/install/index.md)
- [Easy install](doc/install/easy-install.md)
- [Install from source code](doc/install/install-from-source.md)
- [Install LAMMPS](doc/install/install-lammps.md)
- [Install i-PI](doc/install/install-ipi.md)
- [Install GROMACS](doc/install/install-gromacs.md)
- [Building conda packages](doc/install/build-conda.md)
- [Data](doc/data/index.md)
- [System](doc/data/system.md)
- [Formats of a system](doc/data/data-conv.md)
- [Prepare data with dpdata](doc/data/dpdata.md)
- [Model](doc/model/index.md)
- [Overall](doc/model/overall.md)
- [Descriptor `"se_e2_a"`](doc/model/train-se-e2-a.md)
- [Descriptor `"se_e2_r"`](doc/model/train-se-e2-r.md)
- [Descriptor `"se_e3"`](doc/model/train-se-e3.md)
- [Descriptor `"se_atten"`](doc/model/train-se-atten.md)
- [Descriptor `"hybrid"`](doc/model/train-hybrid.md)
- [Descriptor `sel`](doc/model/sel.md)
- [Fit energy](doc/model/train-energy.md)
- [Fit `tensor` like `Dipole` and `Polarizability`](doc/model/train-fitting-tensor.md)
- [Train a Deep Potential model using `type embedding` approach](doc/model/train-se-e2-a-tebd.md)
- [Deep potential long-range](doc/model/dplr.md)
- [Deep Potential - Range Correction (DPRc)](doc/model/dprc.md)
- [Training](doc/train/index.md)
- [Training a model](doc/train/training.md)
- [Advanced options](doc/train/training-advanced.md)
- [Parallel training](doc/train/parallel-training.md)
- [TensorBoard Usage](doc/train/tensorboard.md)
- [Known limitations of using GPUs](doc/train/gpu-limitations.md)
- [Training Parameters](doc/train/train-input-auto.rst)
- [Freeze and Compress](doc/freeze/index.rst)
- [Freeze a model](doc/freeze/freeze.md)
- [Compress a model](doc/freeze/compress.md)
- [Test](doc/test/index.rst)
- [Test a model](doc/test/test.md)
- [Calculate Model Deviation](doc/test/model-deviation.md)
- [Inference](doc/inference/index.rst)
- [Python interface](doc/inference/python.md)
- [C++ interface](doc/inference/cxx.md)
- [Integrate with third-party packages](doc/third-party/index.rst)
- [Use deep potential with ASE](doc/third-party/ase.md)
- [Run MD with LAMMPS](doc/third-party/lammps.md)
- [LAMMPS commands](doc/third-party/lammps-command.md)
- [Run path-integral MD with i-PI](doc/third-party/ipi.md)
- [Run MD with GROMACS](doc/third-party/gromacs.md)
- [Interfaces out of DeePMD-kit](doc/third-party/out-of-deepmd-kit.md)
- [Use NVNMD](doc/nvnmd/index.md)
# Code structure
The code is organized as follows:
* `data/raw`: tools manipulating the raw data files.
* `examples`: examples.
* `deepmd`: DeePMD-kit python modules.
* `source/api_cc`: source code of DeePMD-kit C++ API.
* `source/ipi`: source code of i-PI client.
* `source/lib`: source code of DeePMD-kit library.
* `source/lmp`: source code of Lammps module.
* `source/gmx`: source code of Gromacs plugin.
* `source/op`: tensorflow op implementation. working with library.
# Troubleshooting
- [Model compatibility](doc/troubleshooting/model_compatability.md)
- [Installation](doc/troubleshooting/installation.md)
- [The temperature undulates violently during early stages of MD](doc/troubleshooting/md_energy_undulation.md)
- [MD: cannot run LAMMPS after installing a new version of DeePMD-kit](doc/troubleshooting/md_version_compatibility.md)
- [Do we need to set rcut < half boxsize?](doc/troubleshooting/howtoset_rcut.md)
- [How to set sel?](doc/troubleshooting/howtoset_sel.md)
- [How to control the number of nodes used by a job?](doc/troubleshooting/howtoset_num_nodes.md)
- [How to tune Fitting/embedding-net size?](doc/troubleshooting/howtoset_netsize.md)
# Contributing
See [DeePMD-kit Contributing Guide](CONTRIBUTING.md) to become a contributor! 🤓
[1]: https://arxiv.org/abs/1707.01478
[2]: https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.120.143001
[3]: https://arxiv.org/abs/1805.09003
[4]: https://aip.scitation.org/doi/full/10.1063/1.5027645
# ninja log v5
95 6803 1678676633510414156 op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o 525dcac79cc0478f
90 6642 1678676633350414160 op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o 1a165824bbe04012
2844 3278 1678676629968414238 lib/libdeepmd.so 9a286342570bf237
90 7146 1678676633850414149 op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o 5ced4a05b5cb2556
102 8722 1678676635425414112 op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o 8bd468a591a7e9d4
106 2843 1678676629545414248 lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o df42835fc42a0f50
96 1555 1678676628260414278 op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o 4e6e556b0ed0c96a
88 10588 1678676637269414069 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o fcffb538ce6c581a
104 1975 1678676628673414268 lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o f2779120c7b2ed9
108 836 1678676627544414295 lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o ab721da8cab8c358
106 1858 1678676628566414271 lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o 7b167e50d5a8d0bb
102 1737 1678676628441414274 lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o c21d7bc48597dbd3
92 8656 1678676635365414113 op/CMakeFiles/op_abi.dir/prod_force.cc.o b0354c53d2e22950
89 7193 1678676633901414147 op/CMakeFiles/op_abi.dir/map_aparam.cc.o da75004874cf2b21
103 1519 1678676628226414279 lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o 17d94258452659f
107 1416 1678676628121414281 lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o 18f05d83c7bdb8b
103 1273 1678676627979414284 lib/CMakeFiles/deepmd.dir/src/coord.cc.o 92fce5c6dc718558
111 711 1678676627420414297 lib/CMakeFiles/deepmd.dir/src/utilities.cc.o 23b2230cce53be82
109 656 1678676627364414299 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o a7824694e232daa3
98 6957 1678676633665414153 op/CMakeFiles/op_grads.dir/custom_op.cc.o 57ac1f173e973a0b
105 341 1678676627049414306 lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o b42fc32d68f6d9ca
97 2922 1678676629628414246 op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o 99441888ad88f1c7
111 1731 1678676628428414274 lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o d89fca15848607b1
104 745 1678676627454414297 lib/CMakeFiles/deepmd.dir/src/gelu.cc.o f50516c36b3363e4
98 7914 1678676634614414131 op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o 365db87808ef488a
17 2964 1678689318431225820 build.ninja e02e09dc2f8644f1
110 302 1678676627009414307 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o 9aec7b1346eabee5
108 816 1678676627524414295 lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o fcd48443e5ca91e9
86 6876 1678676633584414155 op/CMakeFiles/op_abi.dir/custom_op.cc.o 33b52205cf522b26
100 7712 1678676634419414135 op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o c0517d6bd10b493a
91 9153 1678676635861414102 op/CMakeFiles/op_abi.dir/pair_tab.cc.o 64a92556284adaa1
92 9182 1678676635891414101 op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o 6a7d52f514ad6baf
93 8310 1678676635015414122 op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o 9f7975ac7c8754f5
91 9213 1678676635912414101 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o a7ebbdbc62f7b348
87 11243 1678676637951414054 op/CMakeFiles/op_abi.dir/descrpt.cc.o 34205c91d3f74d01
90 9306 1678676636015414098 op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o db2709bc1efc2d17
11287 11803 1678676638499414041 op/libop_abi.so 1c34253dcc63de09
99 8397 1678676635105414119 op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o 76af5ae76041e16
94 8267 1678676634975414122 op/CMakeFiles/op_abi.dir/soft_min.cc.o e7e6af178c38993b
108 932 1678676627641414292 lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o 81d564f40389faa7
97 11286 1678676637994414053 op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o 49eaab1714336b5a
96 9332 1678676636040414098 op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o f1aedcf66e7647e8
11803 12438 0 CMakeFiles/install.util de476d5b443f4baf
110 741 1678676627449414297 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o 938f25451d30447
93 7237 1678676633944414146 op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o 8a095b21c3959cbd
10248 10595 1678676637298414069 op/libop_grads.so bbf34e07bf15b334
87 10438 1678676637146414072 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o fe6a517b1d3d8055
94 7626 1678676634333414137 op/CMakeFiles/op_abi.dir/soft_min_force.cc.o 6cdd2b657bde11be
89 7621 1678676634316414138 op/CMakeFiles/op_abi.dir/ewald_recp.cc.o 2714dd591495456a
95 7484 1678676634192414141 op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o b7e84fa44f93891b
103 967 1678676627674414292 lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o eb66df14a79c1ff5
109 942 1678676627650414292 lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o 4e2136012546788d
104 1757 1678676628463414273 lib/CMakeFiles/deepmd.dir/src/ewald.cc.o 7f34eb31a113daff
89 7233 1678676633939414146 op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o 8775588b3f21636a
93 8802 1678676635510414110 op/CMakeFiles/op_abi.dir/prod_virial.cc.o 5309c70111894c86
106 1229 1678676627936414285 lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o 8ef32e335d04766
99 10247 1678676636952414077 op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o 95615e0013c3c6de
98 8564 1678676635267414116 op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o 221cc17dbc5dfe55
109 856 1678676627565414294 lib/CMakeFiles/deepmd.dir/src/region.cc.o 1c5c3a9a9e5931e9
94 8584 1678676635292414115 op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o e9495df76c993779
110 777 1678676627486414296 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o e8ac298b1d97fde0
107 844 1678676627553414294 lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o f6601f1f5b7a01e8
91 9995 1678676636702414082 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o 6e3c42a4a6cb5733
88 10354 1678676637061414074 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o f478c7c06ed14ab7
95 9150 1678676635851414102 op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o 82ecc75bbb37f54d
28 144 1678689318603226429 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o 6b9ca3b69b79dd3
21 155 1678689318614226468 lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o 84aaa5d4be6f4682
26 573 1678689319032227946 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o 5c31dd814aad3140
27 620 1678689319079228112 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o 678944be5019cc58
24 638 1678689319097228176 lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o 5b26d8904a28f7ae
20 687 1678689319147228353 lib/CMakeFiles/deepmd.dir/src/gelu.cc.o 34f48b243408a38b
26 695 1678689319155228381 lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o 9f60492954d289a2
25 699 1678689319159228395 lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o 35f17d87c77a1f9d
27 705 1678689319165228417 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o f665f4abe9d7654d
25 718 1678689319178228463 lib/CMakeFiles/deepmd.dir/src/region.cc.o 66cb9ba19ef896e
29 732 1678689319192228512 lib/CMakeFiles/deepmd.dir/src/utilities.cc.o f20ce034e643373d
24 783 1678689319243228692 lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o 4db59fa2b62eda2d
24 890 1678689319349229067 lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o 1c5a916288dab940
19 980 1678689319439229386 lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o c2a0593a2dd7f00a
18 1039 1678689319498229594 lib/CMakeFiles/deepmd.dir/src/coord.cc.o 94bc9408021991cc
22 1062 1678689319521229676 lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o f2ae9e8d2d09f91a
28 1197 1678689319656230154 lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o 31c9c1d6c6e40494
23 1205 1678689319665230185 lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o 13ce43eaa1c4209
18 1468 1678689319927231112 lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o 114da57f8790bc48
20 1588 1678689320047231536 lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o 3024198b8db691fc
12 1595 1678689320055231565 op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o 9714b2d629b47639
18 1629 1678689320088231682 lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o 957764d42cb3331f
22 1722 1678689320181232010 lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o f72455783e55ad5d
19 1811 1678689320271232329 lib/CMakeFiles/deepmd.dir/src/ewald.cc.o bef1a9f304822dcf
21 2362 1678689320822234278 lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o af1263e3a86a8780
2362 2495 1678689320954234744 lib/libdeepmd.so 9a286342570bf237
14 2539 1678689320998234900 op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o 572da5ba858f92
15 5397 1678689323856245009 op/CMakeFiles/op_grads.dir/custom_op.cc.o cf888dac68243791
11 5926 1678689324385246880 op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o 709ca6f2496116b9
4 6086 1678689324545247446 op/CMakeFiles/op_abi.dir/custom_op.cc.o 3fbf7f73a8fabd1b
9 6148 1678689324608247669 op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o f0358b08dc59f3af
6 6223 1678689324682247931 op/CMakeFiles/op_abi.dir/map_aparam.cc.o 921016de902d09c2
10 6339 1678689324798248341 op/CMakeFiles/op_abi.dir/soft_min_force.cc.o af746e6fd6b4ebf9
6 6357 1678689324816248405 op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o 92bb69c26c3f76f
6 6438 1678689324897248692 op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o 7dcbc4de2354fa52
10 6511 1678689324970248950 op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o 71191778f8c9043b
11 6525 1678689324984248999 op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o ec68fa8fcfa327c7
15 6547 1678689325006249077 op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o 25d3dbca20e39133
5 6579 1678689325039249194 op/CMakeFiles/op_abi.dir/ewald_recp.cc.o 5ec3252035a4a95a
17 6594 1678689325053249243 op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o 141cfaf1a5c2f096
8 6962 1678689325422250548 op/CMakeFiles/op_abi.dir/prod_force.cc.o 7f44623f6fa93395
6 6992 1678689325451250651 op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o 2a0029967b75137
17 7181 1678689325641251323 op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o 75e3213d2939f91c
9 7268 1678689325727251627 op/CMakeFiles/op_abi.dir/prod_virial.cc.o f69df472e8db88fa
16 7353 1678689325812251928 op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o 643cd91e769385bf
10 7456 1678689325915252292 op/CMakeFiles/op_abi.dir/soft_min.cc.o 575837efa7237061
9 7663 1678689326122253024 op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o 3438a31fbdec9d3b
16 7702 1678689326161253162 op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o 3881af0ab874cf7e
11 7733 1678689326192253272 op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o b51145af720c3196
7 7892 1678689326352253838 op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o 629d22efc515ba39
8 7904 1678689326363253877 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o 3150b57029610db2
8 7942 1678689326402254014 op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o eb5ff907f8346c6b
7 8084 1678689326543254513 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o 609f868b29b9bc17
17 8105 1678689326564254587 op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o 4e81acc1684cac42
4 8144 1678689326603254726 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o 4a6bb84b369ab844
7 8398 1678689326857255624 op/CMakeFiles/op_abi.dir/pair_tab.cc.o 3c30e0f6e692bed9
8105 8460 1678689326917255836 op/libop_grads.so 9c28f205edaa0bf2
12 8801 1678689327261257053 op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o d331991013845f88
4 8934 1678689327394257523 op/CMakeFiles/op_abi.dir/descrpt.cc.o 5b89b289371169d4
5 8946 1678689327406257566 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o 1901bc0e26f860ae
5 9036 1678689327495257881 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o 7d9a296f65750bd8
15 10467 1678689328927262946 op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o 741f1f55a3b86bf4
10467 10796 1678689329254264102 op/libop_abi.so 122f13be958a9d0d
10796 10812 0 CMakeFiles/install.util 83522685fff3c70e
# This is the CMakeCache file.
# For build in directory: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build
# It was generated by CMake: /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//No help, variable specified on the command line.
BUILD_CPP_IF:BOOL=FALSE
//No help, variable specified on the command line.
BUILD_PY_IF:BOOL=TRUE
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar
//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Release
//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//C compiler
CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake.
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/pkgRedirects
//No help, variable specified on the command line.
CMAKE_INSTALL_PREFIX:PATH=/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//No help, variable specified on the command line.
CMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//No help, variable specified on the command line.
CMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/skbuild/resources/cmake
//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=DeePMD
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
DeePMD_BINARY_DIR:STATIC=/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build
//Value Computed by CMake
DeePMD_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
DeePMD_SOURCE_DIR:STATIC=/root/deepmd-kit/source
//Git command line client
GIT_EXECUTABLE:FILEPATH=/usr/bin/git
//CXX compiler flags for OpenMP parallelization
OpenMP_CXX_FLAGS:STRING=-fopenmp
//CXX compiler libraries for OpenMP parallelization
OpenMP_CXX_LIB_NAMES:STRING=gomp;pthread
//C compiler flags for OpenMP parallelization
OpenMP_C_FLAGS:STRING=-fopenmp
//C compiler libraries for OpenMP parallelization
OpenMP_C_LIB_NAMES:STRING=gomp;pthread
//Path to the gomp library for OpenMP
OpenMP_gomp_LIBRARY:FILEPATH=/usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so
//Path to the pthread library for OpenMP
OpenMP_pthread_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpthread.so
//No help, variable specified on the command line.
PYTHON_EXECUTABLE:PATH=/usr/bin/python3
//No help, variable specified on the command line.
PYTHON_INCLUDE_DIR:PATH=/usr/include/python3.6m
//No help, variable specified on the command line.
PYTHON_LIBRARY:PATH=/usr/lib/x86_64-linux-gnu/libpython3.6m.so
//No help, variable specified on the command line.
PYTHON_VERSION_STRING:STRING=3.6.9
//No help, variable specified on the command line.
Python3_EXECUTABLE:PATH=/usr/bin/python3
//No help, variable specified on the command line.
Python3_FIND_REGISTRY:STRING=NEVER
//No help, variable specified on the command line.
Python3_INCLUDE_DIR:PATH=/usr/include/python3.6m
//No help, variable specified on the command line.
Python3_NumPy_INCLUDE_DIRS:PATH=/usr/local/lib/python3.6/dist-packages/numpy/core/include
//No help, variable specified on the command line.
Python3_ROOT_DIR:PATH=/usr
//No help, variable specified on the command line.
Python_EXECUTABLE:PATH=/usr/bin/python3
//No help, variable specified on the command line.
Python_FIND_REGISTRY:STRING=NEVER
//No help, variable specified on the command line.
Python_INCLUDE_DIR:PATH=/usr/include/python3.6m
//No help, variable specified on the command line.
Python_NumPy_INCLUDE_DIRS:PATH=/usr/local/lib/python3.6/dist-packages/numpy/core/include
//No help, variable specified on the command line.
Python_ROOT_DIR:PATH=/usr
//No help, variable specified on the command line.
TENSORFLOW_ROOT:STRING=/usr/local/lib/python3.6/dist-packages/tensorflow
//Path to a library.
TensorFlowFramework_LIBRARY_tensorflow_framework:FILEPATH=/usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2
//Path to a file.
TensorFlow_INCLUDE_DIRS:PATH=/usr/local/lib/python3.6/dist-packages/tensorflow/include
//Path to a file.
TensorFlow_INCLUDE_DIRS_GOOGLE:PATH=/usr/local/lib/python3.6/dist-packages/tensorflow/include
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=25
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_AR
CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Ninja
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
//Have library pthreads
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/root/deepmd-kit/source
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=4
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Git
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v2.25.1()]
//Details about finding OpenMP
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][TRUE][c ][v4.5()]
//Details about finding OpenMP_C
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_C:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so][/usr/lib/x86_64-linux-gnu/libpthread.so][v4.5()]
//Details about finding OpenMP_CXX
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_CXX:INTERNAL=[-fopenmp][/usr/lib/gcc/x86_64-linux-gnu/7/libgomp.so][/usr/lib/x86_64-linux-gnu/libpthread.so][v4.5()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
OpenMP_COMPILE_RESULT_CXX_fopenmp:INTERNAL=TRUE
//Result of TRY_COMPILE
OpenMP_COMPILE_RESULT_C_fopenmp:INTERNAL=TRUE
//ADVANCED property for variable: OpenMP_CXX_FLAGS
OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_CXX_LIB_NAMES
OpenMP_CXX_LIB_NAMES-ADVANCED:INTERNAL=1
//CXX compiler's OpenMP specification date
OpenMP_CXX_SPEC_DATE:INTERNAL=201511
//ADVANCED property for variable: OpenMP_C_FLAGS
OpenMP_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_C_LIB_NAMES
OpenMP_C_LIB_NAMES-ADVANCED:INTERNAL=1
//C compiler's OpenMP specification date
OpenMP_C_SPEC_DATE:INTERNAL=201511
//Result of TRY_COMPILE
OpenMP_SPECTEST_CXX_:INTERNAL=TRUE
//Result of TRY_COMPILE
OpenMP_SPECTEST_C_:INTERNAL=TRUE
//ADVANCED property for variable: OpenMP_gomp_LIBRARY
OpenMP_gomp_LIBRARY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OpenMP_pthread_LIBRARY
OpenMP_pthread_LIBRARY-ADVANCED:INTERNAL=1
//No help, variable specified on the command line.
SKBUILD:INTERNAL=TRUE
//Result of TRY_COMPILE
TENSORFLOW_VERSION_COMPILE_RESULT_VAR:INTERNAL=TRUE
//Result of try_run()
TENSORFLOW_VERSION_RUN_RESULT_VAR:INTERNAL=0
//linker supports push/pop state
_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE
set(CMAKE_C_COMPILER "/usr/bin/cc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "7.5.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
set(CMAKE_C17_COMPILE_FEATURES "")
set(CMAKE_C23_COMPILE_FEATURES "")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC 1)
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_C_COMPILER_ENV_VAR "CC")
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "8")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "7.5.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "")
set(CMAKE_CXX23_COMPILE_FEATURES "")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-7")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX 1)
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/7;/usr/include/x86_64-linux-gnu/c++/7;/usr/include/c++/7/backward;/usr/lib/gcc/x86_64-linux-gnu/7/include;/usr/local/include;/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed;/usr/include/x86_64-linux-gnu;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-GU1KWh
Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_08e87 && [1/2] Building C object CMakeFiles/cmTC_08e87.dir/src.c.o
[2/2] Linking C executable cmTC_08e87
FAILED: cmTC_08e87
: && /usr/bin/cc CMakeFiles/cmTC_08e87.dir/src.c.o -o cmTC_08e87 && :
CMakeFiles/cmTC_08e87.dir/src.c.o: In function `main':
src.c:(.text+0x3e): undefined reference to `pthread_create'
src.c:(.text+0x4a): undefined reference to `pthread_detach'
src.c:(.text+0x56): undefined reference to `pthread_cancel'
src.c:(.text+0x67): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-MeJDCi
Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_e25c5 && [1/2] Building C object CMakeFiles/cmTC_e25c5.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_e25c5
FAILED: cmTC_e25c5
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_e25c5.dir/CheckFunctionExists.c.o -o cmTC_e25c5 -lpthreads && :
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:
Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-maaLfJ
Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_1daa7 && [1/2] Building C object CMakeFiles/cmTC_1daa7.dir/src.c.o
[2/2] Linking C executable cmTC_1daa7
FAILED: cmTC_1daa7
: && /usr/bin/cc CMakeFiles/cmTC_1daa7.dir/src.c.o -o cmTC_1daa7 && :
CMakeFiles/cmTC_1daa7.dir/src.c.o: In function `main':
src.c:(.text+0x3e): undefined reference to `pthread_create'
src.c:(.text+0x4a): undefined reference to `pthread_detach'
src.c:(.text+0x56): undefined reference to `pthread_cancel'
src.c:(.text+0x67): undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Source file was:
#include <pthread.h>
static void* test_func(void* data)
{
return data;
}
int main(void)
{
pthread_t thread;
pthread_create(&thread, NULL, test_func, NULL);
pthread_detach(thread);
pthread_cancel(thread);
pthread_join(thread, NULL);
pthread_atfork(NULL, NULL, NULL);
pthread_exit(NULL);
return 0;
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-2YQCXJ
Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_9db68 && [1/2] Building C object CMakeFiles/cmTC_9db68.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_9db68
FAILED: cmTC_9db68
: && /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_9db68.dir/CheckFunctionExists.c.o -o cmTC_9db68 -lpthreads && :
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/uninstall.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/lammps.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/edit_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/rebuild_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/list_install_components.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/install.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/install/local.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/install/strip.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/edit_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/rebuild_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/list_install_components.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/install.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/install/local.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/install/strip.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/edit_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/rebuild_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/list_install_components.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/install.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/install/local.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/install/strip.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/CMakeFiles/edit_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/CMakeFiles/rebuild_cache.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/CMakeFiles/list_install_components.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/CMakeFiles/install.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/CMakeFiles/install/local.dir
/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/CMakeFiles/install/strip.dir
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
# CMAKE generated file: DO NOT EDIT!
# Generated by "Ninja" Generator, CMake Version 3.25
# This file contains all the rules used to get the outputs files
# built from the input files.
# It is included in the main 'build.ninja'.
# =============================================================================
# Project: DeePMD
# Configurations: Release
# =============================================================================
# =============================================================================
#############################################
# Rule for running custom commands.
rule CUSTOM_COMMAND
command = $COMMAND
description = $DESC
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__op_abi_Release
depfile = $DEP_FILE
deps = gcc
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for linking CXX shared module.
rule CXX_MODULE_LIBRARY_LINKER__op_abi_Release
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
description = Linking CXX shared module $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__op_grads_Release
depfile = $DEP_FILE
deps = gcc
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for linking CXX shared module.
rule CXX_MODULE_LIBRARY_LINKER__op_grads_Release
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
description = Linking CXX shared module $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for compiling CXX files.
rule CXX_COMPILER__deepmd_Release
depfile = $DEP_FILE
deps = gcc
command = /usr/bin/c++ $DEFINES $INCLUDES $FLAGS -MD -MT $out -MF $DEP_FILE -o $out -c $in
description = Building CXX object $out
#############################################
# Rule for linking CXX shared library.
rule CXX_SHARED_LIBRARY_LINKER__deepmd_Release
command = $PRE_LINK && /usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && $POST_BUILD
description = Linking CXX shared library $TARGET_FILE
restat = $RESTAT
#############################################
# Rule for re-running cmake.
rule RERUN_CMAKE
command = /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build
description = Re-running CMake...
generator = 1
#############################################
# Rule for cleaning all built files.
rule CLEAN
command = /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja $FILE_ARG -t clean $TARGETS
description = Cleaning all built files...
#############################################
# Rule for printing all primary targets available.
rule HELP
command = /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja -t targets
description = All primary targets available:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment