diff --git a/README.md b/README.md
index 7f0ed9ca513b9cc01277e3a84f8f52cb6171cc13..910642836eebcfc48e50c39812bdf44c0b853ed2 100644
--- a/README.md
+++ b/README.md
@@ -1,165 +1,60 @@
-DeePMD-kit Manual
-========
-[](https://github.com/deepmodeling/deepmd-kit/releases)
-[](https://doi.org/10.1016/j.cpc.2020.107206)
-
-[](https://github.com/deepmodeling/deepmd-kit/releases)
-[](https://anaconda.org/deepmodeling/deepmd-kit)
-[](https://pypi.org/project/deepmd-kit)
-[](https://hub.docker.com/r/deepmodeling/deepmd-kit)
-[](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
+
diff --git a/README_deepmd.md b/README_deepmd.md
new file mode 100644
index 0000000000000000000000000000000000000000..7f0ed9ca513b9cc01277e3a84f8f52cb6171cc13
--- /dev/null
+++ b/README_deepmd.md
@@ -0,0 +1,165 @@
+DeePMD-kit Manual
+========
+[](https://github.com/deepmodeling/deepmd-kit/releases)
+[](https://doi.org/10.1016/j.cpc.2020.107206)
+
+[](https://github.com/deepmodeling/deepmd-kit/releases)
+[](https://anaconda.org/deepmodeling/deepmd-kit)
+[](https://pypi.org/project/deepmd-kit)
+[](https://hub.docker.com/r/deepmodeling/deepmd-kit)
+[](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
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/.ninja_deps b/_skbuild/linux-x86_64-3.6/cmake-build/.ninja_deps
deleted file mode 100644
index f980e6c17e7863ac2454b37fa7da193f2df4e036..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/.ninja_deps and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/.ninja_log b/_skbuild/linux-x86_64-3.6/cmake-build/.ninja_log
deleted file mode 100644
index 7d98e5dd742cce561947fc1afa0a1e0c9757543b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/.ninja_log
+++ /dev/null
@@ -1,130 +0,0 @@
-# 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
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeCache.txt b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeCache.txt
deleted file mode 100644
index e3fd76b7f7b5f0711d17dc842d86cd7d0dffb57e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeCache.txt
+++ /dev/null
@@ -1,498 +0,0 @@
-# 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
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeCCompiler.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeCCompiler.cmake
deleted file mode 100644
index fc343d1b467ecb2d970f1c8b5cf85aba201b7cab..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeCCompiler.cmake
+++ /dev/null
@@ -1,72 +0,0 @@
-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 "")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeCXXCompiler.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeCXXCompiler.cmake
deleted file mode 100644
index 2d01f497356b2d6db87c3bf60f29c3639f990a63..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeCXXCompiler.cmake
+++ /dev/null
@@ -1,83 +0,0 @@
-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 "")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_C.bin b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_C.bin
deleted file mode 100755
index 050c07ecf15540a149c24061727295c5c65b2a0b..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_C.bin and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_CXX.bin b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_CXX.bin
deleted file mode 100755
index acdc3e43faef32df97d4d2fb8d5baef30e98e6e8..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_CXX.bin and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/CMakeCCompilerId.c b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/CMakeCCompilerId.c
deleted file mode 100644
index a83e3782cb776bf232a6ca3104d25dd7c92ea8c5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/CMakeCCompilerId.c
+++ /dev/null
@@ -1,868 +0,0 @@
-#ifdef __cplusplus
-# error "A C++ compiler has been selected for C."
-#endif
-
-#if defined(__18CXX)
-# define ID_VOID_MAIN
-#endif
-#if defined(__CLASSIC_C__)
-/* cv-qualifiers did not exist in K&R C */
-# define const
-# define volatile
-#endif
-
-#if !defined(__has_include)
-/* If the compiler does not have __has_include, pretend the answer is
- always no. */
-# define __has_include(x) 0
-#endif
-
-
-/* Version number components: V=Version, R=Revision, P=Patch
- Version date components: YYYY=Year, MM=Month, DD=Day */
-
-#if defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# if defined(__GNUC__)
-# define SIMULATE_ID "GNU"
-# endif
- /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
- except that a few beta releases use the old format with V=2021. */
-# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# if defined(__INTEL_COMPILER_UPDATE)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-# else
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-# endif
-# else
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
- /* The third version component from --version is an update index,
- but no macro is provided for it. */
-# define COMPILER_VERSION_PATCH DEC(0)
-# endif
-# if defined(__INTEL_COMPILER_BUILD_DATE)
- /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-# endif
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# if defined(__GNUC__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-# elif defined(__GNUG__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-# endif
-# if defined(__GNUC_MINOR__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-# define COMPILER_ID "IntelLLVM"
-#if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-#endif
-#if defined(__GNUC__)
-# define SIMULATE_ID "GNU"
-#endif
-/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
- * later. Look for 6 digit vs. 8 digit version number to decide encoding.
- * VVVV is no smaller than the current year when a version is released.
- */
-#if __INTEL_LLVM_COMPILER < 1000000L
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-#else
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-#endif
-#if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-#endif
-#if defined(__GNUC__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-#elif defined(__GNUG__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-#endif
-#if defined(__GNUC_MINOR__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-#endif
-#if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-#endif
-
-#elif defined(__PATHCC__)
-# define COMPILER_ID "PathScale"
-# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-# if defined(__PATHCC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-# endif
-
-#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-# define COMPILER_ID "Embarcadero"
-# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
- /* __BORLANDC__ = 0xVRR */
-# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
-#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-# define COMPILER_ID "Watcom"
- /* __WATCOMC__ = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "OpenWatcom"
- /* __WATCOMC__ = VVRP + 1100 */
-# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__SUNPRO_C)
-# define COMPILER_ID "SunPro"
-# if __SUNPRO_C >= 0x5100
- /* __SUNPRO_C = 0xVRRP */
-# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-# else
- /* __SUNPRO_CC = 0xVRP */
-# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-# endif
-
-#elif defined(__HP_cc)
-# define COMPILER_ID "HP"
- /* __HP_cc = VVRRPP */
-# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
-#elif defined(__DECC)
-# define COMPILER_ID "Compaq"
- /* __DECC_VER = VVRRTPPPP */
-# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
-#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-# define COMPILER_ID "zOS"
- /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
-#elif defined(__open_xl__) && defined(__clang__)
-# define COMPILER_ID "IBMClang"
-# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
-
-#elif defined(__ibmxl__) && defined(__clang__)
-# define COMPILER_ID "XLClang"
-# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
-
-#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-# define COMPILER_ID "XL"
- /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
-#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-# define COMPILER_ID "VisualAge"
- /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
-#elif defined(__NVCOMPILER)
-# define COMPILER_ID "NVHPC"
-# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-# if defined(__NVCOMPILER_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-# endif
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-# if defined(__PGIC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-# endif
-
-#elif defined(_CRAYC)
-# define COMPILER_ID "Cray"
-# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
-#elif defined(__TI_COMPILER_VERSION__)
-# define COMPILER_ID "TI"
- /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
-#elif defined(__CLANG_FUJITSU)
-# define COMPILER_ID "FujitsuClang"
-# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
-
-#elif defined(__FUJITSU)
-# define COMPILER_ID "Fujitsu"
-# if defined(__FCC_version__)
-# define COMPILER_VERSION __FCC_version__
-# elif defined(__FCC_major__)
-# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-# endif
-# if defined(__fcc_version)
-# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-# elif defined(__FCC_VERSION)
-# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-# endif
-
-
-#elif defined(__ghs__)
-# define COMPILER_ID "GHS"
-/* __GHS_VERSION_NUMBER = VVVVRP */
-# ifdef __GHS_VERSION_NUMBER
-# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-# endif
-
-#elif defined(__TASKING__)
-# define COMPILER_ID "Tasking"
- # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
- # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
-#elif defined(__TINYC__)
-# define COMPILER_ID "TinyCC"
-
-#elif defined(__BCC__)
-# define COMPILER_ID "Bruce"
-
-#elif defined(__SCO_VERSION__)
-# define COMPILER_ID "SCO"
-
-#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-# define COMPILER_ID "ARMCC"
-#if __ARMCC_VERSION >= 1000000
- /* __ARMCC_VERSION = VRRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#else
- /* __ARMCC_VERSION = VRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#endif
-
-
-#elif defined(__clang__) && defined(__apple_build_version__)
-# define COMPILER_ID "AppleClang"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
-#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-# define COMPILER_ID "ARMClang"
- # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
-# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
-#elif defined(__clang__)
-# define COMPILER_ID "Clang"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-# define COMPILER_ID "LCC"
-# define COMPILER_VERSION_MAJOR DEC(1)
-# if defined(__LCC__)
-# define COMPILER_VERSION_MINOR DEC(__LCC__- 100)
-# endif
-# if defined(__LCC_MINOR__)
-# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-# endif
-# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-# define SIMULATE_ID "GNU"
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-# if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-# endif
-
-#elif defined(__GNUC__)
-# define COMPILER_ID "GNU"
-# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-# if defined(__GNUC_MINOR__)
-# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
- /* _MSC_VER = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-# if defined(_MSC_FULL_VER)
-# if _MSC_VER >= 1400
- /* _MSC_FULL_VER = VVRRPPPPP */
-# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-# else
- /* _MSC_FULL_VER = VVRRPPPP */
-# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-# endif
-# endif
-# if defined(_MSC_BUILD)
-# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-# endif
-
-#elif defined(_ADI_COMPILER)
-# define COMPILER_ID "ADSP"
-#if defined(__VERSIONNUM__)
- /* __VERSIONNUM__ = 0xVVRRPPTT */
-# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-#endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# define COMPILER_ID "IAR"
-# if defined(__VER__) && defined(__ICCARM__)
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# endif
-
-#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
-# define COMPILER_ID "SDCC"
-# if defined(__SDCC_VERSION_MAJOR)
-# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
-# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
-# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
-# else
- /* SDCC = VRP */
-# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
-# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
-# endif
-
-
-/* These compilers are either not known or too old to define an
- identification macro. Try to identify the platform and guess that
- it is the native compiler. */
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-#ifdef SIMULATE_ID
-char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-#endif
-
-#ifdef __QNXNTO__
-char const* qnxnto = "INFO" ":" "qnxnto[]";
-#endif
-
-#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-#endif
-
-#define STRINGIFY_HELPER(X) #X
-#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
-/* Identify known platforms by name. */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__MSYS__)
-# define PLATFORM_ID "MSYS"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__HAIKU__)
-# define PLATFORM_ID "Haiku"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#elif defined(__WATCOMC__)
-# if defined(__LINUX__)
-# define PLATFORM_ID "Linux"
-
-# elif defined(__DOS__)
-# define PLATFORM_ID "DOS"
-
-# elif defined(__OS2__)
-# define PLATFORM_ID "OS2"
-
-# elif defined(__WINDOWS__)
-# define PLATFORM_ID "Windows3x"
-
-# elif defined(__VXWORKS__)
-# define PLATFORM_ID "VxWorks"
-
-# else /* unknown platform */
-# define PLATFORM_ID
-# endif
-
-#elif defined(__INTEGRITY)
-# if defined(INT_178B)
-# define PLATFORM_ID "Integrity178"
-
-# else /* regular Integrity */
-# define PLATFORM_ID "Integrity"
-# endif
-
-# elif defined(_ADI_COMPILER)
-# define PLATFORM_ID "ADSP"
-
-#else /* unknown platform */
-# define PLATFORM_ID
-
-#endif
-
-/* For windows compilers MSVC and Intel we can determine
- the architecture of the compiler being used. This is because
- the compilers do not have flags that can change the architecture,
- but rather depend on which compiler is being used
-*/
-#if defined(_WIN32) && defined(_MSC_VER)
-# if defined(_M_IA64)
-# define ARCHITECTURE_ID "IA64"
-
-# elif defined(_M_ARM64EC)
-# define ARCHITECTURE_ID "ARM64EC"
-
-# elif defined(_M_X64) || defined(_M_AMD64)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(_M_IX86)
-# define ARCHITECTURE_ID "X86"
-
-# elif defined(_M_ARM64)
-# define ARCHITECTURE_ID "ARM64"
-
-# elif defined(_M_ARM)
-# if _M_ARM == 4
-# define ARCHITECTURE_ID "ARMV4I"
-# elif _M_ARM == 5
-# define ARCHITECTURE_ID "ARMV5I"
-# else
-# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-# endif
-
-# elif defined(_M_MIPS)
-# define ARCHITECTURE_ID "MIPS"
-
-# elif defined(_M_SH)
-# define ARCHITECTURE_ID "SHx"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__WATCOMC__)
-# if defined(_M_I86)
-# define ARCHITECTURE_ID "I86"
-
-# elif defined(_M_IX86)
-# define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# if defined(__ICCARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__ICCRX__)
-# define ARCHITECTURE_ID "RX"
-
-# elif defined(__ICCRH850__)
-# define ARCHITECTURE_ID "RH850"
-
-# elif defined(__ICCRL78__)
-# define ARCHITECTURE_ID "RL78"
-
-# elif defined(__ICCRISCV__)
-# define ARCHITECTURE_ID "RISCV"
-
-# elif defined(__ICCAVR__)
-# define ARCHITECTURE_ID "AVR"
-
-# elif defined(__ICC430__)
-# define ARCHITECTURE_ID "MSP430"
-
-# elif defined(__ICCV850__)
-# define ARCHITECTURE_ID "V850"
-
-# elif defined(__ICC8051__)
-# define ARCHITECTURE_ID "8051"
-
-# elif defined(__ICCSTM8__)
-# define ARCHITECTURE_ID "STM8"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__ghs__)
-# if defined(__PPC64__)
-# define ARCHITECTURE_ID "PPC64"
-
-# elif defined(__ppc__)
-# define ARCHITECTURE_ID "PPC"
-
-# elif defined(__ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__x86_64__)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(__i386__)
-# define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__TI_COMPILER_VERSION__)
-# if defined(__TI_ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__MSP430__)
-# define ARCHITECTURE_ID "MSP430"
-
-# elif defined(__TMS320C28XX__)
-# define ARCHITECTURE_ID "TMS320C28x"
-
-# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-# define ARCHITECTURE_ID "TMS320C6x"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-# elif defined(__ADSPSHARC__)
-# define ARCHITECTURE_ID "SHARC"
-
-# elif defined(__ADSPBLACKFIN__)
-# define ARCHITECTURE_ID "Blackfin"
-
-#elif defined(__TASKING__)
-
-# if defined(__CTC__) || defined(__CPTC__)
-# define ARCHITECTURE_ID "TriCore"
-
-# elif defined(__CMCS__)
-# define ARCHITECTURE_ID "MCS"
-
-# elif defined(__CARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__CARC__)
-# define ARCHITECTURE_ID "ARC"
-
-# elif defined(__C51__)
-# define ARCHITECTURE_ID "8051"
-
-# elif defined(__CPCP__)
-# define ARCHITECTURE_ID "PCP"
-
-# else
-# define ARCHITECTURE_ID ""
-# endif
-
-#else
-# define ARCHITECTURE_ID
-#endif
-
-/* Convert integer to decimal digit literals. */
-#define DEC(n) \
- ('0' + (((n) / 10000000)%10)), \
- ('0' + (((n) / 1000000)%10)), \
- ('0' + (((n) / 100000)%10)), \
- ('0' + (((n) / 10000)%10)), \
- ('0' + (((n) / 1000)%10)), \
- ('0' + (((n) / 100)%10)), \
- ('0' + (((n) / 10)%10)), \
- ('0' + ((n) % 10))
-
-/* Convert integer to hex digit literals. */
-#define HEX(n) \
- ('0' + ((n)>>28 & 0xF)), \
- ('0' + ((n)>>24 & 0xF)), \
- ('0' + ((n)>>20 & 0xF)), \
- ('0' + ((n)>>16 & 0xF)), \
- ('0' + ((n)>>12 & 0xF)), \
- ('0' + ((n)>>8 & 0xF)), \
- ('0' + ((n)>>4 & 0xF)), \
- ('0' + ((n) & 0xF))
-
-/* Construct a string literal encoding the version number. */
-#ifdef COMPILER_VERSION
-char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
-/* Construct a string literal encoding the version number components. */
-#elif defined(COMPILER_VERSION_MAJOR)
-char const info_version[] = {
- 'I', 'N', 'F', 'O', ':',
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
- COMPILER_VERSION_MAJOR,
-# ifdef COMPILER_VERSION_MINOR
- '.', COMPILER_VERSION_MINOR,
-# ifdef COMPILER_VERSION_PATCH
- '.', COMPILER_VERSION_PATCH,
-# ifdef COMPILER_VERSION_TWEAK
- '.', COMPILER_VERSION_TWEAK,
-# endif
-# endif
-# endif
- ']','\0'};
-#endif
-
-/* Construct a string literal encoding the internal version number. */
-#ifdef COMPILER_VERSION_INTERNAL
-char const info_version_internal[] = {
- 'I', 'N', 'F', 'O', ':',
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
- 'i','n','t','e','r','n','a','l','[',
- COMPILER_VERSION_INTERNAL,']','\0'};
-#elif defined(COMPILER_VERSION_INTERNAL_STR)
-char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-#endif
-
-/* Construct a string literal encoding the version number components. */
-#ifdef SIMULATE_VERSION_MAJOR
-char const info_simulate_version[] = {
- 'I', 'N', 'F', 'O', ':',
- 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
- SIMULATE_VERSION_MAJOR,
-# ifdef SIMULATE_VERSION_MINOR
- '.', SIMULATE_VERSION_MINOR,
-# ifdef SIMULATE_VERSION_PATCH
- '.', SIMULATE_VERSION_PATCH,
-# ifdef SIMULATE_VERSION_TWEAK
- '.', SIMULATE_VERSION_TWEAK,
-# endif
-# endif
-# endif
- ']','\0'};
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
-
-
-#if !defined(__STDC__) && !defined(__clang__)
-# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
-# define C_VERSION "90"
-# else
-# define C_VERSION
-# endif
-#elif __STDC_VERSION__ > 201710L
-# define C_VERSION "23"
-#elif __STDC_VERSION__ >= 201710L
-# define C_VERSION "17"
-#elif __STDC_VERSION__ >= 201000L
-# define C_VERSION "11"
-#elif __STDC_VERSION__ >= 199901L
-# define C_VERSION "99"
-#else
-# define C_VERSION "90"
-#endif
-const char* info_language_standard_default =
- "INFO" ":" "standard_default[" C_VERSION "]";
-
-const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
- defined(__TI_COMPILER_VERSION__)) && \
- !defined(__STRICT_ANSI__)
- "ON"
-#else
- "OFF"
-#endif
-"]";
-
-/*--------------------------------------------------------------------------*/
-
-#ifdef ID_VOID_MAIN
-void main() {}
-#else
-# if defined(__CLASSIC_C__)
-int main(argc, argv) int argc; char *argv[];
-# else
-int main(int argc, char* argv[])
-# endif
-{
- int require = 0;
- require += info_compiler[argc];
- require += info_platform[argc];
- require += info_arch[argc];
-#ifdef COMPILER_VERSION_MAJOR
- require += info_version[argc];
-#endif
-#ifdef COMPILER_VERSION_INTERNAL
- require += info_version_internal[argc];
-#endif
-#ifdef SIMULATE_ID
- require += info_simulate[argc];
-#endif
-#ifdef SIMULATE_VERSION_MAJOR
- require += info_simulate_version[argc];
-#endif
-#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
- require += info_cray[argc];
-#endif
- require += info_language_standard_default[argc];
- require += info_language_extensions_default[argc];
- (void)argv;
- return require;
-}
-#endif
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/a.out b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/a.out
deleted file mode 100755
index 42b8d3e2b244a2ca6ea32299f23c486f0e8d3e84..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/a.out and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/CMakeCXXCompilerId.cpp b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
deleted file mode 100644
index c9ba632f0dae5868a1f901499e619ad099309475..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
+++ /dev/null
@@ -1,857 +0,0 @@
-/* This source file must have a .cpp extension so that all C++ compilers
- recognize the extension without flags. Borland does not know .cxx for
- example. */
-#ifndef __cplusplus
-# error "A C compiler has been selected for C++."
-#endif
-
-#if !defined(__has_include)
-/* If the compiler does not have __has_include, pretend the answer is
- always no. */
-# define __has_include(x) 0
-#endif
-
-
-/* Version number components: V=Version, R=Revision, P=Patch
- Version date components: YYYY=Year, MM=Month, DD=Day */
-
-#if defined(__COMO__)
-# define COMPILER_ID "Comeau"
- /* __COMO_VERSION__ = VRR */
-# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
-# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
-
-#elif defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# if defined(__GNUC__)
-# define SIMULATE_ID "GNU"
-# endif
- /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
- except that a few beta releases use the old format with V=2021. */
-# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# if defined(__INTEL_COMPILER_UPDATE)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-# else
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-# endif
-# else
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
- /* The third version component from --version is an update index,
- but no macro is provided for it. */
-# define COMPILER_VERSION_PATCH DEC(0)
-# endif
-# if defined(__INTEL_COMPILER_BUILD_DATE)
- /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-# endif
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# if defined(__GNUC__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-# elif defined(__GNUG__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-# endif
-# if defined(__GNUC_MINOR__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-# define COMPILER_ID "IntelLLVM"
-#if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-#endif
-#if defined(__GNUC__)
-# define SIMULATE_ID "GNU"
-#endif
-/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
- * later. Look for 6 digit vs. 8 digit version number to decide encoding.
- * VVVV is no smaller than the current year when a version is released.
- */
-#if __INTEL_LLVM_COMPILER < 1000000L
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-#else
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-#endif
-#if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-#endif
-#if defined(__GNUC__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-#elif defined(__GNUG__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-#endif
-#if defined(__GNUC_MINOR__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-#endif
-#if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-#endif
-
-#elif defined(__PATHCC__)
-# define COMPILER_ID "PathScale"
-# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-# if defined(__PATHCC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-# endif
-
-#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-# define COMPILER_ID "Embarcadero"
-# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
- /* __BORLANDC__ = 0xVRR */
-# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
-#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-# define COMPILER_ID "Watcom"
- /* __WATCOMC__ = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "OpenWatcom"
- /* __WATCOMC__ = VVRP + 1100 */
-# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__SUNPRO_CC)
-# define COMPILER_ID "SunPro"
-# if __SUNPRO_CC >= 0x5100
- /* __SUNPRO_CC = 0xVRRP */
-# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
-# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
-# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
-# else
- /* __SUNPRO_CC = 0xVRP */
-# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
-# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
-# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
-# endif
-
-#elif defined(__HP_aCC)
-# define COMPILER_ID "HP"
- /* __HP_aCC = VVRRPP */
-# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
-# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
-
-#elif defined(__DECCXX)
-# define COMPILER_ID "Compaq"
- /* __DECCXX_VER = VVRRTPPPP */
-# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
-# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
-# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
-
-#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
-# define COMPILER_ID "zOS"
- /* __IBMCPP__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
-
-#elif defined(__open_xl__) && defined(__clang__)
-# define COMPILER_ID "IBMClang"
-# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
-
-#elif defined(__ibmxl__) && defined(__clang__)
-# define COMPILER_ID "XLClang"
-# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
-
-#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
-# define COMPILER_ID "XL"
- /* __IBMCPP__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
-
-#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
-# define COMPILER_ID "VisualAge"
- /* __IBMCPP__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
-
-#elif defined(__NVCOMPILER)
-# define COMPILER_ID "NVHPC"
-# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-# if defined(__NVCOMPILER_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-# endif
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-# if defined(__PGIC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-# endif
-
-#elif defined(_CRAYC)
-# define COMPILER_ID "Cray"
-# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
-#elif defined(__TI_COMPILER_VERSION__)
-# define COMPILER_ID "TI"
- /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
-#elif defined(__CLANG_FUJITSU)
-# define COMPILER_ID "FujitsuClang"
-# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
-
-#elif defined(__FUJITSU)
-# define COMPILER_ID "Fujitsu"
-# if defined(__FCC_version__)
-# define COMPILER_VERSION __FCC_version__
-# elif defined(__FCC_major__)
-# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-# endif
-# if defined(__fcc_version)
-# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-# elif defined(__FCC_VERSION)
-# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-# endif
-
-
-#elif defined(__ghs__)
-# define COMPILER_ID "GHS"
-/* __GHS_VERSION_NUMBER = VVVVRP */
-# ifdef __GHS_VERSION_NUMBER
-# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-# endif
-
-#elif defined(__TASKING__)
-# define COMPILER_ID "Tasking"
- # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
- # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
-#elif defined(__SCO_VERSION__)
-# define COMPILER_ID "SCO"
-
-#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-# define COMPILER_ID "ARMCC"
-#if __ARMCC_VERSION >= 1000000
- /* __ARMCC_VERSION = VRRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#else
- /* __ARMCC_VERSION = VRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#endif
-
-
-#elif defined(__clang__) && defined(__apple_build_version__)
-# define COMPILER_ID "AppleClang"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
-#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-# define COMPILER_ID "ARMClang"
- # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
-# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
-#elif defined(__clang__)
-# define COMPILER_ID "Clang"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-# define COMPILER_ID "LCC"
-# define COMPILER_VERSION_MAJOR DEC(1)
-# if defined(__LCC__)
-# define COMPILER_VERSION_MINOR DEC(__LCC__- 100)
-# endif
-# if defined(__LCC_MINOR__)
-# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-# endif
-# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-# define SIMULATE_ID "GNU"
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-# if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-# endif
-
-#elif defined(__GNUC__) || defined(__GNUG__)
-# define COMPILER_ID "GNU"
-# if defined(__GNUC__)
-# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-# else
-# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
-# endif
-# if defined(__GNUC_MINOR__)
-# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
- /* _MSC_VER = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-# if defined(_MSC_FULL_VER)
-# if _MSC_VER >= 1400
- /* _MSC_FULL_VER = VVRRPPPPP */
-# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-# else
- /* _MSC_FULL_VER = VVRRPPPP */
-# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-# endif
-# endif
-# if defined(_MSC_BUILD)
-# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-# endif
-
-#elif defined(_ADI_COMPILER)
-# define COMPILER_ID "ADSP"
-#if defined(__VERSIONNUM__)
- /* __VERSIONNUM__ = 0xVVRRPPTT */
-# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-#endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# define COMPILER_ID "IAR"
-# if defined(__VER__) && defined(__ICCARM__)
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# endif
-
-
-/* These compilers are either not known or too old to define an
- identification macro. Try to identify the platform and guess that
- it is the native compiler. */
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-#ifdef SIMULATE_ID
-char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-#endif
-
-#ifdef __QNXNTO__
-char const* qnxnto = "INFO" ":" "qnxnto[]";
-#endif
-
-#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
-char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
-#endif
-
-#define STRINGIFY_HELPER(X) #X
-#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
-/* Identify known platforms by name. */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__MSYS__)
-# define PLATFORM_ID "MSYS"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__HAIKU__)
-# define PLATFORM_ID "Haiku"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#elif defined(__WATCOMC__)
-# if defined(__LINUX__)
-# define PLATFORM_ID "Linux"
-
-# elif defined(__DOS__)
-# define PLATFORM_ID "DOS"
-
-# elif defined(__OS2__)
-# define PLATFORM_ID "OS2"
-
-# elif defined(__WINDOWS__)
-# define PLATFORM_ID "Windows3x"
-
-# elif defined(__VXWORKS__)
-# define PLATFORM_ID "VxWorks"
-
-# else /* unknown platform */
-# define PLATFORM_ID
-# endif
-
-#elif defined(__INTEGRITY)
-# if defined(INT_178B)
-# define PLATFORM_ID "Integrity178"
-
-# else /* regular Integrity */
-# define PLATFORM_ID "Integrity"
-# endif
-
-# elif defined(_ADI_COMPILER)
-# define PLATFORM_ID "ADSP"
-
-#else /* unknown platform */
-# define PLATFORM_ID
-
-#endif
-
-/* For windows compilers MSVC and Intel we can determine
- the architecture of the compiler being used. This is because
- the compilers do not have flags that can change the architecture,
- but rather depend on which compiler is being used
-*/
-#if defined(_WIN32) && defined(_MSC_VER)
-# if defined(_M_IA64)
-# define ARCHITECTURE_ID "IA64"
-
-# elif defined(_M_ARM64EC)
-# define ARCHITECTURE_ID "ARM64EC"
-
-# elif defined(_M_X64) || defined(_M_AMD64)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(_M_IX86)
-# define ARCHITECTURE_ID "X86"
-
-# elif defined(_M_ARM64)
-# define ARCHITECTURE_ID "ARM64"
-
-# elif defined(_M_ARM)
-# if _M_ARM == 4
-# define ARCHITECTURE_ID "ARMV4I"
-# elif _M_ARM == 5
-# define ARCHITECTURE_ID "ARMV5I"
-# else
-# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-# endif
-
-# elif defined(_M_MIPS)
-# define ARCHITECTURE_ID "MIPS"
-
-# elif defined(_M_SH)
-# define ARCHITECTURE_ID "SHx"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__WATCOMC__)
-# if defined(_M_I86)
-# define ARCHITECTURE_ID "I86"
-
-# elif defined(_M_IX86)
-# define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# if defined(__ICCARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__ICCRX__)
-# define ARCHITECTURE_ID "RX"
-
-# elif defined(__ICCRH850__)
-# define ARCHITECTURE_ID "RH850"
-
-# elif defined(__ICCRL78__)
-# define ARCHITECTURE_ID "RL78"
-
-# elif defined(__ICCRISCV__)
-# define ARCHITECTURE_ID "RISCV"
-
-# elif defined(__ICCAVR__)
-# define ARCHITECTURE_ID "AVR"
-
-# elif defined(__ICC430__)
-# define ARCHITECTURE_ID "MSP430"
-
-# elif defined(__ICCV850__)
-# define ARCHITECTURE_ID "V850"
-
-# elif defined(__ICC8051__)
-# define ARCHITECTURE_ID "8051"
-
-# elif defined(__ICCSTM8__)
-# define ARCHITECTURE_ID "STM8"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__ghs__)
-# if defined(__PPC64__)
-# define ARCHITECTURE_ID "PPC64"
-
-# elif defined(__ppc__)
-# define ARCHITECTURE_ID "PPC"
-
-# elif defined(__ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__x86_64__)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(__i386__)
-# define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__TI_COMPILER_VERSION__)
-# if defined(__TI_ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__MSP430__)
-# define ARCHITECTURE_ID "MSP430"
-
-# elif defined(__TMS320C28XX__)
-# define ARCHITECTURE_ID "TMS320C28x"
-
-# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-# define ARCHITECTURE_ID "TMS320C6x"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-# elif defined(__ADSPSHARC__)
-# define ARCHITECTURE_ID "SHARC"
-
-# elif defined(__ADSPBLACKFIN__)
-# define ARCHITECTURE_ID "Blackfin"
-
-#elif defined(__TASKING__)
-
-# if defined(__CTC__) || defined(__CPTC__)
-# define ARCHITECTURE_ID "TriCore"
-
-# elif defined(__CMCS__)
-# define ARCHITECTURE_ID "MCS"
-
-# elif defined(__CARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__CARC__)
-# define ARCHITECTURE_ID "ARC"
-
-# elif defined(__C51__)
-# define ARCHITECTURE_ID "8051"
-
-# elif defined(__CPCP__)
-# define ARCHITECTURE_ID "PCP"
-
-# else
-# define ARCHITECTURE_ID ""
-# endif
-
-#else
-# define ARCHITECTURE_ID
-#endif
-
-/* Convert integer to decimal digit literals. */
-#define DEC(n) \
- ('0' + (((n) / 10000000)%10)), \
- ('0' + (((n) / 1000000)%10)), \
- ('0' + (((n) / 100000)%10)), \
- ('0' + (((n) / 10000)%10)), \
- ('0' + (((n) / 1000)%10)), \
- ('0' + (((n) / 100)%10)), \
- ('0' + (((n) / 10)%10)), \
- ('0' + ((n) % 10))
-
-/* Convert integer to hex digit literals. */
-#define HEX(n) \
- ('0' + ((n)>>28 & 0xF)), \
- ('0' + ((n)>>24 & 0xF)), \
- ('0' + ((n)>>20 & 0xF)), \
- ('0' + ((n)>>16 & 0xF)), \
- ('0' + ((n)>>12 & 0xF)), \
- ('0' + ((n)>>8 & 0xF)), \
- ('0' + ((n)>>4 & 0xF)), \
- ('0' + ((n) & 0xF))
-
-/* Construct a string literal encoding the version number. */
-#ifdef COMPILER_VERSION
-char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
-/* Construct a string literal encoding the version number components. */
-#elif defined(COMPILER_VERSION_MAJOR)
-char const info_version[] = {
- 'I', 'N', 'F', 'O', ':',
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
- COMPILER_VERSION_MAJOR,
-# ifdef COMPILER_VERSION_MINOR
- '.', COMPILER_VERSION_MINOR,
-# ifdef COMPILER_VERSION_PATCH
- '.', COMPILER_VERSION_PATCH,
-# ifdef COMPILER_VERSION_TWEAK
- '.', COMPILER_VERSION_TWEAK,
-# endif
-# endif
-# endif
- ']','\0'};
-#endif
-
-/* Construct a string literal encoding the internal version number. */
-#ifdef COMPILER_VERSION_INTERNAL
-char const info_version_internal[] = {
- 'I', 'N', 'F', 'O', ':',
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
- 'i','n','t','e','r','n','a','l','[',
- COMPILER_VERSION_INTERNAL,']','\0'};
-#elif defined(COMPILER_VERSION_INTERNAL_STR)
-char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-#endif
-
-/* Construct a string literal encoding the version number components. */
-#ifdef SIMULATE_VERSION_MAJOR
-char const info_simulate_version[] = {
- 'I', 'N', 'F', 'O', ':',
- 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
- SIMULATE_VERSION_MAJOR,
-# ifdef SIMULATE_VERSION_MINOR
- '.', SIMULATE_VERSION_MINOR,
-# ifdef SIMULATE_VERSION_PATCH
- '.', SIMULATE_VERSION_PATCH,
-# ifdef SIMULATE_VERSION_TWEAK
- '.', SIMULATE_VERSION_TWEAK,
-# endif
-# endif
-# endif
- ']','\0'};
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
-
-
-#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
-# if defined(__INTEL_CXX11_MODE__)
-# if defined(__cpp_aggregate_nsdmi)
-# define CXX_STD 201402L
-# else
-# define CXX_STD 201103L
-# endif
-# else
-# define CXX_STD 199711L
-# endif
-#elif defined(_MSC_VER) && defined(_MSVC_LANG)
-# define CXX_STD _MSVC_LANG
-#else
-# define CXX_STD __cplusplus
-#endif
-
-const char* info_language_standard_default = "INFO" ":" "standard_default["
-#if CXX_STD > 202002L
- "23"
-#elif CXX_STD > 201703L
- "20"
-#elif CXX_STD >= 201703L
- "17"
-#elif CXX_STD >= 201402L
- "14"
-#elif CXX_STD >= 201103L
- "11"
-#else
- "98"
-#endif
-"]";
-
-const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \
- defined(__TI_COMPILER_VERSION__)) && \
- !defined(__STRICT_ANSI__)
- "ON"
-#else
- "OFF"
-#endif
-"]";
-
-/*--------------------------------------------------------------------------*/
-
-int main(int argc, char* argv[])
-{
- int require = 0;
- require += info_compiler[argc];
- require += info_platform[argc];
- require += info_arch[argc];
-#ifdef COMPILER_VERSION_MAJOR
- require += info_version[argc];
-#endif
-#ifdef COMPILER_VERSION_INTERNAL
- require += info_version_internal[argc];
-#endif
-#ifdef SIMULATE_ID
- require += info_simulate[argc];
-#endif
-#ifdef SIMULATE_VERSION_MAJOR
- require += info_simulate_version[argc];
-#endif
-#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
- require += info_cray[argc];
-#endif
- require += info_language_standard_default[argc];
- require += info_language_extensions_default[argc];
- (void)argv;
- return require;
-}
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/a.out b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/a.out
deleted file mode 100755
index ef8e892f21902ce307ab803c357d77010c966c93..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/a.out and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeError.log b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeError.log
deleted file mode 100644
index d08b0d6d6d808e30aaa22faf462227fe2f2b43d3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeError.log
+++ /dev/null
@@ -1,102 +0,0 @@
-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
-
-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
-
-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.
-
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeOutput.log b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeOutput.log
deleted file mode 100644
index f5ac99374cccc861c5d32006c03ac5d5ef57848e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeOutput.log
+++ /dev/null
@@ -1,1562 +0,0 @@
-The system is: Linux - 3.10.0-957.el7.x86_64 - x86_64
-Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
-Compiler: /usr/bin/cc
-Build flags:
-Id flags:
-
-The output was:
-0
-
-
-Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
-
-The C compiler identification is GNU, found in "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/a.out"
-
-Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
-Compiler: /usr/bin/c++
-Build flags:
-Id flags:
-
-The output was:
-0
-
-
-Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
-
-The CXX compiler identification is GNU, found in "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/a.out"
-
-Detecting C compiler ABI info compiled 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-Bi6Fwj
-
-Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_be47a && [1/2] Building C object CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccKvVPHc.s
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- as -v --64 -o CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o /tmp/ccKvVPHc.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
-[2/2] Linking C executable cmTC_be47a
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_be47a' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgAdDtt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_be47a /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_be47a' '-mtune=generic' '-march=x86-64'
-
-
-
-Parsed C implicit include dir info from above output: rv=done
- found start of include info
- found start of implicit include info
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- add: [/usr/local/include]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- add: [/usr/include/x86_64-linux-gnu]
- add: [/usr/include]
- end of search list found
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- collapse include dir [/usr/local/include] ==> [/usr/local/include]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
- collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/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]
-
-
-Parsed C implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Bi6Fwj]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_be47a && [1/2] Building C object CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccKvVPHc.s]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o /tmp/ccKvVPHc.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [[2/2] Linking C executable cmTC_be47a]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_be47a' '-mtune=generic' '-march=x86-64']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgAdDtt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_be47a /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccgAdDtt.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_be47a] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_be47a.dir/CMakeCCompilerABI.c.o] ==> ignore
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- arg [-lc] ==> lib [c]
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
- implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-Detecting CXX compiler ABI info compiled 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-1hx6mj
-
-Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_bdc77 && [1/2] Building CXX object CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccH2NHBc.s
-GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- as -v --64 -o CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccH2NHBc.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
-[2/2] Linking CXX executable cmTC_bdc77
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bdc77' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccE3cXHt.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_bdc77 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bdc77' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
-
-
-
-Parsed CXX implicit include dir info from above output: rv=done
- found start of include info
- found start of implicit include info
- add: [/usr/include/c++/7]
- add: [/usr/include/x86_64-linux-gnu/c++/7]
- add: [/usr/include/c++/7/backward]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- add: [/usr/local/include]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- add: [/usr/include/x86_64-linux-gnu]
- add: [/usr/include]
- end of search list found
- collapse include dir [/usr/include/c++/7] ==> [/usr/include/c++/7]
- collapse include dir [/usr/include/x86_64-linux-gnu/c++/7] ==> [/usr/include/x86_64-linux-gnu/c++/7]
- collapse include dir [/usr/include/c++/7/backward] ==> [/usr/include/c++/7/backward]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- collapse include dir [/usr/local/include] ==> [/usr/local/include]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
- collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/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]
-
-
-Parsed CXX implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-1hx6mj]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_bdc77 && [1/2] Building CXX object CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccH2NHBc.s]
- ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/include/c++/7]
- ignore line: [ /usr/include/x86_64-linux-gnu/c++/7]
- ignore line: [ /usr/include/c++/7/backward]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccH2NHBc.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [[2/2] Linking CXX executable cmTC_bdc77]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_bdc77' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccE3cXHt.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_bdc77 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccE3cXHt.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_bdc77] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_bdc77.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
- arg [-lstdc++] ==> lib [stdc++]
- arg [-lm] ==> lib [m]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- arg [-lc] ==> lib [c]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
- implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-Determining if the function pthread_create exists in the pthread passed 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-lVfZcg
-
-Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_90dd8 && [1/2] Building C object CMakeFiles/cmTC_90dd8.dir/CheckFunctionExists.c.o
-[2/2] Linking C executable cmTC_90dd8
-
-
-
-Detecting C OpenMP compiler ABI info compiled 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-yMxqhi
-
-Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_a6b30 && [1/2] Building C object CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yMxqhi/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cc6FJT3m.s
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- as -v --64 -o CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o /tmp/cc6FJT3m.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
-[2/2] Linking C executable cmTC_a6b30
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_a6b30' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccOcCqZD.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_a6b30 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o -lgomp -lgcc --push-state --as-needed -lgcc_s --pop-state -lpthread -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_a6b30' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
-
-
-
-Parsed C OpenMP implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yMxqhi]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_a6b30 && [1/2] Building C object CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yMxqhi/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/cc6FJT3m.s]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o /tmp/cc6FJT3m.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [[2/2] Linking C executable cmTC_a6b30]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_a6b30' '-v' '-mtune=generic' '-march=x86-64' '-pthread']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccOcCqZD.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_a6b30 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o -lgomp -lgcc --push-state --as-needed -lgcc_s --pop-state -lpthread -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccOcCqZD.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_a6b30] ==> ignore
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_a6b30.dir/OpenMPTryFlag.c.o] ==> ignore
- arg [-lgomp] ==> lib [gomp]
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- arg [-lpthread] ==> lib [pthread]
- arg [-lc] ==> lib [c]
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [gomp;gcc;gcc_s;pthread;c;gcc;gcc_s]
- implicit objs: []
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-Detecting CXX OpenMP compiler ABI info compiled 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-oWMMbh
-
-Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_fdaf2 && [1/2] Building CXX object CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oWMMbh/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o -std=gnu++11 -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccSdKcZj.s
-GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- as -v --64 -o CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o /tmp/ccSdKcZj.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
-[2/2] Linking CXX executable cmTC_fdaf2
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_fdaf2' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccH8ZDWE.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_fdaf2 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_fdaf2' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
-
-
-
-Parsed CXX OpenMP implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oWMMbh]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-6r5leccz/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_fdaf2 && [1/2] Building CXX object CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oWMMbh/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o -std=gnu++11 -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccSdKcZj.s]
- ignore line: [GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/include/c++/7]
- ignore line: [ /usr/include/x86_64-linux-gnu/c++/7]
- ignore line: [ /usr/include/c++/7/backward]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o /tmp/ccSdKcZj.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [[2/2] Linking CXX executable cmTC_fdaf2]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_fdaf2' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccH8ZDWE.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_fdaf2 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccH8ZDWE.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_fdaf2] ==> ignore
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_fdaf2.dir/OpenMPTryFlag.cpp.o] ==> ignore
- arg [-lstdc++] ==> lib [stdc++]
- arg [-lm] ==> lib [m]
- arg [-lgomp] ==> lib [gomp]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- arg [-lpthread] ==> lib [pthread]
- arg [-lc] ==> lib [c]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [stdc++;m;gomp;gcc_s;gcc;pthread;c;gcc_s;gcc]
- implicit objs: []
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-The system is: Linux - 3.10.0-957.el7.x86_64 - x86_64
-Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
-Compiler: /usr/bin/cc
-Build flags:
-Id flags:
-
-The output was:
-0
-
-
-Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
-
-The C compiler identification is GNU, found in "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdC/a.out"
-
-Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
-Compiler: /usr/bin/c++
-Build flags:
-Id flags:
-
-The output was:
-0
-
-
-Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
-
-The CXX compiler identification is GNU, found in "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/a.out"
-
-Detecting C compiler ABI info compiled with the following output:
-Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-gMkw5J
-
-Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_ad1f9 && [1/2] Building C object CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccKtXVYB.s
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- as -v --64 -o CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o /tmp/ccKtXVYB.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
-[2/2] Linking C executable cmTC_ad1f9
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ad1f9' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9rhd2S.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_ad1f9 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ad1f9' '-mtune=generic' '-march=x86-64'
-
-
-
-Parsed C implicit include dir info from above output: rv=done
- found start of include info
- found start of implicit include info
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- add: [/usr/local/include]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- add: [/usr/include/x86_64-linux-gnu]
- add: [/usr/include]
- end of search list found
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- collapse include dir [/usr/local/include] ==> [/usr/local/include]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
- collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/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]
-
-
-Parsed C implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-gMkw5J]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_ad1f9 && [1/2] Building C object CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccKtXVYB.s]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o /tmp/ccKtXVYB.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [[2/2] Linking C executable cmTC_ad1f9]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ad1f9' '-mtune=generic' '-march=x86-64']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc9rhd2S.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_ad1f9 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/cc9rhd2S.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_ad1f9] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_ad1f9.dir/CMakeCCompilerABI.c.o] ==> ignore
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- arg [-lc] ==> lib [c]
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
- implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-Detecting CXX compiler ABI info compiled with the following output:
-Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-6xDObL
-
-Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_6c85d && [1/2] Building CXX object CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccz5Vk5B.s
-GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- as -v --64 -o CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccz5Vk5B.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
-[2/2] Linking CXX executable cmTC_6c85d
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6c85d' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccIEn0KT.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_6c85d /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
-COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6c85d' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
-
-
-
-Parsed CXX implicit include dir info from above output: rv=done
- found start of include info
- found start of implicit include info
- add: [/usr/include/c++/7]
- add: [/usr/include/x86_64-linux-gnu/c++/7]
- add: [/usr/include/c++/7/backward]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- add: [/usr/local/include]
- add: [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- add: [/usr/include/x86_64-linux-gnu]
- add: [/usr/include]
- end of search list found
- collapse include dir [/usr/include/c++/7] ==> [/usr/include/c++/7]
- collapse include dir [/usr/include/x86_64-linux-gnu/c++/7] ==> [/usr/include/x86_64-linux-gnu/c++/7]
- collapse include dir [/usr/include/c++/7/backward] ==> [/usr/include/c++/7/backward]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include]
- collapse include dir [/usr/local/include] ==> [/usr/local/include]
- collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed] ==> [/usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
- collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/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]
-
-
-Parsed CXX implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-6xDObL]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_6c85d && [1/2] Building CXX object CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o -version -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccz5Vk5B.s]
- ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/include/c++/7]
- ignore line: [ /usr/include/x86_64-linux-gnu/c++/7]
- ignore line: [ /usr/include/c++/7/backward]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C++14 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccz5Vk5B.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [[2/2] Linking CXX executable cmTC_6c85d]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6c85d' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccIEn0KT.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_6c85d /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccIEn0KT.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_6c85d] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_6c85d.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
- arg [-lstdc++] ==> lib [stdc++]
- arg [-lm] ==> lib [m]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- arg [-lc] ==> lib [c]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> [/usr/lib/x86_64-linux-gnu/Scrt1.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> [/usr/lib/x86_64-linux-gnu/crti.o]
- collapse obj [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> [/usr/lib/x86_64-linux-gnu/crtn.o]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
- implicit objs: [/usr/lib/x86_64-linux-gnu/Scrt1.o;/usr/lib/x86_64-linux-gnu/crti.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o;/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o;/usr/lib/x86_64-linux-gnu/crtn.o]
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-Determining if the function pthread_create exists in the pthread passed with the following output:
-Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Qgzv2J
-
-Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_09113 && [1/2] Building C object CMakeFiles/cmTC_09113.dir/CheckFunctionExists.c.o
-[2/2] Linking C executable cmTC_09113
-
-
-
-Detecting C OpenMP compiler ABI info compiled with the following output:
-Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-aVRNNI
-
-Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_1fbc8 && [1/2] Building C object CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-aVRNNI/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccQaIcrO.s
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- as -v --64 -o CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o /tmp/ccQaIcrO.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
-[2/2] Linking C executable cmTC_1fbc8
-Using built-in specs.
-COLLECT_GCC=/usr/bin/cc
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_1fbc8' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc32y0P4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_1fbc8 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o -lgomp -lgcc --push-state --as-needed -lgcc_s --pop-state -lpthread -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_1fbc8' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
-
-
-
-Parsed C OpenMP implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-aVRNNI]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_1fbc8 && [1/2] Building C object CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1 -quiet -v -imultiarch x86_64-linux-gnu -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-aVRNNI/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccQaIcrO.s]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: b62ed4a2880cd4159476ea8293b72fa8]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o /tmp/ccQaIcrO.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [[2/2] Linking C executable cmTC_1fbc8]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/cc]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_1fbc8' '-v' '-mtune=generic' '-march=x86-64' '-pthread']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc32y0P4.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_1fbc8 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o -lgomp -lgcc --push-state --as-needed -lgcc_s --pop-state -lpthread -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/cc32y0P4.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_1fbc8] ==> ignore
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_1fbc8.dir/OpenMPTryFlag.c.o] ==> ignore
- arg [-lgomp] ==> lib [gomp]
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- arg [-lpthread] ==> lib [pthread]
- arg [-lc] ==> lib [c]
- arg [-lgcc] ==> lib [gcc]
- arg [--push-state] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [--pop-state] ==> ignore
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [gomp;gcc;gcc_s;pthread;c;gcc;gcc_s]
- implicit objs: []
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
-Detecting CXX OpenMP compiler ABI info compiled with the following output:
-Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-dIlyDJ
-
-Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_41fde && [1/2] Building CXX object CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-dIlyDJ/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o -std=gnu++11 -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccMluUzL.s
-GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"
-ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
-ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"
-#include "..." search starts here:
-#include <...> search starts here:
- /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
-End of search list.
-GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)
- compiled by GNU C version 7.5.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version isl-0.19-GMP
-
-GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
-Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- as -v --64 -o CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o /tmp/ccMluUzL.s
-GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
-[2/2] Linking CXX executable cmTC_41fde
-Using built-in specs.
-COLLECT_GCC=/usr/bin/c++
-COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
-OFFLOAD_TARGET_NAMES=nvptx-none
-OFFLOAD_TARGET_DEFAULT=1
-Target: x86_64-linux-gnu
-Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
-Thread model: posix
-gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
-COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
-LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
-Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_41fde' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQznqF6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_41fde /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o
-COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_41fde' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
-
-
-
-Parsed CXX OpenMP implicit link information from above output:
- link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
- ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-dIlyDJ]
- ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/ninja/data/bin/ninja cmTC_41fde && [1/2] Building CXX object CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/CMakeScratch/TryCompile-dIlyDJ/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o -std=gnu++11 -version -fopenmp -fstack-protector-strong -Wformat -Wformat-security -o /tmp/ccMluUzL.s]
- ignore line: [GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/7"]
- ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
- ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/7/../../../../x86_64-linux-gnu/include"]
- ignore line: [#include "..." search starts here:]
- ignore line: [#include <...> search starts here:]
- ignore line: [ /usr/include/c++/7]
- ignore line: [ /usr/include/x86_64-linux-gnu/c++/7]
- ignore line: [ /usr/include/c++/7/backward]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include]
- ignore line: [ /usr/local/include]
- ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/7/include-fixed]
- ignore line: [ /usr/include/x86_64-linux-gnu]
- ignore line: [ /usr/include]
- ignore line: [End of search list.]
- ignore line: [GNU C++11 (Ubuntu 7.5.0-3ubuntu1~18.04) version 7.5.0 (x86_64-linux-gnu)]
- ignore line: [ compiled by GNU C version 7.5.0 GMP version 6.1.2 MPFR version 4.0.1 MPC version 1.1.0 isl version isl-0.19-GMP]
- ignore line: []
- ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [Compiler executable checksum: 3eb3dc290cd5714c3e1c3ae751116f07]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ as -v --64 -o CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o /tmp/ccMluUzL.s]
- ignore line: [GNU assembler version 2.30 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.30]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++11' '-o' 'CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [[2/2] Linking CXX executable cmTC_41fde]
- ignore line: [Using built-in specs.]
- ignore line: [COLLECT_GCC=/usr/bin/c++]
- ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
- ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
- ignore line: [OFFLOAD_TARGET_DEFAULT=1]
- ignore line: [Target: x86_64-linux-gnu]
- ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
- ignore line: [Thread model: posix]
- ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
- ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
- ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
- ignore line: [Reading specs from /usr/lib/gcc/x86_64-linux-gnu/7/libgomp.spec]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_41fde' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccQznqF6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_41fde /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o /usr/lib/gcc/x86_64-linux-gnu/7/crtoffloadend.o]
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
- arg [-plugin] ==> ignore
- arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
- arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccQznqF6.res] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
- arg [-plugin-opt=-pass-through=-lc] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
- arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
- arg [--build-id] ==> ignore
- arg [--eh-frame-hdr] ==> ignore
- arg [-m] ==> ignore
- arg [elf_x86_64] ==> ignore
- arg [--hash-style=gnu] ==> ignore
- arg [--as-needed] ==> ignore
- arg [-dynamic-linker] ==> ignore
- arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
- arg [-pie] ==> ignore
- arg [-znow] ==> ignore
- arg [-zrelro] ==> ignore
- arg [-o] ==> ignore
- arg [cmTC_41fde] ==> ignore
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
- arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
- arg [-L/lib/../lib] ==> dir [/lib/../lib]
- arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
- arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
- arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
- arg [CMakeFiles/cmTC_41fde.dir/OpenMPTryFlag.cpp.o] ==> ignore
- arg [-lstdc++] ==> lib [stdc++]
- arg [-lm] ==> lib [m]
- arg [-lgomp] ==> lib [gomp]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- arg [-lpthread] ==> lib [pthread]
- arg [-lc] ==> lib [c]
- arg [-lgcc_s] ==> lib [gcc_s]
- arg [-lgcc] ==> lib [gcc]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
- collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
- collapse library dir [/lib/../lib] ==> [/lib]
- collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
- collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
- collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
- implicit libs: [stdc++;m;gomp;gcc_s;gcc;pthread;c;gcc_s;gcc]
- implicit objs: []
- implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
- implicit fwks: []
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/FindOpenMP/ompver_C.bin b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/FindOpenMP/ompver_C.bin
deleted file mode 100755
index e9a9b3ed52d7601dc8f4ffd7a094e2eac51213db..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/FindOpenMP/ompver_C.bin and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/FindOpenMP/ompver_CXX.bin b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/FindOpenMP/ompver_CXX.bin
deleted file mode 100755
index 8ca1385a7b3211d4385df65d45d8db4c335202d8..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/FindOpenMP/ompver_CXX.bin and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/TargetDirectories.txt b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/TargetDirectories.txt
deleted file mode 100644
index 3aeea52193267fa28add26d20cf34a1f0950034a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/TargetDirectories.txt
+++ /dev/null
@@ -1,29 +0,0 @@
-/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
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/cmake.check_cache b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/cmake.check_cache
deleted file mode 100644
index 3dccd731726d7faa8b29d8d7dba3b981a53ca497..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/cmake.check_cache
+++ /dev/null
@@ -1 +0,0 @@
-# This file is generated by cmake for dependency checking of the CMakeCache.txt file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/rules.ninja b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/rules.ninja
deleted file mode 100644
index a21dd175cb54310d91cc1c0a01ecb2d3b352bd93..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/rules.ninja
+++ /dev/null
@@ -1,102 +0,0 @@
-# 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:
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeSpec.json b/_skbuild/linux-x86_64-3.6/cmake-build/CMakeSpec.json
deleted file mode 100644
index 6b3078de87ea303688be255a8b1eeceaec2b68c1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeSpec.json
+++ /dev/null
@@ -1 +0,0 @@
-{"args": ["/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake", "-DTENSORFLOW_ROOT:STRING=/usr/local/lib/python3.6/dist-packages/tensorflow", "-DBUILD_PY_IF:BOOL=TRUE", "-DBUILD_CPP_IF:BOOL=FALSE", "-DCMAKE_BUILD_TYPE:STRING=Release"], "version": "3.25.2", "environment": {"PYTHONNOUSERSITE": "1", "PYTHONPATH": "/tmp/pip-build-env-5_1o2n9q/site"}}
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/build.ninja b/_skbuild/linux-x86_64-3.6/cmake-build/build.ninja
deleted file mode 100644
index 719876405ce81aca8e9058dcf36b85e568e225a4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/build.ninja
+++ /dev/null
@@ -1,1105 +0,0 @@
-# CMAKE generated file: DO NOT EDIT!
-# Generated by "Ninja" Generator, CMake Version 3.25
-
-# This file contains all the build statements describing the
-# compilation DAG.
-
-# =============================================================================
-# Write statements declared in CMakeLists.txt:
-#
-# Which is the root file.
-# =============================================================================
-
-# =============================================================================
-# Project: DeePMD
-# Configurations: Release
-# =============================================================================
-
-#############################################
-# Minimal version of Ninja required by this file
-
-ninja_required_version = 1.5
-
-
-#############################################
-# Set configuration variable for custom commands.
-
-CONFIGURATION = Release
-# =============================================================================
-# Include auxiliary files.
-
-
-#############################################
-# Include rules file.
-
-include CMakeFiles/rules.ninja
-
-# =============================================================================
-
-#############################################
-# Logical path to working directory; prefix for absolute paths.
-
-cmake_ninja_workdir = /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/
-
-#############################################
-# Utility command for uninstall
-
-build uninstall: phony CMakeFiles/uninstall
-
-
-#############################################
-# Utility command for lammps
-
-build lammps: phony CMakeFiles/lammps
-
-
-#############################################
-# Utility command for edit_cache
-
-build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
- DESC = No interactive CMake dialog available...
- restat = 1
-
-build edit_cache: phony CMakeFiles/edit_cache.util
-
-
-#############################################
-# Utility command for rebuild_cache
-
-build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /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
- DESC = Running CMake to regenerate build system...
- pool = console
- restat = 1
-
-build rebuild_cache: phony CMakeFiles/rebuild_cache.util
-
-
-#############################################
-# Utility command for list_install_components
-
-build list_install_components: phony
-
-
-#############################################
-# Utility command for install
-
-build CMakeFiles/install.util: CUSTOM_COMMAND all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
- DESC = Install the project...
- pool = console
- restat = 1
-
-build install: phony CMakeFiles/install.util
-
-
-#############################################
-# Utility command for install/local
-
-build CMakeFiles/install/local.util: CUSTOM_COMMAND all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
- DESC = Installing only the local directory...
- pool = console
- restat = 1
-
-build install/local: phony CMakeFiles/install/local.util
-
-
-#############################################
-# Utility command for install/strip
-
-build CMakeFiles/install/strip.util: CUSTOM_COMMAND all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
- DESC = Installing the project stripped...
- pool = console
- restat = 1
-
-build install/strip: phony CMakeFiles/install/strip.util
-
-
-#############################################
-# Custom command for CMakeFiles/uninstall
-
-build CMakeFiles/uninstall | ${cmake_ninja_workdir}CMakeFiles/uninstall: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -P /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/cmake_uninstall.cmake
-
-
-#############################################
-# Custom command for CMakeFiles/lammps
-
-build CMakeFiles/lammps | ${cmake_ninja_workdir}CMakeFiles/lammps: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -P /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/cmake_lammps.cmake
-
-# =============================================================================
-# Write statements declared in CMakeLists.txt:
-# /root/deepmd-kit/source/CMakeLists.txt
-# =============================================================================
-
-# =============================================================================
-# Object build statements for MODULE_LIBRARY target op_abi
-
-
-#############################################
-# Order-only phony target for op_abi
-
-build cmake_object_order_depends_target_op_abi: phony || cmake_object_order_depends_target_deepmd
-
-build op/CMakeFiles/op_abi.dir/custom_op.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/custom_op.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/custom_op.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/descrpt.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/descrpt.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/descrpt_se_a_ef.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/descrpt_se_a_ef_para.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/descrpt_se_a_ef_vert.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/ewald_recp.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/ewald_recp.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/ewald_recp.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/gelu_multi_device.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/map_aparam.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/map_aparam.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/map_aparam.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/map_nvnmd.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/matmul_nvnmd.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/neighbor_stat.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/pair_tab.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/pair_tab.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/pair_tab.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/prod_env_mat_multi_device.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/prod_env_mat_multi_device_nvnmd.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/prod_force.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/prod_force.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/prod_force.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/prod_force_multi_device.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/prod_virial.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/prod_virial.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/prod_virial.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/prod_virial_multi_device.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/quantize_nvnmd.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/soft_min.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/soft_min.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/soft_min.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/soft_min_force.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/soft_min_force.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/soft_min_force.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/soft_min_virial.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/tabulate_multi_device.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/tanh2_nvnmd.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/tanh4_nvnmd.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/unaggregated_grad.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/lib/src/SimulationRegion.cpp || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir/__/lib/src
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/lib/src/neighbor_list.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir/__/lib/src
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-build op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o: CXX_COMPILER__op_abi_Release /root/deepmd-kit/source/op/optimizer/parallel.cc || cmake_object_order_depends_target_op_abi
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_abi_EXPORTS
- DEP_FILE = op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir/optimizer
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_PDB = op/libop_abi.pdb
-
-
-# =============================================================================
-# Link build statements for MODULE_LIBRARY target op_abi
-
-
-#############################################
-# Link the shared module op/libop_abi.so
-
-build op/libop_abi.so: CXX_MODULE_LIBRARY_LINKER__op_abi_Release op/CMakeFiles/op_abi.dir/custom_op.cc.o op/CMakeFiles/op_abi.dir/descrpt.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o op/CMakeFiles/op_abi.dir/ewald_recp.cc.o op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o op/CMakeFiles/op_abi.dir/map_aparam.cc.o op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o op/CMakeFiles/op_abi.dir/pair_tab.cc.o op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o op/CMakeFiles/op_abi.dir/prod_force.cc.o op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o op/CMakeFiles/op_abi.dir/prod_virial.cc.o op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o op/CMakeFiles/op_abi.dir/soft_min.cc.o op/CMakeFiles/op_abi.dir/soft_min_force.cc.o op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o | lib/libdeepmd.so /usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2 || lib/libdeepmd.so
- LANGUAGE_COMPILE_FLAGS = -fopenmp -O3 -DNDEBUG
- LINK_LIBRARIES = -Wl,-rpath,/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib:/usr/local/lib/python3.6/dist-packages/tensorflow: lib/libdeepmd.so /usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2
- OBJECT_DIR = op/CMakeFiles/op_abi.dir
- POST_BUILD = :
- PRE_LINK = :
- TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
- TARGET_FILE = op/libop_abi.so
- TARGET_PDB = op/libop_abi.pdb
-
-# =============================================================================
-# Object build statements for MODULE_LIBRARY target op_grads
-
-
-#############################################
-# Order-only phony target for op_grads
-
-build cmake_object_order_depends_target_op_grads: phony || cmake_object_order_depends_target_deepmd
-
-build op/CMakeFiles/op_grads.dir/custom_op.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/custom_op.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/custom_op.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-build op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/prod_force_grad.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-build op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/prod_force_grad_multi_device.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-build op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/prod_virial_grad.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-build op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/prod_virial_grad_multi_device.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-build op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/soft_min_force_grad.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-build op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o: CXX_COMPILER__op_grads_Release /root/deepmd-kit/source/op/soft_min_virial_grad.cc || cmake_object_order_depends_target_op_grads
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Dop_grads_EXPORTS
- DEP_FILE = op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/usr/local/lib/python3.6/dist-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_PDB = op/libop_grads.pdb
-
-
-# =============================================================================
-# Link build statements for MODULE_LIBRARY target op_grads
-
-
-#############################################
-# Link the shared module op/libop_grads.so
-
-build op/libop_grads.so: CXX_MODULE_LIBRARY_LINKER__op_grads_Release op/CMakeFiles/op_grads.dir/custom_op.cc.o op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o | lib/libdeepmd.so /usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2 || lib/libdeepmd.so
- LANGUAGE_COMPILE_FLAGS = -fopenmp -O3 -DNDEBUG
- LINK_LIBRARIES = -Wl,-rpath,/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib:/usr/local/lib/python3.6/dist-packages/tensorflow: lib/libdeepmd.so /usr/local/lib/python3.6/dist-packages/tensorflow/libtensorflow_framework.so.2
- OBJECT_DIR = op/CMakeFiles/op_grads.dir
- POST_BUILD = :
- PRE_LINK = :
- TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
- TARGET_FILE = op/libop_grads.so
- TARGET_PDB = op/libop_grads.pdb
-
-
-#############################################
-# Utility command for edit_cache
-
-build op/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
- DESC = No interactive CMake dialog available...
- restat = 1
-
-build op/edit_cache: phony op/CMakeFiles/edit_cache.util
-
-
-#############################################
-# Utility command for rebuild_cache
-
-build op/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op && /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
- DESC = Running CMake to regenerate build system...
- pool = console
- restat = 1
-
-build op/rebuild_cache: phony op/CMakeFiles/rebuild_cache.util
-
-
-#############################################
-# Utility command for list_install_components
-
-build op/list_install_components: phony
-
-
-#############################################
-# Utility command for install
-
-build op/CMakeFiles/install.util: CUSTOM_COMMAND op/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
- DESC = Install the project...
- pool = console
- restat = 1
-
-build op/install: phony op/CMakeFiles/install.util
-
-
-#############################################
-# Utility command for install/local
-
-build op/CMakeFiles/install/local.util: CUSTOM_COMMAND op/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
- DESC = Installing only the local directory...
- pool = console
- restat = 1
-
-build op/install/local: phony op/CMakeFiles/install/local.util
-
-
-#############################################
-# Utility command for install/strip
-
-build op/CMakeFiles/install/strip.util: CUSTOM_COMMAND op/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
- DESC = Installing the project stripped...
- pool = console
- restat = 1
-
-build op/install/strip: phony op/CMakeFiles/install/strip.util
-
-# =============================================================================
-# Write statements declared in CMakeLists.txt:
-# /root/deepmd-kit/source/CMakeLists.txt
-# =============================================================================
-
-# =============================================================================
-# Object build statements for SHARED_LIBRARY target deepmd
-
-
-#############################################
-# Order-only phony target for deepmd
-
-build cmake_object_order_depends_target_deepmd: phony || lib/CMakeFiles/deepmd.dir
-
-build lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/SimulationRegion.cpp || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/coord.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/coord.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/coord.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/env_mat.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/env_mat_nvnmd.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/ewald.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/ewald.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/ewald.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/fmt_nlist.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/gelu.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/gelu.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/gelu.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/map_aparam.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/neighbor_list.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/pair_tab.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/prod_env_mat.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/prod_env_mat_nvnmd.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/prod_force.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/prod_force_grad.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/prod_virial.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/prod_virial_grad.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/region.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/region.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/region.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/soft_min_switch.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/soft_min_switch_force.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/soft_min_switch_force_grad.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/soft_min_switch_virial.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/soft_min_switch_virial_grad.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/tabulate.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-build lib/CMakeFiles/deepmd.dir/src/utilities.cc.o: CXX_COMPILER__deepmd_Release /root/deepmd-kit/source/lib/src/utilities.cc || cmake_object_order_depends_target_deepmd
- DEFINES = -D_GLIBCXX_USE_CXX11_ABI=0 -Ddeepmd_EXPORTS
- DEP_FILE = lib/CMakeFiles/deepmd.dir/src/utilities.cc.o.d
- FLAGS = -fopenmp -O3 -DNDEBUG -fPIC -std=gnu++11
- INCLUDES = -I/root/deepmd-kit/source/lib/include
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_PDB = lib/libdeepmd.pdb
-
-
-# =============================================================================
-# Link build statements for SHARED_LIBRARY target deepmd
-
-
-#############################################
-# Link the shared library lib/libdeepmd.so
-
-build lib/libdeepmd.so: CXX_SHARED_LIBRARY_LINKER__deepmd_Release lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o lib/CMakeFiles/deepmd.dir/src/coord.cc.o lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o lib/CMakeFiles/deepmd.dir/src/ewald.cc.o lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o lib/CMakeFiles/deepmd.dir/src/gelu.cc.o lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o lib/CMakeFiles/deepmd.dir/src/region.cc.o lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o lib/CMakeFiles/deepmd.dir/src/utilities.cc.o
- LANGUAGE_COMPILE_FLAGS = -fopenmp -O3 -DNDEBUG
- LINK_LIBRARIES = -Wl,-rpath,:::::::
- OBJECT_DIR = lib/CMakeFiles/deepmd.dir
- POST_BUILD = :
- PRE_LINK = :
- SONAME = libdeepmd.so
- SONAME_FLAG = -Wl,-soname,
- TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
- TARGET_FILE = lib/libdeepmd.so
- TARGET_PDB = lib/libdeepmd.pdb
-
-
-#############################################
-# Utility command for edit_cache
-
-build lib/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
- DESC = No interactive CMake dialog available...
- restat = 1
-
-build lib/edit_cache: phony lib/CMakeFiles/edit_cache.util
-
-
-#############################################
-# Utility command for rebuild_cache
-
-build lib/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib && /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
- DESC = Running CMake to regenerate build system...
- pool = console
- restat = 1
-
-build lib/rebuild_cache: phony lib/CMakeFiles/rebuild_cache.util
-
-
-#############################################
-# Utility command for list_install_components
-
-build lib/list_install_components: phony
-
-
-#############################################
-# Utility command for install
-
-build lib/CMakeFiles/install.util: CUSTOM_COMMAND lib/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
- DESC = Install the project...
- pool = console
- restat = 1
-
-build lib/install: phony lib/CMakeFiles/install.util
-
-
-#############################################
-# Utility command for install/local
-
-build lib/CMakeFiles/install/local.util: CUSTOM_COMMAND lib/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
- DESC = Installing only the local directory...
- pool = console
- restat = 1
-
-build lib/install/local: phony lib/CMakeFiles/install/local.util
-
-
-#############################################
-# Utility command for install/strip
-
-build lib/CMakeFiles/install/strip.util: CUSTOM_COMMAND lib/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
- DESC = Installing the project stripped...
- pool = console
- restat = 1
-
-build lib/install/strip: phony lib/CMakeFiles/install/strip.util
-
-# =============================================================================
-# Write statements declared in CMakeLists.txt:
-# /root/deepmd-kit/source/CMakeLists.txt
-# =============================================================================
-
-
-#############################################
-# Utility command for edit_cache
-
-build config/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
- DESC = No interactive CMake dialog available...
- restat = 1
-
-build config/edit_cache: phony config/CMakeFiles/edit_cache.util
-
-
-#############################################
-# Utility command for rebuild_cache
-
-build config/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config && /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
- DESC = Running CMake to regenerate build system...
- pool = console
- restat = 1
-
-build config/rebuild_cache: phony config/CMakeFiles/rebuild_cache.util
-
-
-#############################################
-# Utility command for list_install_components
-
-build config/list_install_components: phony
-
-
-#############################################
-# Utility command for install
-
-build config/CMakeFiles/install.util: CUSTOM_COMMAND config/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
- DESC = Install the project...
- pool = console
- restat = 1
-
-build config/install: phony config/CMakeFiles/install.util
-
-
-#############################################
-# Utility command for install/local
-
-build config/CMakeFiles/install/local.util: CUSTOM_COMMAND config/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
- DESC = Installing only the local directory...
- pool = console
- restat = 1
-
-build config/install/local: phony config/CMakeFiles/install/local.util
-
-
-#############################################
-# Utility command for install/strip
-
-build config/CMakeFiles/install/strip.util: CUSTOM_COMMAND config/all
- COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config && /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
- DESC = Installing the project stripped...
- pool = console
- restat = 1
-
-build config/install/strip: phony config/CMakeFiles/install/strip.util
-
-# =============================================================================
-# Target aliases.
-
-build deepmd: phony lib/libdeepmd.so
-
-build libdeepmd.so: phony lib/libdeepmd.so
-
-build libop_abi.so: phony op/libop_abi.so
-
-build libop_grads.so: phony op/libop_grads.so
-
-build op_abi: phony op/libop_abi.so
-
-build op_grads: phony op/libop_grads.so
-
-# =============================================================================
-# Folder targets.
-
-# =============================================================================
-
-#############################################
-# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build
-
-build all: phony op/all lib/all config/all
-
-# =============================================================================
-
-#############################################
-# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config
-
-build config/all: phony
-
-# =============================================================================
-
-#############################################
-# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib
-
-build lib/all: phony lib/libdeepmd.so
-
-# =============================================================================
-
-#############################################
-# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op
-
-build op/all: phony op/libop_abi.so op/libop_grads.so
-
-# =============================================================================
-# Built-in targets
-
-
-#############################################
-# Re-run CMake if any of its inputs changed.
-
-build build.ninja: RERUN_CMAKE | /root/deepmd-kit/source/CMakeLists.txt /root/deepmd-kit/source/cmake/Findtensorflow.cmake /root/deepmd-kit/source/cmake/cmake_lammps.cmake.in /root/deepmd-kit/source/cmake/cmake_uninstall.cmake.in /root/deepmd-kit/source/cmake/tf_version.cpp /root/deepmd-kit/source/config/CMakeLists.txt /root/deepmd-kit/source/config/run_config.ini /root/deepmd-kit/source/lib/CMakeLists.txt /root/deepmd-kit/source/op/CMakeLists.txt /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompiler.cmake.in /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompiler.cmake.in /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCompilerIdDetection.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompileFeatures.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompilerABI.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompilerId.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeFindBinUtils.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeGenericSystem.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseImplicitIncludeInfo.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseImplicitLinkInfo.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseLibraryArchitecture.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystem.cmake.in /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCompilerCommon.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CheckCSourceCompiles.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CheckIncludeFile.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CheckLibraryExists.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ADSP-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ARMCC-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ARMClang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/AppleClang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Borland-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Bruce-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Clang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Clang-DetermineCompilerInternal.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Compaq-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Cray-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Embarcadero-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Fujitsu-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GHS-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-C.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-CXX.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-FindBinUtils.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/HP-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/HP-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IAR-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Intel-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/LCC-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/MSVC-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVHPC-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVIDIA-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/PGI-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/PathScale-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SCO-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SDCC-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SunPro-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/TI-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Tasking-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Watcom-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XL-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XL-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XLClang-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/zOS-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindGit.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindOpenMP.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageMessage.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindThreads.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Internal/CheckSourceCompiles.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Internal/FeatureTesting.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-Determine-CXX.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU-C.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU-CXX.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.25.2/CMakeCCompiler.cmake CMakeFiles/3.25.2/CMakeCXXCompiler.cmake CMakeFiles/3.25.2/CMakeSystem.cmake
- pool = console
-
-
-#############################################
-# A missing CMake input file is not an error.
-
-build /root/deepmd-kit/source/CMakeLists.txt /root/deepmd-kit/source/cmake/Findtensorflow.cmake /root/deepmd-kit/source/cmake/cmake_lammps.cmake.in /root/deepmd-kit/source/cmake/cmake_uninstall.cmake.in /root/deepmd-kit/source/cmake/tf_version.cpp /root/deepmd-kit/source/config/CMakeLists.txt /root/deepmd-kit/source/config/run_config.ini /root/deepmd-kit/source/lib/CMakeLists.txt /root/deepmd-kit/source/op/CMakeLists.txt /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompiler.cmake.in /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCCompilerABI.c /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompiler.cmake.in /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXCompilerABI.cpp /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCXXInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeCompilerIdDetection.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCXXCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompileFeatures.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompilerABI.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineCompilerId.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeDetermineSystem.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeFindBinUtils.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeGenericSystem.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseImplicitIncludeInfo.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseImplicitLinkInfo.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeParseLibraryArchitecture.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystem.cmake.in /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCXXCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CMakeTestCompilerCommon.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CheckCSourceCompiles.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CheckIncludeFile.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/CheckLibraryExists.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ADSP-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ARMCC-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/ARMClang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/AppleClang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Borland-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Bruce-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Clang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Clang-DetermineCompilerInternal.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Compaq-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Cray-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Embarcadero-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Fujitsu-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GHS-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-C.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-CXX.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU-FindBinUtils.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/GNU.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/HP-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/HP-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IAR-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Intel-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/LCC-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/MSVC-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVHPC-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/NVIDIA-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/PGI-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/PathScale-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SCO-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SDCC-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SunPro-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/TI-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Tasking-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/Watcom-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XL-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XL-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XLClang-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/zOS-C-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindGit.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindOpenMP.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindPackageMessage.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/FindThreads.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Internal/CheckSourceCompiles.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Internal/FeatureTesting.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-Determine-CXX.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU-C.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU-CXX.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux-GNU.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/Linux.cmake /tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/share/cmake-3.25/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.25.2/CMakeCCompiler.cmake CMakeFiles/3.25.2/CMakeCXXCompiler.cmake CMakeFiles/3.25.2/CMakeSystem.cmake: phony
-
-
-#############################################
-# Clean all the built files.
-
-build clean: CLEAN
-
-
-#############################################
-# Print all primary targets available.
-
-build help: HELP
-
-
-#############################################
-# Make the all target the default.
-
-default all
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/cmake_install.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/cmake_install.cmake
deleted file mode 100644
index 5826cf1467faf74b414ca4fc009573989ae87c6b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/cmake_install.cmake
+++ /dev/null
@@ -1,62 +0,0 @@
-# Install script for directory: /root/deepmd-kit/source
-
-# Set the install prefix
-if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install")
-endif()
-string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- if(BUILD_TYPE)
- string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- else()
- set(CMAKE_INSTALL_CONFIG_NAME "Release")
- endif()
- message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-endif()
-
-# Set the component getting installed.
-if(NOT CMAKE_INSTALL_COMPONENT)
- if(COMPONENT)
- message(STATUS "Install component: \"${COMPONENT}\"")
- set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- else()
- set(CMAKE_INSTALL_COMPONENT)
- endif()
-endif()
-
-# Install shared libraries without execute permission?
-if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- set(CMAKE_INSTALL_SO_NO_EXE "1")
-endif()
-
-# Is this installation the result of a crosscompile?
-if(NOT DEFINED CMAKE_CROSSCOMPILING)
- set(CMAKE_CROSSCOMPILING "FALSE")
-endif()
-
-# Set default install directory permissions.
-if(NOT DEFINED CMAKE_OBJDUMP)
- set(CMAKE_OBJDUMP "/usr/bin/objdump")
-endif()
-
-if(NOT CMAKE_INSTALL_LOCAL_ONLY)
- # Include the install script for each subdirectory.
- include("/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/cmake_install.cmake")
- include("/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/cmake_install.cmake")
- include("/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/cmake_install.cmake")
-
-endif()
-
-if(CMAKE_INSTALL_COMPONENT)
- set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
-else()
- set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
-endif()
-
-string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
- "${CMAKE_INSTALL_MANIFEST_FILES}")
-file(WRITE "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/${CMAKE_INSTALL_MANIFEST}"
- "${CMAKE_INSTALL_MANIFEST_CONTENT}")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/cmake_lammps.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/cmake_lammps.cmake
deleted file mode 100644
index 684b8df52c99af395de763d5fa8e2509233787e2..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/cmake_lammps.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-set (LMP_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/USER-DEEPMD")
-file(READ "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lmp/lammps_install_list.txt" files)
-string(REGEX REPLACE "\n" "" files "${files}")
-
-foreach (cur_file ${files})
- file (
- INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
- TYPE FILE
- FILES "${cur_file}"
- )
-endforeach ()
-
-file (
- INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
- TYPE FILE
- FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lmp/env.sh"
-)
-file (
- INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
- TYPE FILE
- FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lmp/env_low.sh"
-)
-
-file (
- INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
- TYPE FILE
- FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lmp/pair_deepmd.h"
-)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/cmake_uninstall.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/cmake_uninstall.cmake
deleted file mode 100644
index a38afa15a9895087e3a006da10791618457cda8b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/cmake_uninstall.cmake
+++ /dev/null
@@ -1,21 +0,0 @@
-if(NOT EXISTS "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt")
- message(FATAL_ERROR "Cannot find install manifest: /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt")
-endif(NOT EXISTS "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt")
-
-file(READ "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt" files)
-string(REGEX REPLACE "\n" ";" files "${files}")
-foreach(file ${files})
- message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
- if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
- exec_program(
- "/tmp/pip-build-env-5_1o2n9q/overlay/lib/python3.6/site-packages/cmake/data/bin/cmake" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
- OUTPUT_VARIABLE rm_out
- RETURN_VALUE rm_retval
- )
- if(NOT "${rm_retval}" STREQUAL 0)
- message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
- endif(NOT "${rm_retval}" STREQUAL 0)
- else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
- message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
- endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
-endforeach(file)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/config/cmake_install.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/config/cmake_install.cmake
deleted file mode 100644
index fffc06911ba4e7984c520ee9fc494de935466383..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/config/cmake_install.cmake
+++ /dev/null
@@ -1,48 +0,0 @@
-# Install script for directory: /root/deepmd-kit/source/config
-
-# Set the install prefix
-if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install")
-endif()
-string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- if(BUILD_TYPE)
- string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- else()
- set(CMAKE_INSTALL_CONFIG_NAME "Release")
- endif()
- message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-endif()
-
-# Set the component getting installed.
-if(NOT CMAKE_INSTALL_COMPONENT)
- if(COMPONENT)
- message(STATUS "Install component: \"${COMPONENT}\"")
- set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- else()
- set(CMAKE_INSTALL_COMPONENT)
- endif()
-endif()
-
-# Install shared libraries without execute permission?
-if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- set(CMAKE_INSTALL_SO_NO_EXE "1")
-endif()
-
-# Is this installation the result of a crosscompile?
-if(NOT DEFINED CMAKE_CROSSCOMPILING)
- set(CMAKE_CROSSCOMPILING "FALSE")
-endif()
-
-# Set default install directory permissions.
-if(NOT DEFINED CMAKE_OBJDUMP)
- set(CMAKE_OBJDUMP "/usr/bin/objdump")
-endif()
-
-if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/pkg_config" TYPE FILE FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/config/run_config.ini")
-endif()
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/config/run_config.ini b/_skbuild/linux-x86_64-3.6/cmake-build/config/run_config.ini
deleted file mode 100644
index 0a7a1cd6b3440a0864c2d2535a2089e95b0bdb8e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/config/run_config.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[CONFIG]
-INSTALL_PREFIX = /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install
-GIT_SUMM = v2.1.5-dirty
-GIT_HASH = 6e3d4a62
-GIT_DATE = 2022-09-23 16:10:28 +0800
-GIT_BRANCH = HEAD
-TF_INCLUDE_DIR = /usr/local/lib/python3.6/dist-packages/tensorflow/include;/usr/local/lib/python3.6/dist-packages/tensorflow/include
-TF_LIBS =
-TF_VERSION = 2.4.0
-TF_CXX11_ABI_FLAG = 0
-MODEL_VERSION=1.1
-DP_VARIANT=cpu
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt b/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt
deleted file mode 100644
index aab3dddc3b9b3777658bf6e916f7b4396c3abff1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/install_manifest.txt
+++ /dev/null
@@ -1,19 +0,0 @@
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_abi.so
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_grads.so
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_gelu.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_map_nvnmd_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_matmul_nvnmd_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_a_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_r_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_a_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_r_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_quantize_nvnmd_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_force_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_virial_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tabulate_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh2_nvnmd_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh4_nvnmd_grad.py
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libdeepmd.so
-/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/pkg_config/run_config.ini
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o
deleted file mode 100644
index 564c9271cba5ccf5081ae7a3d1b0f2c56981baaa..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/coord.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/coord.cc.o
deleted file mode 100644
index 684d5cb55cbb6893bc2b971364ff27da65ff1765..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/coord.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o
deleted file mode 100644
index c5f9befd918a1016b2e3efb24e671fc8f7987dca..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o
deleted file mode 100644
index 121fde7666b99a5a5ff7676f7e22c31f1a0ecbfb..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o
deleted file mode 100644
index 45c2659e0063c64a8be18d733879fdf9887f67c4..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o
deleted file mode 100644
index 3ec77555ab722e66e060681881cfceb57985baac..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/gelu.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/gelu.cc.o
deleted file mode 100644
index 133b2cc9d10a47e45f16e21d334bcc8cec16d247..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/gelu.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o
deleted file mode 100644
index 59f34ff1403fee83a212eeaacce07d082c59052e..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o
deleted file mode 100644
index 2ea8f0ced0dda52a3a7ec42e36244a915e98d542..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o
deleted file mode 100644
index 225f76ebbfecc132e7949b9dc715e770e6ab6b3a..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o
deleted file mode 100644
index 56195ebd9ed47731eb3cd3c7a280f484bd6c7183..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o
deleted file mode 100644
index 8756755bc314e1f74ac40970f926c0a996ecf480..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o
deleted file mode 100644
index 9dcaf1e0405400e16553de1525562f7f084012b1..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o
deleted file mode 100644
index 0ac7d9301e9a860f2ce479e4dcb285154dae0b01..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o
deleted file mode 100644
index 550330d92aed7551b70d8e66710c202caa66e715..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o
deleted file mode 100644
index d46ba8c8556aeca03eb3da960706dbbde5327b55..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/region.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/region.cc.o
deleted file mode 100644
index b6471aa9ff1f06ae9da1a4eec899087173c68460..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/region.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o
deleted file mode 100644
index b443e51d19e5bdebda50c57a11e69692b27000b8..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o
deleted file mode 100644
index 2682f0b36cbedf04d1f5b027395372b1484f01c3..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o
deleted file mode 100644
index aa4ddde442d87a5592516538e41598a7858ba502..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o
deleted file mode 100644
index 11ff27ea046f93c4256a6c64658bf784d99d0f76..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o
deleted file mode 100644
index db41b765860f8cc4f8d601ebedb73181593cf413..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o
deleted file mode 100644
index 448f968278bc06252b262e8d190e1966bc071844..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/utilities.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/utilities.cc.o
deleted file mode 100644
index e7b35412a8024034191b9a4ddd03784b11139bff..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/CMakeFiles/deepmd.dir/src/utilities.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/cmake_install.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/lib/cmake_install.cmake
deleted file mode 100644
index b8ebdc1fc16670ccfb3221632acb49d14ad31c05..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/lib/cmake_install.cmake
+++ /dev/null
@@ -1,67 +0,0 @@
-# Install script for directory: /root/deepmd-kit/source/lib
-
-# Set the install prefix
-if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install")
-endif()
-string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- if(BUILD_TYPE)
- string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- else()
- set(CMAKE_INSTALL_CONFIG_NAME "Release")
- endif()
- message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-endif()
-
-# Set the component getting installed.
-if(NOT CMAKE_INSTALL_COMPONENT)
- if(COMPONENT)
- message(STATUS "Install component: \"${COMPONENT}\"")
- set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- else()
- set(CMAKE_INSTALL_COMPONENT)
- endif()
-endif()
-
-# Install shared libraries without execute permission?
-if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- set(CMAKE_INSTALL_SO_NO_EXE "1")
-endif()
-
-# Is this installation the result of a crosscompile?
-if(NOT DEFINED CMAKE_CROSSCOMPILING)
- set(CMAKE_CROSSCOMPILING "FALSE")
-endif()
-
-# Set default install directory permissions.
-if(NOT DEFINED CMAKE_OBJDUMP)
- set(CMAKE_OBJDUMP "/usr/bin/objdump")
-endif()
-
-if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
- if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so" AND
- NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so")
- file(RPATH_CHECK
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so"
- RPATH "$ORIGIN")
- endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE SHARED_LIBRARY FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib/libdeepmd.so")
- if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so" AND
- NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so")
- file(RPATH_CHANGE
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so"
- OLD_RPATH ":::::::"
- NEW_RPATH "$ORIGIN")
- if(CMAKE_INSTALL_DO_STRIP)
- execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so")
- endif()
- endif()
-endif()
-
-if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
-endif()
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/lib/libdeepmd.so b/_skbuild/linux-x86_64-3.6/cmake-build/lib/libdeepmd.so
deleted file mode 100755
index 4148232d72814524451b2b7ab53d0781bd86228e..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/lib/libdeepmd.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o
deleted file mode 100644
index 564c9271cba5ccf5081ae7a3d1b0f2c56981baaa..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o
deleted file mode 100644
index 2ea8f0ced0dda52a3a7ec42e36244a915e98d542..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o
deleted file mode 100644
index bf69e410ba3ef834b14a682c5787407bdffdf7e4..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o
deleted file mode 100644
index 016bf8f54b90ec38978a1e1f22760205d07e2bc9..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o
deleted file mode 100644
index 929db0ddaabe3c16895f21e507316952046af621..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o
deleted file mode 100644
index 5e1825f74f07b5da7bf482eec1ff8e25dea52a14..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o
deleted file mode 100644
index 5cb8589aca308ed5e98910efd70d9de249268993..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o
deleted file mode 100644
index 38f8e58620539886ae37ff6f01ba01a2138e1472..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o
deleted file mode 100644
index a8ae2d9fb2276779c700ee8d4288daea7caa9998..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o
deleted file mode 100644
index e82a259ec2871082830980427b1ac2bbc259a53f..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o
deleted file mode 100644
index bf18e5ce117ba0ffbb3326ef91f0a7cac59ea2b3..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o
deleted file mode 100644
index ab8254f07db104d72fdb206c44b161947bf22502..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o
deleted file mode 100644
index 7d6cc71ed69c61b241e84437755fc1f139e7c8c4..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o
deleted file mode 100644
index b5956956a114f09957f7b323749eb76815a97077..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o
deleted file mode 100644
index 1e59679b9c918c89eaea5a614141cf7ababb7dc0..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o
deleted file mode 100644
index 29a38e2c97b99946d79c77e43eb25e9a355b27e7..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o
deleted file mode 100644
index 6df56c3ad4984af8d3ffe942770d15b27b5fb789..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o
deleted file mode 100644
index 93cd4471683490c64f18b49c85d18358eb42c5a9..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o
deleted file mode 100644
index 37f613b9a399cd49c091a3c135be99ad9e3c6803..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o
deleted file mode 100644
index 8230a797ed9c252c0324eaad4e0c34cd23c5d3f4..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o
deleted file mode 100644
index 18dfde5e70c926dfc8a094cfe156636da725787c..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o
deleted file mode 100644
index c25a31db0675526ffcc5e03e7511cc96e0778f2d..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o
deleted file mode 100644
index 021f467a094df64bbe4df2c95a280dc0775a18ab..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o
deleted file mode 100644
index 3e442278b0fccda479ac9e5e8de3938dfa35a194..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o
deleted file mode 100644
index ee25962118180be2e18d1b77b3215c728a3ff52d..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o
deleted file mode 100644
index 2dad5e48b4fa608b692c180cabd3a38d2fcbf6b7..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o
deleted file mode 100644
index 99bc856f1ff47b29542fe6d43b647853bb916be8..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o
deleted file mode 100644
index 06efe2cb9a05e434eb862b9c36641a05d2128d4a..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o
deleted file mode 100644
index 2be8ecb100c7bb9aff5e11013cd81f58a08cecab..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o
deleted file mode 100644
index bf69e410ba3ef834b14a682c5787407bdffdf7e4..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o
deleted file mode 100644
index 6d8c4fd4de51128dd42b978b9355f9dfafa49b12..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o
deleted file mode 100644
index bb7ad40736b813206f263594adf1ed59aa30f128..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o
deleted file mode 100644
index 37b4607b2ea46d940e26cfc188bfd5584701b76d..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o
deleted file mode 100644
index 75bb484b679443e46ebf81f1d42db239d4417ba9..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o
deleted file mode 100644
index 3c303f8e595bacecb1ec99b278092d53e4019581..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o b/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o
deleted file mode 100644
index 65633a1a463f7f3fe5d8be5ed24583706e3f7280..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/cmake_install.cmake b/_skbuild/linux-x86_64-3.6/cmake-build/op/cmake_install.cmake
deleted file mode 100644
index 959229941cdccea4d165aac0ce0ff09edd918e08..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-build/op/cmake_install.cmake
+++ /dev/null
@@ -1,104 +0,0 @@
-# Install script for directory: /root/deepmd-kit/source/op
-
-# Set the install prefix
-if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install")
-endif()
-string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
-
-# Set the install configuration name.
-if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
- if(BUILD_TYPE)
- string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
- CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
- else()
- set(CMAKE_INSTALL_CONFIG_NAME "Release")
- endif()
- message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
-endif()
-
-# Set the component getting installed.
-if(NOT CMAKE_INSTALL_COMPONENT)
- if(COMPONENT)
- message(STATUS "Install component: \"${COMPONENT}\"")
- set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
- else()
- set(CMAKE_INSTALL_COMPONENT)
- endif()
-endif()
-
-# Install shared libraries without execute permission?
-if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
- set(CMAKE_INSTALL_SO_NO_EXE "1")
-endif()
-
-# Is this installation the result of a crosscompile?
-if(NOT DEFINED CMAKE_CROSSCOMPILING)
- set(CMAKE_CROSSCOMPILING "FALSE")
-endif()
-
-# Set default install directory permissions.
-if(NOT DEFINED CMAKE_OBJDUMP)
- set(CMAKE_OBJDUMP "/usr/bin/objdump")
-endif()
-
-if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
- if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so" AND
- NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so")
- file(RPATH_CHECK
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so"
- RPATH "$ORIGIN")
- endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE MODULE FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_abi.so")
- if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so" AND
- NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so")
- file(RPATH_CHANGE
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so"
- OLD_RPATH "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib:/usr/local/lib/python3.6/dist-packages/tensorflow:"
- NEW_RPATH "$ORIGIN")
- if(CMAKE_INSTALL_DO_STRIP)
- execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so")
- endif()
- endif()
-endif()
-
-if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
- if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so" AND
- NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so")
- file(RPATH_CHECK
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so"
- RPATH "$ORIGIN")
- endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE MODULE FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_grads.so")
- if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so" AND
- NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so")
- file(RPATH_CHANGE
- FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so"
- OLD_RPATH "/root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-build/lib:/usr/local/lib/python3.6/dist-packages/tensorflow:"
- NEW_RPATH "$ORIGIN")
- if(CMAKE_INSTALL_DO_STRIP)
- execute_process(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so")
- endif()
- endif()
-endif()
-
-if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE FILE FILES
- "/root/deepmd-kit/source/op/_gelu.py"
- "/root/deepmd-kit/source/op/_map_nvnmd_grad.py"
- "/root/deepmd-kit/source/op/_matmul_nvnmd_grad.py"
- "/root/deepmd-kit/source/op/_prod_force_grad.py"
- "/root/deepmd-kit/source/op/_prod_force_se_a_grad.py"
- "/root/deepmd-kit/source/op/_prod_force_se_r_grad.py"
- "/root/deepmd-kit/source/op/_prod_virial_grad.py"
- "/root/deepmd-kit/source/op/_prod_virial_se_a_grad.py"
- "/root/deepmd-kit/source/op/_prod_virial_se_r_grad.py"
- "/root/deepmd-kit/source/op/_quantize_nvnmd_grad.py"
- "/root/deepmd-kit/source/op/_soft_min_force_grad.py"
- "/root/deepmd-kit/source/op/_soft_min_virial_grad.py"
- "/root/deepmd-kit/source/op/_tabulate_grad.py"
- "/root/deepmd-kit/source/op/_tanh2_nvnmd_grad.py"
- "/root/deepmd-kit/source/op/_tanh4_nvnmd_grad.py"
- )
-endif()
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_abi.so b/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_abi.so
deleted file mode 100755
index 3f805d26ac2b430769b3e139a8888d213f71c367..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_abi.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_grads.so b/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_grads.so
deleted file mode 100755
index c1babad4a2eded1cc3295d187504af74a490cb44..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-build/op/libop_grads.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__about__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__about__.py
deleted file mode 100644
index 840624bec554d26de81a37b9df46ecc95361c0e5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__about__.py
+++ /dev/null
@@ -1 +0,0 @@
-__version__ = 'unknown'
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__init__.py
deleted file mode 100644
index c9e4149517159e206add8fb4936ee455493b1cd6..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__init__.py
+++ /dev/null
@@ -1,36 +0,0 @@
-"""Root of the deepmd package, exposes all public classes and submodules."""
-
-try:
- from importlib import metadata
-except ImportError: # for Python<3.8
- import importlib_metadata as metadata
-import deepmd.utils.network as network
-
-from . import cluster, descriptor, fit, loss, utils, nvnmd
-from .env import set_mkl
-from .infer import DeepEval, DeepPotential
-from .infer.data_modifier import DipoleChargeModifier
-
-set_mkl()
-
-try:
- from ._version import version as __version__
-except ImportError:
- from .__about__ import __version__
-
-# load third-party plugins
-for ep in metadata.entry_points().get('deepmd', []):
- ep.load()
-
-__all__ = [
- "descriptor",
- "fit",
- "loss",
- "utils",
- "cluster",
- "network",
- "DeepEval",
- "DeepPotential",
- "DipoleChargeModifier",
- "nvnmd",
-]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__main__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__main__.py
deleted file mode 100644
index ca814493674c4fcc14d1868e28f832e0ca41c857..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/__main__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-"""Package dp entry point."""
-
-from .entrypoints.main import main
-
-if __name__ == '__main__':
- main()
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/_version.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/_version.py
deleted file mode 100644
index b095e94640c21cb94a6e0e74d6160144c855a92c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/_version.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# coding: utf-8
-# file generated by setuptools_scm
-# don't change, don't track in version control
-version = '2.1.6.dev0+ng6e3d4a62.d20230313'
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/calculator.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/calculator.py
deleted file mode 100644
index 38c56b72b261ff2ac9d974aefbfa604331db8e46..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/calculator.py
+++ /dev/null
@@ -1,119 +0,0 @@
-"""ASE calculator interface module."""
-
-from pathlib import Path
-from typing import TYPE_CHECKING, Dict, List, Optional, Union
-
-from ase.calculators.calculator import (
- Calculator, all_changes, PropertyNotImplementedError
-)
-
-from deepmd import DeepPotential
-
-if TYPE_CHECKING:
- from ase import Atoms
-
-__all__ = ["DP"]
-
-
-class DP(Calculator):
- """Implementation of ASE deepmd calculator.
-
- Implemented propertie are `energy`, `forces` and `stress`
-
- Parameters
- ----------
- model : Union[str, Path]
- path to the model
- label : str, optional
- calculator label, by default "DP"
- type_dict : Dict[str, int], optional
- mapping of element types and their numbers, best left None and the calculator
- will infer this information from model, by default None
-
- Examples
- --------
- Compute potential energy
-
- >>> from ase import Atoms
- >>> from deepmd.calculator import DP
- >>> water = Atoms('H2O',
- >>> positions=[(0.7601, 1.9270, 1),
- >>> (1.9575, 1, 1),
- >>> (1., 1., 1.)],
- >>> cell=[100, 100, 100],
- >>> calculator=DP(model="frozen_model.pb"))
- >>> print(water.get_potential_energy())
- >>> print(water.get_forces())
-
- Run BFGS structure optimization
-
- >>> from ase.optimize import BFGS
- >>> dyn = BFGS(water)
- >>> dyn.run(fmax=1e-6)
- >>> print(water.get_positions())
- """
-
- name = "DP"
- implemented_properties = ["energy", "free_energy", "forces", "virial", "stress"]
-
- def __init__(
- self,
- model: Union[str, "Path"],
- label: str = "DP",
- type_dict: Dict[str, int] = None,
- **kwargs
- ) -> None:
- Calculator.__init__(self, label=label, **kwargs)
- self.dp = DeepPotential(str(Path(model).resolve()))
- if type_dict:
- self.type_dict = type_dict
- else:
- self.type_dict = dict(
- zip(self.dp.get_type_map(), range(self.dp.get_ntypes()))
- )
-
- def calculate(
- self,
- atoms: Optional["Atoms"] = None,
- properties: List[str] = ["energy", "forces", "virial"],
- system_changes: List[str] = all_changes,
- ):
- """Run calculation with deepmd model.
-
- Parameters
- ----------
- atoms : Optional[Atoms], optional
- atoms object to run the calculation on, by default None
- properties : List[str], optional
- unused, only for function signature compatibility,
- by default ["energy", "forces", "stress"]
- system_changes : List[str], optional
- unused, only for function signature compatibility, by default all_changes
- """
- if atoms is not None:
- self.atoms = atoms.copy()
-
- coord = self.atoms.get_positions().reshape([1, -1])
- if sum(self.atoms.get_pbc()) > 0:
- cell = self.atoms.get_cell().reshape([1, -1])
- else:
- cell = None
- symbols = self.atoms.get_chemical_symbols()
- atype = [self.type_dict[k] for k in symbols]
- e, f, v = self.dp.eval(coords=coord, cells=cell, atom_types=atype)
- self.results['energy'] = e[0][0]
- # see https://gitlab.com/ase/ase/-/merge_requests/2485
- self.results['free_energy'] = e[0][0]
- self.results['forces'] = f[0]
- self.results['virial'] = v[0].reshape(3, 3)
-
- # convert virial into stress for lattice relaxation
- if "stress" in properties:
- if sum(atoms.get_pbc()) > 0:
- # the usual convention (tensile stress is positive)
- # stress = -virial / volume
- stress = -0.5 * (v[0].copy() + v[0].copy().T) / atoms.get_volume()
- # Voigt notation
- self.results['stress'] = stress.flat[[0, 4, 8, 5, 2, 1]]
- else:
- raise PropertyNotImplementedError
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/__init__.py
deleted file mode 100644
index 7007208d4b7dec61dd4ec7651c5f9d5e362d8a2e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/__init__.py
+++ /dev/null
@@ -1,22 +0,0 @@
-"""Module that reads node resources, auto detects if running local or on SLURM."""
-
-from .local import get_resource as get_local_res
-from .slurm import get_resource as get_slurm_res
-import os
-from typing import List, Tuple, Optional
-
-__all__ = ["get_resource"]
-
-
-def get_resource() -> Tuple[str, List[str], Optional[List[int]]]:
- """Get local or slurm resources: nodename, nodelist, and gpus.
-
- Returns
- -------
- Tuple[str, List[str], Optional[List[int]]]
- nodename, nodelist, and gpus
- """
- if "SLURM_JOB_NODELIST" in os.environ:
- return get_slurm_res()
- else:
- return get_local_res()
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/local.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/local.py
deleted file mode 100644
index 9b7f622975881aa0b514dc4d708581cd42e92fc5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/local.py
+++ /dev/null
@@ -1,49 +0,0 @@
-"""Get local GPU resources."""
-
-import os
-import socket
-import subprocess as sp
-import sys
-
-from deepmd.env import tf
-from typing import List, Tuple, Optional
-
-
-__all__ = ["get_gpus", "get_resource"]
-
-
-def get_gpus():
- """Get available IDs of GPU cards at local.
- These IDs are valid when used as the TensorFlow device ID.
-
- Returns
- -------
- Optional[List[int]]
- List of available GPU IDs. Otherwise, None.
- """
- test_cmd = 'from tensorflow.python.client import device_lib; ' \
- 'devices = device_lib.list_local_devices(); ' \
- 'gpus = [d.name for d in devices if d.device_type == "GPU"]; ' \
- 'print(len(gpus))'
- with sp.Popen([sys.executable, "-c", test_cmd], stderr=sp.PIPE, stdout=sp.PIPE) as p:
- stdout, stderr = p.communicate()
- if p.returncode != 0:
- decoded = stderr.decode('UTF-8')
- raise RuntimeError('Failed to detect availbe GPUs due to:\n%s' % decoded)
- decoded = stdout.decode('UTF-8').strip()
- num_gpus = int(decoded)
- return list(range(num_gpus)) if num_gpus > 0 else None
-
-
-def get_resource() -> Tuple[str, List[str], Optional[List[int]]]:
- """Get local resources: nodename, nodelist, and gpus.
-
- Returns
- -------
- Tuple[str, List[str], Optional[List[int]]]
- nodename, nodelist, and gpus
- """
- nodename = socket.gethostname()
- nodelist = [nodename]
- gpus = get_gpus()
- return nodename, nodelist, gpus
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/slurm.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/slurm.py
deleted file mode 100644
index 6334f4a8f6ef2936bed8b705bd5cc0282948c419..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/cluster/slurm.py
+++ /dev/null
@@ -1,51 +0,0 @@
-"""MOdule to get resources on SLURM cluster.
-
-References
-----------
-https://github.com/deepsense-ai/tensorflow_on_slurm ####
-"""
-
-import hostlist
-import os
-
-from deepmd.cluster import local
-from typing import List, Tuple, Optional
-
-__all__ = ["get_resource"]
-
-
-def get_resource() -> Tuple[str, List[str], Optional[List[int]]]:
- """Get SLURM resources: nodename, nodelist, and gpus.
-
- Returns
- -------
- Tuple[str, List[str], Optional[List[int]]]
- nodename, nodelist, and gpus
-
- Raises
- ------
- RuntimeError
- if number of nodes could not be retrieved
- ValueError
- list of nodes is not of the same length sa number of nodes
- ValueError
- if current nodename is not found in node list
- """
- nodelist = hostlist.expand_hostlist(os.environ["SLURM_JOB_NODELIST"])
- nodename = os.environ["SLURMD_NODENAME"]
- num_nodes_env = os.getenv("SLURM_JOB_NUM_NODES")
- if num_nodes_env:
- num_nodes = int(num_nodes_env)
- else:
- raise RuntimeError("Could not get SLURM number of nodes")
-
- if len(nodelist) != num_nodes:
- raise ValueError(
- f"Number of slurm nodes {len(nodelist)} not equal to {num_nodes}"
- )
- if nodename not in nodelist:
- raise ValueError(
- f"Nodename({nodename}) not in nodelist({nodelist}). This should not happen!"
- )
- gpus = local.get_gpus()
- return nodename, nodelist, gpus
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/common.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/common.py
deleted file mode 100644
index b868038b3d346ea716e336741e7ade531848ac6a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/common.py
+++ /dev/null
@@ -1,579 +0,0 @@
-"""Collection of functions and classes used throughout the whole package."""
-
-import json
-import warnings
-import tensorflow
-from functools import wraps
-from pathlib import Path
-from typing import (
- TYPE_CHECKING,
- Any,
- Callable,
- Dict,
- List,
- Optional,
- Tuple,
- TypeVar,
- Union,
-)
-
-import numpy as np
-import yaml
-
-from deepmd.env import op_module, tf
-from tensorflow.python.framework import tensor_util
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION, GLOBAL_NP_FLOAT_PRECISION
-from deepmd.utils.sess import run_sess
-from deepmd.utils.errors import GraphWithoutTensorError
-from deepmd.utils.path import DPPath
-
-if TYPE_CHECKING:
- _DICT_VAL = TypeVar("_DICT_VAL")
- _OBJ = TypeVar("_OBJ")
- try:
- from typing import Literal # python >3.6
- except ImportError:
- from typing_extensions import Literal # type: ignore
- _ACTIVATION = Literal["relu", "relu6", "softplus", "sigmoid", "tanh", "gelu", "gelu_tf"]
- _PRECISION = Literal["default", "float16", "float32", "float64"]
-
-# define constants
-PRECISION_DICT = {
- "default": GLOBAL_TF_FLOAT_PRECISION,
- "float16": tf.float16,
- "float32": tf.float32,
- "float64": tf.float64,
-}
-
-
-def gelu(x: tf.Tensor) -> tf.Tensor:
- """Gaussian Error Linear Unit.
-
- This is a smoother version of the RELU, implemented by custom operator.
-
- Parameters
- ----------
- x : tf.Tensor
- float Tensor to perform activation
-
- Returns
- -------
- tf.Tensor
- `x` with the GELU activation applied
-
- References
- ----------
- Original paper
- https://arxiv.org/abs/1606.08415
- """
- return op_module.gelu_custom(x)
-
-
-def gelu_tf(x: tf.Tensor) -> tf.Tensor:
- """Gaussian Error Linear Unit.
-
- This is a smoother version of the RELU, implemented by TF.
-
- Parameters
- ----------
- x : tf.Tensor
- float Tensor to perform activation
-
- Returns
- -------
- tf.Tensor
- `x` with the GELU activation applied
-
- References
- ----------
- Original paper
- https://arxiv.org/abs/1606.08415
- """
- def gelu_wrapper(x):
- try:
- return tensorflow.nn.gelu(x, approximate=True)
- except AttributeError:
- warnings.warn("TensorFlow does not provide an implementation of gelu, please upgrade your TensorFlow version. Fallback to the custom gelu operator.")
- return op_module.gelu_custom(x)
- return (lambda x: gelu_wrapper(x))(x)
-
-# TODO this is not a good way to do things. This is some global variable to which
-# TODO anyone can write and there is no good way to keep track of the changes
-data_requirement = {}
-
-ACTIVATION_FN_DICT = {
- "relu": tf.nn.relu,
- "relu6": tf.nn.relu6,
- "softplus": tf.nn.softplus,
- "sigmoid": tf.sigmoid,
- "tanh": tf.nn.tanh,
- "gelu": gelu,
- "gelu_tf": gelu_tf,
-}
-
-
-def add_data_requirement(
- key: str,
- ndof: int,
- atomic: bool = False,
- must: bool = False,
- high_prec: bool = False,
- type_sel: bool = None,
- repeat: int = 1,
- default: float = 0.,
-):
- """Specify data requirements for training.
-
- Parameters
- ----------
- key : str
- type of data stored in corresponding `*.npy` file e.g. `forces` or `energy`
- ndof : int
- number of the degrees of freedom, this is tied to `atomic` parameter e.g. forces
- have `atomic=True` and `ndof=3`
- atomic : bool, optional
- specifies whwther the `ndof` keyworrd applies to per atom quantity or not,
- by default False
- must : bool, optional
- specifi if the `*.npy` data file must exist, by default False
- high_prec : bool, optional
- if tru load data to `np.float64` else `np.float32`, by default False
- type_sel : bool, optional
- select only certain type of atoms, by default None
- repeat : int, optional
- if specify repaeat data `repeat` times, by default 1
- default : float, optional, default=0.
- default value of data
- """
- data_requirement[key] = {
- "ndof": ndof,
- "atomic": atomic,
- "must": must,
- "high_prec": high_prec,
- "type_sel": type_sel,
- "repeat": repeat,
- "default": default,
- }
-
-
-def select_idx_map(
- atom_types: np.ndarray, select_types: np.ndarray
-) -> np.ndarray:
- """Build map of indices for element supplied element types from all atoms list.
-
- Parameters
- ----------
- atom_types : np.ndarray
- array specifing type for each atoms as integer
- select_types : np.ndarray
- types of atoms you want to find indices for
-
- Returns
- -------
- np.ndarray
- indices of types of atoms defined by `select_types` in `atom_types` array
-
- Warnings
- --------
- `select_types` array will be sorted before finding indices in `atom_types`
- """
- sort_select_types = np.sort(select_types)
- idx_map = np.array([], dtype=int)
- for ii in sort_select_types:
- idx_map = np.append(idx_map, np.where(atom_types == ii))
- return idx_map
-
-
-# TODO not really sure if the docstring is right the purpose of this is a bit unclear
-def make_default_mesh(
- test_box: np.ndarray, cell_size: float = 3.0
-) -> np.ndarray:
- """Get number of cells of size=`cell_size` fit into average box.
-
- Parameters
- ----------
- test_box : np.ndarray
- numpy array with cells of shape Nx9
- cell_size : float, optional
- length of one cell, by default 3.0
-
- Returns
- -------
- np.ndarray
- mesh for supplied boxes, how many cells fit in each direction
- """
- cell_lengths = np.linalg.norm(test_box.reshape([-1, 3, 3]), axis=2)
- avg_cell_lengths = np.average(cell_lengths, axis=0)
- ncell = (avg_cell_lengths / cell_size).astype(np.int32)
- ncell[ncell < 2] = 2
- default_mesh = np.zeros(6, dtype=np.int32)
- default_mesh[3:6] = ncell
- return default_mesh
-
-
-# TODO not an ideal approach, every class uses this to parse arguments on its own, json
-# TODO should be parsed once and the parsed result passed to all objects that need it
-class ClassArg:
- """Class that take care of input json/yaml parsing.
-
- The rules for parsing are defined by the `add` method, than `parse` is called to
- process the supplied dict
-
- Attributes
- ----------
- arg_dict: Dict[str, Any]
- dictionary containing parsing rules
- alias_map: Dict[str, Any]
- dictionary with keyword aliases
- """
-
- def __init__(self) -> None:
- self.arg_dict = {}
- self.alias_map = {}
-
- def add(
- self,
- key: str,
- types_: Union[type, List[type]],
- alias: Optional[Union[str, List[str]]] = None,
- default: Any = None,
- must: bool = False,
- ) -> "ClassArg":
- """Add key to be parsed.
-
- Parameters
- ----------
- key : str
- key name
- types_ : Union[type, List[type]]
- list of allowed key types
- alias : Optional[Union[str, List[str]]], optional
- alias for the key, by default None
- default : Any, optional
- default value for the key, by default None
- must : bool, optional
- if the key is mandatory, by default False
-
- Returns
- -------
- ClassArg
- instance with added key
- """
- if not isinstance(types_, list):
- types = [types_]
- else:
- types = types_
- if alias is not None:
- if not isinstance(alias, list):
- alias_ = [alias]
- else:
- alias_ = alias
- else:
- alias_ = []
-
- self.arg_dict[key] = {
- "types": types,
- "alias": alias_,
- "value": default,
- "must": must,
- }
- for ii in alias_:
- self.alias_map[ii] = key
-
- return self
-
- def _add_single(self, key: str, data: Any):
- vtype = type(data)
- if data is None:
- return data
- if not (vtype in self.arg_dict[key]["types"]):
- for tp in self.arg_dict[key]["types"]:
- try:
- vv = tp(data)
- except TypeError:
- pass
- else:
- break
- else:
- raise TypeError(
- f"cannot convert provided key {key} to type(s) "
- f'{self.arg_dict[key]["types"]} '
- )
- else:
- vv = data
- self.arg_dict[key]["value"] = vv
-
- def _check_must(self):
- for kk in self.arg_dict:
- if self.arg_dict[kk]["must"] and self.arg_dict[kk]["value"] is None:
- raise RuntimeError(f"key {kk} must be provided")
-
- def parse(self, jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Parse input dictionary, use the rules defined by add method.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- loaded json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- parsed dictionary
- """
- for kk in jdata.keys():
- if kk in self.arg_dict:
- key = kk
- self._add_single(key, jdata[kk])
- else:
- if kk in self.alias_map:
- key = self.alias_map[kk]
- self._add_single(key, jdata[kk])
- self._check_must()
- return self.get_dict()
-
- def get_dict(self) -> Dict[str, Any]:
- """Get dictionary built from rules defined by add method.
-
- Returns
- -------
- Dict[str, Any]
- settings dictionary with default values
- """
- ret = {}
- for kk in self.arg_dict.keys():
- ret[kk] = self.arg_dict[kk]["value"]
- return ret
-
-
-# TODO maybe rename this to j_deprecated and only warn about deprecated keys,
-# TODO if the deprecated_key argument is left empty function puppose is only custom
-# TODO error since dict[key] already raises KeyError when the key is missing
-def j_must_have(
- jdata: Dict[str, "_DICT_VAL"], key: str, deprecated_key: List[str] = []
-) -> "_DICT_VAL":
- """Assert that supplied dictionary conaines specified key.
-
- Returns
- -------
- _DICT_VAL
- value that was store unde supplied key
-
- Raises
- ------
- RuntimeError
- if the key is not present
- """
- if key not in jdata.keys():
- for ii in deprecated_key:
- if ii in jdata.keys():
- warnings.warn(f"the key {ii} is deprecated, please use {key} instead")
- return jdata[ii]
- else:
- raise RuntimeError(f"json database must provide key {key}")
- else:
- return jdata[key]
-
-
-def j_loader(filename: Union[str, Path]) -> Dict[str, Any]:
- """Load yaml or json settings file.
-
- Parameters
- ----------
- filename : Union[str, Path]
- path to file
-
- Returns
- -------
- Dict[str, Any]
- loaded dictionary
-
- Raises
- ------
- TypeError
- if the supplied file is of unsupported type
- """
- filepath = Path(filename)
- if filepath.suffix.endswith("json"):
- with filepath.open() as fp:
- return json.load(fp)
- elif filepath.suffix.endswith(("yml", "yaml")):
- with filepath.open() as fp:
- return yaml.safe_load(fp)
- else:
- raise TypeError("config file must be json, or yaml/yml")
-
-
-def get_activation_func(
- activation_fn: Union["_ACTIVATION", None],
-) -> Union[Callable[[tf.Tensor], tf.Tensor], None]:
- """Get activation function callable based on string name.
-
- Parameters
- ----------
- activation_fn : _ACTIVATION
- one of the defined activation functions
-
- Returns
- -------
- Callable[[tf.Tensor], tf.Tensor]
- correspondingg TF callable
-
- Raises
- ------
- RuntimeError
- if unknown activation function is specified
- """
- if activation_fn is None or activation_fn in ['none', 'None']:
- return None
- if activation_fn not in ACTIVATION_FN_DICT:
- raise RuntimeError(f"{activation_fn} is not a valid activation function")
- return ACTIVATION_FN_DICT[activation_fn]
-
-
-def get_precision(precision: "_PRECISION") -> Any:
- """Convert str to TF DType constant.
-
- Parameters
- ----------
- precision : _PRECISION
- one of the allowed precisions
-
- Returns
- -------
- tf.python.framework.dtypes.DType
- appropriate TF constant
-
- Raises
- ------
- RuntimeError
- if supplied precision string does not have acorresponding TF constant
- """
- if precision not in PRECISION_DICT:
- raise RuntimeError(f"{precision} is not a valid precision")
- return PRECISION_DICT[precision]
-
-
-# TODO port completely to pathlib when all callers are ported
-def expand_sys_str(root_dir: Union[str, Path]) -> List[str]:
- """Recursively iterate over directories taking those that contain `type.raw` file.
-
- Parameters
- ----------
- root_dir : Union[str, Path]
- starting directory
-
- Returns
- -------
- List[str]
- list of string pointing to system directories
- """
- root_dir = DPPath(root_dir)
- matches = [str(d) for d in root_dir.rglob("*") if (d / "type.raw").is_file()]
- if (root_dir / "type.raw").is_file():
- matches.append(str(root_dir))
- return matches
-
-
-def get_np_precision(precision: "_PRECISION") -> np.dtype:
- """Get numpy precision constant from string.
-
- Parameters
- ----------
- precision : _PRECISION
- string name of numpy constant or default
-
- Returns
- -------
- np.dtype
- numpy presicion constant
-
- Raises
- ------
- RuntimeError
- if string is invalid
- """
- if precision == "default":
- return GLOBAL_NP_FLOAT_PRECISION
- elif precision == "float16":
- return np.float16
- elif precision == "float32":
- return np.float32
- elif precision == "float64":
- return np.float64
- else:
- raise RuntimeError(f"{precision} is not a valid precision")
-
-
-def safe_cast_tensor(input: tf.Tensor,
- from_precision: tf.DType,
- to_precision: tf.DType) -> tf.Tensor:
- """Convert a Tensor from a precision to another precision.
-
- If input is not a Tensor or without the specific precision, the method will not
- cast it.
-
- Parameters
- ----------
- input: tf.Tensor
- input tensor
- precision : tf.DType
- Tensor data type that casts to
-
- Returns
- -------
- tf.Tensor
- casted Tensor
- """
- if tensor_util.is_tensor(input) and input.dtype == from_precision:
- return tf.cast(input, to_precision)
- return input
-
-
-def cast_precision(func: Callable) -> Callable:
- """A decorator that casts and casts back the input
- and output tensor of a method.
-
- The decorator should be used in a classmethod.
-
- The decorator will do the following thing:
- (1) It casts input Tensors from `GLOBAL_TF_FLOAT_PRECISION`
- to precision defined by property `precision`.
- (2) It casts output Tensors from `precision` to
- `GLOBAL_TF_FLOAT_PRECISION`.
- (3) It checks inputs and outputs and only casts when
- input or output is a Tensor and its dtype matches
- `GLOBAL_TF_FLOAT_PRECISION` and `precision`, respectively.
- If it does not match (e.g. it is an integer), the decorator
- will do nothing on it.
-
- Returns
- -------
- Callable
- a decorator that casts and casts back the input and
- output tensor of a method
-
- Examples
- --------
- >>> class A:
- ... @property
- ... def precision(self):
- ... return tf.float32
- ...
- ... @cast_precision
- ... def f(x: tf.Tensor, y: tf.Tensor) -> tf.Tensor:
- ... return x ** 2 + y
- """
- @wraps(func)
- def wrapper(self, *args, **kwargs):
- # only convert tensors
- returned_tensor = func(
- self,
- *[safe_cast_tensor(vv, GLOBAL_TF_FLOAT_PRECISION, self.precision) for vv in args],
- **{kk: safe_cast_tensor(vv, GLOBAL_TF_FLOAT_PRECISION, self.precision) for kk, vv in kwargs.items()},
- )
- if isinstance(returned_tensor, tuple):
- return tuple((safe_cast_tensor(vv, self.precision, GLOBAL_TF_FLOAT_PRECISION) for vv in returned_tensor))
- else:
- return safe_cast_tensor(returned_tensor, self.precision, GLOBAL_TF_FLOAT_PRECISION)
- return wrapper
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/__init__.py
deleted file mode 100644
index c5025a74831deee1573a0e6a794b5ba2cfb1e69e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-from .descriptor import Descriptor
-from .hybrid import DescrptHybrid
-from .se_a import DescrptSeA
-from .se_r import DescrptSeR
-from .se_t import DescrptSeT
-from .se_a_ebd import DescrptSeAEbd
-from .se_a_ef import DescrptSeAEf
-from .se_a_ef import DescrptSeAEfLower
-from .loc_frame import DescrptLocFrame
-from .se_atten import DescrptSeAtten
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/descriptor.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/descriptor.py
deleted file mode 100644
index 0c40013f884d15915a90501865e4537b7053a210..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/descriptor.py
+++ /dev/null
@@ -1,408 +0,0 @@
-from abc import ABC, abstractmethod
-from typing import Any, Dict, List, Tuple
-
-import numpy as np
-from deepmd.env import tf
-from deepmd.utils import Plugin, PluginVariant
-
-
-class Descriptor(PluginVariant):
- r"""The abstract class for descriptors. All specific descriptors should
- be based on this class.
-
- The descriptor :math:`\mathcal{D}` describes the environment of an atom,
- which should be a function of coordinates and types of its neighbour atoms.
-
- Examples
- --------
- >>> descript = Descriptor(type="se_e2_a", rcut=6., rcut_smth=0.5, sel=[50])
- >>> type(descript)
-
-
- Notes
- -----
- Only methods and attributes defined in this class are generally public,
- that can be called by other classes.
- """
-
- __plugins = Plugin()
-
- @staticmethod
- def register(key: str) -> "Descriptor":
- """Regiester a descriptor plugin.
-
- Parameters
- ----------
- key : str
- the key of a descriptor
-
- Returns
- -------
- Descriptor
- the regiestered descriptor
-
- Examples
- --------
- >>> @Descriptor.register("some_descrpt")
- class SomeDescript(Descriptor):
- pass
- """
- return Descriptor.__plugins.register(key)
-
- def __new__(cls, *args, **kwargs):
- if cls is Descriptor:
- try:
- descrpt_type = kwargs['type']
- except KeyError:
- raise KeyError('the type of descriptor should be set by `type`')
- if descrpt_type in Descriptor.__plugins.plugins:
- cls = Descriptor.__plugins.plugins[descrpt_type]
- else:
- raise RuntimeError('Unknown descriptor type: ' + descrpt_type)
- return super().__new__(cls)
-
- @abstractmethod
- def get_rcut(self) -> float:
- """
- Returns the cut-off radius.
-
- Returns
- -------
- float
- the cut-off radius
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- @abstractmethod
- def get_ntypes(self) -> int:
- """
- Returns the number of atom types.
-
- Returns
- -------
- int
- the number of atom types
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- @abstractmethod
- def get_dim_out(self) -> int:
- """
- Returns the output dimension of this descriptor.
-
- Returns
- -------
- int
- the output dimension of this descriptor
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- def get_dim_rot_mat_1(self) -> int:
- """
- Returns the first dimension of the rotation matrix. The rotation is of shape
- dim_1 x 3
-
- Returns
- -------
- int
- the first dimension of the rotation matrix
- """
- # TODO: I think this method should be implemented as it's called by dipole and
- # polar fitting network. However, currently not all descriptors have this
- # method.
- raise NotImplementedError
-
- def get_nlist(self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns neighbor information.
-
- Returns
- -------
- nlist : tf.Tensor
- Neighbor list
- rij : tf.Tensor
- The relative distance between the neighbor and the center atom.
- sel_a : list[int]
- The number of neighbors with full information
- sel_r : list[int]
- The number of neighbors with only radial information
- """
- # TODO: I think this method should be implemented as it's called by energy
- # model. However, se_ar and hybrid doesn't have this method.
- raise NotImplementedError
-
- @abstractmethod
- def compute_input_stats(self,
- data_coord: List[np.ndarray],
- data_box: List[np.ndarray],
- data_atype: List[np.ndarray],
- natoms_vec: List[np.ndarray],
- mesh: List[np.ndarray],
- input_dict: Dict[str, List[np.ndarray]]
- ) -> None:
- """
- Compute the statisitcs (avg and std) of the training data. The input will be
- normalized by the statistics.
-
- Parameters
- ----------
- data_coord : list[np.ndarray]
- The coordinates. Can be generated by
- :meth:`deepmd.model.model_stat.make_stat_input`
- data_box : list[np.ndarray]
- The box. Can be generated by
- :meth:`deepmd.model.model_stat.make_stat_input`
- data_atype : list[np.ndarray]
- The atom types. Can be generated by :meth:`deepmd.model.model_stat.make_stat_input`
- natoms_vec : list[np.ndarray]
- The vector for the number of atoms of the system and different types of
- atoms. Can be generated by :meth:`deepmd.model.model_stat.make_stat_input`
- mesh : list[np.ndarray]
- The mesh for neighbor searching. Can be generated by
- :meth:`deepmd.model.model_stat.make_stat_input`
- input_dict : dict[str, list[np.ndarray]]
- Dictionary for additional input
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- @abstractmethod
- def build(self,
- coord_: tf.Tensor,
- atype_: tf.Tensor,
- natoms: tf.Tensor,
- box_: tf.Tensor,
- mesh: tf.Tensor,
- input_dict: Dict[str, Any],
- reuse: bool = None,
- suffix: str = '',
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor.
-
- Parameters
- ----------
- coord_ : tf.Tensor
- The coordinate of atoms
- atype_ : tf.Tensor
- The type of atoms
- natoms : tf.Tensor
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- box : tf.Tensor
- The box of frames
- mesh : tf.Tensor
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict : dict[str, Any]
- Dictionary for additional inputs
- reuse : bool, optional
- The weights in the networks should be reused when get the variable.
- suffix : str, optional
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor: tf.Tensor
- The output descriptor
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- def enable_compression(self,
- min_nbor_dist: float,
- model_file: str = 'frozon_model.pb',
- table_extrapolate: float = 5.,
- table_stride_1: float = 0.01,
- table_stride_2: float = 0.1,
- check_frequency: int = -1,
- suffix: str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the
- training data.
-
- Parameters
- ----------
- min_nbor_dist : float
- The nearest distance between atoms
- model_file : str, default: 'frozon_model.pb'
- The original frozen model, which will be compressed by the program
- table_extrapolate : float, default: 5.
- The scale of model extrapolation
- table_stride_1 : float, default: 0.01
- The uniform stride of the first table
- table_stride_2 : float, default: 0.1
- The uniform stride of the second table
- check_frequency : int, default: -1
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
-
- Notes
- -----
- This method is called by others when the descriptor supported compression.
- """
- raise NotImplementedError(
- "Descriptor %s doesn't support compression!" % type(self).__name__)
-
- def enable_mixed_precision(self, mixed_prec: dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
-
- Notes
- -----
- This method is called by others when the descriptor supported compression.
- """
- raise NotImplementedError(
- "Descriptor %s doesn't support mixed precision training!"
- % type(self).__name__
- )
-
- @abstractmethod
- def prod_force_virial(self,
- atom_ener: tf.Tensor,
- natoms: tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial.
-
- Parameters
- ----------
- atom_ener : tf.Tensor
- The atomic energy
- natoms : tf.Tensor
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force : tf.Tensor
- The force on atoms
- virial : tf.Tensor
- The total virial
- atom_virial : tf.Tensor
- The atomic virial
- """
-
- def get_feed_dict(self,
- coord_: tf.Tensor,
- atype_: tf.Tensor,
- natoms: tf.Tensor,
- box: tf.Tensor,
- mesh: tf.Tensor
- ) -> Dict[str, tf.Tensor]:
- """
- Generate the feed_dict for current descriptor
-
- Parameters
- ----------
- coord_ : tf.Tensor
- The coordinate of atoms
- atype_ : tf.Tensor
- The type of atoms
- natoms : tf.Tensor
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- box : tf.Tensor
- The box. Can be generated by deepmd.model.make_stat_input
- mesh : tf.Tensor
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
-
- Returns
- -------
- feed_dict : dict[str, tf.Tensor]
- The output feed_dict of current descriptor
- """
- feed_dict = {
- 't_coord:0' :coord_,
- 't_type:0' :atype_,
- 't_natoms:0' :natoms,
- 't_box:0' :box,
- 't_mesh:0' :mesh
- }
- return feed_dict
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
-
- Notes
- -----
- This method is called by others when the descriptor supported initialization from the given variables.
- """
- raise NotImplementedError(
- "Descriptor %s doesn't support initialization from the given variables!" % type(self).__name__)
-
- def get_tensor_names(self, suffix : str = "") -> Tuple[str]:
- """Get names of tensors.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
-
- Returns
- -------
- Tuple[str]
- Names of tensors
- """
- raise NotImplementedError("Descriptor %s doesn't support this property!" % type(self).__name__)
-
- def pass_tensors_from_frz_model(self,
- *tensors : tf.Tensor,
- ) -> None:
- """
- Pass the descrpt_reshape tensor as well as descrpt_deriv tensor from the frz graph_def
-
- Parameters
- ----------
- *tensors : tf.Tensor
- passed tensors
-
- Notes
- -----
- The number of parameters in the method must be equal to the numbers of returns in
- :meth:`get_tensor_names`.
- """
- raise NotImplementedError("Descriptor %s doesn't support this method!" % type(self).__name__)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/hybrid.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/hybrid.py
deleted file mode 100644
index e577b2ef17040a891a8e44cfe0cce5f0b9d9ca82..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/hybrid.py
+++ /dev/null
@@ -1,334 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg
-from deepmd.env import op_module
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-# from deepmd.descriptor import DescrptLocFrame
-# from deepmd.descriptor import DescrptSeA
-# from deepmd.descriptor import DescrptSeT
-# from deepmd.descriptor import DescrptSeAEbd
-# from deepmd.descriptor import DescrptSeAEf
-# from deepmd.descriptor import DescrptSeR
-from .descriptor import Descriptor
-from .se_a import DescrptSeA
-from .se_r import DescrptSeR
-from .se_t import DescrptSeT
-from .se_a_ebd import DescrptSeAEbd
-from .se_a_ef import DescrptSeAEf
-from .loc_frame import DescrptLocFrame
-
-@Descriptor.register("hybrid")
-class DescrptHybrid (Descriptor):
- """Concate a list of descriptors to form a new descriptor.
-
- Parameters
- ----------
- list : list
- Build a descriptor from the concatenation of the list of descriptors.
- """
- def __init__ (self,
- list : list
- ) -> None :
- """
- Constructor
- """
- # warning: list is conflict with built-in list
- descrpt_list = list
- if descrpt_list == [] or descrpt_list is None:
- raise RuntimeError('cannot build descriptor from an empty list of descriptors.')
- formatted_descript_list = []
- for ii in descrpt_list:
- if isinstance(ii, Descriptor):
- formatted_descript_list.append(ii)
- elif isinstance(ii, dict):
- formatted_descript_list.append(Descriptor(**ii))
- else:
- raise NotImplementedError
- # args = ClassArg()\
- # .add('list', list, must = True)
- # class_data = args.parse(jdata)
- # dict_list = class_data['list']
- self.descrpt_list = formatted_descript_list
- self.numb_descrpt = len(self.descrpt_list)
- for ii in range(1, self.numb_descrpt):
- assert(self.descrpt_list[ii].get_ntypes() ==
- self.descrpt_list[ 0].get_ntypes()), \
- f'number of atom types in {ii}th descrptor does not match others'
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radius
- """
- all_rcut = [ii.get_rcut() for ii in self.descrpt_list]
- return np.max(all_rcut)
-
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.descrpt_list[0].get_ntypes()
-
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- all_dim_out = [ii.get_dim_out() for ii in self.descrpt_list]
- return sum(all_dim_out)
-
-
- def get_nlist_i(self,
- ii : int
- ) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """Get the neighbor information of the ii-th descriptor
-
- Parameters
- ----------
- ii : int
- The index of the descriptor
-
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.descrpt_list[ii].nlist, self.descrpt_list[ii].rij, self.descrpt_list[ii].sel_a, self.descrpt_list[ii].sel_r
-
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- for ii in self.descrpt_list:
- ii.compute_input_stats(data_coord, data_box, data_atype, natoms_vec, mesh, input_dict)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- t_rcut = tf.constant(self.get_rcut(),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.get_ntypes(),
- name = 'ntypes',
- dtype = tf.int32)
- all_dout = []
- for idx,ii in enumerate(self.descrpt_list):
- dout = ii.build(coord_, atype_, natoms, box_, mesh, input_dict, suffix=suffix+f'_{idx}', reuse=reuse)
- dout = tf.reshape(dout, [-1, ii.get_dim_out()])
- all_dout.append(dout)
- dout = tf.concat(all_dout, axis = 1)
- dout = tf.reshape(dout, [-1, natoms[0], self.get_dim_out()])
- return dout
-
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- for idx,ii in enumerate(self.descrpt_list):
- ff, vv, av = ii.prod_force_virial(atom_ener, natoms)
- if idx == 0:
- force = ff
- virial = vv
- atom_virial = av
- else:
- force += ff
- virial += vv
- atom_virial += av
- return force, virial, atom_virial
-
- def enable_compression(self,
- min_nbor_dist: float,
- model_file: str = 'frozon_model.pb',
- table_extrapolate: float = 5.,
- table_stride_1: float = 0.01,
- table_stride_2: float = 0.1,
- check_frequency: int = -1,
- suffix: str = ""
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the
- training data.
-
- Parameters
- ----------
- min_nbor_dist : float
- The nearest distance between atoms
- model_file : str, default: 'frozon_model.pb'
- The original frozen model, which will be compressed by the program
- table_extrapolate : float, default: 5.
- The scale of model extrapolation
- table_stride_1 : float, default: 0.01
- The uniform stride of the first table
- table_stride_2 : float, default: 0.1
- The uniform stride of the second table
- check_frequency : int, default: -1
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- for idx, ii in enumerate(self.descrpt_list):
- ii.enable_compression(min_nbor_dist, model_file, table_extrapolate, table_stride_1, table_stride_2, check_frequency, suffix=f"{suffix}_{idx}")
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- for idx, ii in enumerate(self.descrpt_list):
- ii.enable_mixed_precision(mixed_prec)
-
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- for idx, ii in enumerate(self.descrpt_list):
- ii.init_variables(graph, graph_def, suffix=f"{suffix}_{idx}")
-
- def get_tensor_names(self, suffix : str = "") -> Tuple[str]:
- """Get names of tensors.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
-
- Returns
- -------
- Tuple[str]
- Names of tensors
- """
- tensor_names = []
- for idx, ii in enumerate(self.descrpt_list):
- tensor_names.extend(ii.get_tensor_names(suffix=f"{suffix}_{idx}"))
- return tuple(tensor_names)
-
- def pass_tensors_from_frz_model(self,
- *tensors : tf.Tensor,
- ) -> None:
- """
- Pass the descrpt_reshape tensor as well as descrpt_deriv tensor from the frz graph_def
-
- Parameters
- ----------
- *tensors : tf.Tensor
- passed tensors
- """
- jj = 0
- for ii in self.descrpt_list:
- n_tensors = len(ii.get_tensor_names())
- ii.pass_tensors_from_frz_model(*tensors[jj:jj+n_tensors])
- jj += n_tensors
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/loc_frame.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/loc_frame.py
deleted file mode 100644
index 81a8f684e948d9ac741fcc56126343cc7f641969..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/loc_frame.py
+++ /dev/null
@@ -1,389 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.sess import run_sess
-from .descriptor import Descriptor
-from deepmd.utils.graph import get_tensor_by_name_from_graph
-
-@Descriptor.register("loc_frame")
-class DescrptLocFrame (Descriptor) :
- """Defines a local frame at each atom, and the compute the descriptor as local
- coordinates under this frame.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- sel_a : list[str]
- The length of the list should be the same as the number of atom types in the system.
- `sel_a[i]` gives the selected number of type-i neighbors.
- The full relative coordinates of the neighbors are used by the descriptor.
- sel_r : list[str]
- The length of the list should be the same as the number of atom types in the system.
- `sel_r[i]` gives the selected number of type-i neighbors.
- Only relative distance of the neighbors are used by the descriptor.
- sel_a[i] + sel_r[i] is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius.
- axis_rule: list[int]
- The length should be 6 times of the number of types.
- - axis_rule[i*6+0]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
- - axis_rule[i*6+1]: type of the atom defining the first axis of type-i atom.\n\n\
- - axis_rule[i*6+2]: index of the axis atom defining the first axis. Note that the neighbors with the same class and type are sorted according to their relative distance.\n\n\
- - axis_rule[i*6+3]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
- - axis_rule[i*6+4]: type of the atom defining the second axis of type-i atom.\n\n\
- - axis_rule[i*6+5]: class of the atom defining the second axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.
- """
- def __init__(self,
- rcut: float,
- sel_a : List[int],
- sel_r : List[int],
- axis_rule : List[int]
- ) -> None:
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('sel_a', list, must = True) \
- # .add('sel_r', list, must = True) \
- # .add('rcut', float, default = 6.0) \
- # .add('axis_rule',list, must = True)
- # class_data = args.parse(jdata)
- self.sel_a = sel_a
- self.sel_r = sel_r
- self.axis_rule = axis_rule
- self.rcut_r = rcut
- # ntypes and rcut_a === -1
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.davg = None
- self.dstd = None
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_lf_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist, axis, rot_mat \
- = op_module.descrpt (self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- sel_a = self.sel_a,
- sel_r = self.sel_r,
- axis_rule = self.axis_rule)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radisu
- """
- return self.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.ndescrpt
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- if True:
- sumv = []
- sumn = []
- sumv2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysv,sysv2,sysn \
- = self._compute_dstats_sys_nonsmth(cc,bb,tt,nn,mm)
- sumv.append(sysv)
- sumn.append(sysn)
- sumv2.append(sysv2)
- sumv = np.sum(sumv, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumv2 = np.sum(sumv2, axis = 0)
- for type_i in range(self.ntypes) :
- davg = sumv[type_i] / sumn[type_i]
- dstd = self._compute_std(sumv2[type_i], sumv[type_i], sumn[type_i])
- for ii in range (len(dstd)) :
- if (np.abs(dstd[ii]) < 1e-2) :
- dstd[ii] = 1e-2
- all_davg.append(davg)
- all_dstd.append(dstd)
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist, self.axis, self.rot_mat \
- = op_module.descrpt (coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- sel_a = self.sel_a,
- sel_r = self.sel_r,
- axis_rule = self.axis_rule)
- self.descrpt = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- return self.descrpt
-
- def get_rot_mat(self) -> tf.Tensor:
- """
- Get rotational matrix
- """
- return self.rot_mat
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt)
- tf.summary.histogram('net_derivative', net_deriv)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force = op_module.prod_force (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- self.axis,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- self.axis,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- tf.summary.histogram('force', force)
- tf.summary.histogram('virial', virial)
- tf.summary.histogram('atom_virial', atom_virial)
-
- return force, virial, atom_virial
-
-
- def _compute_dstats_sys_nonsmth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysv = []
- sysn = []
- sysv2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- sumv = np.sum(dd, axis = 0)
- sumn = dd.shape[0]
- sumv2 = np.sum(np.multiply(dd,dd), axis = 0)
- sysv.append(sumv)
- sysn.append(sumn)
- sysv2.append(sumv2)
- return sysv, sysv2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- return np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se.py
deleted file mode 100644
index 09bb57137cf2c3d7b5b87cce1c4aa6651c29b2b0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se.py
+++ /dev/null
@@ -1,118 +0,0 @@
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.utils.graph import get_embedding_net_variables_from_graph_def, get_tensor_by_name_from_graph
-from .descriptor import Descriptor
-
-
-class DescrptSe (Descriptor):
- """A base class for smooth version of descriptors.
-
- Notes
- -----
- All of these descriptors have an environmental matrix and an
- embedding network (:meth:`deepmd.utils.network.embedding_net`), so
- they can share some similiar methods without defining them twice.
-
- Attributes
- ----------
- embedding_net_variables : dict
- initial embedding network variables
- descrpt_reshape : tf.Tensor
- the reshaped descriptor
- descrpt_deriv : tf.Tensor
- the descriptor derivative
- rij : tf.Tensor
- distances between two atoms
- nlist : tf.Tensor
- the neighbor list
-
- """
- def _identity_tensors(self, suffix : str = "") -> None:
- """Identify tensors which are expected to be stored and restored.
-
- Notes
- -----
- These tensors will be indentitied:
- self.descrpt_reshape : o_rmat
- self.descrpt_deriv : o_rmat_deriv
- self.rij : o_rij
- self.nlist : o_nlist
- Thus, this method should be called during building the descriptor and
- after these tensors are initialized.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
- """
- self.descrpt_reshape = tf.identity(self.descrpt_reshape, name = 'o_rmat' + suffix)
- self.descrpt_deriv = tf.identity(self.descrpt_deriv, name = 'o_rmat_deriv' + suffix)
- self.rij = tf.identity(self.rij, name = 'o_rij' + suffix)
- self.nlist = tf.identity(self.nlist, name = 'o_nlist' + suffix)
-
- def get_tensor_names(self, suffix : str = "") -> Tuple[str]:
- """Get names of tensors.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
-
- Returns
- -------
- Tuple[str]
- Names of tensors
- """
- return (f'o_rmat{suffix}:0', f'o_rmat_deriv{suffix}:0', f'o_rij{suffix}:0', f'o_nlist{suffix}:0')
-
- def pass_tensors_from_frz_model(self,
- descrpt_reshape : tf.Tensor,
- descrpt_deriv : tf.Tensor,
- rij : tf.Tensor,
- nlist : tf.Tensor
- ):
- """
- Pass the descrpt_reshape tensor as well as descrpt_deriv tensor from the frz graph_def
-
- Parameters
- ----------
- descrpt_reshape
- The passed descrpt_reshape tensor
- descrpt_deriv
- The passed descrpt_deriv tensor
- rij
- The passed rij tensor
- nlist
- The passed nlist tensor
- """
- self.rij = rij
- self.nlist = nlist
- self.descrpt_deriv = descrpt_deriv
- self.descrpt_reshape = descrpt_reshape
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- self.embedding_net_variables = get_embedding_net_variables_from_graph_def(graph_def, suffix = suffix)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
- @property
- def precision(self) -> tf.DType:
- """Precision of filter network."""
- return self.filter_precision
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a.py
deleted file mode 100644
index de83f5926e7cc9e3252d37b85579caae9fea617e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a.py
+++ /dev/null
@@ -1,924 +0,0 @@
-import math
-import numpy as np
-from typing import Tuple, List, Dict, Any
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.tabulate import DPTabulate
-from deepmd.utils.type_embed import embed_atom_type
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph, get_tensor_by_name
-from deepmd.utils.errors import GraphWithoutTensorError
-from .descriptor import Descriptor
-from .se import DescrptSe
-
-from deepmd.nvnmd.descriptor.se_a import descrpt2r4, build_davg_dstd, build_op_descriptor, filter_lower_R42GR, filter_GR2D
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-
-@Descriptor.register("se_e2_a")
-@Descriptor.register("se_a")
-class DescrptSeA (DescrptSe):
- r"""DeepPot-SE constructed from all information (both angular and radial) of
- atomic configurations. The embedding takes the distance between atoms as input.
-
- The descriptor :math:`\mathcal{D}^i \in \mathcal{R}^{M_1 \times M_2}` is given by [1]_
-
- .. math::
- \mathcal{D}^i = (\mathcal{G}^i)^T \mathcal{R}^i (\mathcal{R}^i)^T \mathcal{G}^i_<
-
- where :math:`\mathcal{R}^i \in \mathbb{R}^{N \times 4}` is the coordinate
- matrix, and each row of :math:`\mathcal{R}^i` can be constructed as follows
-
- .. math::
- (\mathcal{R}^i)_j = [
- \begin{array}{c}
- s(r_{ji}) & \frac{s(r_{ji})x_{ji}}{r_{ji}} & \frac{s(r_{ji})y_{ji}}{r_{ji}} & \frac{s(r_{ji})z_{ji}}{r_{ji}}
- \end{array}
- ]
-
- where :math:`\mathbf{R}_{ji}=\mathbf{R}_j-\mathbf{R}_i = (x_{ji}, y_{ji}, z_{ji})` is
- the relative coordinate and :math:`r_{ji}=\lVert \mathbf{R}_{ji} \lVert` is its norm.
- The switching function :math:`s(r)` is defined as:
-
- .. math::
- s(r)=
- \begin{cases}
- \frac{1}{r}, & r None:
- """
- Constructor
- """
- if rcut < rcut_smth:
- raise RuntimeError("rcut_smth (%f) should be no more than rcut (%f)!" % (rcut_smth, rcut))
- self.sel_a = sel
- self.rcut_r = rcut
- self.rcut_r_smth = rcut_smth
- self.filter_neuron = neuron
- self.n_axis_neuron = axis_neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = embedding_net_rand_seed_shift(self.filter_neuron)
- self.trainable = trainable
- self.compress_activation_fn = get_activation_func(activation_function)
- self.filter_activation_fn = get_activation_func(activation_function)
- self.filter_precision = get_precision(precision)
- self.exclude_types = set()
- for tt in exclude_types:
- assert(len(tt) == 2)
- self.exclude_types.add((tt[0], tt[1]))
- self.exclude_types.add((tt[1], tt[0]))
- self.set_davg_zero = set_davg_zero
- self.type_one_side = type_one_side
-
- # descrpt config
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.useBN = False
- self.dstd = None
- self.davg = None
- self.compress = False
- self.embedding_net_variables = None
- self.mixed_prec = None
- self.place_holders = {}
- self.nei_type = np.repeat(np.arange(self.ntypes), self.sel_a) # like a mask
-
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = op_module.prod_env_mat_a(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
- self.original_sel = None
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radius
- """
- return self.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.filter_neuron[-1] * self.n_axis_neuron
-
- def get_dim_rot_mat_1 (self) -> int:
- """
- Returns the first dimension of the rotation matrix. The rotation is of shape dim_1 x 3
- """
- return self.filter_neuron[-1]
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysr,sysr2,sysa,sysa2,sysn \
- = self._compute_dstats_sys_smth(cc,bb,tt,nn,mm)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis = 0)
- suma = np.sum(suma, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- suma2 = np.sum(suma2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/(sumn[type_i]+1e-15), 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def enable_compression(self,
- min_nbor_dist : float,
- model_file : str = 'frozon_model.pb',
- table_extrapolate : float = 5,
- table_stride_1 : float = 0.01,
- table_stride_2 : float = 0.1,
- check_frequency : int = -1,
- suffix : str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between atoms
- model_file
- The original frozen model, which will be compressed by the program
- table_extrapolate
- The scale of model extrapolation
- table_stride_1
- The uniform stride of the first table
- table_stride_2
- The uniform stride of the second table
- check_frequency
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- # do some checks before the mocel compression process
- assert (
- not self.filter_resnet_dt
- ), "Model compression error: descriptor resnet_dt must be false!"
- for tt in self.exclude_types:
- if (tt[0] not in range(self.ntypes)) or (tt[1] not in range(self.ntypes)):
- raise RuntimeError("exclude types" + str(tt) + " must within the number of atomic types " + str(self.ntypes) + "!")
- if (self.ntypes * self.ntypes - len(self.exclude_types) == 0):
- raise RuntimeError("empty embedding-net are not supported in model compression!")
-
- for ii in range(len(self.filter_neuron) - 1):
- if self.filter_neuron[ii] * 2 != self.filter_neuron[ii + 1]:
- raise NotImplementedError(
- "Model Compression error: descriptor neuron [%s] is not supported by model compression! "
- "The size of the next layer of the neural network must be twice the size of the previous layer."
- % ','.join([str(item) for item in self.filter_neuron])
- )
-
- self.compress = True
- self.table = DPTabulate(
- self, self.filter_neuron, model_file, self.type_one_side, self.exclude_types, self.compress_activation_fn, suffix=suffix)
- self.table_config = [table_extrapolate, table_stride_1, table_stride_2, check_frequency]
- self.lower, self.upper \
- = self.table.build(min_nbor_dist,
- table_extrapolate,
- table_stride_1,
- table_stride_2)
-
- graph, _ = load_graph_def(model_file)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.filter_precision = get_precision(mixed_prec['output_prec'])
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- if nvnmd_cfg.enable and nvnmd_cfg.restore_descriptor: davg, dstd = build_davg_dstd()
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- t_original_sel = tf.constant(self.original_sel if self.original_sel is not None else self.sel_a,
- name = 'original_sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- with tf.control_dependencies([t_sel, t_original_sel]):
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- op_descriptor = build_op_descriptor() if nvnmd_cfg.enable else op_module.prod_env_mat_a
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = op_descriptor (coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self._identity_tensors(suffix=suffix)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape,
- atype,
- natoms,
- input_dict,
- suffix = suffix,
- reuse = reuse,
- trainable = self.trainable)
-
- # only used when tensorboard was set as true
- tf.summary.histogram('embedding_net_output', self.dout)
- return self.dout
-
- def get_rot_mat(self) -> tf.Tensor:
- """
- Get rotational matrix
- """
- return self.qmat
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt_reshape)
- tf.summary.histogram('net_derivative', net_deriv)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force \
- = op_module.prod_force_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- tf.summary.histogram('force', force)
- tf.summary.histogram('virial', virial)
- tf.summary.histogram('atom_virial', atom_virial)
-
- return force, virial, atom_virial
-
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse = None,
- suffix = '',
- trainable = True) :
- if input_dict is not None:
- type_embedding = input_dict.get('type_embedding', None)
- else:
- type_embedding = None
- start_index = 0
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- output_qmat = []
- if not (self.type_one_side and len(self.exclude_types) == 0) and type_embedding is None:
- for type_i in range(self.ntypes):
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- if self.type_one_side:
- # reuse NN parameters for all types to support type_one_side along with exclude_types
- reuse = tf.AUTO_REUSE
- filter_name = 'filter_type_all'+suffix
- else:
- filter_name = 'filter_type_'+str(type_i)+suffix
- layer, qmat = self._filter(inputs_i, type_i, name=filter_name, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[2+type_i], self.get_dim_out()])
- qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[2+type_i], self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- output_qmat.append(qmat)
- start_index += natoms[2+type_i]
- else :
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- if nvnmd_cfg.enable and nvnmd_cfg.quantize_descriptor:
- inputs_i = descrpt2r4(inputs_i, natoms)
- layer, qmat = self._filter(inputs_i, type_i, name='filter_type_all'+suffix, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn, type_embedding=type_embedding)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0], self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- output_qmat.append(qmat)
- output = tf.concat(output, axis = 1)
- output_qmat = tf.concat(output_qmat, axis = 1)
- return output, output_qmat
-
-
- def _compute_dstats_sys_smth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 4])
- ddr = dd[:,:1]
- dda = dd[:,1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- if sumn == 0:
- return 1. / self.rcut_r
- val = np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
- if np.abs(val) < 1e-2:
- val = 1e-2
- return val
-
-
- def _concat_type_embedding(
- self,
- xyz_scatter,
- nframes,
- natoms,
- type_embedding,
- ):
- '''Concatenate `type_embedding` of neighbors and `xyz_scatter`.
- If not self.type_one_side, concatenate `type_embedding` of center atoms as well.
-
- Parameters
- ----------
- xyz_scatter:
- shape is [nframes*natoms[0]*self.nnei, 1]
- nframes:
- shape is []
- natoms:
- shape is [1+1+self.ntypes]
- type_embedding:
- shape is [self.ntypes, Y] where Y=jdata['type_embedding']['neuron'][-1]
-
- Returns
- -------
- embedding:
- environment of each atom represented by embedding.
- '''
- te_out_dim = type_embedding.get_shape().as_list()[-1]
- self.t_nei_type = tf.constant(self.nei_type, dtype=tf.int32)
- nei_embed = tf.nn.embedding_lookup(type_embedding,tf.cast(self.t_nei_type,dtype=tf.int32)) # shape is [self.nnei, 1+te_out_dim]
- nei_embed = tf.tile(nei_embed,(nframes*natoms[0],1)) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- nei_embed = tf.reshape(nei_embed,[-1,te_out_dim])
- embedding_input = tf.concat([xyz_scatter,nei_embed],1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim]
- if not self.type_one_side:
- atm_embed = embed_atom_type(self.ntypes, natoms, type_embedding) # shape is [natoms[0], te_out_dim]
- atm_embed = tf.tile(atm_embed,(nframes,self.nnei)) # shape is [nframes*natoms[0], self.nnei*te_out_dim]
- atm_embed = tf.reshape(atm_embed,[-1,te_out_dim]) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- embedding_input = tf.concat([embedding_input,atm_embed],1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim+te_out_dim]
- return embedding_input
-
-
- def _filter_lower(
- self,
- type_i,
- type_input,
- start_index,
- incrs_index,
- inputs,
- nframes,
- natoms,
- type_embedding=None,
- is_exclude = False,
- activation_fn = None,
- bavg = 0.0,
- stddev = 1.0,
- trainable = True,
- suffix = '',
- ):
- """
- input env matrix, returns R.G
- """
- outputs_size = [1] + self.filter_neuron
- # cut-out inputs
- # with natom x (nei_type_i x 4)
- inputs_i = tf.slice (inputs,
- [ 0, start_index* 4],
- [-1, incrs_index* 4] )
- shape_i = inputs_i.get_shape().as_list()
- natom = tf.shape(inputs_i)[0]
- # with (natom x nei_type_i) x 4
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- # with (natom x nei_type_i) x 1
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0,0],[-1,1]),[-1,1])
- if type_embedding is not None:
- xyz_scatter = self._concat_type_embedding(
- xyz_scatter, nframes, natoms, type_embedding)
- if self.compress:
- raise RuntimeError('compression of type embedded descriptor is not supported at the moment')
- # natom x 4 x outputs_size
- if nvnmd_cfg.enable:
- return filter_lower_R42GR(
- type_i, type_input, inputs_i, is_exclude,
- activation_fn, bavg, stddev, trainable,
- suffix, self.seed, self.seed_shift, self.uniform_seed,
- self.filter_neuron, self.filter_precision, self.filter_resnet_dt,
- self.embedding_net_variables
- )
- if self.compress and (not is_exclude):
- if self.type_one_side:
- net = 'filter_-1_net_' + str(type_i)
- else:
- net = 'filter_' + str(type_input) + '_net_' + str(type_i)
- info = [self.lower[net], self.upper[net], self.upper[net] * self.table_config[0], self.table_config[1], self.table_config[2], self.table_config[3]]
- return op_module.tabulate_fusion_se_a(tf.cast(self.table.data[net], self.filter_precision), info, xyz_scatter, tf.reshape(inputs_i, [natom, shape_i[1]//4, 4]), last_layer_size = outputs_size[-1])
- else:
- if (not is_exclude):
- # with (natom x nei_type_i) x out_size
- xyz_scatter = embedding_net(
- xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- name_suffix = suffix,
- stddev = stddev,
- bavg = bavg,
- seed = self.seed,
- trainable = trainable,
- uniform_seed = self.uniform_seed,
- initial_variables = self.embedding_net_variables,
- mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- else:
- # we can safely return the final xyz_scatter filled with zero directly
- return tf.cast(tf.fill((natom, 4, outputs_size[-1]), 0.), self.filter_precision)
- # natom x nei_type_i x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1]//4, outputs_size[-1]))
- # When using tf.reshape(inputs_i, [-1, shape_i[1]//4, 4]) below
- # [588 24] -> [588 6 4] correct
- # but if sel is zero
- # [588 0] -> [147 0 4] incorrect; the correct one is [588 0 4]
- # So we need to explicitly assign the shape to tf.shape(inputs_i)[0] instead of -1
- # natom x 4 x outputs_size
- return tf.matmul(tf.reshape(inputs_i, [natom, shape_i[1]//4, 4]), xyz_scatter, transpose_a = True)
-
-
- @cast_precision
- def _filter(
- self,
- inputs,
- type_input,
- natoms,
- type_embedding = None,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- trainable = True):
- nframes = tf.shape(tf.reshape(inputs, [-1, natoms[0], self.ndescrpt]))[0]
- # natom x (nei x 4)
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + self.filter_neuron
- outputs_size_2 = self.n_axis_neuron
- all_excluded = all([(type_input, type_i) in self.exclude_types for type_i in range(self.ntypes)])
- if all_excluded:
- # all types are excluded so result and qmat should be zeros
- # we can safaly return a zero matrix...
- # See also https://stackoverflow.com/a/34725458/9567349
- # result: natom x outputs_size x outputs_size_2
- # qmat: natom x outputs_size x 3
- natom = tf.shape(inputs)[0]
- result = tf.cast(tf.fill((natom, outputs_size_2, outputs_size[-1]), 0.), GLOBAL_TF_FLOAT_PRECISION)
- qmat = tf.cast(tf.fill((natom, outputs_size[-1], 3), 0.), GLOBAL_TF_FLOAT_PRECISION)
- return result, qmat
-
- with tf.variable_scope(name, reuse=reuse):
- start_index = 0
- type_i = 0
- # natom x 4 x outputs_size
- if type_embedding is None:
- rets = []
- for type_i in range(self.ntypes):
- ret = self._filter_lower(
- type_i, type_input,
- start_index, self.sel_a[type_i],
- inputs,
- nframes,
- natoms,
- type_embedding = type_embedding,
- is_exclude = (type_input, type_i) in self.exclude_types,
- activation_fn = activation_fn,
- stddev = stddev,
- bavg = bavg,
- trainable = trainable,
- suffix = "_"+str(type_i))
- if (type_input, type_i) not in self.exclude_types:
- # add zero is meaningless; skip
- rets.append(ret)
- start_index += self.sel_a[type_i]
- # faster to use accumulate_n than multiple add
- xyz_scatter_1 = tf.accumulate_n(rets)
- else :
- xyz_scatter_1 = self._filter_lower(
- type_i, type_input,
- start_index, np.cumsum(self.sel_a)[-1],
- inputs,
- nframes,
- natoms,
- type_embedding = type_embedding,
- is_exclude = False,
- activation_fn = activation_fn,
- stddev = stddev,
- bavg = bavg,
- trainable = trainable)
- if nvnmd_cfg.enable: return filter_GR2D(xyz_scatter_1)
- # natom x nei x outputs_size
- # xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # natom x nei x 4
- # inputs_reshape = tf.reshape(inputs, [-1, shape[1]//4, 4])
- # natom x 4 x outputs_size
- # xyz_scatter_1 = tf.matmul(inputs_reshape, xyz_scatter, transpose_a = True)
- if self.original_sel is None:
- # shape[1] = nnei * 4
- nnei = shape[1] / 4
- else:
- nnei = tf.cast(tf.Variable(np.sum(self.original_sel), dtype=tf.int32, trainable=False, name="nnei"), self.filter_precision)
- xyz_scatter_1 = xyz_scatter_1 / nnei
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = tf.slice(xyz_scatter_1, [0,0,0],[-1,-1,outputs_size_2])
- # # natom x 3 x outputs_size_2
- # qmat = tf.slice(xyz_scatter_2, [0,1,0], [-1, 3, -1])
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0,1,0], [-1, 3, -1])
- # natom x outputs_size_1 x 3
- qmat = tf.transpose(qmat, perm = [0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a = True)
- # natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, outputs_size_2 * outputs_size[-1]])
-
- return result, qmat
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- super().init_variables(graph=graph, graph_def=graph_def, suffix=suffix)
- try:
- self.original_sel = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/original_sel' % suffix)
- except GraphWithoutTensorError:
- # original_sel is not restored in old graphs, assume sel never changed before
- pass
- # check sel == original sel?
- try:
- sel = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/sel' % suffix)
- except GraphWithoutTensorError:
- # sel is not restored in old graphs
- pass
- else:
- if not np.array_equal(np.array(self.sel_a), sel):
- if not self.set_davg_zero:
- raise RuntimeError("Adjusting sel is only supported when `set_davg_zero` is true!")
- # as set_davg_zero, self.davg is safely zero
- self.davg = np.zeros([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- new_dstd = np.ones([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- # shape of davg and dstd is (ntypes, ndescrpt), ndescrpt = 4*sel
- n_descpt = np.array(self.sel_a) * 4
- n_descpt_old = np.array(sel) * 4
- end_index = np.cumsum(n_descpt)
- end_index_old = np.cumsum(n_descpt_old)
- start_index = np.roll(end_index, 1)
- start_index[0] = 0
- start_index_old = np.roll(end_index_old, 1)
- start_index_old[0] = 0
-
- for nn, oo, ii, jj in zip(n_descpt, n_descpt_old, start_index, start_index_old):
- if nn < oo:
- # new size is smaller, copy part of std
- new_dstd[:, ii:ii+nn] = self.dstd[:, jj:jj+nn]
- else:
- # new size is larger, copy all, the rest remains 1
- new_dstd[:, ii:ii+oo] = self.dstd[:, jj:jj+oo]
- self.dstd = new_dstd
- if self.original_sel is None:
- self.original_sel = sel
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a_ebd.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a_ebd.py
deleted file mode 100644
index b169e2fb8b9605e66e60b1df565fc3aeea9ea76f..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a_ebd.py
+++ /dev/null
@@ -1,524 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg, get_activation_func, get_precision, add_data_requirement
-from deepmd.utils.network import one_layer
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net
-from .se_a import DescrptSeA
-from .descriptor import Descriptor
-
-@Descriptor.register("se_a_tpe")
-@Descriptor.register("se_a_ebd")
-class DescrptSeAEbd (DescrptSeA):
- """DeepPot-SE descriptor with type embedding approach.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- axis_neuron
- Number of the axis neuron (number of columns of the sub-matrix of the embedding matrix)
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- type_nchanl
- Number of channels for type representation
- type_nlayer
- Number of hidden layers for the type embedding net (skip connected).
- numb_aparam
- Number of atomic parameters. If >0 it will be embedded with atom types.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are {0}
- precision
- The precision of the embedding net parameters. Supported options are {1}
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- """
- def __init__ (self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- type_nchanl : int = 2,
- type_nlayer : int = 1,
- numb_aparam : int = 0,
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- exclude_types: List[List[int]] = [],
- ) -> None:
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('type_nchanl', int, default = 4) \
- # .add('type_nlayer', int, default = 2) \
- # .add('type_one_side', bool, default = True) \
- # .add('numb_aparam', int, default = 0)
- # class_data = args.parse(jdata)
- DescrptSeA.__init__(self,
- rcut,
- rcut_smth,
- sel,
- neuron = neuron,
- axis_neuron = axis_neuron,
- resnet_dt = resnet_dt,
- trainable = trainable,
- seed = seed,
- type_one_side = type_one_side,
- set_davg_zero = set_davg_zero,
- activation_function = activation_function,
- precision = precision
- )
- self.type_nchanl = type_nchanl
- self.type_nlayer = type_nlayer
- self.type_one_side = type_one_side
- self.numb_aparam = numb_aparam
- if self.numb_aparam > 0:
- add_data_requirement('aparam', 3, atomic=True, must=True, high_prec=False)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- nei_type = np.array([])
- for ii in range(self.ntypes):
- nei_type = np.append(nei_type, ii * np.ones(self.sel_a[ii]))
- self.nei_type = tf.get_variable('t_nei_type',
- [self.nnei],
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(nei_type))
- self.dout = DescrptSeA.build(self, coord_, atype_, natoms, box_, mesh, input_dict, suffix = suffix, reuse = reuse)
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
-
- def _type_embed(self,
- atype,
- ndim = 1,
- reuse = None,
- suffix = '',
- trainable = True):
- ebd_type = tf.cast(atype, self.filter_precision)
- ebd_type = ebd_type / float(self.ntypes)
- ebd_type = tf.reshape(ebd_type, [-1, ndim])
- for ii in range(self.type_nlayer):
- name = 'type_embed_layer_' + str(ii)
- ebd_type = one_layer(ebd_type,
- self.type_nchanl,
- activation_fn = self.filter_activation_fn,
- precision = self.filter_precision,
- name = name,
- reuse = reuse,
- seed = self.seed + ii,
- trainable = trainable)
- name = 'type_embed_layer_' + str(self.type_nlayer)
- ebd_type = one_layer(ebd_type,
- self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name,
- reuse = reuse,
- seed = self.seed + ii,
- trainable = trainable)
- ebd_type = tf.reshape(ebd_type, [tf.shape(atype)[0], self.type_nchanl])
- return ebd_type
-
-
- def _embedding_net(self,
- inputs,
- natoms,
- filter_neuron,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- seed=None,
- trainable = True):
- '''
- inputs: nf x na x (nei x 4)
- outputs: nf x na x nei x output_size
- '''
- # natom x (nei x 4)
- inputs = tf.reshape(inputs, [-1, self.ndescrpt])
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + filter_neuron
- with tf.variable_scope(name, reuse=reuse):
- xyz_scatter_total = []
- # with natom x (nei x 4)
- inputs_i = inputs
- shape_i = inputs_i.get_shape().as_list()
- # with (natom x nei) x 4
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- # with (natom x nei) x 1
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0,0],[-1,1]),[-1,1])
- # with (natom x nei) x out_size
- xyz_scatter = embedding_net(xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- stddev = stddev,
- bavg = bavg,
- seed = seed,
- trainable = trainable)
- # natom x nei x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1]//4, outputs_size[-1]))
- xyz_scatter_total.append(xyz_scatter)
- # natom x nei x outputs_size
- xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # nf x natom x nei x outputs_size
- xyz_scatter = tf.reshape(xyz_scatter, [tf.shape(inputs)[0], natoms[0], self.nnei, outputs_size[-1]])
- return xyz_scatter
-
-
- def _type_embedding_net_two_sides(self,
- mat_g,
- atype,
- natoms,
- name = '',
- reuse = None,
- seed = None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- nframes = tf.shape(mat_g)[0]
- # (nf x natom x nei) x (outputs_size x chnl x chnl)
- mat_g = tf.reshape(mat_g, [nframes * natoms[0] * self.nnei, outputs_size])
- mat_g = one_layer(mat_g,
- outputs_size * self.type_nchanl * self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name+'_amplify',
- reuse = reuse,
- seed = self.seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size x chnl x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size, self.type_nchanl, self.type_nchanl])
- # nf x natom x outputs_size x chnl x nei x chnl
- mat_g = tf.transpose(mat_g, perm = [0, 1, 3, 4, 2, 5])
- # nf x natom x outputs_size x chnl x (nei x chnl)
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.type_nchanl, self.nnei * self.type_nchanl])
-
- # nei x nchnl
- ebd_nei_type = self._type_embed(self.nei_type,
- reuse = reuse,
- trainable = True,
- suffix = '')
- # (nei x nchnl)
- ebd_nei_type = tf.reshape(ebd_nei_type, [self.nnei * self.type_nchanl])
- # (nframes x natom) x nchnl
- ebd_atm_type = self._type_embed(atype,
- reuse = True,
- trainable = True,
- suffix = '')
- # (nframes x natom x nchnl)
- ebd_atm_type = tf.reshape(ebd_atm_type, [nframes * natoms[0] * self.type_nchanl])
-
- # nf x natom x outputs_size x chnl x (nei x chnl)
- mat_g = tf.multiply(mat_g, ebd_nei_type)
- # nf x natom x outputs_size x chnl x nei x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.type_nchanl, self.nnei, self.type_nchanl])
- # nf x natom x outputs_size x chnl x nei
- mat_g = tf.reduce_mean(mat_g, axis = 5)
- # outputs_size x nei x nf x natom x chnl
- mat_g = tf.transpose(mat_g, perm = [2, 4, 0, 1, 3])
- # outputs_size x nei x (nf x natom x chnl)
- mat_g = tf.reshape(mat_g, [outputs_size, self.nnei, nframes * natoms[0] * self.type_nchanl])
- # outputs_size x nei x (nf x natom x chnl)
- mat_g = tf.multiply(mat_g, ebd_atm_type)
- # outputs_size x nei x nf x natom x chnl
- mat_g = tf.reshape(mat_g, [outputs_size, self.nnei, nframes, natoms[0], self.type_nchanl])
- # outputs_size x nei x nf x natom
- mat_g = tf.reduce_mean(mat_g, axis = 4)
- # nf x natom x nei x outputs_size
- mat_g = tf.transpose(mat_g, perm = [2, 3, 1, 0])
- # (nf x natom) x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes * natoms[0], self.nnei, outputs_size])
- return mat_g
-
-
- def _type_embedding_net_one_side(self,
- mat_g,
- atype,
- natoms,
- name = '',
- reuse = None,
- seed = None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- nframes = tf.shape(mat_g)[0]
- # (nf x natom x nei) x (outputs_size x chnl x chnl)
- mat_g = tf.reshape(mat_g, [nframes * natoms[0] * self.nnei, outputs_size])
- mat_g = one_layer(mat_g,
- outputs_size * self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name+'_amplify',
- reuse = reuse,
- seed = self.seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size, self.type_nchanl])
- # nf x natom x outputs_size x nei x chnl
- mat_g = tf.transpose(mat_g, perm = [0, 1, 3, 2, 4])
- # nf x natom x outputs_size x (nei x chnl)
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.nnei * self.type_nchanl])
-
- # nei x nchnl
- ebd_nei_type = self._type_embed(self.nei_type,
- reuse = reuse,
- trainable = True,
- suffix = '')
- # (nei x nchnl)
- ebd_nei_type = tf.reshape(ebd_nei_type, [self.nnei * self.type_nchanl])
-
- # nf x natom x outputs_size x (nei x chnl)
- mat_g = tf.multiply(mat_g, ebd_nei_type)
- # nf x natom x outputs_size x nei x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.nnei, self.type_nchanl])
- # nf x natom x outputs_size x nei
- mat_g = tf.reduce_mean(mat_g, axis = 4)
- # nf x natom x nei x outputs_size
- mat_g = tf.transpose(mat_g, perm = [0, 1, 3, 2])
- # (nf x natom) x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes * natoms[0], self.nnei, outputs_size])
- return mat_g
-
-
- def _type_embedding_net_one_side_aparam(self,
- mat_g,
- atype,
- natoms,
- aparam,
- name = '',
- reuse = None,
- seed = None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- nframes = tf.shape(mat_g)[0]
- # (nf x natom x nei) x (outputs_size x chnl x chnl)
- mat_g = tf.reshape(mat_g, [nframes * natoms[0] * self.nnei, outputs_size])
- mat_g = one_layer(mat_g,
- outputs_size * self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name+'_amplify',
- reuse = reuse,
- seed = self.seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size, self.type_nchanl])
- # outputs_size x nf x natom x nei x chnl
- mat_g = tf.transpose(mat_g, perm = [3, 0, 1, 2, 4])
- # outputs_size x (nf x natom x nei x chnl)
- mat_g = tf.reshape(mat_g, [outputs_size, nframes * natoms[0] * self.nnei * self.type_nchanl])
- # nf x natom x nnei
- embed_type = tf.tile(tf.reshape(self.nei_type, [1, self.nnei]),
- [nframes * natoms[0], 1])
- # (nf x natom x nnei) x 1
- embed_type = tf.reshape(embed_type, [nframes * natoms[0] * self.nnei, 1])
- # nf x (natom x naparam)
- aparam = tf.reshape(aparam, [nframes, -1])
- # nf x natom x nnei x naparam
- embed_aparam = op_module.map_aparam(aparam, self.nlist, natoms, n_a_sel = self.nnei_a, n_r_sel = self.nnei_r)
- # (nf x natom x nnei) x naparam
- embed_aparam = tf.reshape(embed_aparam, [nframes * natoms[0] * self.nnei, self.numb_aparam])
- # (nf x natom x nnei) x (naparam+1)
- embed_input = tf.concat((embed_type, embed_aparam), axis = 1)
-
- # (nf x natom x nnei) x nchnl
- ebd_nei_type = self._type_embed(embed_input,
- ndim = self.numb_aparam + 1,
- reuse = reuse,
- trainable = True,
- suffix = '')
- # (nf x natom x nei x nchnl)
- ebd_nei_type = tf.reshape(ebd_nei_type, [nframes * natoms[0] * self.nnei * self.type_nchanl])
-
- # outputs_size x (nf x natom x nei x chnl)
- mat_g = tf.multiply(mat_g, ebd_nei_type)
- # outputs_size x nf x natom x nei x chnl
- mat_g = tf.reshape(mat_g, [outputs_size, nframes, natoms[0], self.nnei, self.type_nchanl])
- # outputs_size x nf x natom x nei
- mat_g = tf.reduce_mean(mat_g, axis = 4)
- # nf x natom x nei x outputs_size
- mat_g = tf.transpose(mat_g, perm = [1, 2, 3, 0])
- # (nf x natom) x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes * natoms[0], self.nnei, outputs_size])
- return mat_g
-
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse = None,
- suffix = '',
- trainable = True) :
- # nf x na x ndescrpt
- # nf x na x (nnei x 4)
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- layer, qmat = self._ebd_filter(tf.cast(inputs, self.filter_precision),
- atype,
- natoms,
- input_dict,
- name='filter_type_all'+suffix,
- reuse=reuse,
- seed = self.seed,
- trainable = trainable,
- activation_fn = self.filter_activation_fn)
- output = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- output_qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0], self.get_dim_rot_mat_1() * 3])
- return output, output_qmat
-
-
- def _ebd_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- seed=None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- outputs_size_2 = self.n_axis_neuron
- # nf x natom x (nei x 4)
- nframes = tf.shape(inputs)[0]
- shape = tf.reshape(inputs, [-1, self.ndescrpt]).get_shape().as_list()
-
- # nf x natom x nei x outputs_size
- mat_g = self._embedding_net(inputs,
- natoms,
- self.filter_neuron,
- activation_fn = activation_fn,
- stddev = stddev,
- bavg = bavg,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size])
-
- # (nf x natom) x nei x outputs_size
- if self.type_one_side:
- if self.numb_aparam > 0:
- aparam = input_dict['aparam']
- xyz_scatter \
- = self._type_embedding_net_one_side_aparam(mat_g,
- atype,
- natoms,
- aparam,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
- else:
- xyz_scatter \
- = self._type_embedding_net_one_side(mat_g,
- atype,
- natoms,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
- else:
- xyz_scatter \
- = self._type_embedding_net_two_sides(mat_g,
- atype,
- natoms,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
-
- # natom x nei x 4
- inputs_reshape = tf.reshape(inputs, [-1, shape[1]//4, 4])
- # natom x 4 x outputs_size
- xyz_scatter_1 = tf.matmul(inputs_reshape, xyz_scatter, transpose_a = True)
- xyz_scatter_1 = xyz_scatter_1 * (4.0 / shape[1])
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = tf.slice(xyz_scatter_1, [0,0,0],[-1,-1,outputs_size_2])
- # # natom x 3 x outputs_size_2
- # qmat = tf.slice(xyz_scatter_2, [0,1,0], [-1, 3, -1])
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0,1,0], [-1, 3, -1])
- # natom x outputs_size_2 x 3
- qmat = tf.transpose(qmat, perm = [0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a = True)
- # natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, outputs_size_2 * outputs_size])
-
- return result, qmat
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a_ef.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a_ef.py
deleted file mode 100644
index 5ecb9dcb09a03995041e4f35cc17855c087951b7..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_a_ef.py
+++ /dev/null
@@ -1,564 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement
-from deepmd.utils.sess import run_sess
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from .se_a import DescrptSeA
-from .descriptor import Descriptor
-
-@Descriptor.register("se_a_ef")
-class DescrptSeAEf (Descriptor):
- """
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- axis_neuron
- Number of the axis neuron (number of columns of the sub-matrix of the embedding matrix)
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__(self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed = False
- ) -> None:
- """
- Constructor
- """
- self.descrpt_para = DescrptSeAEfLower(
- op_module.descrpt_se_a_ef_para,
- rcut,
- rcut_smth,
- sel,
- neuron,
- axis_neuron,
- resnet_dt,
- trainable,
- seed,
- type_one_side,
- exclude_types,
- set_davg_zero,
- activation_function,
- precision,
- uniform_seed,
- )
- self.descrpt_vert = DescrptSeAEfLower(
- op_module.descrpt_se_a_ef_vert,
- rcut,
- rcut_smth,
- sel,
- neuron,
- axis_neuron,
- resnet_dt,
- trainable,
- seed,
- type_one_side,
- exclude_types,
- set_davg_zero,
- activation_function,
- precision,
- uniform_seed,
- )
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radisu
- """
- return self.descrpt_vert.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.descrpt_vert.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.descrpt_vert.get_dim_out() + self.descrpt_para.get_dim_out()
-
- def get_dim_rot_mat_1 (self) -> int:
- """
- Returns the first dimension of the rotation matrix. The rotation is of shape dim_1 x 3
- """
- return self.descrpt_vert.filter_neuron[-1]
-
- def get_rot_mat(self) -> tf.Tensor:
- """
- Get rotational matrix
- """
- return self.qmat
-
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return \
- self.descrpt_vert.nlist, \
- self.descrpt_vert.rij, \
- self.descrpt_vert.sel_a, \
- self.descrpt_vert.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- self.descrpt_vert.compute_input_stats(data_coord, data_box, data_atype, natoms_vec, mesh, input_dict)
- self.descrpt_para.compute_input_stats(data_coord, data_box, data_atype, natoms_vec, mesh, input_dict)
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs. Should have 'efield'.
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- self.dout_vert = self.descrpt_vert.build(coord_, atype_, natoms, box_, mesh, input_dict)
- self.dout_para = self.descrpt_para.build(coord_, atype_, natoms, box_, mesh, input_dict, reuse = True)
- coord = tf.reshape(coord_, [-1, natoms[1] * 3])
- nframes = tf.shape(coord)[0]
- self.dout_vert = tf.reshape(self.dout_vert, [nframes * natoms[0], self.descrpt_vert.get_dim_out()])
- self.dout_para = tf.reshape(self.dout_para, [nframes * natoms[0], self.descrpt_para.get_dim_out()])
- self.dout = tf.concat([self.dout_vert, self.dout_para], axis = 1)
- self.dout = tf.reshape(self.dout, [nframes, natoms[0], self.get_dim_out()])
- self.qmat = self.descrpt_vert.qmat + self.descrpt_para.qmat
-
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- f_vert, v_vert, av_vert \
- = self.descrpt_vert.prod_force_virial(atom_ener, natoms)
- f_para, v_para, av_para \
- = self.descrpt_para.prod_force_virial(atom_ener, natoms)
- force = f_vert + f_para
- virial = v_vert + v_para
- atom_vir = av_vert + av_para
- return force, virial, atom_vir
-
-
-class DescrptSeAEfLower (DescrptSeA):
- """
- Helper class for implementing DescrptSeAEf
- """
- def __init__ (self,
- op,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed : bool = False,
- ) -> None:
- DescrptSeA.__init__(
- self,
- rcut,
- rcut_smth,
- sel,
- neuron,
- axis_neuron,
- resnet_dt,
- trainable,
- seed,
- type_one_side,
- exclude_types,
- set_davg_zero,
- activation_function,
- precision,
- uniform_seed
- )
- # DescrptSeA.__init__(self, **jdata)
- # args = ClassArg()\
- # .add('sel', list, must = True) \
- # .add('rcut', float, default = 6.0) \
- # .add('rcut_smth',float, default = 5.5) \
- # .add('neuron', list, default = [10, 20, 40]) \
- # .add('axis_neuron', int, default = 4, alias = 'n_axis_neuron') \
- # .add('resnet_dt',bool, default = False) \
- # .add('trainable',bool, default = True) \
- # .add('seed', int)
- # class_data = args.parse(jdata)
- # self.sel_a = class_data['sel']
- # self.rcut_r = class_data['rcut']
- # self.rcut_r_smth = class_data['rcut_smth']
- # self.filter_neuron = class_data['neuron']
- # self.n_axis_neuron = class_data['axis_neuron']
- # self.filter_resnet_dt = class_data['resnet_dt']
- # self.seed = class_data['seed']
- # self.trainable = class_data['trainable']
- self.sel_a = sel
- self.rcut_r = rcut
- self.rcut_r_smth = rcut_smth
- self.filter_neuron = neuron
- self.n_axis_neuron = axis_neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.trainable = trainable
- self.op = op
-
- # descrpt config
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.useBN = False
- self.dstd = None
- self.davg = None
-
- add_data_requirement('efield', 3, atomic=True, must=True, high_prec=False)
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_ef_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.place_holders['efield'] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name=name_pfx+'t_efield')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = self.op(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- self.place_holders['efield'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
-
- def compute_input_stats (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- input_dict) :
- data_efield = input_dict['efield']
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- for cc,bb,tt,nn,mm,ee in zip(data_coord,data_box,data_atype,natoms_vec,mesh,data_efield) :
- sysr,sysr2,sysa,sysa2,sysn \
- = self._compute_dstats_sys_smth(cc,bb,tt,nn,mm,ee)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis = 0)
- suma = np.sum(suma, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- suma2 = np.sum(suma2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/sumn[type_i], 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def _normalize_3d(self, a):
- na = tf.norm(a, axis = 1)
- na = tf.tile(tf.reshape(na, [-1,1]), tf.constant([1, 3]))
- return tf.divide(a, na)
-
- def build (self,
- coord_,
- atype_,
- natoms,
- box_,
- mesh,
- input_dict,
- suffix = '',
- reuse = None):
- efield = input_dict['efield']
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
- efield = tf.reshape(efield, [-1, 3])
- efield = self._normalize_3d(efield)
- efield = tf.reshape(efield, [-1, natoms[0] * 3])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = self.op (coord,
- atype,
- natoms,
- box,
- mesh,
- efield,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self.descrpt_reshape = tf.identity(self.descrpt_reshape, name = 'o_rmat')
- self.descrpt_deriv = tf.identity(self.descrpt_deriv, name = 'o_rmat_deriv')
- self.rij = tf.identity(self.rij, name = 'o_rij')
- self.nlist = tf.identity(self.nlist, name = 'o_nlist')
-
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape, atype, natoms, input_dict, suffix = suffix, reuse = reuse, trainable = self.trainable)
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
-
-
- def _compute_dstats_sys_smth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- data_efield) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- self.place_holders['efield']: data_efield,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 4])
- ddr = dd[:,:1]
- dda = dd[:,1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_atten.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_atten.py
deleted file mode 100644
index 20401ecec119a723ac299b5087a04dd6795b30bd..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_atten.py
+++ /dev/null
@@ -1,809 +0,0 @@
-import math
-import numpy as np
-from typing import Tuple, List, Dict, Any
-from packaging.version import Version
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import TF_VERSION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import one_layer, embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.tabulate import DPTabulate
-from deepmd.utils.type_embed import embed_atom_type
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph, get_tensor_by_name
-from deepmd.utils.graph import get_attention_layer_variables_from_graph_def
-from deepmd.utils.errors import GraphWithoutTensorError
-from .descriptor import Descriptor
-from .se_a import DescrptSeA
-
-
-@Descriptor.register("se_atten")
-class DescrptSeAtten(DescrptSeA):
- """
- Parameters
- ----------
- rcut
- The cut-off radius :math:`r_c`
- rcut_smth
- From where the environment matrix should be smoothed :math:`r_s`
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net :math:`\mathcal{N}`
- axis_neuron
- Number of the axis neuron :math:`M_2` (number of columns of the sub-matrix of the embedding matrix)
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- attn
- The length of hidden vector during scale-dot attention computation.
- attn_layer
- The number of layers in attention mechanism.
- attn_dotr
- Whether to dot the relative coordinates on the attention weights as a gated scheme.
- attn_mask
- Whether to mask the diagonal in the attention weights.
- """
-
- def __init__(self,
- rcut: float,
- rcut_smth: float,
- sel: int,
- ntypes: int,
- neuron: List[int] = [24, 48, 96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed: bool = False,
- attn: int = 128,
- attn_layer: int = 2,
- attn_dotr: bool = True,
- attn_mask: bool = False
- ) -> None:
- DescrptSeA.__init__(self,
- rcut,
- rcut_smth,
- [sel],
- neuron=neuron,
- axis_neuron=axis_neuron,
- resnet_dt=resnet_dt,
- trainable=trainable,
- seed=seed,
- type_one_side=type_one_side,
- exclude_types=exclude_types,
- set_davg_zero=set_davg_zero,
- activation_function=activation_function,
- precision=precision,
- uniform_seed=uniform_seed
- )
- """
- Constructor
- """
- assert (Version(TF_VERSION) > Version('2')), "se_atten only support tensorflow version 2.0 or higher."
- self.ntypes = ntypes
- self.att_n = attn
- self.attn_layer = attn_layer
- self.attn_mask = attn_mask
- self.attn_dotr = attn_dotr
-
- # descrpt config
- self.sel_all_a = [sel]
- self.sel_all_r = [0]
- avg_zero = np.zeros([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- self.beta = np.zeros([self.attn_layer, self.filter_neuron[-1]]).astype(GLOBAL_NP_FLOAT_PRECISION)
- self.gamma = np.ones([self.attn_layer, self.filter_neuron[-1]]).astype(GLOBAL_NP_FLOAT_PRECISION)
- self.attention_layer_variables = None
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None],
- name=name_pfx + 't_' + ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx + 't_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes + 2], name=name_pfx + 't_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx + 't_mesh')
- self.stat_descrpt, self.descrpt_deriv_t, self.rij_t, self.nlist_t, self.nei_type_vec_t, self.nmask_t \
- = op_module.prod_env_mat_a_mix(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a=self.rcut_a,
- rcut_r=self.rcut_r,
- rcut_r_smth=self.rcut_r_smth,
- sel_a=self.sel_all_a,
- sel_r=self.sel_all_r)
- self.sub_sess = tf.Session(graph=sub_graph, config=default_tf_session_config)
-
- def compute_input_stats(self,
- data_coord: list,
- data_box: list,
- data_atype: list,
- natoms_vec: list,
- mesh: list,
- input_dict: dict,
- mixed_type: bool = False,
- real_natoms_vec: list = None
- ) -> None:
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms.
- If mixed_type is True, this para is blank. See real_natoms_vec.
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- mixed_type
- Whether to perform the mixed_type mode.
- If True, the input data has the mixed_type format (see doc/model/train_se_atten.md),
- in which frames in a system may have different natoms_vec(s), with the same nloc.
- real_natoms_vec
- If mixed_type is True, it takes in the real natoms_vec for each frame.
- """
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- if mixed_type:
- sys_num = 0
- for cc, bb, tt, nn, mm, r_n in zip(data_coord, data_box, data_atype, natoms_vec, mesh, real_natoms_vec):
- sysr, sysr2, sysa, sysa2, sysn \
- = self._compute_dstats_sys_smth(cc, bb, tt, nn, mm, mixed_type, r_n)
- sys_num += 1
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- else:
- for cc, bb, tt, nn, mm in zip(data_coord, data_box, data_atype, natoms_vec, mesh):
- sysr, sysr2, sysa, sysa2, sysn \
- = self._compute_dstats_sys_smth(cc, bb, tt, nn, mm)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis=0)
- suma = np.sum(suma, axis=0)
- sumn = np.sum(sumn, axis=0)
- sumr2 = np.sum(sumr2, axis=0)
- suma2 = np.sum(suma2, axis=0)
- for type_i in range(self.ntypes):
- davgunit = [sumr[type_i] / (sumn[type_i] + 1e-15), 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def build(self,
- coord_: tf.Tensor,
- atype_: tf.Tensor,
- natoms: tf.Tensor,
- box_: tf.Tensor,
- mesh: tf.Tensor,
- input_dict: dict,
- reuse: bool = None,
- suffix: str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse=reuse):
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name='rcut',
- dtype=GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name='ntypes',
- dtype=tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name='ndescrpt',
- dtype=tf.int32)
- t_sel = tf.constant(self.sel_a,
- name='sel',
- dtype=tf.int32)
- t_original_sel = tf.constant(self.original_sel if self.original_sel is not None else self.sel_a,
- name='original_sel',
- dtype=tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype=GLOBAL_TF_FLOAT_PRECISION,
- trainable=False,
- initializer=tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype=GLOBAL_TF_FLOAT_PRECISION,
- trainable=False,
- initializer=tf.constant_initializer(dstd))
-
- with tf.control_dependencies([t_sel, t_original_sel]):
- coord = tf.reshape(coord_, [-1, natoms[1] * 3])
- box = tf.reshape(box_, [-1, 9])
- atype = tf.reshape(atype_, [-1, natoms[1]])
- self.attn_weight = [None for i in range(self.attn_layer)]
- self.angular_weight = [None for i in range(self.attn_layer)]
- self.attn_weight_final = [None for i in range(self.attn_layer)]
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist, self.nei_type_vec, self.nmask \
- = op_module.prod_env_mat_a_mix(coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a=self.rcut_a,
- rcut_r=self.rcut_r,
- rcut_r_smth=self.rcut_r_smth,
- sel_a=self.sel_all_a,
- sel_r=self.sel_all_r)
- self.nei_type_vec = tf.reshape(self.nei_type_vec, [-1])
- self.nmask = tf.cast(tf.reshape(self.nmask, [-1, 1, self.sel_all_a[0]]), GLOBAL_TF_FLOAT_PRECISION)
- self.negative_mask = -(2 << 32) * (1.0 - self.nmask)
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self.atype_nloc = tf.reshape(tf.slice(atype, [0, 0], [-1, natoms[0]]),
- [-1]) ## lammps will have error without this
- self._identity_tensors(suffix=suffix)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape,
- self.atype_nloc,
- natoms,
- input_dict,
- suffix=suffix,
- reuse=reuse,
- trainable=self.trainable)
-
- # only used when tensorboard was set as true
- tf.summary.histogram('embedding_net_output', self.dout)
- return self.dout
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse=None,
- suffix='',
- trainable=True):
- assert (input_dict is not None and input_dict.get('type_embedding', None) is not None), \
- 'se_atten desctiptor must use type_embedding'
- type_embedding = input_dict.get('type_embedding', None)
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- output_qmat = []
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- layer, qmat = self._filter(inputs_i, type_i, natoms, name='filter_type_all' + suffix, suffix=suffix,
- reuse=reuse, trainable=trainable, activation_fn=self.filter_activation_fn,
- type_embedding=type_embedding, atype=atype)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0], self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- output_qmat.append(qmat)
- output = tf.concat(output, axis=1)
- output_qmat = tf.concat(output_qmat, axis=1)
- return output, output_qmat
-
- def _compute_dstats_sys_smth(self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- mixed_type=False,
- real_natoms_vec=None):
- dd_all, descrpt_deriv_t, rij_t, nlist_t, nei_type_vec_t, nmask_t \
- = run_sess(self.sub_sess, [self.stat_descrpt, self.descrpt_deriv_t, self.rij_t, self.nlist_t, self.nei_type_vec_t, self.nmask_t],
- feed_dict={
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- if mixed_type:
- nframes = dd_all.shape[0]
- sysr = [0. for i in range(self.ntypes)]
- sysa = [0. for i in range(self.ntypes)]
- sysn = [0 for i in range(self.ntypes)]
- sysr2 = [0. for i in range(self.ntypes)]
- sysa2 = [0. for i in range(self.ntypes)]
- for ff in range(nframes):
- natoms = real_natoms_vec[ff]
- dd_ff = np.reshape(dd_all[ff], [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2 + type_i] # center atom split
- dd = dd_ff[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt]) # nframes * typen_atoms , nnei * 4
- start_index = end_index
- # compute
- dd = np.reshape(dd, [-1, 4]) # nframes * typen_atoms * nnei, 4
- ddr = dd[:, :1]
- dda = dd[:, 1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr[type_i] += sumr
- sysa[type_i] += suma
- sysn[type_i] += sumn
- sysr2[type_i] += sumr2
- sysa2[type_i] += suma2
- else:
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2 + type_i] # center atom split
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt]) # nframes * typen_atoms , nnei * 4
- start_index = end_index
- # compute
- dd = np.reshape(dd, [-1, 4]) # nframes * typen_atoms * nnei, 4
- ddr = dd[:, :1]
- dda = dd[:, 1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
- def _lookup_type_embedding(
- self,
- xyz_scatter,
- natype,
- type_embedding,
- ):
- '''Concatenate `type_embedding` of neighbors and `xyz_scatter`.
- If not self.type_one_side, concatenate `type_embedding` of center atoms as well.
-
- Parameters
- ----------
- xyz_scatter:
- shape is [nframes*natoms[0]*self.nnei, 1]
- nframes:
- shape is []
- natoms:
- shape is [1+1+self.ntypes]
- type_embedding:
- shape is [self.ntypes, Y] where Y=jdata['type_embedding']['neuron'][-1]
-
- Returns
- -------
- embedding:
- environment of each atom represented by embedding.
- '''
- te_out_dim = type_embedding.get_shape().as_list()[-1]
- self.test_type_embedding = type_embedding
- self.test_nei_embed = tf.nn.embedding_lookup(type_embedding,
- self.nei_type_vec) # shape is [self.nnei, 1+te_out_dim]
- # nei_embed = tf.tile(nei_embed, (nframes * natoms[0], 1)) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- nei_embed = tf.reshape(self.test_nei_embed, [-1, te_out_dim])
- self.embedding_input = tf.concat([xyz_scatter, nei_embed],
- 1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim]
- if not self.type_one_side:
- self.atm_embed = tf.nn.embedding_lookup(type_embedding, natype) # shape is [nframes*natoms[0], te_out_dim]
- self.atm_embed = tf.tile(self.atm_embed,
- [1, self.nnei]) # shape is [nframes*natoms[0], self.nnei*te_out_dim]
- self.atm_embed = tf.reshape(self.atm_embed,
- [-1, te_out_dim]) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- self.embedding_input_2 = tf.concat([self.embedding_input, self.atm_embed],
- 1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim+te_out_dim]
- return self.embedding_input_2
- return self.embedding_input
-
- def _feedforward(self, input_xyz, d_in, d_mid):
- residual = input_xyz
- input_xyz = tf.nn.relu(one_layer(
- input_xyz,
- d_mid,
- name='c_ffn1',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=True,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables))
- input_xyz = one_layer(
- input_xyz,
- d_in,
- name='c_ffn2',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=True,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- input_xyz += residual
- input_xyz = tf.keras.layers.LayerNormalization()(input_xyz)
- return input_xyz
-
- def _scaled_dot_attn(self, Q, K, V, temperature, input_r, dotr=False, do_mask=False, layer=0, save_weights=True):
- attn = tf.matmul(Q / temperature, K, transpose_b=True)
- attn *= self.nmask
- attn += self.negative_mask
- attn = tf.nn.softmax(attn, axis=-1)
- attn *= tf.reshape(self.nmask, [-1, attn.shape[-1], 1])
- if save_weights:
- self.attn_weight[layer] = attn[0] # atom 0
- if dotr:
- angular_weight = tf.matmul(input_r, input_r, transpose_b=True) # normalized
- attn *= angular_weight
- if save_weights:
- self.angular_weight[layer] = angular_weight[0] # atom 0
- self.attn_weight_final[layer] = attn[0] # atom 0
- if do_mask:
- nei = int(attn.shape[-1])
- mask = tf.cast(tf.ones((nei, nei)) - tf.eye(nei), self.filter_precision)
- attn *= mask
- output = tf.matmul(attn, V)
- return output
-
- def _attention_layers(
- self,
- input_xyz,
- layer_num,
- shape_i,
- outputs_size,
- input_r,
- dotr=False,
- do_mask=False,
- trainable=True,
- suffix=''
- ):
- sd_k = tf.sqrt(tf.cast(1., dtype=self.filter_precision))
- for i in range(layer_num):
- name = 'attention_layer_{}{}'.format(i, suffix)
- with tf.variable_scope(name, reuse=tf.AUTO_REUSE):
- # input_xyz_in = tf.nn.l2_normalize(input_xyz, -1)
- Q_c = one_layer(
- input_xyz,
- self.att_n,
- name='c_query',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- K_c = one_layer(
- input_xyz,
- self.att_n,
- name='c_key',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- V_c = one_layer(
- input_xyz,
- self.att_n,
- name='c_value',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- # # natom x nei_type_i x out_size
- # xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, outputs_size[-1]))
- # natom x nei_type_i x att_n
- Q_c = tf.nn.l2_normalize(tf.reshape(Q_c, (-1, shape_i[1] // 4, self.att_n)), -1)
- K_c = tf.nn.l2_normalize(tf.reshape(K_c, (-1, shape_i[1] // 4, self.att_n)), -1)
- V_c = tf.nn.l2_normalize(tf.reshape(V_c, (-1, shape_i[1] // 4, self.att_n)), -1)
-
- input_att = self._scaled_dot_attn(Q_c, K_c, V_c, sd_k, input_r, dotr=dotr, do_mask=do_mask, layer=i)
- input_att = tf.reshape(input_att, (-1, self.att_n))
-
- # (natom x nei_type_i) x out_size
- input_xyz += one_layer(
- input_att,
- outputs_size[-1],
- name='c_out',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- input_xyz = tf.keras.layers.LayerNormalization(beta_initializer=tf.constant_initializer(self.beta[i]),
- gamma_initializer=tf.constant_initializer(self.gamma[i]))(input_xyz)
- # input_xyz = self._feedforward(input_xyz, outputs_size[-1], self.att_n)
- return input_xyz
-
- def _filter_lower(
- self,
- type_i,
- type_input,
- start_index,
- incrs_index,
- inputs,
- type_embedding=None,
- atype=None,
- is_exclude=False,
- activation_fn=None,
- bavg=0.0,
- stddev=1.0,
- trainable=True,
- suffix='',
- name='filter_',
- reuse=None
- ):
- """
- input env matrix, returns R.G
- """
- outputs_size = [1] + self.filter_neuron
- # cut-out inputs
- # with natom x (nei_type_i x 4)
- inputs_i = tf.slice(inputs,
- [0, start_index * 4],
- [-1, incrs_index * 4])
- shape_i = inputs_i.get_shape().as_list()
- natom = tf.shape(inputs_i)[0]
- # with (natom x nei_type_i) x 4
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- # with (natom x nei_type_i) x 1
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- assert atype is not None, 'atype must exist!!'
- type_embedding = tf.cast(type_embedding, self.filter_precision)
- xyz_scatter = self._lookup_type_embedding(
- xyz_scatter, atype, type_embedding)
- if self.compress:
- raise RuntimeError('compression of attention descriptor is not supported at the moment')
- # natom x 4 x outputs_size
- if (not is_exclude):
- with tf.variable_scope(name, reuse=reuse):
- # with (natom x nei_type_i) x out_size
- xyz_scatter = embedding_net(
- xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn=activation_fn,
- resnet_dt=self.filter_resnet_dt,
- name_suffix=suffix,
- stddev=stddev,
- bavg=bavg,
- seed=self.seed,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.embedding_net_variables,
- mixed_prec=self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- input_r = tf.slice(tf.reshape(inputs_i, (-1, shape_i[1] // 4, 4)), [0, 0, 1], [-1, -1, 3])
- input_r = tf.nn.l2_normalize(input_r, -1)
- # natom x nei_type_i x out_size
- xyz_scatter_att = tf.reshape(
- self._attention_layers(xyz_scatter, self.attn_layer, shape_i, outputs_size, input_r,
- dotr=self.attn_dotr, do_mask=self.attn_mask, trainable=trainable, suffix=suffix),
- (-1, shape_i[1] // 4, outputs_size[-1]))
- # xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, outputs_size[-1]))
- else:
- # we can safely return the final xyz_scatter filled with zero directly
- return tf.cast(tf.fill((natom, 4, outputs_size[-1]), 0.), self.filter_precision)
- # When using tf.reshape(inputs_i, [-1, shape_i[1]//4, 4]) below
- # [588 24] -> [588 6 4] correct
- # but if sel is zero
- # [588 0] -> [147 0 4] incorrect; the correct one is [588 0 4]
- # So we need to explicitly assign the shape to tf.shape(inputs_i)[0] instead of -1
- return tf.matmul(tf.reshape(inputs_i, [natom, shape_i[1] // 4, 4]), xyz_scatter_att, transpose_a=True)
-
- @cast_precision
- def _filter(
- self,
- inputs,
- type_input,
- natoms,
- type_embedding=None,
- atype=None,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- suffix='',
- name='linear',
- reuse=None,
- trainable=True):
- nframes = tf.shape(tf.reshape(inputs, [-1, natoms[0], self.ndescrpt]))[0]
- # natom x (nei x 4)
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + self.filter_neuron
- outputs_size_2 = self.n_axis_neuron
- all_excluded = all([(type_input, type_i) in self.exclude_types for type_i in range(self.ntypes)])
- if all_excluded:
- # all types are excluded so result and qmat should be zeros
- # we can safaly return a zero matrix...
- # See also https://stackoverflow.com/a/34725458/9567349
- # result: natom x outputs_size x outputs_size_2
- # qmat: natom x outputs_size x 3
- natom = tf.shape(inputs)[0]
- result = tf.cast(tf.fill((natom, outputs_size_2, outputs_size[-1]), 0.), GLOBAL_TF_FLOAT_PRECISION)
- qmat = tf.cast(tf.fill((natom, outputs_size[-1], 3), 0.), GLOBAL_TF_FLOAT_PRECISION)
- return result, qmat
-
- start_index = 0
- type_i = 0
- # natom x 4 x outputs_size
- xyz_scatter_1 = self._filter_lower(
- type_i, type_input,
- start_index, np.cumsum(self.sel_a)[-1],
- inputs,
- type_embedding=type_embedding,
- is_exclude=False,
- activation_fn=activation_fn,
- stddev=stddev,
- bavg=bavg,
- trainable=trainable,
- suffix=suffix,
- name=name,
- reuse=reuse,
- atype=atype)
- # natom x nei x outputs_size
- # xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # natom x nei x 4
- # inputs_reshape = tf.reshape(inputs, [-1, shape[1]//4, 4])
- # natom x 4 x outputs_size
- # xyz_scatter_1 = tf.matmul(inputs_reshape, xyz_scatter, transpose_a = True)
- if self.original_sel is None:
- # shape[1] = nnei * 4
- nnei = shape[1] / 4
- else:
- nnei = tf.cast(tf.Variable(np.sum(self.original_sel), dtype=tf.int32, trainable=False, name="nnei"),
- self.filter_precision)
- xyz_scatter_1 = xyz_scatter_1 / nnei
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = tf.slice(xyz_scatter_1, [0, 0, 0], [-1, -1, outputs_size_2])
- # # natom x 3 x outputs_size_2
- # qmat = tf.slice(xyz_scatter_2, [0,1,0], [-1, 3, -1])
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0, 1, 0], [-1, 3, -1])
- # natom x outputs_size_1 x 3
- qmat = tf.transpose(qmat, perm=[0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a=True)
- # natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, outputs_size_2 * outputs_size[-1]])
-
- return result, qmat
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix: str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- super().init_variables(graph=graph, graph_def=graph_def, suffix=suffix)
- self.attention_layer_variables = get_attention_layer_variables_from_graph_def(graph_def, suffix=suffix)
- if self.attn_layer > 0:
- self.beta[0] = self.attention_layer_variables['attention_layer_0{}/layer_normalization/beta'.format(suffix)]
- self.gamma[0] = self.attention_layer_variables['attention_layer_0{}/layer_normalization/gamma'.format(suffix)]
- for i in range(1, self.attn_layer):
- self.beta[i] = self.attention_layer_variables[
- 'attention_layer_{}{}/layer_normalization_{}/beta'.format(i, suffix, i)]
- self.gamma[i] = self.attention_layer_variables[
- 'attention_layer_{}{}/layer_normalization_{}/gamma'.format(i, suffix, i)]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_r.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_r.py
deleted file mode 100644
index f42c6fbe597a6c8a7c77db12e7a0fa08ede7e632..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_r.py
+++ /dev/null
@@ -1,573 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.tabulate import DPTabulate
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.network import embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.sess import run_sess
-from .descriptor import Descriptor
-from .se import DescrptSe
-
-
-@Descriptor.register("se_e2_r")
-@Descriptor.register("se_r")
-class DescrptSeR (DescrptSe):
- """DeepPot-SE constructed from radial information of atomic configurations.
-
- The embedding takes the distance between atoms as input.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('sel', list, must = True) \
- # .add('rcut', float, default = 6.0) \
- # .add('rcut_smth',float, default = 0.5) \
- # .add('neuron', list, default = [10, 20, 40]) \
- # .add('resnet_dt',bool, default = False) \
- # .add('trainable',bool, default = True) \
- # .add('seed', int) \
- # .add('type_one_side', bool, default = False) \
- # .add('exclude_types', list, default = []) \
- # .add('set_davg_zero', bool, default = False) \
- # .add("activation_function", str, default = "tanh") \
- # .add("precision", str, default = "default")
- # class_data = args.parse(jdata)
- if rcut < rcut_smth:
- raise RuntimeError("rcut_smth (%f) should be no more than rcut (%f)!" % (rcut_smth, rcut))
- self.sel_r = sel
- self.rcut = rcut
- self.rcut_smth = rcut_smth
- self.filter_neuron = neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = embedding_net_rand_seed_shift(self.filter_neuron)
- self.trainable = trainable
- self.filter_activation_fn = get_activation_func(activation_function)
- self.filter_precision = get_precision(precision)
- exclude_types = exclude_types
- self.exclude_types = set()
- for tt in exclude_types:
- assert(len(tt) == 2)
- self.exclude_types.add((tt[0], tt[1]))
- self.exclude_types.add((tt[1], tt[0]))
- self.set_davg_zero = set_davg_zero
- self.type_one_side = type_one_side
-
- # descrpt config
- self.sel_a = [ 0 for ii in range(len(self.sel_r)) ]
- self.ntypes = len(self.sel_r)
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.nnei_r
- self.useBN = False
- self.davg = None
- self.dstd = None
- self.compress=False
- self.embedding_net_variables = None
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_ser_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = op_module.prod_env_mat_r(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut = self.rcut,
- rcut_smth = self.rcut_smth,
- sel = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
- def get_rcut (self) :
- """
- Returns the cut-off radisu
- """
- return self.rcut
-
- def get_ntypes (self) :
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) :
- """
- Returns the output dimension of this descriptor
- """
- return self.filter_neuron[-1]
-
- def get_nlist (self) :
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- input_dict) :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- sumr = []
- sumn = []
- sumr2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysr,sysr2,sysn \
- = self._compute_dstats_sys_se_r(cc,bb,tt,nn,mm)
- sumr.append(sysr)
- sumn.append(sysn)
- sumr2.append(sysr2)
- sumr = np.sum(sumr, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/sumn[type_i]]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i])]
- davg = np.tile(davgunit, self.ndescrpt // 1)
- dstd = np.tile(dstdunit, self.ndescrpt // 1)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def enable_compression(self,
- min_nbor_dist : float,
- model_file : str = 'frozon_model.pb',
- table_extrapolate : float = 5,
- table_stride_1 : float = 0.01,
- table_stride_2 : float = 0.1,
- check_frequency : int = -1,
- suffix : str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between atoms
- model_file
- The original frozen model, which will be compressed by the program
- table_extrapolate
- The scale of model extrapolation
- table_stride_1
- The uniform stride of the first table
- table_stride_2
- The uniform stride of the second table
- check_frequency
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- assert (
- not self.filter_resnet_dt
- ), "Model compression error: descriptor resnet_dt must be false!"
-
- for ii in range(len(self.filter_neuron) - 1):
- if self.filter_neuron[ii] * 2 != self.filter_neuron[ii + 1]:
- raise NotImplementedError(
- "Model Compression error: descriptor neuron [%s] is not supported by model compression! "
- "The size of the next layer of the neural network must be twice the size of the previous layer."
- % ','.join([str(item) for item in self.filter_neuron])
- )
-
- self.compress = True
- self.table = DPTabulate(
- self, self.filter_neuron, model_file, activation_fn = self.filter_activation_fn, suffix=suffix)
- self.table_config = [table_extrapolate, table_stride_1, table_stride_2, check_frequency]
- self.lower, self.upper \
- = self.table.build(min_nbor_dist,
- table_extrapolate,
- table_stride_1,
- table_stride_2)
-
- graph, _ = load_graph_def(model_file)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(self.rcut,
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = op_module.prod_env_mat_r(coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut = self.rcut,
- rcut_smth = self.rcut_smth,
- sel = self.sel_r)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self._identity_tensors(suffix=suffix)
-
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.dout = self._pass_filter(self.descrpt_reshape, natoms, suffix = suffix, reuse = reuse, trainable = self.trainable)
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt_reshape)
- tf.summary.histogram('net_derivative', net_deriv)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force \
- = op_module.prod_force_se_r (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- natoms)
- virial, atom_virial \
- = op_module.prod_virial_se_r (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- natoms)
- tf.summary.histogram('force', force)
- tf.summary.histogram('virial', virial)
- tf.summary.histogram('atom_virial', atom_virial)
-
- return force, virial, atom_virial
-
-
- def _pass_filter(self,
- inputs,
- natoms,
- reuse = None,
- suffix = '',
- trainable = True) :
- start_index = 0
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- if not (self.type_one_side and len(self.exclude_types) == 0):
- for type_i in range(self.ntypes):
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- if self.type_one_side:
- # reuse NN parameters for all types to support type_one_side along with exclude_types
- reuse = tf.AUTO_REUSE
- filter_name = 'filter_type_all'+suffix
- else:
- filter_name = 'filter_type_'+str(type_i)+suffix
- layer = self._filter_r(inputs_i, type_i, name=filter_name, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[2+type_i], self.get_dim_out()])
- output.append(layer)
- start_index += natoms[2+type_i]
- else :
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- layer = self._filter_r(inputs_i, type_i, name='filter_type_all'+suffix, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- output.append(layer)
- output = tf.concat(output, axis = 1)
- return output
-
- def _compute_dstats_sys_se_r (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysn = []
- sysr2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 1])
- ddr = dd[:,:1]
- sumr = np.sum(ddr)
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- sysr.append(sumr)
- sysn.append(sumn)
- sysr2.append(sumr2)
- return sysr, sysr2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- val = np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
- if np.abs(val) < 1e-2:
- val = 1e-2
- return val
-
- @cast_precision
- def _filter_r(self,
- inputs,
- type_input,
- natoms,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- trainable = True):
- # natom x nei
- outputs_size = [1] + self.filter_neuron
- with tf.variable_scope(name, reuse=reuse):
- start_index = 0
- xyz_scatter_total = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- # with natom x nei_type_i
- inputs_i = tf.slice (inputs,
- [ 0, start_index ],
- [-1, self.sel_r[type_i]] )
- start_index += self.sel_r[type_i]
- shape_i = inputs_i.get_shape().as_list()
- # with (natom x nei_type_i) x 1
- xyz_scatter = tf.reshape(inputs_i, [-1, 1])
- if self.compress and ((type_input, type_i) not in self.exclude_types):
- net = 'filter_' + str(type_input) + '_net_' + str(type_i)
- info = [self.lower[net], self.upper[net], self.upper[net] * self.table_config[0], self.table_config[1], self.table_config[2], self.table_config[3]]
- xyz_scatter = op_module.tabulate_fusion_se_r(tf.cast(self.table.data[net], self.filter_precision), info, inputs_i, last_layer_size = outputs_size[-1])
- elif (type_input, type_i) not in self.exclude_types:
- xyz_scatter = embedding_net(xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- name_suffix = "_"+str(type_i),
- stddev = stddev,
- bavg = bavg,
- seed = self.seed,
- trainable = trainable,
- uniform_seed = self.uniform_seed,
- initial_variables = self.embedding_net_variables,
- )
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # natom x nei_type_i x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1], outputs_size[-1]))
- else:
- natom = tf.shape(inputs)[0]
- xyz_scatter = tf.cast(tf.fill((natom, shape_i[1], outputs_size[-1]), 0.), self.filter_precision)
- xyz_scatter_total.append(xyz_scatter)
-
- # natom x nei x outputs_size
- xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # natom x outputs_size
- #
- res_rescale = 1./5.
- result = tf.reduce_mean(xyz_scatter, axis = 1) * res_rescale
-
- return result
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_t.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_t.py
deleted file mode 100644
index 43c497e8894e57cc8f0e1c8ece156e3be245f0b9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/descriptor/se_t.py
+++ /dev/null
@@ -1,589 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.tabulate import DPTabulate
-from .descriptor import Descriptor
-from .se import DescrptSe
-
-@Descriptor.register("se_e3")
-@Descriptor.register("se_at")
-@Descriptor.register("se_a_3be")
-class DescrptSeT (DescrptSe):
- """DeepPot-SE constructed from all information (both angular and radial) of atomic
- configurations.
-
- The embedding takes angles between two neighboring atoms as input.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- if rcut < rcut_smth:
- raise RuntimeError("rcut_smth (%f) should be no more than rcut (%f)!" % (rcut_smth, rcut))
- self.sel_a = sel
- self.rcut_r = rcut
- self.rcut_r_smth = rcut_smth
- self.filter_neuron = neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = embedding_net_rand_seed_shift(self.filter_neuron)
- self.trainable = trainable
- self.filter_activation_fn = get_activation_func(activation_function)
- self.filter_precision = get_precision(precision)
- # self.exclude_types = set()
- # for tt in exclude_types:
- # assert(len(tt) == 2)
- # self.exclude_types.add((tt[0], tt[1]))
- # self.exclude_types.add((tt[1], tt[0]))
- self.set_davg_zero = set_davg_zero
-
- # descrpt config
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.useBN = False
- self.dstd = None
- self.davg = None
- self.compress = False
- self.embedding_net_variables = None
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = op_module.prod_env_mat_a(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radisu
- """
- return self.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.filter_neuron[-1]
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysr,sysr2,sysa,sysa2,sysn \
- = self._compute_dstats_sys_smth(cc,bb,tt,nn,mm)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis = 0)
- suma = np.sum(suma, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- suma2 = np.sum(suma2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/sumn[type_i], 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
-
- def enable_compression(self,
- min_nbor_dist : float,
- model_file : str = 'frozon_model.pb',
- table_extrapolate : float = 5,
- table_stride_1 : float = 0.01,
- table_stride_2 : float = 0.1,
- check_frequency : int = -1,
- suffix : str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between atoms
- model_file
- The original frozen model, which will be compressed by the program
- table_extrapolate
- The scale of model extrapolation
- table_stride_1
- The uniform stride of the first table
- table_stride_2
- The uniform stride of the second table
- check_frequency
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- assert (
- not self.filter_resnet_dt
- ), "Model compression error: descriptor resnet_dt must be false!"
-
- for ii in range(len(self.filter_neuron) - 1):
- if self.filter_neuron[ii] * 2 != self.filter_neuron[ii + 1]:
- raise NotImplementedError(
- "Model Compression error: descriptor neuron [%s] is not supported by model compression! "
- "The size of the next layer of the neural network must be twice the size of the previous layer."
- % ','.join([str(item) for item in self.filter_neuron])
- )
-
- self.compress = True
- self.table = DPTabulate(
- self, self.filter_neuron, model_file, activation_fn = self.filter_activation_fn, suffix=suffix)
- self.table_config = [table_extrapolate, table_stride_1 * 10, table_stride_2 * 10, check_frequency]
- self.lower, self.upper \
- = self.table.build(min_nbor_dist,
- table_extrapolate,
- table_stride_1 * 10,
- table_stride_2 * 10)
-
- graph, _ = load_graph_def(model_file)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = op_module.prod_env_mat_a (coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self._identity_tensors(suffix=suffix)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape,
- atype,
- natoms,
- input_dict,
- suffix = suffix,
- reuse = reuse,
- trainable = self.trainable)
-
- return self.dout
-
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt_reshape)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force \
- = op_module.prod_force_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- return force, virial, atom_virial
-
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse = None,
- suffix = '',
- trainable = True) :
- start_index = 0
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- output_qmat = []
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- layer, qmat = self._filter(inputs_i, type_i, name='filter_type_all'+suffix, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- # qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0] * self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- # output_qmat.append(qmat)
- output = tf.concat(output, axis = 1)
- # output_qmat = tf.concat(output_qmat, axis = 1)
- return output, None
-
-
- def _compute_dstats_sys_smth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 4])
- ddr = dd[:,:1]
- dda = dd[:,1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- val = np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
- if np.abs(val) < 1e-2:
- val = 1e-2
- return val
-
- @cast_precision
- def _filter(self,
- inputs,
- type_input,
- natoms,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- trainable = True):
- # natom x (nei x 4)
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + self.filter_neuron
- with tf.variable_scope(name, reuse=reuse):
- start_index_i = 0
- result = None
- for type_i in range(self.ntypes):
- # cut-out inputs
- # with natom x (nei_type_i x 4)
- inputs_i = tf.slice (inputs,
- [ 0, start_index_i *4],
- [-1, self.sel_a[type_i] *4] )
- start_index_j = start_index_i
- start_index_i += self.sel_a[type_i]
- nei_type_i = self.sel_a[type_i]
- shape_i = inputs_i.get_shape().as_list()
- assert(shape_i[1] == nei_type_i * 4)
- # with natom x nei_type_i x 4
- env_i = tf.reshape(inputs_i, [-1, nei_type_i, 4])
- # with natom x nei_type_i x 3
- env_i = tf.slice(env_i, [0, 0, 1], [-1, -1, -1])
- for type_j in range(type_i, self.ntypes):
- # with natom x (nei_type_j x 4)
- inputs_j = tf.slice (inputs,
- [ 0, start_index_j *4],
- [-1, self.sel_a[type_j] *4] )
- start_index_j += self.sel_a[type_j]
- nei_type_j = self.sel_a[type_j]
- shape_j = inputs_j.get_shape().as_list()
- assert(shape_j[1] == nei_type_j * 4)
- # with natom x nei_type_j x 4
- env_j = tf.reshape(inputs_j, [-1, nei_type_j, 4])
- # with natom x nei_type_i x 3
- env_j = tf.slice(env_j, [0, 0, 1], [-1, -1, -1])
- # with natom x nei_type_i x nei_type_j
- env_ij = tf.einsum('ijm,ikm->ijk', env_i, env_j)
- # with (natom x nei_type_i x nei_type_j)
- ebd_env_ij = tf.reshape(env_ij, [-1, 1])
- if self.compress:
- net = 'filter_' + str(type_i) + '_net_' + str(type_j)
- info = [self.lower[net], self.upper[net], self.upper[net] * self.table_config[0], self.table_config[1], self.table_config[2], self.table_config[3]]
- res_ij = op_module.tabulate_fusion_se_t(tf.cast(self.table.data[net], self.filter_precision), info, ebd_env_ij, env_ij, last_layer_size = outputs_size[-1])
- else:
- # with (natom x nei_type_i x nei_type_j) x out_size
- ebd_env_ij = embedding_net(ebd_env_ij,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- name_suffix = f"_{type_i}_{type_j}",
- stddev = stddev,
- bavg = bavg,
- seed = self.seed,
- trainable = trainable,
- uniform_seed = self.uniform_seed,
- initial_variables = self.embedding_net_variables,
- )
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # with natom x nei_type_i x nei_type_j x out_size
- ebd_env_ij = tf.reshape(ebd_env_ij, [-1, nei_type_i, nei_type_j, outputs_size[-1]])
- # with natom x out_size
- res_ij = tf.einsum('ijk,ijkm->im', env_ij, ebd_env_ij)
- res_ij = res_ij * (1.0 / float(nei_type_i) / float(nei_type_j))
- if result is None:
- result = res_ij
- else:
- result += res_ij
- return result, None
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/__init__.py
deleted file mode 100644
index f11964a637ef26657ee0618e56468d147578ff96..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/__init__.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"""Submodule that contains all the DeePMD-Kit entry point scripts."""
-
-from .compress import compress
-from .config import config
-from .doc import doc_train_input
-from .freeze import freeze
-from .test import test
-# import `train` as `train_dp` to avoid the conflict of the
-# module name `train` and the function name `train`
-from .train import train as train_dp
-from .transfer import transfer
-from ..infer.model_devi import make_model_devi
-from .convert import convert
-from .neighbor_stat import neighbor_stat
-
-__all__ = [
- "config",
- "doc_train_input",
- "freeze",
- "test",
- "train_dp",
- "transfer",
- "compress",
- "doc_train_input",
- "make_model_devi",
- "convert",
- "neighbor_stat",
-]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/compress.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/compress.py
deleted file mode 100644
index 5700e3c7b58132be1c01d99156d4fa6e64e4b196..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/compress.py
+++ /dev/null
@@ -1,162 +0,0 @@
-"""Compress a model, which including tabulating the embedding-net."""
-
-import os
-import json
-import logging
-from typing import Optional
-
-from deepmd.common import j_loader
-from deepmd.env import tf, GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.utils.argcheck import normalize
-from deepmd.utils.compat import update_deepmd_input
-from deepmd.utils.errors import GraphTooLargeError, GraphWithoutTensorError
-from deepmd.utils.graph import get_tensor_by_name
-
-from .freeze import freeze
-from .train import train, get_rcut, get_min_nbor_dist
-from .transfer import transfer
-
-__all__ = ["compress"]
-
-log = logging.getLogger(__name__)
-
-
-def compress(
- *,
- input: str,
- output: str,
- extrapolate: int,
- step: float,
- frequency: str,
- checkpoint_folder: str,
- training_script: str,
- mpi_log: str,
- log_path: Optional[str],
- log_level: int,
- **kwargs
-):
- """Compress model.
-
- The table is composed of fifth-order polynomial coefficients and is assembled from
- two sub-tables. The first table takes the step parameter as the domain's uniform step size,
- while the second table takes 10 * step as it's uniform step size. The range of the
- first table is automatically detected by the code, while the second table ranges
- from the first table's upper boundary(upper) to the extrapolate(parameter) * upper.
-
- Parameters
- ----------
- input : str
- frozen model file to compress
- output : str
- compressed model filename
- extrapolate : int
- scale of model extrapolation
- step : float
- uniform step size of the tabulation's first table
- frequency : str
- frequency of tabulation overflow check
- checkpoint_folder : str
- trining checkpoint folder for freezing
- training_script : str
- training script of the input frozen model
- mpi_log : str
- mpi logging mode for training
- log_path : Optional[str]
- if speccified log will be written to this file
- log_level : int
- logging level
- """
- try:
- t_jdata = get_tensor_by_name(input, 'train_attr/training_script')
- t_min_nbor_dist = get_tensor_by_name(input, 'train_attr/min_nbor_dist')
- jdata = json.loads(t_jdata)
- except GraphWithoutTensorError as e:
- if training_script == None:
- raise RuntimeError(
- "The input frozen model: %s has no training script or min_nbor_dist information, "
- "which is not supported by the model compression interface. "
- "Please consider using the --training-script command within the model compression interface to provide the training script of the input frozen model. "
- "Note that the input training script must contain the correct path to the training data." % input
- ) from e
- elif not os.path.exists(training_script):
- raise RuntimeError(
- "The input training script %s (%s) does not exist! Please check the path of the training script. " % (input, os.path.abspath(input))
- ) from e
- else:
- log.info("stage 0: compute the min_nbor_dist")
- jdata = j_loader(training_script)
- jdata = update_deepmd_input(jdata)
- t_min_nbor_dist = get_min_nbor_dist(jdata, get_rcut(jdata))
-
- _check_compress_type(input)
-
- tf.constant(t_min_nbor_dist,
- name = 'train_attr/min_nbor_dist',
- dtype = GLOBAL_ENER_FLOAT_PRECISION)
- jdata["model"]["compress"] = {}
- jdata["model"]["compress"]["model_file"] = input
- jdata["model"]["compress"]["min_nbor_dist"] = t_min_nbor_dist
- jdata["model"]["compress"]["table_config"] = [
- extrapolate,
- step,
- 10 * step,
- int(frequency),
- ]
- jdata["training"]["save_ckpt"] = os.path.join("model-compression", "model.ckpt")
- jdata = update_deepmd_input(jdata)
- jdata = normalize(jdata)
-
- # check the descriptor info of the input file
- # move to the specific Descriptor class
-
- # stage 1: training or refining the model with tabulation
- log.info("\n\n")
- log.info("stage 1: compress the model")
- control_file = "compress.json"
- with open(control_file, "w") as fp:
- json.dump(jdata, fp, indent=4)
- try:
- train(
- INPUT=control_file,
- init_model=None,
- restart=None,
- init_frz_model=None,
- output=control_file,
- mpi_log=mpi_log,
- log_level=log_level,
- log_path=log_path,
- is_compress=True,
- )
- except GraphTooLargeError as e:
- raise RuntimeError(
- "The uniform step size of the tabulation's first table is %f, "
- "which is too small. This leads to a very large graph size, "
- "exceeding protobuf's limitation (2 GB). You should try to "
- "increase the step size." % step
- ) from e
-
- # reset the graph, otherwise the size limitation will be only 2 GB / 2 = 1 GB
- tf.reset_default_graph()
-
- # stage 2: freeze the model
- log.info("\n\n")
- log.info("stage 2: freeze the model")
- try:
- freeze(checkpoint_folder=checkpoint_folder, output=output, node_names=None)
- except GraphTooLargeError as e:
- raise RuntimeError(
- "The uniform step size of the tabulation's first table is %f, "
- "which is too small. This leads to a very large graph size, "
- "exceeding protobuf's limitation (2 GB). You should try to "
- "increase the step size." % step
- ) from e
-
-def _check_compress_type(model_file):
- try:
- t_model_type = bytes.decode(get_tensor_by_name(model_file, 'model_type'))
- except GraphWithoutTensorError as e:
- # Compatible with the upgraded model, which has no 'model_type' info
- t_model_type = None
-
- if t_model_type == "compressed_model":
- raise RuntimeError("The input frozen model %s has already been compressed! Please do not compress the model repeatedly. " % model_file)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/config.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/config.py
deleted file mode 100644
index 721ffee247bd5e1378ee4a90614193ace85684fb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/config.py
+++ /dev/null
@@ -1,354 +0,0 @@
-#!/usr/bin/env python3
-"""Quickly create a configuration file for smooth model."""
-
-import json
-import yaml
-from pathlib import Path
-from typing import Any, Dict, List, Tuple
-
-import numpy as np
-
-__all__ = ["config"]
-
-
-DEFAULT_DATA: Dict[str, Any] = {
- "use_smooth": True,
- "sel_a": [],
- "rcut_smth": -1,
- "rcut": -1,
- "filter_neuron": [20, 40, 80],
- "filter_resnet_dt": False,
- "axis_neuron": 8,
- "fitting_neuron": [240, 240, 240],
- "fitting_resnet_dt": True,
- "coord_norm": True,
- "type_fitting_net": False,
- "systems": [],
- "set_prefix": "set",
- "stop_batch": -1,
- "batch_size": -1,
- "start_lr": 0.001,
- "decay_steps": -1,
- "decay_rate": 0.95,
- "start_pref_e": 0.02,
- "limit_pref_e": 1,
- "start_pref_f": 1000,
- "limit_pref_f": 1,
- "start_pref_v": 0,
- "limit_pref_v": 0,
- "seed": 1,
- "disp_file": "lcurve.out",
- "disp_freq": 1000,
- "numb_test": 10,
- "save_freq": 10000,
- "save_ckpt": "model.ckpt",
- "disp_training": True,
- "time_training": True,
-}
-
-
-def valid_dir(path: Path):
- """Check if directory is a valid deepmd system directory.
-
- Parameters
- ----------
- path : Path
- path to directory
-
- Raises
- ------
- OSError
- if `type.raw` is missing on dir or `box.npy` or `coord.npy` are missing in one
- of the sets subdirs
- """
- if not (path / "type.raw").is_file():
- raise OSError
- for ii in path.glob("set.*"):
- if not (ii / "box.npy").is_file():
- raise OSError
- if not (ii / "coord.npy").is_file():
- raise OSError
-
-
-def load_systems(dirs: List[Path]) -> Tuple[List[np.ndarray], List[np.ndarray]]:
- """Load systems to memory for disk.
-
- Parameters
- ----------
- dirs : List[Path]
- list of system directories paths
-
- Returns
- -------
- Tuple[List[np.ndarray], List[np.ndarray]]
- atoms types and structure cells formated as Nx9 array
- """
- all_type = []
- all_box = []
- for d in dirs:
- sys_type = np.loadtxt(d / "type.raw", dtype=int)
- sys_box = np.vstack([np.load(s / "box.npy") for s in d.glob("set.*")])
- all_type.append(sys_type)
- all_box.append(sys_box)
- return all_type, all_box
-
-
-def get_system_names() -> List[Path]:
- """Get system directory paths from stdin.
-
- Returns
- -------
- List[Path]
- list of system directories paths
- """
- dirs = input("Enter system path(s) (seperated by space, wild card supported): \n")
- system_dirs = []
- for dir_str in dirs.split():
- found_dirs = Path.cwd().glob(dir_str)
- for d in found_dirs:
- valid_dir(d)
- system_dirs.append(d)
-
- return system_dirs
-
-
-def get_rcut() -> float:
- """Get rcut from stdin from user.
-
- Returns
- -------
- float
- input rcut lenght converted to float
-
- Raises
- ------
- ValueError
- if rcut is smaller than 0.0
- """
- dv = 6.0
- rcut_input = input(f"Enter rcut (default {dv:.1f} A): \n")
- try:
- rcut = float(rcut_input)
- except ValueError as e:
- print(f"invalid rcut: {e} setting to default: {dv:.1f}")
- rcut = dv
- if rcut <= 0:
- raise ValueError("rcut should be > 0")
- return rcut
-
-
-def get_batch_size_rule() -> int:
- """Get minimal batch size from user from stdin.
-
- Returns
- -------
- int
- size of the batch
-
- Raises
- ------
- ValueError
- if batch size is <= 0
- """
- dv = 32
- matom_input = input(
- f"Enter the minimal number of atoms in a batch (default {dv:d}: \n"
- )
- try:
- matom = int(matom_input)
- except ValueError as e:
- print(f"invalid batch size: {e} setting to default: {dv:d}")
- matom = dv
- if matom <= 0:
- raise ValueError("the number should be > 0")
- return matom
-
-
-def get_stop_batch() -> int:
- """Get stop batch from user from stdin.
-
- Returns
- -------
- int
- size of the batch
-
- Raises
- ------
- ValueError
- if stop batch is <= 0
- """
- dv = 1000000
- sb_input = input(f"Enter the stop batch (default {dv:d}): \n")
- try:
- sb = int(sb_input)
- except ValueError as e:
- print(f"invalid stop batch: {e} setting to default: {dv:d}")
- sb = dv
- if sb <= 0:
- raise ValueError("the number should be > 0")
- return sb
-
-
-def get_ntypes(all_type: List[np.ndarray]) -> int:
- """Count number of unique elements.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
-
- Returns
- -------
- int
- number of unique elements
- """
- return len(np.unique(all_type))
-
-
-def get_max_density(
- all_type: List[np.ndarray], all_box: List[np.ndarray]
-) -> np.ndarray:
- """Compute maximum density in suppliedd cells.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
- all_box : List[np.ndarray]
- list with arrays specifying cells for all structures
-
- Returns
- -------
- float
- maximum atom density in all supplies structures for each element individually
- """
- ntypes = get_ntypes(all_type)
- all_max = []
- for tt, bb in zip(all_type, all_box):
- vv = np.reshape(bb, [-1, 3, 3])
- vv = np.linalg.det(vv)
- min_v = np.min(vv)
- type_count = []
- for ii in range(ntypes):
- type_count.append(sum(tt == ii))
- max_den = type_count / min_v
- all_max.append(max_den)
- all_max = np.max(all_max, axis=0)
- return all_max
-
-
-def suggest_sel(
- all_type: List[np.ndarray],
- all_box: List[np.ndarray],
- rcut: float,
- ratio: float = 1.5,
-) -> List[int]:
- """Suggest selection parameter.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
- all_box : List[np.ndarray]
- list with arrays specifying cells for all structures
- rcut : float
- cutoff radius
- ratio : float, optional
- safety margin to add to estimated value, by default 1.5
-
- Returns
- -------
- List[int]
- [description]
- """
- max_den = get_max_density(all_type, all_box)
- return [int(ii) for ii in max_den * 4.0 / 3.0 * np.pi * rcut ** 3 * ratio]
-
-
-def suggest_batch_size(all_type: List[np.ndarray], min_atom: int) -> List[int]:
- """Get suggestion for batch size.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
- min_atom : int
- minimal number of atoms in batch
-
- Returns
- -------
- List[int]
- suggested batch sizes for each system
- """
- bs = []
- for ii in all_type:
- natoms = len(ii)
- tbs = min_atom // natoms
- if (min_atom // natoms) * natoms != min_atom:
- tbs += 1
- bs.append(tbs)
- return bs
-
-
-def suggest_decay(stop_batch: int) -> Tuple[int, float]:
- """Suggest number of decay steps and decay rate.
-
- Parameters
- ----------
- stop_batch : int
- stop batch number
-
- Returns
- -------
- Tuple[int, float]
- number of decay steps and decay rate
- """
- decay_steps = int(stop_batch // 200)
- decay_rate = 0.95
- return decay_steps, decay_rate
-
-
-def config(*, output: str, **kwargs):
- """Auto config file generator.
-
- Parameters
- ----------
- output: str
- file to write config file
-
- Raises
- ------
- RuntimeError
- if user does not input any systems
- ValueError
- if output file is of wrong type
- """
- all_sys = get_system_names()
- if len(all_sys) == 0:
- raise RuntimeError("no system specified")
- rcut = get_rcut()
- matom = get_batch_size_rule()
- stop_batch = get_stop_batch()
-
- all_type, all_box = load_systems(all_sys)
- sel = suggest_sel(all_type, all_box, rcut, ratio=1.5)
- bs = suggest_batch_size(all_type, matom)
- decay_steps, decay_rate = suggest_decay(stop_batch)
-
- jdata = DEFAULT_DATA.copy()
- jdata["systems"] = [str(ii) for ii in all_sys]
- jdata["sel_a"] = sel
- jdata["rcut"] = rcut
- jdata["rcut_smth"] = rcut - 0.2
- jdata["stop_batch"] = stop_batch
- jdata["batch_size"] = bs
- jdata["decay_steps"] = decay_steps
- jdata["decay_rate"] = decay_rate
-
- with open(output, "w") as fp:
- if output.endswith("json"):
- json.dump(jdata, fp, indent=4)
- elif output.endswith(("yml", "yaml")):
- yaml.safe_dump(jdata, fp, default_flow_style=False)
- else:
- raise ValueError("output file must be of type json or yaml")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/convert.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/convert.py
deleted file mode 100644
index f9d4f08bc989fd7863ac1d08011c3d030227164e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/convert.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from deepmd.utils.convert import convert_012_to_21, convert_10_to_21, convert_20_to_21, convert_13_to_21, convert_12_to_21
-
-def convert(
- *,
- FROM: str,
- input_model: str,
- output_model: str,
- **kwargs,
-):
- if FROM == '0.12':
- convert_012_to_21(input_model, output_model)
- elif FROM == '1.0':
- convert_10_to_21(input_model, output_model)
- elif FROM in ['1.1', '1.2']:
- # no difference between 1.1 and 1.2
- convert_12_to_21(input_model, output_model)
- elif FROM == '1.3':
- convert_13_to_21(input_model, output_model)
- elif FROM == '2.0':
- convert_20_to_21(input_model, output_model)
- else:
- raise RuntimeError('unsupported model version ' + FROM)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/doc.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/doc.py
deleted file mode 100644
index 28ce8c4052a310b69d388991c25aa9a75fc44b27..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/doc.py
+++ /dev/null
@@ -1,16 +0,0 @@
-"""Module that prints train input arguments docstrings."""
-
-from deepmd.utils.argcheck import gen_doc, gen_json
-
-__all__ = ["doc_train_input"]
-
-
-def doc_train_input(*, out_type: str = "rst", **kwargs):
- """Print out trining input arguments to console."""
- if out_type == "rst":
- doc_str = gen_doc(make_anchor=True)
- elif out_type == "json":
- doc_str = gen_json()
- else:
- raise RuntimeError("Unsupported out type %s" % out_type)
- print(doc_str)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/freeze.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/freeze.py
deleted file mode 100644
index 50e3b7ac17a518a430acb69338ef26b9be48fe46..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/freeze.py
+++ /dev/null
@@ -1,262 +0,0 @@
-#!/usr/bin/env python3
-"""Script for freezing TF trained graph so it can be used with LAMMPS and i-PI.
-
-References
-----------
-https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc
-"""
-
-import logging
-import google.protobuf.message
-from deepmd.env import tf, FITTING_NET_PATTERN
-from deepmd.utils.errors import GraphTooLargeError
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import get_pattern_nodes_from_graph_def
-from os.path import abspath
-
-# load grad of force module
-import deepmd.op
-
-from typing import List, Optional
-
-from deepmd.nvnmd.entrypoints.freeze import save_weight
-
-__all__ = ["freeze"]
-
-log = logging.getLogger(__name__)
-
-def _transfer_fitting_net_trainable_variables(sess, old_graph_def, raw_graph_def):
- old_pattern = FITTING_NET_PATTERN
- raw_pattern = FITTING_NET_PATTERN\
- .replace('idt', 'idt+_\d+')\
- .replace('bias', 'bias+_\d+')\
- .replace('matrix', 'matrix+_\d+')
- old_graph_nodes = get_pattern_nodes_from_graph_def(
- old_graph_def,
- old_pattern
- )
- try :
- raw_graph_def = tf.graph_util.convert_variables_to_constants(
- sess, # The session is used to retrieve the weights
- raw_graph_def, # The graph_def is used to retrieve the nodes
- [n + '_1' for n in old_graph_nodes], # The output node names are used to select the usefull nodes
- )
- except AssertionError:
- # if there's no additional nodes
- return old_graph_def
-
- raw_graph_nodes = get_pattern_nodes_from_graph_def(
- raw_graph_def,
- raw_pattern
- )
- for node in old_graph_def.node:
- if node.name not in old_graph_nodes.keys():
- continue
- tensor = tf.make_ndarray(raw_graph_nodes[node.name + '_1'])
- node.attr["value"].tensor.tensor_content = tensor.tostring()
- return old_graph_def
-
-def _make_node_names(model_type: str, modifier_type: Optional[str] = None) -> List[str]:
- """Get node names based on model type.
-
- Parameters
- ----------
- model_type : str
- str type of model
- modifier_type : Optional[str], optional
- modifier type if any, by default None
-
- Returns
- -------
- List[str]
- list with all node names to freeze
-
- Raises
- ------
- RuntimeError
- if unknown model type
- """
- nodes = [
- "model_type",
- "descrpt_attr/rcut",
- "descrpt_attr/ntypes",
- "model_attr/tmap",
- "model_attr/model_type",
- "model_attr/model_version",
- "train_attr/min_nbor_dist",
- "train_attr/training_script",
- ]
-
- if model_type == "ener":
- nodes += [
- "o_energy",
- "o_force",
- "o_virial",
- "o_atom_energy",
- "o_atom_virial",
- "fitting_attr/dfparam",
- "fitting_attr/daparam",
- ]
- elif model_type == "wfc":
- nodes += [
- "o_wfc",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- elif model_type == "dipole":
- nodes += [
- "o_dipole",
- "o_global_dipole",
- "o_force",
- "o_virial",
- "o_atom_virial",
- "o_rmat",
- "o_rmat_deriv",
- "o_nlist",
- "o_rij",
- "descrpt_attr/sel",
- "descrpt_attr/ndescrpt",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- elif model_type == "polar":
- nodes += [
- "o_polar",
- "o_global_polar",
- "o_force",
- "o_virial",
- "o_atom_virial",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- elif model_type == "global_polar":
- nodes += [
- "o_global_polar",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- else:
- raise RuntimeError(f"unknow model type {model_type}")
- if modifier_type == "dipole_charge":
- nodes += [
- "modifier_attr/type",
- "modifier_attr/mdl_name",
- "modifier_attr/mdl_charge_map",
- "modifier_attr/sys_charge_map",
- "modifier_attr/ewald_h",
- "modifier_attr/ewald_beta",
- "dipole_charge/model_type",
- "dipole_charge/descrpt_attr/rcut",
- "dipole_charge/descrpt_attr/ntypes",
- "dipole_charge/model_attr/tmap",
- "dipole_charge/model_attr/model_type",
- "dipole_charge/model_attr/model_version",
- "o_dm_force",
- "dipole_charge/model_attr/sel_type",
- "dipole_charge/o_dipole",
- "dipole_charge/model_attr/output_dim",
- "o_dm_virial",
- "o_dm_av",
- ]
- return nodes
-
-
-def freeze(
- *, checkpoint_folder: str, output: str, node_names: Optional[str] = None, nvnmd_weight: Optional[str] = None, **kwargs
-):
- """Freeze the graph in supplied folder.
-
- Parameters
- ----------
- checkpoint_folder : str
- location of the folder with model
- output : str
- output file name
- node_names : Optional[str], optional
- names of nodes to output, by default None
- """
- # We retrieve our checkpoint fullpath
- checkpoint = tf.train.get_checkpoint_state(checkpoint_folder)
- input_checkpoint = checkpoint.model_checkpoint_path
-
- # expand the output file to full path
- output_graph = abspath(output)
-
- # Before exporting our graph, we need to precise what is our output node
- # This is how TF decides what part of the Graph he has to keep
- # and what part it can dump
- # NOTE: this variable is plural, because you can have multiple output nodes
- # node_names = "energy_test,force_test,virial_test,t_rcut"
-
- # We clear devices to allow TensorFlow to control
- # on which device it will load operations
- clear_devices = True
-
- # We import the meta graph and retrieve a Saver
- try:
- # In case paralle training
- import horovod.tensorflow as _
- except ImportError:
- pass
- saver = tf.train.import_meta_graph(
- f"{input_checkpoint}.meta", clear_devices=clear_devices
- )
-
- # We retrieve the protobuf graph definition
- graph = tf.get_default_graph()
- try:
- input_graph_def = graph.as_graph_def()
- except google.protobuf.message.DecodeError as e:
- raise GraphTooLargeError(
- "The graph size exceeds 2 GB, the hard limitation of protobuf."
- " Then a DecodeError was raised by protobuf. You should "
- "reduce the size of your model."
- ) from e
- nodes = [n.name for n in input_graph_def.node]
-
- # We start a session and restore the graph weights
- with tf.Session() as sess:
- saver.restore(sess, input_checkpoint)
- model_type = run_sess(sess, "model_attr/model_type:0", feed_dict={}).decode("utf-8")
- if "modifier_attr/type" in nodes:
- modifier_type = run_sess(sess, "modifier_attr/type:0", feed_dict={}).decode(
- "utf-8"
- )
- else:
- modifier_type = None
- if node_names is None:
- output_node_list = _make_node_names(model_type, modifier_type)
- different_set = set(output_node_list) - set(nodes)
- if different_set:
- log.warning(
- "The following nodes are not in the graph: %s. "
- "Skip freezeing these nodes. You may be freezing "
- "a checkpoint generated by an old version." % different_set
- )
- # use intersection as output list
- output_node_list = list(set(output_node_list) & set(nodes))
- else:
- output_node_list = node_names.split(",")
- log.info(f"The following nodes will be frozen: {output_node_list}")
-
- if nvnmd_weight is not None:
- save_weight(sess, nvnmd_weight) # nvnmd
-
- # We use a built-in TF helper to export variables to constants
- output_graph_def = tf.graph_util.convert_variables_to_constants(
- sess, # The session is used to retrieve the weights
- input_graph_def, # The graph_def is used to retrieve the nodes
- output_node_list, # The output node names are used to select the usefull nodes
- )
-
- # If we need to transfer the fitting net variables
- output_graph_def = _transfer_fitting_net_trainable_variables(
- sess,
- output_graph_def,
- input_graph_def
- )
-
- # Finally we serialize and dump the output graph to the filesystem
- with tf.gfile.GFile(output_graph, "wb") as f:
- f.write(output_graph_def.SerializeToString())
- log.info(f"{len(output_graph_def.node):d} ops in the final graph.")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/main.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/main.py
deleted file mode 100644
index 9310bd231ca8d73c5398c2074401ea2cefabe9d3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/main.py
+++ /dev/null
@@ -1,586 +0,0 @@
-"""DeePMD-Kit entry point module."""
-
-import argparse
-import logging
-import textwrap
-from pathlib import Path
-from typing import Dict, List, Optional
-
-from deepmd import __version__
-from deepmd.entrypoints import (
- compress,
- config,
- doc_train_input,
- freeze,
- test,
- train_dp,
- transfer,
- make_model_devi,
- convert,
- neighbor_stat,
-)
-from deepmd.loggers import set_log_handles
-
-from deepmd.nvnmd.entrypoints.train import train_nvnmd
-
-__all__ = ["main", "parse_args", "get_ll", "main_parser"]
-
-
-def get_ll(log_level: str) -> int:
- """Convert string to python logging level.
-
- Parameters
- ----------
- log_level : str
- allowed input values are: DEBUG, INFO, WARNING, ERROR, 3, 2, 1, 0
-
- Returns
- -------
- int
- one of python logging module log levels - 10, 20, 30 or 40
- """
- if log_level.isdigit():
- int_level = (4 - int(log_level)) * 10
- else:
- int_level = getattr(logging, log_level)
-
- return int_level
-
-class RawTextArgumentDefaultsHelpFormatter(
- argparse.RawTextHelpFormatter, argparse.ArgumentDefaultsHelpFormatter
-):
- """This formatter is used to print multile-line help message with default value."""
-
-
-def main_parser() -> argparse.ArgumentParser:
- """DeePMD-Kit commandline options argument parser.
-
- Returns
- -------
- argparse.ArgumentParser
- main parser of DeePMD-kit
- """
- parser = argparse.ArgumentParser(
- description="DeePMD-kit: A deep learning package for many-body potential energy"
- " representation and molecular dynamics",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- subparsers = parser.add_subparsers(title="Valid subcommands", dest="command")
-
- # * logging options parser *********************************************************
- # with use of the parent argument this options will be added to every parser
- parser_log = argparse.ArgumentParser(
- add_help=False, formatter_class=argparse.ArgumentDefaultsHelpFormatter
- )
- parser_log.add_argument(
- "-v",
- "--log-level",
- choices=["DEBUG", "3", "INFO", "2", "WARNING", "1", "ERROR", "0"],
- default="INFO",
- help="set verbosity level by string or number, 0=ERROR, 1=WARNING, 2=INFO "
- "and 3=DEBUG",
- )
- parser_log.add_argument(
- "-l",
- "--log-path",
- type=str,
- default=None,
- help="set log file to log messages to disk, if not specified, the logs will "
- "only be output to console",
- )
- # * mpi logging parser *************************************************************
- parser_mpi_log = argparse.ArgumentParser(
- add_help=False, formatter_class=argparse.ArgumentDefaultsHelpFormatter
- )
- parser_mpi_log.add_argument(
- "-m",
- "--mpi-log",
- type=str,
- default="master",
- choices=("master", "collect", "workers"),
- help="Set the manner of logging when running with MPI. 'master' logs only on "
- "main process, 'collect' broadcasts logs from workers to master and 'workers' "
- "means each process will output its own log",
- )
-
- # * config script ******************************************************************
- parser_cfig = subparsers.add_parser(
- "config",
- parents=[parser_log],
- help="fast configuration of parameter file for smooth model",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- parser_cfig.add_argument(
- "-o", "--output", type=str, default="input.json", help="the output json file"
- )
-
- # * transfer script ****************************************************************
- parser_transfer = subparsers.add_parser(
- "transfer", parents=[parser_log], help="pass parameters to another model"
- )
- parser_transfer.add_argument(
- "-r",
- "--raw-model",
- default="raw_frozen_model.pb",
- type=str,
- help="the model receiving parameters",
- )
- parser_transfer.add_argument(
- "-O",
- "--old-model",
- default="old_frozen_model.pb",
- type=str,
- help="the model providing parameters",
- )
- parser_transfer.add_argument(
- "-o",
- "--output",
- default="frozen_model.pb",
- type=str,
- help="the model after passing parameters",
- )
-
- # * config parser ******************************************************************
- parser_train = subparsers.add_parser(
- "train",
- parents=[parser_log, parser_mpi_log],
- help="train a model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp train input.json
- dp train input.json --restart model.ckpt
- dp train input.json --init-model model.ckpt
- """),
- )
- parser_train.add_argument(
- "INPUT", help="the input parameter file in json or yaml format"
- )
- parser_train.add_argument(
- "-i",
- "--init-model",
- type=str,
- default=None,
- help="Initialize the model by the provided checkpoint.",
- )
- parser_train.add_argument(
- "-r",
- "--restart",
- type=str,
- default=None,
- help="Restart the training from the provided checkpoint.",
- )
- parser_train.add_argument(
- "-o",
- "--output",
- type=str,
- default="out.json",
- help="The output file of the parameters used in training.",
- )
- parser_train.add_argument(
- "-f",
- "--init-frz-model",
- type=str,
- default=None,
- help="Initialize the training from the frozen model.",
- )
- parser_train.add_argument(
- "--skip-neighbor-stat",
- action="store_true",
- help="Skip calculating neighbor statistics. Sel checking, automatic sel, and model compression will be disabled.",
- )
-
- # * freeze script ******************************************************************
- parser_frz = subparsers.add_parser(
- "freeze",
- parents=[parser_log],
- help="freeze the model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp freeze
- dp freeze -o graph.pb
- """),
- )
- parser_frz.add_argument(
- "-c",
- "--checkpoint-folder",
- type=str,
- default=".",
- help="path to checkpoint folder",
- )
- parser_frz.add_argument(
- "-o",
- "--output",
- type=str,
- default="frozen_model.pb",
- help="name of graph, will output to the checkpoint folder",
- )
- parser_frz.add_argument(
- "-n",
- "--node-names",
- type=str,
- default=None,
- help="the frozen nodes, if not set, determined from the model type",
- )
- parser_frz.add_argument(
- "-w",
- "--nvnmd-weight",
- type=str,
- default=None,
- help="the name of weight file (.npy), if set, save the model's weight into the file",
- )
-
- # * test script ********************************************************************
- parser_tst = subparsers.add_parser(
- "test",
- parents=[parser_log],
- help="test the model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp test -m graph.pb -s /path/to/system -n 30
- """),
- )
- parser_tst.add_argument(
- "-m",
- "--model",
- default="frozen_model.pb",
- type=str,
- help="Frozen model file to import",
- )
- parser_tst.add_argument(
- "-s",
- "--system",
- default=".",
- type=str,
- help="The system dir. Recursively detect systems in this directory",
- )
- parser_tst.add_argument(
- "-S", "--set-prefix", default="set", type=str, help="The set prefix"
- )
- parser_tst.add_argument(
- "-n", "--numb-test", default=100, type=int, help="The number of data for test"
- )
- parser_tst.add_argument(
- "-r", "--rand-seed", type=int, default=None, help="The random seed"
- )
- parser_tst.add_argument(
- "--shuffle-test", action="store_true", default=False, help="Shuffle test data"
- )
- parser_tst.add_argument(
- "-d",
- "--detail-file",
- type=str,
- default=None,
- help="File where details of energy force and virial accuracy will be written",
- )
- parser_tst.add_argument(
- "-a",
- "--atomic",
- action="store_true",
- default=False,
- help="Test the accuracy of atomic label, i.e. energy / tensor (dipole, polar)",
- )
-
- # * compress model *****************************************************************
- # Compress a model, which including tabulating the embedding-net.
- # The table is composed of fifth-order polynomial coefficients and is assembled
- # from two sub-tables. The first table takes the step(parameter) as it's uniform
- # step, while the second table takes 10 * step as it\s uniform step
- # The range of the first table is automatically detected by deepmd-kit, while the
- # second table ranges from the first table's upper boundary(upper) to the
- # extrapolate(parameter) * upper.
- parser_compress = subparsers.add_parser(
- "compress",
- parents=[parser_log, parser_mpi_log],
- help="compress a model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp compress
- dp compress -i graph.pb -o compressed.pb
- """),
- )
- parser_compress.add_argument(
- "-i",
- "--input",
- default="frozen_model.pb",
- type=str,
- help="The original frozen model, which will be compressed by the code",
- )
- parser_compress.add_argument(
- "-o",
- "--output",
- default="frozen_model_compressed.pb",
- type=str,
- help="The compressed model",
- )
- parser_compress.add_argument(
- "-s",
- "--step",
- default=0.01,
- type=float,
- help="Model compression uses fifth-order polynomials to interpolate the embedding-net. "
- "It introduces two tables with different step size to store the parameters of the polynomials. "
- "The first table covers the range of the training data, while the second table is an extrapolation of the training data. "
- "The domain of each table is uniformly divided by a given step size. "
- "And the step(parameter) denotes the step size of the first table and the second table will "
- "use 10 * step as it's step size to save the memory. "
- "Usually the value ranges from 0.1 to 0.001. "
- "Smaller step means higher accuracy and bigger model size",
- )
- parser_compress.add_argument(
- "-e",
- "--extrapolate",
- default=5,
- type=int,
- help="The domain range of the first table is automatically detected by the code: [d_low, d_up]. "
- "While the second table ranges from the first table's upper boundary(d_up) to the extrapolate(parameter) * d_up: [d_up, extrapolate * d_up]",
- )
- parser_compress.add_argument(
- "-f",
- "--frequency",
- default=-1,
- type=int,
- help="The frequency of tabulation overflow check(Whether the input environment "
- "matrix overflow the first or second table range). "
- "By default do not check the overflow",
- )
- parser_compress.add_argument(
- "-c",
- "--checkpoint-folder",
- type=str,
- default="model-compression",
- help="path to checkpoint folder",
- )
- parser_compress.add_argument(
- "-t",
- "--training-script",
- type=str,
- default=None,
- help="The training script of the input frozen model",
- )
-
- # * print docs script **************************************************************
- parsers_doc = subparsers.add_parser(
- "doc-train-input",
- parents=[parser_log],
- help="print the documentation (in rst format) of input training parameters.",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- parsers_doc.add_argument(
- "--out-type",
- default="rst",
- type=str,
- help="The output type"
- )
-
- # * make model deviation ***********************************************************
- parser_model_devi = subparsers.add_parser(
- "model-devi",
- parents=[parser_log],
- help="calculate model deviation",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp model-devi -m graph.000.pb graph.001.pb graph.002.pb graph.003.pb -s ./data -o model_devi.out
- """),
- )
- parser_model_devi.add_argument(
- "-m",
- "--models",
- default=["graph.000.pb", "graph.001.pb", "graph.002.pb", "graph.003.pb"],
- nargs="+",
- type=str,
- help="Frozen models file to import",
- )
- parser_model_devi.add_argument(
- "-s",
- "--system",
- default=".",
- type=str,
- help="The system directory. Recursively detect systems in this directory.",
- )
- parser_model_devi.add_argument(
- "-S", "--set-prefix", default="set", type=str, help="The set prefix"
- )
- parser_model_devi.add_argument(
- "-o",
- "--output",
- default="model_devi.out",
- type=str,
- help="The output file for results of model deviation"
- )
- parser_model_devi.add_argument(
- "-f",
- "--frequency",
- default=1,
- type=int,
- help="The trajectory frequency of the system"
- )
-
- # * convert models
- parser_transform = subparsers.add_parser(
- 'convert-from',
- parents=[parser_log],
- help='convert lower model version to supported version',
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp convert-from 1.0 -i graph.pb -o graph_new.pb
- """),
- )
- parser_transform.add_argument(
- 'FROM',
- type = str,
- choices = ['0.12', '1.0', '1.1', '1.2', '1.3', '2.0'],
- help="The original model compatibility",
- )
- parser_transform.add_argument(
- '-i',
- "--input-model",
- default = "frozen_model.pb",
- type=str,
- help = "the input model",
- )
- parser_transform.add_argument(
- "-o",
- "--output-model",
- default = "convert_out.pb",
- type=str,
- help='the output model',
- )
-
- # neighbor_stat
- parser_neighbor_stat = subparsers.add_parser(
- 'neighbor-stat',
- parents=[parser_log],
- help='Calculate neighbor statistics',
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp neighbor-stat -s data -r 6.0 -t O H
- """),
- )
- parser_neighbor_stat.add_argument(
- "-s",
- "--system",
- default=".",
- type=str,
- help="The system dir. Recursively detect systems in this directory",
- )
- parser_neighbor_stat.add_argument(
- "-r",
- "--rcut",
- type=float,
- required=True,
- help="cutoff radius",
- )
- parser_neighbor_stat.add_argument(
- "-t",
- "--type-map",
- type=str,
- nargs='+',
- required=True,
- help="type map",
- )
- parser_neighbor_stat.add_argument(
- "--one-type",
- action="store_true",
- default=False,
- help="treat all types as a single type. Used with se_atten descriptor.",
- )
-
- # --version
- parser.add_argument('--version', action='version', version='DeePMD-kit v%s' % __version__)
-
- # * train nvnmd script ******************************************************************
- parser_train_nvnmd = subparsers.add_parser(
- "train-nvnmd",
- parents=[parser_log],
- help="train nvnmd model",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- parser_train_nvnmd.add_argument(
- "INPUT", help="the input parameter file in json format"
- )
- parser_train_nvnmd.add_argument(
- "-s",
- "--step",
- default="s1",
- type=str,
- choices=['s1', 's2'],
- help="steps to train model of NVNMD: s1 (train CNN), s2 (train QNN)"
- )
- return parser
-
-
-def parse_args(args: Optional[List[str]] = None) -> argparse.Namespace:
- """Parse arguments and convert argument strings to objects.
-
- Parameters
- ----------
- args: List[str]
- list of command line arguments, main purpose is testing default option None
- takes arguments from sys.argv
-
- Returns
- -------
- argparse.Namespace
- the populated namespace
- """
- parser = main_parser()
- parsed_args = parser.parse_args(args=args)
- if parsed_args.command is None:
- parser.print_help()
- else:
- parsed_args.log_level = get_ll(parsed_args.log_level)
-
- return parsed_args
-
-
-def main():
- """DeePMD-Kit entry point.
-
- Raises
- ------
- RuntimeError
- if no command was input
- """
- args = parse_args()
-
- # do not set log handles for None, it is useless
- # log handles for train will be set separatelly
- # when the use of MPI will be determined in `RunOptions`
- if args.command not in (None, "train"):
- set_log_handles(args.log_level, Path(args.log_path) if args.log_path else None)
-
- dict_args = vars(args)
-
- if args.command == "train":
- train_dp(**dict_args)
- elif args.command == "freeze":
- freeze(**dict_args)
- elif args.command == "config":
- config(**dict_args)
- elif args.command == "test":
- test(**dict_args)
- elif args.command == "transfer":
- transfer(**dict_args)
- elif args.command == "compress":
- compress(**dict_args)
- elif args.command == "doc-train-input":
- doc_train_input(**dict_args)
- elif args.command == "model-devi":
- make_model_devi(**dict_args)
- elif args.command == "convert-from":
- convert(**dict_args)
- elif args.command == "neighbor-stat":
- neighbor_stat(**dict_args)
- elif args.command == "train-nvnmd": # nvnmd
- train_nvnmd(**dict_args)
- elif args.command is None:
- pass
- else:
- raise RuntimeError(f"unknown command {args.command}")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/neighbor_stat.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/neighbor_stat.py
deleted file mode 100644
index 48bac75a354564032a6688468f3ad514a8664ba1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/neighbor_stat.py
+++ /dev/null
@@ -1,52 +0,0 @@
-import logging
-from typing import List
-
-from deepmd.common import expand_sys_str
-from deepmd.utils.data_system import DeepmdDataSystem
-from deepmd.utils.neighbor_stat import NeighborStat
-
-log = logging.getLogger(__name__)
-
-def neighbor_stat(
- *,
- system: str,
- rcut: float,
- type_map: List[str],
- one_type: bool = False,
- **kwargs,
-):
- """Calculate neighbor statistics.
-
- Parameters
- ----------
- system : str
- system to stat
- rcut : float
- cutoff radius
- type_map : list[str]
- type map
- one_type : bool, optional, default=False
- treat all types as a single type
-
- Examples
- --------
- >>> neighbor_stat(system='.', rcut=6., type_map=["C", "H", "O", "N", "P", "S", "Mg", "Na", "HW", "OW", "mNa", "mCl", "mC", "mH", "mMg", "mN", "mO", "mP"])
- min_nbor_dist: 0.6599510670195264
- max_nbor_size: [23, 26, 19, 16, 2, 2, 1, 1, 72, 37, 5, 0, 31, 29, 1, 21, 20, 5]
- """
- all_sys = expand_sys_str(system)
- if not len(all_sys):
- raise RuntimeError("Did not find valid system")
- data = DeepmdDataSystem(
- systems=all_sys,
- batch_size=1,
- test_size=1,
- rcut=rcut,
- type_map=type_map,
- )
- data.get_batch()
- nei = NeighborStat(data.get_ntypes(), rcut, one_type=one_type)
- min_nbor_dist, max_nbor_size = nei.get_stat(data)
- log.info("min_nbor_dist: %f" % min_nbor_dist)
- log.info("max_nbor_size: %s" % str(max_nbor_size))
- return min_nbor_dist, max_nbor_size
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/test.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/test.py
deleted file mode 100644
index a36b2f4567c1e13a9e2f2f71b71c08bdc11bf680..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/test.py
+++ /dev/null
@@ -1,608 +0,0 @@
-"""Test trained DeePMD model."""
-import logging
-from pathlib import Path
-from typing import TYPE_CHECKING, List, Dict, Optional, Tuple
-
-import numpy as np
-from deepmd import DeepPotential
-from deepmd.common import expand_sys_str
-from deepmd.utils import random as dp_random
-from deepmd.utils.data import DeepmdData
-from deepmd.utils.weight_avg import weighted_average
-
-if TYPE_CHECKING:
- from deepmd.infer import DeepDipole, DeepPolar, DeepPot, DeepWFC
- from deepmd.infer.deep_tensor import DeepTensor
-
-__all__ = ["test"]
-
-log = logging.getLogger(__name__)
-
-
-def test(
- *,
- model: str,
- system: str,
- set_prefix: str,
- numb_test: int,
- rand_seed: Optional[int],
- shuffle_test: bool,
- detail_file: str,
- atomic: bool,
- **kwargs,
-):
- """Test model predictions.
-
- Parameters
- ----------
- model : str
- path where model is stored
- system : str
- system directory
- set_prefix : str
- string prefix of set
- numb_test : int
- munber of tests to do
- rand_seed : Optional[int]
- seed for random generator
- shuffle_test : bool
- whether to shuffle tests
- detail_file : Optional[str]
- file where test details will be output
- atomic : bool
- whether per atom quantities should be computed
-
- Raises
- ------
- RuntimeError
- if no valid system was found
- """
- all_sys = expand_sys_str(system)
- if len(all_sys) == 0:
- raise RuntimeError("Did not find valid system")
- err_coll = []
- siz_coll = []
-
- # init random seed
- if rand_seed is not None:
- dp_random.seed(rand_seed % (2 ** 32))
-
- # init model
- dp = DeepPotential(model)
-
- for cc, system in enumerate(all_sys):
- log.info("# ---------------output of dp test--------------- ")
- log.info(f"# testing system : {system}")
-
- # create data class
- tmap = dp.get_type_map() if dp.model_type == "ener" else None
- data = DeepmdData(system, set_prefix, shuffle_test=shuffle_test, type_map=tmap)
-
- if dp.model_type == "ener":
- err = test_ener(
- dp,
- data,
- system,
- numb_test,
- detail_file,
- atomic,
- append_detail=(cc != 0),
- )
- elif dp.model_type == "dipole":
- err = test_dipole(dp, data, numb_test, detail_file, atomic)
- elif dp.model_type == "polar":
- err = test_polar(dp, data, numb_test, detail_file, atomic=atomic)
- elif dp.model_type == "global_polar": # should not appear in this new version
- log.warning("Global polar model is not currently supported. Please directly use the polar mode and change loss parameters.")
- err = test_polar(dp, data, numb_test, detail_file, atomic=False) # YWolfeee: downward compatibility
- log.info("# ----------------------------------------------- ")
- err_coll.append(err)
-
- avg_err = weighted_average(err_coll)
-
- if len(all_sys) != len(err_coll):
- log.warning("Not all systems are tested! Check if the systems are valid")
-
- if len(all_sys) > 1:
- log.info("# ----------weighted average of errors----------- ")
- log.info(f"# number of systems : {len(all_sys)}")
- if dp.model_type == "ener":
- print_ener_sys_avg(avg_err)
- elif dp.model_type == "dipole":
- print_dipole_sys_avg(avg_err)
- elif dp.model_type == "polar":
- print_polar_sys_avg(avg_err)
- elif dp.model_type == "global_polar":
- print_polar_sys_avg(avg_err)
- elif dp.model_type == "wfc":
- print_wfc_sys_avg(avg_err)
- log.info("# ----------------------------------------------- ")
-
-
-def rmse(diff: np.ndarray) -> np.ndarray:
- """Calculate average root mean square error.
-
- Parameters
- ----------
- diff: np.ndarray
- difference
-
- Returns
- -------
- np.ndarray
- array with normalized difference
- """
- return np.sqrt(np.average(diff * diff))
-
-
-def save_txt_file(
- fname: Path, data: np.ndarray, header: str = "", append: bool = False
-):
- """Save numpy array to test file.
-
- Parameters
- ----------
- fname : str
- filename
- data : np.ndarray
- data to save to disk
- header : str, optional
- header string to use in file, by default ""
- append : bool, optional
- if true file will be appended insted of overwriting, by default False
- """
- flags = "ab" if append else "w"
- with fname.open(flags) as fp:
- np.savetxt(fp, data, header=header)
-
-
-def test_ener(
- dp: "DeepPot",
- data: DeepmdData,
- system: str,
- numb_test: int,
- detail_file: Optional[str],
- has_atom_ener: bool,
- append_detail: bool = False,
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- system : str
- system directory
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
- has_atom_ener : bool
- whether per atom quantities should be computed
- append_detail : bool, optional
- if true append output detail file, by default False
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add("energy", 1, atomic=False, must=False, high_prec=True)
- data.add("force", 3, atomic=True, must=False, high_prec=False)
- data.add("virial", 9, atomic=False, must=False, high_prec=False)
- if dp.has_efield:
- data.add("efield", 3, atomic=True, must=True, high_prec=False)
- if has_atom_ener:
- data.add("atom_ener", 1, atomic=True, must=True, high_prec=False)
- if dp.get_dim_fparam() > 0:
- data.add(
- "fparam", dp.get_dim_fparam(), atomic=False, must=True, high_prec=False
- )
- if dp.get_dim_aparam() > 0:
- data.add("aparam", dp.get_dim_aparam(), atomic=True, must=True, high_prec=False)
-
- test_data = data.get_test()
- natoms = len(test_data["type"][0])
- nframes = test_data["box"].shape[0]
- numb_test = min(nframes, numb_test)
-
- coord = test_data["coord"][:numb_test].reshape([numb_test, -1])
- box = test_data["box"][:numb_test]
- if dp.has_efield:
- efield = test_data["efield"][:numb_test].reshape([numb_test, -1])
- else:
- efield = None
- if not data.pbc:
- box = None
- atype = test_data["type"][0]
- if dp.get_dim_fparam() > 0:
- fparam = test_data["fparam"][:numb_test]
- else:
- fparam = None
- if dp.get_dim_aparam() > 0:
- aparam = test_data["aparam"][:numb_test]
- else:
- aparam = None
-
- ret = dp.eval(
- coord,
- box,
- atype,
- fparam=fparam,
- aparam=aparam,
- atomic=has_atom_ener,
- efield=efield,
- )
- energy = ret[0]
- force = ret[1]
- virial = ret[2]
- energy = energy.reshape([numb_test, 1])
- force = force.reshape([numb_test, -1])
- virial = virial.reshape([numb_test, 9])
- if has_atom_ener:
- ae = ret[3]
- av = ret[4]
- ae = ae.reshape([numb_test, -1])
- av = av.reshape([numb_test, -1])
-
- rmse_e = rmse(energy - test_data["energy"][:numb_test].reshape([-1, 1]))
- rmse_f = rmse(force - test_data["force"][:numb_test])
- rmse_v = rmse(virial - test_data["virial"][:numb_test])
- rmse_ea = rmse_e / natoms
- rmse_va = rmse_v / natoms
- if has_atom_ener:
- rmse_ae = rmse(
- test_data["atom_ener"][:numb_test].reshape([-1]) - ae.reshape([-1])
- )
-
- # print ("# energies: %s" % energy)
- log.info(f"# number of test data : {numb_test:d} ")
- log.info(f"Energy RMSE : {rmse_e:e} eV")
- log.info(f"Energy RMSE/Natoms : {rmse_ea:e} eV")
- log.info(f"Force RMSE : {rmse_f:e} eV/A")
- if data.pbc:
- log.info(f"Virial RMSE : {rmse_v:e} eV")
- log.info(f"Virial RMSE/Natoms : {rmse_va:e} eV")
- if has_atom_ener:
- log.info(f"Atomic ener RMSE : {rmse_ae:e} eV")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
-
- pe = np.concatenate(
- (
- np.reshape(test_data["energy"][:numb_test], [-1, 1]),
- np.reshape(energy, [-1, 1]),
- ),
- axis=1,
- )
- save_txt_file(
- detail_path.with_suffix(".e.out"),
- pe,
- header="%s: data_e pred_e" % system,
- append=append_detail,
- )
- pf = np.concatenate(
- (
- np.reshape(test_data["force"][:numb_test], [-1, 3]),
- np.reshape(force, [-1, 3]),
- ),
- axis=1,
- )
- save_txt_file(
- detail_path.with_suffix(".f.out"),
- pf,
- header="%s: data_fx data_fy data_fz pred_fx pred_fy pred_fz" % system,
- append=append_detail,
- )
- pv = np.concatenate(
- (
- np.reshape(test_data["virial"][:numb_test], [-1, 9]),
- np.reshape(virial, [-1, 9]),
- ),
- axis=1,
- )
- save_txt_file(
- detail_path.with_suffix(".v.out"),
- pv,
- header=f"{system}: data_vxx data_vxy data_vxz data_vyx data_vyy "
- "data_vyz data_vzx data_vzy data_vzz pred_vxx pred_vxy pred_vxz pred_vyx "
- "pred_vyy pred_vyz pred_vzx pred_vzy pred_vzz",
- append=append_detail,
- )
- return {
- "rmse_ea" : (rmse_ea, energy.size),
- "rmse_f" : (rmse_f, force.size),
- "rmse_va" : (rmse_va, virial.size),
- }
-
-
-def print_ener_sys_avg(avg: Dict[str,float]):
- """Print errors summary for energy type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"Energy RMSE/Natoms : {avg['rmse_ea']:e} eV")
- log.info(f"Force RMSE : {avg['rmse_f']:e} eV/A")
- log.info(f"Virial RMSE/Natoms : {avg['rmse_va']:e} eV")
-
-
-def run_test(dp: "DeepTensor", test_data: dict, numb_test: int):
- """Run tests.
-
- Parameters
- ----------
- dp : DeepTensor
- instance of deep potential
- test_data : dict
- dictionary with test data
- numb_test : int
- munber of tests to do
-
- Returns
- -------
- [type]
- [description]
- """
- nframes = test_data["box"].shape[0]
- numb_test = min(nframes, numb_test)
-
- coord = test_data["coord"][:numb_test].reshape([numb_test, -1])
- box = test_data["box"][:numb_test]
- atype = test_data["type"][0]
- prediction = dp.eval(coord, box, atype)
-
- return prediction.reshape([numb_test, -1]), numb_test, atype
-
-
-def test_wfc(
- dp: "DeepWFC",
- data: DeepmdData,
- numb_test: int,
- detail_file: Optional[str],
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add(
- "wfc", 12, atomic=True, must=True, high_prec=False, type_sel=dp.get_sel_type()
- )
- test_data = data.get_test()
- wfc, numb_test, _ = run_test(dp, test_data, numb_test)
- rmse_f = rmse(wfc - test_data["wfc"][:numb_test])
-
- log.info("# number of test data : {numb_test:d} ")
- log.info("WFC RMSE : {rmse_f:e} eV/A")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
- pe = np.concatenate(
- (
- np.reshape(test_data["wfc"][:numb_test], [-1, 12]),
- np.reshape(wfc, [-1, 12]),
- ),
- axis=1,
- )
- np.savetxt(
- detail_path.with_suffix(".out"),
- pe,
- header="ref_wfc(12 dofs) predicted_wfc(12 dofs)",
- )
- return {
- 'rmse' : (rmse_f, wfc.size)
- }
-
-
-def print_wfc_sys_avg(avg):
- """Print errors summary for wfc type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"WFC RMSE : {avg['rmse']:e} eV/A")
-
-
-def test_polar(
- dp: "DeepPolar",
- data: DeepmdData,
- numb_test: int,
- detail_file: Optional[str],
- *,
- atomic: bool,
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
- global_polar : bool
- wheter to use glovbal version of polar potential
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add(
- "polarizability" if not atomic else "atomic_polarizability",
- 9,
- atomic=atomic,
- must=True,
- high_prec=False,
- type_sel=dp.get_sel_type(),
- )
-
- test_data = data.get_test()
- polar, numb_test, atype = run_test(dp, test_data, numb_test)
-
- sel_type = dp.get_sel_type()
- sel_natoms = 0
- for ii in sel_type:
- sel_natoms += sum(atype == ii)
-
- # YWolfeee: do summation in global polar mode
- if not atomic:
- polar = np.sum(polar.reshape((polar.shape[0],-1,9)),axis=1)
- rmse_f = rmse(polar - test_data["polarizability"][:numb_test])
- rmse_fs = rmse_f / np.sqrt(sel_natoms)
- rmse_fa = rmse_f / sel_natoms
- else:
- rmse_f = rmse(polar - test_data["atomic_polarizability"][:numb_test])
-
- log.info(f"# number of test data : {numb_test:d} ")
- log.info(f"Polarizability RMSE : {rmse_f:e}")
- if not atomic:
- log.info(f"Polarizability RMSE/sqrtN : {rmse_fs:e}")
- log.info(f"Polarizability RMSE/N : {rmse_fa:e}")
- log.info(f"The unit of error is the same as the unit of provided label.")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
-
- pe = np.concatenate(
- (
- np.reshape(test_data["polarizability"][:numb_test], [-1, 9]),
- np.reshape(polar, [-1, 9]),
- ),
- axis=1,
- )
- np.savetxt(
- detail_path.with_suffix(".out"),
- pe,
- header="data_pxx data_pxy data_pxz data_pyx data_pyy data_pyz data_pzx "
- "data_pzy data_pzz pred_pxx pred_pxy pred_pxz pred_pyx pred_pyy pred_pyz "
- "pred_pzx pred_pzy pred_pzz",
- )
- return {
- "rmse" : (rmse_f, polar.size)
- }
-
-
-def print_polar_sys_avg(avg):
- """Print errors summary for polar type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"Polarizability RMSE : {avg['rmse']:e} eV/A")
-
-
-def test_dipole(
- dp: "DeepDipole",
- data: DeepmdData,
- numb_test: int,
- detail_file: Optional[str],
- atomic: bool,
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
- atomic : bool
- whether atomic dipole is provided
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add(
- "dipole" if not atomic else "atomic_dipole",
- 3,
- atomic=atomic,
- must=True,
- high_prec=False,
- type_sel=dp.get_sel_type()
- )
- test_data = data.get_test()
- dipole, numb_test, atype = run_test(dp, test_data, numb_test)
-
- sel_type = dp.get_sel_type()
- sel_natoms = 0
- for ii in sel_type:
- sel_natoms += sum(atype == ii)
-
- # do summation in atom dimension
- if not atomic:
- dipole = np.sum(dipole.reshape((dipole.shape[0], -1, 3)),axis=1)
- rmse_f = rmse(dipole - test_data["dipole"][:numb_test])
- rmse_fs = rmse_f / np.sqrt(sel_natoms)
- rmse_fa = rmse_f / sel_natoms
- else:
- rmse_f = rmse(dipole - test_data["atomic_dipole"][:numb_test])
-
- log.info(f"# number of test data : {numb_test:d}")
- log.info(f"Dipole RMSE : {rmse_f:e}")
- if not atomic:
- log.info(f"Dipole RMSE/sqrtN : {rmse_fs:e}")
- log.info(f"Dipole RMSE/N : {rmse_fa:e}")
- log.info(f"The unit of error is the same as the unit of provided label.")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
-
- pe = np.concatenate(
- (
- np.reshape(test_data["dipole"][:numb_test], [-1, 3]),
- np.reshape(dipole, [-1, 3]),
- ),
- axis=1,
- )
- np.savetxt(
- detail_path.with_suffix(".out"),
- pe,
- header="data_x data_y data_z pred_x pred_y pred_z",
- )
- return {
- 'rmse' : (rmse_f, dipole.size)
- }
-
-
-def print_dipole_sys_avg(avg):
- """Print errors summary for dipole type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"Dipole RMSE : {avg['rmse']:e} eV/A")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/train.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/train.py
deleted file mode 100644
index ae37353de9962652f5c7af2db296cc4754450b4c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/train.py
+++ /dev/null
@@ -1,356 +0,0 @@
-"""DeePMD training entrypoint script.
-
-Can handle local or distributed training.
-"""
-
-import json
-import logging
-import time
-import os
-from typing import Dict, List, Optional, Any
-
-from deepmd.common import data_requirement, expand_sys_str, j_loader, j_must_have
-from deepmd.env import tf, reset_default_tf_session_config, GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.infer.data_modifier import DipoleChargeModifier
-from deepmd.train.run_options import BUILD, CITATION, WELCOME, RunOptions
-from deepmd.train.trainer import DPTrainer
-from deepmd.utils import random as dp_random
-from deepmd.utils.argcheck import normalize
-from deepmd.utils.compat import update_deepmd_input
-from deepmd.utils.data_system import DeepmdDataSystem
-from deepmd.utils.sess import run_sess
-from deepmd.utils.neighbor_stat import NeighborStat
-from deepmd.utils.path import DPPath
-
-__all__ = ["train"]
-
-log = logging.getLogger(__name__)
-
-
-def train(
- *,
- INPUT: str,
- init_model: Optional[str],
- restart: Optional[str],
- output: str,
- init_frz_model: str,
- mpi_log: str,
- log_level: int,
- log_path: Optional[str],
- is_compress: bool = False,
- skip_neighbor_stat: bool = False,
- **kwargs,
-):
- """Run DeePMD model training.
-
- Parameters
- ----------
- INPUT : str
- json/yaml control file
- init_model : Optional[str]
- path to checkpoint folder or None
- restart : Optional[str]
- path to checkpoint folder or None
- output : str
- path for dump file with arguments
- init_frz_model : str
- path to frozen model or None
- mpi_log : str
- mpi logging mode
- log_level : int
- logging level defined by int 0-3
- log_path : Optional[str]
- logging file path or None if logs are to be output only to stdout
- is_compress: bool
- indicates whether in the model compress mode
- skip_neighbor_stat : bool, default=False
- skip checking neighbor statistics
-
- Raises
- ------
- RuntimeError
- if distributed training job nem is wrong
- """
- run_opt = RunOptions(
- init_model=init_model,
- restart=restart,
- init_frz_model=init_frz_model,
- log_path=log_path,
- log_level=log_level,
- mpi_log=mpi_log
- )
- if run_opt.is_distrib and len(run_opt.gpus or []) > 1:
- # avoid conflict of visible gpus among multipe tf sessions in one process
- reset_default_tf_session_config(cpu_only=True)
-
- # load json database
- jdata = j_loader(INPUT)
-
- jdata = update_deepmd_input(jdata, warning=True, dump="input_v2_compat.json")
-
- jdata = normalize(jdata)
-
- if not is_compress and not skip_neighbor_stat:
- jdata = update_sel(jdata)
-
- with open(output, "w") as fp:
- json.dump(jdata, fp, indent=4)
-
- # save the training script into the graph
- # remove white spaces as it is not compressed
- tf.constant(json.dumps(jdata, separators=(',', ':')), name='train_attr/training_script', dtype=tf.string)
-
- for message in WELCOME + CITATION + BUILD:
- log.info(message)
-
- run_opt.print_resource_summary()
- _do_work(jdata, run_opt, is_compress)
-
-
-def _do_work(jdata: Dict[str, Any], run_opt: RunOptions, is_compress: bool = False):
- """Run serial model training.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- arguments read form json/yaml control file
- run_opt : RunOptions
- object with run configuration
- is_compress : Bool
- indicates whether in model compress mode
-
- Raises
- ------
- RuntimeError
- If unsupported modifier type is selected for model
- """
- # make necessary checks
- assert "training" in jdata
-
- # init the model
- model = DPTrainer(jdata, run_opt=run_opt, is_compress = is_compress)
- rcut = model.model.get_rcut()
- type_map = model.model.get_type_map()
- if len(type_map) == 0:
- ipt_type_map = None
- else:
- ipt_type_map = type_map
-
- # init random seed of data systems
- seed = jdata["training"].get("seed", None)
- if seed is not None:
- # avoid the same batch sequence among workers
- seed += run_opt.my_rank
- seed = seed % (2 ** 32)
- dp_random.seed(seed)
-
- # setup data modifier
- modifier = get_modifier(jdata["model"].get("modifier", None))
-
- # decouple the training data from the model compress process
- train_data = None
- valid_data = None
- if not is_compress:
- # init data
- train_data = get_data(jdata["training"]["training_data"], rcut, ipt_type_map, modifier)
- train_data.print_summary("training")
- if jdata["training"].get("validation_data", None) is not None:
- valid_data = get_data(jdata["training"]["validation_data"], rcut, train_data.type_map, modifier)
- valid_data.print_summary("validation")
-
- # get training info
- stop_batch = j_must_have(jdata["training"], "numb_steps")
- model.build(train_data, stop_batch)
-
- if not is_compress:
- # train the model with the provided systems in a cyclic way
- start_time = time.time()
- model.train(train_data, valid_data)
- end_time = time.time()
- log.info("finished training")
- log.info(f"wall time: {(end_time - start_time):.3f} s")
- else:
- model.save_compressed()
- log.info("finished compressing")
-
-
-def get_data(jdata: Dict[str, Any], rcut, type_map, modifier):
- systems = j_must_have(jdata, "systems")
- if isinstance(systems, str):
- systems = expand_sys_str(systems)
- help_msg = 'Please check your setting for data systems'
- # check length of systems
- if len(systems) == 0:
- msg = 'cannot find valid a data system'
- log.fatal(msg)
- raise IOError(msg, help_msg)
- # rougly check all items in systems are valid
- for ii in systems:
- ii = DPPath(ii)
- if (not ii.is_dir()):
- msg = f'dir {ii} is not a valid dir'
- log.fatal(msg)
- raise IOError(msg, help_msg)
- if (not (ii / 'type.raw').is_file()):
- msg = f'dir {ii} is not a valid data system dir'
- log.fatal(msg)
- raise IOError(msg, help_msg)
-
- batch_size = j_must_have(jdata, "batch_size")
- sys_probs = jdata.get("sys_probs", None)
- auto_prob = jdata.get("auto_prob", "prob_sys_size")
-
- data = DeepmdDataSystem(
- systems=systems,
- batch_size=batch_size,
- test_size=1, # to satisfy the old api
- shuffle_test=True, # to satisfy the old api
- rcut=rcut,
- type_map=type_map,
- modifier=modifier,
- trn_all_set=True, # sample from all sets
- sys_probs=sys_probs,
- auto_prob_style=auto_prob
- )
- data.add_dict(data_requirement)
-
- return data
-
-
-def get_modifier(modi_data=None):
- modifier: Optional[DipoleChargeModifier]
- if modi_data is not None:
- if modi_data["type"] == "dipole_charge":
- modifier = DipoleChargeModifier(
- modi_data["model_name"],
- modi_data["model_charge_map"],
- modi_data["sys_charge_map"],
- modi_data["ewald_h"],
- modi_data["ewald_beta"],
- )
- else:
- raise RuntimeError("unknown modifier type " + str(modi_data["type"]))
- else:
- modifier = None
- return modifier
-
-
-def get_rcut(jdata):
- descrpt_data = jdata['model']['descriptor']
- rcut_list = []
- if descrpt_data['type'] == 'hybrid':
- for ii in descrpt_data['list']:
- rcut_list.append(ii['rcut'])
- else:
- rcut_list.append(descrpt_data['rcut'])
- return max(rcut_list)
-
-
-def get_type_map(jdata):
- return jdata['model'].get('type_map', None)
-
-
-def get_nbor_stat(jdata, rcut, one_type: bool = False):
- max_rcut = get_rcut(jdata)
- type_map = get_type_map(jdata)
-
- if type_map and len(type_map) == 0:
- type_map = None
- train_data = get_data(jdata["training"]["training_data"], max_rcut, type_map, None)
- train_data.get_batch()
- data_ntypes = train_data.get_ntypes()
- if type_map is not None:
- map_ntypes = len(type_map)
- else:
- map_ntypes = data_ntypes
- ntypes = max([map_ntypes, data_ntypes])
-
- neistat = NeighborStat(ntypes, rcut, one_type=one_type)
-
- min_nbor_dist, max_nbor_size = neistat.get_stat(train_data)
-
- # moved from traier.py as duplicated
- # TODO: this is a simple fix but we should have a clear
- # architecture to call neighbor stat
- tf.constant(min_nbor_dist,
- name = 'train_attr/min_nbor_dist',
- dtype = GLOBAL_ENER_FLOAT_PRECISION)
- tf.constant(max_nbor_size,
- name = 'train_attr/max_nbor_size',
- dtype = tf.int32)
- return min_nbor_dist, max_nbor_size
-
-def get_sel(jdata, rcut, one_type: bool = False):
- _, max_nbor_size = get_nbor_stat(jdata, rcut, one_type=one_type)
- return max_nbor_size
-
-def get_min_nbor_dist(jdata, rcut):
- min_nbor_dist, _ = get_nbor_stat(jdata, rcut)
- return min_nbor_dist
-
-def parse_auto_sel(sel):
- if type(sel) is not str:
- return False
- words = sel.split(':')
- if words[0] == 'auto':
- return True
- else:
- return False
-
-
-def parse_auto_sel_ratio(sel):
- if not parse_auto_sel(sel):
- raise RuntimeError(f'invalid auto sel format {sel}')
- else:
- words = sel.split(':')
- if len(words) == 1:
- ratio = 1.1
- elif len(words) == 2:
- ratio = float(words[1])
- else:
- raise RuntimeError(f'invalid auto sel format {sel}')
- return ratio
-
-
-def wrap_up_4(xx):
- return 4 * ((int(xx) + 3) // 4)
-
-
-def update_one_sel(jdata, descriptor):
- if descriptor['type'] == 'loc_frame':
- return descriptor
- rcut = descriptor['rcut']
- tmp_sel = get_sel(jdata, rcut, one_type=descriptor['type'] in ('se_atten',))
- sel = descriptor['sel']
- if isinstance(sel, int):
- # convert to list and finnally convert back to int
- sel = [sel]
- if parse_auto_sel(descriptor['sel']) :
- ratio = parse_auto_sel_ratio(descriptor['sel'])
- descriptor['sel'] = sel = [int(wrap_up_4(ii * ratio)) for ii in tmp_sel]
- else:
- # sel is set by user
- for ii, (tt, dd) in enumerate(zip(tmp_sel, sel)):
- if dd and tt > dd:
- # we may skip warning for sel=0, where the user is likely
- # to exclude such type in the descriptor
- log.warning(
- "sel of type %d is not enough! The expected value is "
- "not less than %d, but you set it to %d. The accuracy"
- " of your model may get worse." %(ii, tt, dd)
- )
- if descriptor['type'] in ('se_atten',):
- descriptor['sel'] = sel = sum(sel)
- return descriptor
-
-
-def update_sel(jdata):
- log.info("Calculate neighbor statistics... (add --skip-neighbor-stat to skip this step)")
- descrpt_data = jdata['model']['descriptor']
- if descrpt_data['type'] == 'hybrid':
- for ii in range(len(descrpt_data['list'])):
- descrpt_data['list'][ii] = update_one_sel(jdata, descrpt_data['list'][ii])
- else:
- descrpt_data = update_one_sel(jdata, descrpt_data)
- jdata['model']['descriptor'] = descrpt_data
- return jdata
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/transfer.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/transfer.py
deleted file mode 100644
index d7694edbe33c446cae608bd7f9f581f603576bf1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/entrypoints/transfer.py
+++ /dev/null
@@ -1,236 +0,0 @@
-"""Module used for transfering parameters between models."""
-
-from typing import Dict, Optional, Sequence, Tuple
-from deepmd.env import tf, TRANSFER_PATTERN
-import re
-import numpy as np
-import logging
-
-__all__ = ["transfer"]
-
-log = logging.getLogger(__name__)
-
-
-@np.vectorize
-def convert_number(number: int) -> float:
- binary = bin(number).replace("0b", "").zfill(16)
- sign = int(binary[0]) * -2 + 1
- exp = int(binary[1:6], 2)
- frac = (int(binary[6:], 2) + 2 ** 10) * (2 ** -10)
- return sign * (2 ** (exp - 15)) * frac
-
-
-def convert_matrix(
- matrix: np.ndarray, shape: Sequence[int], dtype: Optional[type] = None
-) -> np.ndarray:
- """Convert matrix of integers to self defined binary format.
-
- Parameters
- ----------
- matrix : np.ndarray
- array of ints
- shape : Sequence[int]
- shape to cast resulting array to
- dtype : Optional[type]
- type that finall array will be cast to, If None no casting will take place
-
- Returns
- -------
- np.ndarray
- array cast to required format
- """
- conv = convert_number(matrix.flatten()).reshape(shape)
- if dtype:
- conv = conv.astype(dtype)
-
- return conv
-
-
-def transfer(*, old_model: str, raw_model: str, output: str, **kwargs):
- """Transfer operation from old fron graph to new prepared raw graph.
-
- Parameters
- ----------
- old_model : str
- frozen old graph model
- raw_model : str
- new model that will accept ops from old model
- output : str
- new model with transfered parameters will be saved to this location
- """
- raw_graph = load_graph(raw_model)
- old_graph = load_graph(old_model)
- log.info(f"{len(raw_graph.as_graph_def().node)} ops in the raw graph")
- log.info(f"{len(old_graph.as_graph_def().node)} ops in the old graph")
-
- new_graph_def = transform_graph(raw_graph, old_graph)
- with tf.gfile.GFile(output, mode="wb") as f:
- f.write(new_graph_def.SerializeToString())
- log.info("the output model is saved in " + output)
-
-
-def load_graph(graph_name: str) -> tf.Graph:
- """Load graph from passed in path.
-
- Parameters
- ----------
- graph_name : str
- path to frozen graph on disk
-
- Returns
- -------
- tf.Graph
- tf graph object
- """
- graph_def = tf.GraphDef()
- with open(graph_name, "rb") as f:
- graph_def.ParseFromString(f.read())
- with tf.Graph().as_default() as graph:
- tf.import_graph_def(graph_def, name="")
- return graph
-
-
-def transform_graph(raw_graph: tf.Graph, old_graph: tf.Graph) -> tf.Graph:
- """Trasform old graph into new.
-
- Parameters
- ----------
- raw_graph : tf.Graph
- graph receiving parameters from the old one
- old_graph : tf.Graph
- graph providing parameters
-
- Returns
- -------
- tf.Graph
- new graph with parameters transfered form the old one
- """
- old_graph_def = old_graph.as_graph_def()
- raw_graph_def = raw_graph.as_graph_def()
- raw_graph_node = load_transform_node(raw_graph_def)
- old_graph_node = load_transform_node(old_graph_def)
-
- for node in raw_graph_def.node:
- if node.name not in raw_graph_node.keys():
- continue
-
- old_node = old_graph_node[node.name]
- raw_node = raw_graph_node[node.name]
- cp_attr = CopyNodeAttr(node)
-
- check_dim(raw_graph_node, old_graph_node, node.name)
- tensor_shape = [dim.size for dim in raw_node.tensor_shape.dim]
- old_graph_dtype = tf.as_dtype(old_node.dtype).as_numpy_dtype
- raw_graph_dtype = tf.as_dtype(raw_node.dtype).as_numpy_dtype
- log.info(
- f"{node.name} is passed from old graph({old_graph_dtype}) "
- f"to raw graph({raw_graph_dtype})"
- )
-
- if raw_graph_dtype == np.float16:
- if old_graph_dtype == np.float64 or old_graph_dtype == np.float32:
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor = np.frombuffer(old_node.tensor_content, dtype = old_graph_dtype)
- tensor = tensor.astype(raw_graph_dtype)
- cp_attr.from_str(tensor)
- else:
- tensor = load_tensor(old_node, old_graph_dtype, raw_graph_dtype)
- cp_attr.from_array(tensor, tf.float16, [1])
-
- elif old_graph_dtype[1] == "float16":
- tensor = convertMatrix(np.array(old_node.half_val), tensor_shape)
- cp_attr.from_array(tensor, raw_graph_dtype)
-
- elif raw_graph_dtype == np.float64 or raw_graph_dtype == np.float32:
- if old_graph_dtype == np.float64 or old_graph_dtype == np.float32:
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor = np.frombuffer(old_node.tensor_content, dtype = old_graph_dtype)
- tensor = tensor.astype(raw_graph_dtype)
- cp_attr.from_str(tensor)
- else:
- tensor = load_tensor(old_node, old_graph_dtype, raw_graph_dtype)
- cp_attr.from_array(tensor, raw_graph_dtype, shape=[1])
-
- elif old_graph_dtype == np.float16:
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor = convertMatrix(np.array(old_node.half_val), tensor_shape).astype(raw_graph_dtype)
- cp_attr.from_str(tensor)
- else:
- tensor = convertMatrix(np.array(old_node.half_val), tensor_shape).astype(raw_graph_dtype)
- cp_attr.from_array(tensor, raw_graph_dtype)
-
- return raw_graph_def
-
-
-class CopyNodeAttr:
- def __init__(self, node) -> None:
- self.node = node
-
- def from_array(
- self, tensor: np.ndarray, dtype: type, shape: Optional[Sequence[int]] = None
- ):
- if shape is None:
- shape = tensor.shape
- self.node.attr["value"].CopyFrom(
- tf.AttrValue(tensor=tf.make_tensor_proto(tensor, dtype, shape))
- )
-
- def from_str(self, tensor: np.ndarray):
- self.node.attr["value"].tensor.tensor_content = tensor.tostring()
-
-
-def load_tensor(node: tf.Tensor, dtype_old: type, dtype_new: type) -> np.ndarray:
- if dtype_old == np.float64:
- tensor = np.array(node.double_val).astype(dtype_new)
- elif dtype_old == np.float32:
- tensor = np.array(node.float_val).astype(dtype_new)
-
- return tensor
-
-
-def check_dim(raw_graph_node: tf.Tensor, old_graph_node: tf.Tensor, node_name: str):
- """Check if dimensions of tensor in old and new graph is equal.
-
- Parameters
- ----------
- raw_graph_node : tf.Tensor
- node of the receiving graph
- old_graph_node : tf.Tensor
- node of the graph from which will node be extracted
- node_name : str
- name of the node
-
- Raises
- ------
- RuntimeError
- if node dimension do not match
- """
- raw_graph_dim = raw_graph_node[node_name].tensor_shape
- old_graph_dim = old_graph_node[node_name].tensor_shape
- if raw_graph_dim != old_graph_dim:
- raise RuntimeError(
- f"old graph {old_graph_dim} and raw graph {raw_graph_dim} "
- f"has different {node_name} dim"
- )
-
-
-def load_transform_node(graph: tf.Graph) -> Dict[str, tf.Tensor]:
- """Load nodes and their names from graph to dict.
-
- Parameters
- ----------
- graph : tf.Graph
- tensforflow graph
-
- Returns
- -------
- Dict[str, tf.Tensor]
- mapping on graph node names and corresponding tensors
- """
- transform_node_pattern = re.compile(TRANSFER_PATTERN)
-
- transform_node = {}
- for node in graph.node:
- if transform_node_pattern.fullmatch(node.name) is not None:
- transform_node[node.name] = node.attr["value"].tensor
- return transform_node
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/env.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/env.py
deleted file mode 100644
index a33e043348d6cef47848c42398679c906e63a857..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/env.py
+++ /dev/null
@@ -1,407 +0,0 @@
-"""Module that sets tensorflow working environment and exports inportant constants."""
-
-import logging
-import os
-import re
-import platform
-from configparser import ConfigParser
-from importlib import reload
-from pathlib import Path
-from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple
-from packaging.version import Version
-
-import numpy as np
-
-if TYPE_CHECKING:
- from types import ModuleType
-
-# import tensorflow v1 compatability
-try:
- import tensorflow.compat.v1 as tf
-
- tf.disable_v2_behavior()
-except ImportError:
- import tensorflow as tf
-try:
- import tensorflow.compat.v2 as tfv2
-except ImportError:
- tfv2 = None
-
-__all__ = [
- "GLOBAL_CONFIG",
- "GLOBAL_TF_FLOAT_PRECISION",
- "GLOBAL_NP_FLOAT_PRECISION",
- "GLOBAL_ENER_FLOAT_PRECISION",
- "global_float_prec",
- "global_cvt_2_tf_float",
- "global_cvt_2_ener_float",
- "MODEL_VERSION",
- "SHARED_LIB_MODULE",
- "default_tf_session_config",
- "reset_default_tf_session_config",
- "op_module",
- "op_grads_module",
- "TRANSFER_PATTERN",
- "FITTING_NET_PATTERN",
- "EMBEDDING_NET_PATTERN",
- "TYPE_EMBEDDING_PATTERN",
- "ATTENTION_LAYER_PATTERN",
- "TF_VERSION"
-]
-
-SHARED_LIB_MODULE = "op"
-
-# Python library version
-try:
- tf_py_version = tf.version.VERSION
-except AttributeError:
- tf_py_version = tf.__version__
-
-EMBEDDING_NET_PATTERN = str(
- r"filter_type_\d+/matrix_\d+_\d+|"
- r"filter_type_\d+/bias_\d+_\d+|"
- r"filter_type_\d+/idt_\d+_\d+|"
- r"filter_type_all/matrix_\d+|"
- r"filter_type_all/matrix_\d+_\d+|"
- r"filter_type_all/matrix_\d+_\d+_\d+|"
- r"filter_type_all/bias_\d+|"
- r"filter_type_all/bias_\d+_\d+|"
- r"filter_type_all/bias_\d+_\d+_\d+|"
- r"filter_type_all/idt_\d+|"
- r"filter_type_all/idt_\d+_\d+|"
-)
-
-FITTING_NET_PATTERN = str(
- r"layer_\d+/matrix|"
- r"layer_\d+_type_\d+/matrix|"
- r"layer_\d+/bias|"
- r"layer_\d+_type_\d+/bias|"
- r"layer_\d+/idt|"
- r"layer_\d+_type_\d+/idt|"
- r"final_layer/matrix|"
- r"final_layer_type_\d+/matrix|"
- r"final_layer/bias|"
- r"final_layer_type_\d+/bias|"
-)
-
-TYPE_EMBEDDING_PATTERN = str(
- r"type_embed_net+/matrix_\d+|"
- r"type_embed_net+/bias_\d+|"
- r"type_embed_net+/idt_\d+|"
-)
-
-ATTENTION_LAYER_PATTERN = str(
- r"attention_layer_\d+/c_query/matrix|"
- r"attention_layer_\d+/c_query/bias|"
- r"attention_layer_\d+/c_key/matrix|"
- r"attention_layer_\d+/c_key/bias|"
- r"attention_layer_\d+/c_value/matrix|"
- r"attention_layer_\d+/c_value/bias|"
- r"attention_layer_\d+/c_out/matrix|"
- r"attention_layer_\d+/c_out/bias|"
- r"attention_layer_\d+/layer_normalization/beta|"
- r"attention_layer_\d+/layer_normalization/gamma|"
- r"attention_layer_\d+/layer_normalization_\d+/beta|"
- r"attention_layer_\d+/layer_normalization_\d+/gamma|"
-)
-
-TRANSFER_PATTERN = \
- EMBEDDING_NET_PATTERN + \
- FITTING_NET_PATTERN + \
- TYPE_EMBEDDING_PATTERN + \
- str(
- r"descrpt_attr/t_avg|"
- r"descrpt_attr/t_std|"
- r"fitting_attr/t_fparam_avg|"
- r"fitting_attr/t_fparam_istd|"
- r"fitting_attr/t_aparam_avg|"
- r"fitting_attr/t_aparam_istd|"
- r"model_attr/t_tab_info|"
- r"model_attr/t_tab_data|"
-)
-
-def set_env_if_empty(key: str, value: str, verbose: bool = True):
- """Set environment variable only if it is empty.
-
- Parameters
- ----------
- key : str
- env variable name
- value : str
- env variable value
- verbose : bool, optional
- if True action will be logged, by default True
- """
- if os.environ.get(key) is None:
- os.environ[key] = value
- if verbose:
- logging.warn(
- f"Environment variable {key} is empty. Use the default value {value}"
- )
-
-
-def set_mkl():
- """Tuning MKL for the best performance.
-
- References
- ----------
- TF overview
- https://www.tensorflow.org/guide/performance/overview
-
- Fixing an issue in numpy built by MKL
- https://github.com/ContinuumIO/anaconda-issues/issues/11367
- https://github.com/numpy/numpy/issues/12374
-
- check whether the numpy is built by mkl, see
- https://github.com/numpy/numpy/issues/14751
- """
- if "mkl_rt" in np.__config__.get_info("blas_mkl_info").get("libraries", []):
- set_env_if_empty("KMP_BLOCKTIME", "0")
- set_env_if_empty(
- "KMP_AFFINITY", "granularity=fine,verbose,compact,1,0")
- reload(np)
-
-
-def set_tf_default_nthreads():
- """Set TF internal number of threads to default=automatic selection.
-
- Notes
- -----
- `TF_INTRA_OP_PARALLELISM_THREADS` and `TF_INTER_OP_PARALLELISM_THREADS`
- control TF configuration of multithreading.
- """
- if "OMP_NUM_THREADS" not in os.environ or \
- "TF_INTRA_OP_PARALLELISM_THREADS" not in os.environ or \
- "TF_INTER_OP_PARALLELISM_THREADS" not in os.environ:
- logging.warning(
- "To get the best performance, it is recommended to adjust "
- "the number of threads by setting the environment variables "
- "OMP_NUM_THREADS, TF_INTRA_OP_PARALLELISM_THREADS, and "
- "TF_INTER_OP_PARALLELISM_THREADS.")
- set_env_if_empty("TF_INTRA_OP_PARALLELISM_THREADS", "0", verbose=False)
- set_env_if_empty("TF_INTER_OP_PARALLELISM_THREADS", "0", verbose=False)
-
-
-def get_tf_default_nthreads() -> Tuple[int, int]:
- """Get TF paralellism settings.
-
- Returns
- -------
- Tuple[int, int]
- number of `TF_INTRA_OP_PARALLELISM_THREADS` and
- `TF_INTER_OP_PARALLELISM_THREADS`
- """
- return int(os.environ.get("TF_INTRA_OP_PARALLELISM_THREADS", "0")), int(
- os.environ.get("TF_INTER_OP_PARALLELISM_THREADS", "0")
- )
-
-
-def get_tf_session_config() -> Any:
- """Configure tensorflow session.
-
- Returns
- -------
- Any
- session configure object
- """
- set_tf_default_nthreads()
- intra, inter = get_tf_default_nthreads()
- config = tf.ConfigProto(
- gpu_options=tf.GPUOptions(allow_growth=True),
- intra_op_parallelism_threads=intra, inter_op_parallelism_threads=inter
- )
- if Version(tf_py_version) >= Version('1.15') and int(os.environ.get("DP_AUTO_PARALLELIZATION", 0)):
- config.graph_options.rewrite_options.custom_optimizers.add().name = "dpparallel"
- return config
-
-
-default_tf_session_config = get_tf_session_config()
-
-
-def reset_default_tf_session_config(cpu_only: bool):
- """Limit tensorflow session to CPU or not.
-
- Parameters
- ----------
- cpu_only : bool
- If enabled, no GPU device is visible to the TensorFlow Session.
- """
- global default_tf_session_config
- if cpu_only:
- default_tf_session_config.device_count['GPU'] = 0
- else:
- if 'GPU' in default_tf_session_config.device_count:
- del default_tf_session_config.device_count['GPU']
-
-
-def get_module(module_name: str) -> "ModuleType":
- """Load force module.
-
- Returns
- -------
- ModuleType
- loaded force module
-
- Raises
- ------
- FileNotFoundError
- if module is not found in directory
- """
- if platform.system() == "Windows":
- ext = ".dll"
- prefix = ""
- #elif platform.system() == "Darwin":
- # ext = ".dylib"
- else:
- ext = ".so"
- prefix = "lib"
-
- module_file = (
- (Path(__file__).parent / SHARED_LIB_MODULE / (prefix + module_name))
- .with_suffix(ext)
- .resolve()
- )
-
- if not module_file.is_file():
- raise FileNotFoundError(f"module {module_name} does not exist")
- else:
- try:
- module = tf.load_op_library(str(module_file))
- except tf.errors.NotFoundError as e:
- # check CXX11_ABI_FLAG is compatiblity
- # see https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
- # ABI should be the same
- if 'CXX11_ABI_FLAG' in tf.__dict__:
- tf_cxx11_abi_flag = tf.CXX11_ABI_FLAG
- else:
- tf_cxx11_abi_flag = tf.sysconfig.CXX11_ABI_FLAG
- if TF_CXX11_ABI_FLAG != tf_cxx11_abi_flag:
- raise RuntimeError(
- "This deepmd-kit package was compiled with "
- "CXX11_ABI_FLAG=%d, but TensorFlow runtime was compiled "
- "with CXX11_ABI_FLAG=%d. These two library ABIs are "
- "incompatible and thus an error is raised when loading %s. "
- "You need to rebuild deepmd-kit against this TensorFlow "
- "runtime." % (
- TF_CXX11_ABI_FLAG,
- tf_cxx11_abi_flag,
- module_name,
- )) from e
-
- # different versions may cause incompatibility
- # see #406, #447, #557, #774, and #796 for example
- # throw a message if versions are different
- if TF_VERSION != tf_py_version:
- raise RuntimeError(
- "The version of TensorFlow used to compile this "
- "deepmd-kit package is %s, but the version of TensorFlow "
- "runtime you are using is %s. These two versions are "
- "incompatible and thus an error is raised when loading %s. "
- "You need to install TensorFlow %s, or rebuild deepmd-kit "
- "against TensorFlow %s.\nIf you are using a wheel from "
- "pypi, you may consider to install deepmd-kit execuating "
- "`pip install deepmd-kit --no-binary deepmd-kit` "
- "instead." % (
- TF_VERSION,
- tf_py_version,
- module_name,
- TF_VERSION,
- tf_py_version,
- )) from e
- error_message = (
- "This deepmd-kit package is inconsitent with TensorFlow "
- "Runtime, thus an error is raised when loading %s. "
- "You need to rebuild deepmd-kit against this TensorFlow "
- "runtime." % (
- module_name,
- )
- )
- if TF_CXX11_ABI_FLAG == 1:
- # #1791
- error_message += (
- "\nWARNING: devtoolset on RHEL6 and RHEL7 does not support _GLIBCXX_USE_CXX11_ABI=1. "
- "See https://bugzilla.redhat.com/show_bug.cgi?id=1546704"
- )
- raise RuntimeError(error_message) from e
- return module
-
-
-def _get_package_constants(
- config_file: Path = Path(__file__).parent / "pkg_config/run_config.ini",
-) -> Dict[str, str]:
- """Read package constants set at compile time by CMake to dictionary.
-
- Parameters
- ----------
- config_file : str, optional
- path to CONFIG file, by default "pkg_config/run_config.ini"
-
- Returns
- -------
- Dict[str, str]
- dictionary with package constants
- """
- config = ConfigParser()
- config.read(config_file)
- return dict(config.items("CONFIG"))
-
-
-GLOBAL_CONFIG = _get_package_constants()
-MODEL_VERSION = GLOBAL_CONFIG["model_version"]
-TF_VERSION = GLOBAL_CONFIG["tf_version"]
-TF_CXX11_ABI_FLAG = int(GLOBAL_CONFIG["tf_cxx11_abi_flag"])
-
-op_module = get_module("op_abi")
-op_grads_module = get_module("op_grads")
-
-# FLOAT_PREC
-dp_float_prec = os.environ.get("DP_INTERFACE_PREC", "high").lower()
-if dp_float_prec in ("high", ""):
- # default is high
- GLOBAL_TF_FLOAT_PRECISION = tf.float64
- GLOBAL_NP_FLOAT_PRECISION = np.float64
- GLOBAL_ENER_FLOAT_PRECISION = np.float64
- global_float_prec = "double"
-elif dp_float_prec == "low":
- GLOBAL_TF_FLOAT_PRECISION = tf.float32
- GLOBAL_NP_FLOAT_PRECISION = np.float32
- GLOBAL_ENER_FLOAT_PRECISION = np.float64
- global_float_prec = "float"
-else:
- raise RuntimeError(
- "Unsupported float precision option: %s. Supported: high,"
- "low. Please set precision with environmental variable "
- "DP_INTERFACE_PREC." % dp_float_prec
- )
-
-
-def global_cvt_2_tf_float(xx: tf.Tensor) -> tf.Tensor:
- """Cast tensor to globally set TF precision.
-
- Parameters
- ----------
- xx : tf.Tensor
- input tensor
-
- Returns
- -------
- tf.Tensor
- output tensor cast to `GLOBAL_TF_FLOAT_PRECISION`
- """
- return tf.cast(xx, GLOBAL_TF_FLOAT_PRECISION)
-
-
-def global_cvt_2_ener_float(xx: tf.Tensor) -> tf.Tensor:
- """Cast tensor to globally set energy precision.
-
- Parameters
- ----------
- xx : tf.Tensor
- input tensor
-
- Returns
- -------
- tf.Tensor
- output tensor cast to `GLOBAL_ENER_FLOAT_PRECISION`
- """
- return tf.cast(xx, GLOBAL_ENER_FLOAT_PRECISION)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/__init__.py
deleted file mode 100644
index ead86207048e7650150ccef9dd3882e111a0ef62..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from .ener import EnerFitting
-from .wfc import WFCFitting
-from .dipole import DipoleFittingSeA
-from .polar import PolarFittingSeA
-from .polar import GlobalPolarFittingSeA
-from .polar import PolarFittingLocFrame
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/dipole.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/dipole.py
deleted file mode 100644
index 02dae7a834c932046f555fa5f9c3c13ed7c57e19..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/dipole.py
+++ /dev/null
@@ -1,198 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement, get_activation_func, get_precision, cast_precision
-from deepmd.utils.network import one_layer, one_layer_rand_seed_shift
-from deepmd.utils.graph import get_fitting_net_variables_from_graph_def
-from deepmd.descriptor import DescrptSeA
-from deepmd.fit.fitting import Fitting
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-
-class DipoleFittingSeA (Fitting) :
- """
- Fit the atomic dipole with descriptor se_a
-
- Parameters
- ----------
- descrpt : tf.Tensor
- The descrptor
- neuron : List[int]
- Number of neurons in each hidden layer of the fitting net
- resnet_dt : bool
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- sel_type : List[int]
- The atom types selected to have an atomic dipole prediction. If is None, all atoms are selected.
- seed : int
- Random seed for initializing the network parameters.
- activation_function : str
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision : str
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- sel_type : List[int] = None,
- seed : int = None,
- activation_function : str = 'tanh',
- precision : str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- if not isinstance(descrpt, DescrptSeA) :
- raise RuntimeError('DipoleFittingSeA only supports DescrptSeA')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- # args = ClassArg()\
- # .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- # .add('resnet_dt', bool, default = True)\
- # .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'dipole_type')\
- # .add('seed', int)\
- # .add("activation_function", str, default = "tanh")\
- # .add('precision', str, default = "default")
- # class_data = args.parse(jdata)
- self.n_neuron = neuron
- self.resnet_dt = resnet_dt
- self.sel_type = sel_type
- if self.sel_type is None:
- self.sel_type = [ii for ii in range(self.ntypes)]
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = one_layer_rand_seed_shift()
- self.fitting_activation_fn = get_activation_func(activation_function)
- self.fitting_precision = get_precision(precision)
- self.dim_rot_mat_1 = descrpt.get_dim_rot_mat_1()
- self.dim_rot_mat = self.dim_rot_mat_1 * 3
- self.useBN = False
- self.fitting_net_variables = None
- self.mixed_prec = None
-
- def get_sel_type(self) -> int:
- """
- Get selected type
- """
- return self.sel_type
-
- def get_out_size(self) -> int:
- """
- Get the output size. Should be 3
- """
- return 3
-
- @cast_precision
- def build (self,
- input_d : tf.Tensor,
- rot_mat : tf.Tensor,
- natoms : tf.Tensor,
- reuse : bool = None,
- suffix : str = '') -> tf.Tensor:
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- input_d
- The input descriptor
- rot_mat
- The rotation matrix from the descriptor.
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- dipole
- The atomic dipole.
- """
- start_index = 0
- inputs = tf.reshape(input_d, [-1, natoms[0], self.dim_descrpt])
- rot_mat = tf.reshape(rot_mat, [-1, natoms[0], self.dim_rot_mat])
-
- count = 0
- outs_list = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, self.dim_rot_mat_1, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x naxis
- final_layer = one_layer(layer, self.dim_rot_mat_1, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec, final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x 1 * naxis
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], 1, self.dim_rot_mat_1])
- # (nframes x natoms) x 1 x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # nframes x natoms x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], 3])
-
- # concat the results
- outs_list.append(final_layer)
- count += 1
- outs = tf.concat(outs_list, axis = 1)
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
- # return tf.reshape(outs, [tf.shape(inputs)[0] * natoms[0] * 3 // 3])
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.fitting_net_variables = get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.fitting_precision = get_precision(mixed_prec['output_prec'])
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/ener.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/ener.py
deleted file mode 100644
index ad18d6d7ba8d683f357a9d88c03e9824108a58b9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/ener.py
+++ /dev/null
@@ -1,615 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-from packaging.version import Version
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement, get_activation_func, get_precision, cast_precision
-from deepmd.utils.network import one_layer_rand_seed_shift
-from deepmd.utils.network import one_layer as one_layer_deepmd
-from deepmd.utils.type_embed import embed_atom_type
-from deepmd.utils.graph import get_fitting_net_variables_from_graph_def, load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.errors import GraphWithoutTensorError
-from deepmd.fit.fitting import Fitting
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION, TF_VERSION
-
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.fit.ener import one_layer_nvnmd
-
-class EnerFitting (Fitting):
- r"""Fitting the energy of the system. The force and the virial can also be trained.
-
- The potential energy :math:`E` is a fitting network function of the descriptor :math:`\mathcal{D}`:
-
- .. math::
- E(\mathcal{D}) = \mathcal{L}^{(n)} \circ \mathcal{L}^{(n-1)}
- \circ \cdots \circ \mathcal{L}^{(1)} \circ \mathcal{L}^{(0)}
-
- The first :math:`n` hidden layers :math:`\mathcal{L}^{(0)}, \cdots, \mathcal{L}^{(n-1)}` are given by
-
- .. math::
- \mathbf{y}=\mathcal{L}(\mathbf{x};\mathbf{w},\mathbf{b})=
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b})
-
- where :math:`\mathbf{x} \in \mathbb{R}^{N_1}`$` is the input vector and :math:`\mathbf{y} \in \mathbb{R}^{N_2}`
- is the output vector. :math:`\mathbf{w} \in \mathbb{R}^{N_1 \times N_2}` and
- :math:`\mathbf{b} \in \mathbb{R}^{N_2}`$` are weights and biases, respectively,
- both of which are trainable if `trainable[i]` is `True`. :math:`\boldsymbol{\phi}`
- is the activation function.
-
- The output layer :math:`\mathcal{L}^{(n)}` is given by
-
- .. math::
- \mathbf{y}=\mathcal{L}^{(n)}(\mathbf{x};\mathbf{w},\mathbf{b})=
- \mathbf{x}^T\mathbf{w}+\mathbf{b}
-
- where :math:`\mathbf{x} \in \mathbb{R}^{N_{n-1}}`$` is the input vector and :math:`\mathbf{y} \in \mathbb{R}`
- is the output scalar. :math:`\mathbf{w} \in \mathbb{R}^{N_{n-1}}` and
- :math:`\mathbf{b} \in \mathbb{R}`$` are weights and bias, respectively,
- both of which are trainable if `trainable[n]` is `True`.
-
- Parameters
- ----------
- descrpt
- The descrptor :math:`\mathcal{D}`
- neuron
- Number of neurons :math:`N` in each hidden layer of the fitting net
- resnet_dt
- Time-step `dt` in the resnet construction:
- :math:`y = x + dt * \phi (Wx + b)`
- numb_fparam
- Number of frame parameter
- numb_aparam
- Number of atomic parameter
- rcond
- The condition number for the regression of atomic energy.
- tot_ener_zero
- Force the total energy to zero. Useful for the charge fitting.
- trainable
- If the weights of fitting net are trainable.
- Suppose that we have :math:`N_l` hidden layers in the fitting net,
- this list is of length :math:`N_l + 1`, specifying if the hidden layers and the output layer are trainable.
- seed
- Random seed for initializing the network parameters.
- atom_ener
- Specifying atomic energy contribution in vacuum. The `set_davg_zero` key in the descrptor should be set.
- activation_function
- The activation function :math:`\boldsymbol{\phi}` in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- numb_fparam : int = 0,
- numb_aparam : int = 0,
- rcond : float = 1e-3,
- tot_ener_zero : bool = False,
- trainable : List[bool] = None,
- seed : int = None,
- atom_ener : List[float] = [],
- activation_function : str = 'tanh',
- precision : str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- # model param
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- # args = ()\
- # .add('numb_fparam', int, default = 0)\
- # .add('numb_aparam', int, default = 0)\
- # .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- # .add('resnet_dt', bool, default = True)\
- # .add('rcond', float, default = 1e-3) \
- # .add('tot_ener_zero', bool, default = False) \
- # .add('seed', int) \
- # .add('atom_ener', list, default = [])\
- # .add("activation_function", str, default = "tanh")\
- # .add("precision", str, default = "default")\
- # .add("trainable", [list, bool], default = True)
- self.numb_fparam = numb_fparam
- self.numb_aparam = numb_aparam
- self.n_neuron = neuron
- self.resnet_dt = resnet_dt
- self.rcond = rcond
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = one_layer_rand_seed_shift()
- self.tot_ener_zero = tot_ener_zero
- self.fitting_activation_fn = get_activation_func(activation_function)
- self.fitting_precision = get_precision(precision)
- self.trainable = trainable
- if self.trainable is None:
- self.trainable = [True for ii in range(len(self.n_neuron) + 1)]
- if type(self.trainable) is bool:
- self.trainable = [self.trainable] * (len(self.n_neuron)+1)
- assert(len(self.trainable) == len(self.n_neuron) + 1), 'length of trainable should be that of n_neuron + 1'
- self.atom_ener = []
- self.atom_ener_v = atom_ener
- for at, ae in enumerate(atom_ener):
- if ae is not None:
- self.atom_ener.append(tf.constant(ae, self.fitting_precision, name = "atom_%d_ener" % at))
- else:
- self.atom_ener.append(None)
- self.useBN = False
- self.bias_atom_e = np.zeros(self.ntypes, dtype=np.float64)
- # data requirement
- if self.numb_fparam > 0 :
- add_data_requirement('fparam', self.numb_fparam, atomic=False, must=True, high_prec=False)
- self.fparam_avg = None
- self.fparam_std = None
- self.fparam_inv_std = None
- if self.numb_aparam > 0:
- add_data_requirement('aparam', self.numb_aparam, atomic=True, must=True, high_prec=False)
- self.aparam_avg = None
- self.aparam_std = None
- self.aparam_inv_std = None
-
- self.fitting_net_variables = None
- self.mixed_prec = None
-
- def get_numb_fparam(self) -> int:
- """
- Get the number of frame parameters
- """
- return self.numb_fparam
-
- def get_numb_aparam(self) -> int:
- """
- Get the number of atomic parameters
- """
- return self.numb_fparam
-
- def compute_output_stats(self,
- all_stat: dict,
- mixed_type: bool = False
- ) -> None:
- """
- Compute the ouput statistics
-
- Parameters
- ----------
- all_stat
- must have the following components:
- all_stat['energy'] of shape n_sys x n_batch x n_frame
- can be prepared by model.make_stat_input
- mixed_type
- Whether to perform the mixed_type mode.
- If True, the input data has the mixed_type format (see doc/model/train_se_atten.md),
- in which frames in a system may have different natoms_vec(s), with the same nloc.
- """
- self.bias_atom_e = self._compute_output_stats(all_stat, rcond=self.rcond, mixed_type=mixed_type)
-
- def _compute_output_stats(self, all_stat, rcond=1e-3, mixed_type=False):
- data = all_stat['energy']
- # data[sys_idx][batch_idx][frame_idx]
- sys_ener = np.array([])
- for ss in range(len(data)):
- sys_data = []
- for ii in range(len(data[ss])):
- for jj in range(len(data[ss][ii])):
- sys_data.append(data[ss][ii][jj])
- sys_data = np.concatenate(sys_data)
- sys_ener = np.append(sys_ener, np.average(sys_data))
- sys_tynatom = np.array([])
- if mixed_type:
- data = all_stat['real_natoms_vec']
- nsys = len(data)
- for ss in range(len(data)):
- tmp_tynatom = []
- for ii in range(len(data[ss])):
- for jj in range(len(data[ss][ii])):
- tmp_tynatom.append(data[ss][ii][jj].astype(np.float64))
- tmp_tynatom = np.average(np.array(tmp_tynatom), axis=0)
- sys_tynatom = np.append(sys_tynatom, tmp_tynatom)
- else:
- data = all_stat['natoms_vec']
- nsys = len(data)
- for ss in range(len(data)):
- sys_tynatom = np.append(sys_tynatom, data[ss][0].astype(np.float64))
- sys_tynatom = np.reshape(sys_tynatom, [nsys,-1])
- sys_tynatom = sys_tynatom[:,2:]
- if len(self.atom_ener) > 0:
- # Atomic energies stats are incorrect if atomic energies are assigned.
- # In this situation, we directly use these assigned energies instead of computing stats.
- # This will make the loss decrease quickly
- assigned_atom_ener = np.array(list((ee for ee in self.atom_ener_v if ee is not None)))
- assigned_ener_idx = list((ii for ii, ee in enumerate(self.atom_ener_v) if ee is not None))
- # np.dot out size: nframe
- sys_ener -= np.dot(sys_tynatom[:, assigned_ener_idx], assigned_atom_ener)
- sys_tynatom[:, assigned_ener_idx] = 0.
- energy_shift,resd,rank,s_value \
- = np.linalg.lstsq(sys_tynatom, sys_ener, rcond = rcond)
- if len(self.atom_ener) > 0:
- for ii in assigned_ener_idx:
- energy_shift[ii] = self.atom_ener_v[ii]
- return energy_shift
-
- def compute_input_stats(self,
- all_stat : dict,
- protection : float = 1e-2) -> None:
- """
- Compute the input statistics
-
- Parameters
- ----------
- all_stat
- if numb_fparam > 0 must have all_stat['fparam']
- if numb_aparam > 0 must have all_stat['aparam']
- can be prepared by model.make_stat_input
- protection
- Divided-by-zero protection
- """
- # stat fparam
- if self.numb_fparam > 0:
- cat_data = np.concatenate(all_stat['fparam'], axis = 0)
- cat_data = np.reshape(cat_data, [-1, self.numb_fparam])
- self.fparam_avg = np.average(cat_data, axis = 0)
- self.fparam_std = np.std(cat_data, axis = 0)
- for ii in range(self.fparam_std.size):
- if self.fparam_std[ii] < protection:
- self.fparam_std[ii] = protection
- self.fparam_inv_std = 1./self.fparam_std
- # stat aparam
- if self.numb_aparam > 0:
- sys_sumv = []
- sys_sumv2 = []
- sys_sumn = []
- for ss_ in all_stat['aparam'] :
- ss = np.reshape(ss_, [-1, self.numb_aparam])
- sys_sumv.append(np.sum(ss, axis = 0))
- sys_sumv2.append(np.sum(np.multiply(ss, ss), axis = 0))
- sys_sumn.append(ss.shape[0])
- sumv = np.sum(sys_sumv, axis = 0)
- sumv2 = np.sum(sys_sumv2, axis = 0)
- sumn = np.sum(sys_sumn)
- self.aparam_avg = (sumv)/sumn
- self.aparam_std = self._compute_std(sumv2, sumv, sumn)
- for ii in range(self.aparam_std.size):
- if self.aparam_std[ii] < protection:
- self.aparam_std[ii] = protection
- self.aparam_inv_std = 1./self.aparam_std
-
-
- def _compute_std (self, sumv2, sumv, sumn) :
- return np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
-
- def _build_lower(
- self,
- start_index,
- natoms,
- inputs,
- fparam = None,
- aparam = None,
- bias_atom_e = 0.0,
- suffix = '',
- reuse = None
- ):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms, -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- layer = inputs_i
- if fparam is not None:
- ext_fparam = tf.tile(fparam, [1, natoms])
- ext_fparam = tf.reshape(ext_fparam, [-1, self.numb_fparam])
- ext_fparam = tf.cast(ext_fparam,self.fitting_precision)
- layer = tf.concat([layer, ext_fparam], axis = 1)
- if aparam is not None:
- ext_aparam = tf.slice(aparam,
- [ 0, start_index * self.numb_aparam],
- [-1, natoms * self.numb_aparam])
- ext_aparam = tf.reshape(ext_aparam, [-1, self.numb_aparam])
- ext_aparam = tf.cast(ext_aparam,self.fitting_precision)
- layer = tf.concat([layer, ext_aparam], axis = 1)
-
- if nvnmd_cfg.enable:
- one_layer = one_layer_nvnmd
- else:
- one_layer = one_layer_deepmd
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] and (not nvnmd_cfg.enable):
- layer+= one_layer(
- layer,
- self.n_neuron[ii],
- name='layer_'+str(ii)+suffix,
- reuse=reuse,
- seed = self.seed,
- use_timestep = self.resnet_dt,
- activation_fn = self.fitting_activation_fn,
- precision = self.fitting_precision,
- trainable = self.trainable[ii],
- uniform_seed = self.uniform_seed,
- initial_variables = self.fitting_net_variables,
- mixed_prec = self.mixed_prec)
- else :
- layer = one_layer(
- layer,
- self.n_neuron[ii],
- name='layer_'+str(ii)+suffix,
- reuse=reuse,
- seed = self.seed,
- activation_fn = self.fitting_activation_fn,
- precision = self.fitting_precision,
- trainable = self.trainable[ii],
- uniform_seed = self.uniform_seed,
- initial_variables = self.fitting_net_variables,
- mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- final_layer = one_layer(
- layer,
- 1,
- activation_fn = None,
- bavg = bias_atom_e,
- name='final_layer'+suffix,
- reuse=reuse,
- seed = self.seed,
- precision = self.fitting_precision,
- trainable = self.trainable[-1],
- uniform_seed = self.uniform_seed,
- initial_variables = self.fitting_net_variables,
- mixed_prec = self.mixed_prec,
- final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
-
- return final_layer
-
-
- @cast_precision
- def build (self,
- inputs : tf.Tensor,
- natoms : tf.Tensor,
- input_dict : dict = None,
- reuse : bool = None,
- suffix : str = '',
- ) -> tf.Tensor:
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- inputs
- The input descriptor
- input_dict
- Additional dict for inputs.
- if numb_fparam > 0, should have input_dict['fparam']
- if numb_aparam > 0, should have input_dict['aparam']
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- ener
- The system energy
- """
- if input_dict is None:
- input_dict = {}
- bias_atom_e = self.bias_atom_e
- type_embedding = input_dict.get('type_embedding', None)
- atype = input_dict.get('atype', None)
- if self.numb_fparam > 0:
- if self.fparam_avg is None:
- self.fparam_avg = 0.
- if self.fparam_inv_std is None:
- self.fparam_inv_std = 1.
- if self.numb_aparam > 0:
- if self.aparam_avg is None:
- self.aparam_avg = 0.
- if self.aparam_inv_std is None:
- self.aparam_inv_std = 1.
-
- with tf.variable_scope('fitting_attr' + suffix, reuse = reuse) :
- t_dfparam = tf.constant(self.numb_fparam,
- name = 'dfparam',
- dtype = tf.int32)
- t_daparam = tf.constant(self.numb_aparam,
- name = 'daparam',
- dtype = tf.int32)
- if type_embedding is not None:
- self.t_bias_atom_e = tf.get_variable('t_bias_atom_e',
- self.bias_atom_e.shape,
- dtype=self.fitting_precision,
- trainable=False,
- initializer=tf.constant_initializer(self.bias_atom_e))
- if self.numb_fparam > 0:
- t_fparam_avg = tf.get_variable('t_fparam_avg',
- self.numb_fparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.fparam_avg))
- t_fparam_istd = tf.get_variable('t_fparam_istd',
- self.numb_fparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.fparam_inv_std))
- if self.numb_aparam > 0:
- t_aparam_avg = tf.get_variable('t_aparam_avg',
- self.numb_aparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.aparam_avg))
- t_aparam_istd = tf.get_variable('t_aparam_istd',
- self.numb_aparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.aparam_inv_std))
-
- inputs = tf.reshape(inputs, [-1, natoms[0], self.dim_descrpt])
- if len(self.atom_ener):
- # only for atom_ener
- nframes = input_dict.get('nframes')
- if nframes is not None:
- # like inputs, but we don't want to add a dependency on inputs
- inputs_zero = tf.zeros((nframes, natoms[0], self.dim_descrpt), dtype=self.fitting_precision)
- else:
- inputs_zero = tf.zeros_like(inputs, dtype=self.fitting_precision)
-
-
- if bias_atom_e is not None :
- assert(len(bias_atom_e) == self.ntypes)
-
- fparam = None
- aparam = None
- if self.numb_fparam > 0 :
- fparam = input_dict['fparam']
- fparam = tf.reshape(fparam, [-1, self.numb_fparam])
- fparam = (fparam - t_fparam_avg) * t_fparam_istd
- if self.numb_aparam > 0 :
- aparam = input_dict['aparam']
- aparam = tf.reshape(aparam, [-1, self.numb_aparam])
- aparam = (aparam - t_aparam_avg) * t_aparam_istd
- aparam = tf.reshape(aparam, [-1, self.numb_aparam * natoms[0]])
-
- if type_embedding is not None:
- atype_nall = tf.reshape(atype, [-1, natoms[1]])
- self.atype_nloc = tf.reshape(tf.slice(atype_nall, [0, 0], [-1, natoms[0]]), [-1]) ## lammps will make error
- atype_embed = tf.nn.embedding_lookup(type_embedding, self.atype_nloc)
- else:
- atype_embed = None
-
- self.atype_embed = atype_embed
-
- if atype_embed is None:
- start_index = 0
- outs_list = []
- for type_i in range(self.ntypes):
- if bias_atom_e is None :
- type_bias_ae = 0.0
- else :
- type_bias_ae = bias_atom_e[type_i]
- final_layer = self._build_lower(
- start_index, natoms[2+type_i],
- inputs, fparam, aparam,
- bias_atom_e=type_bias_ae, suffix='_type_'+str(type_i)+suffix, reuse=reuse
- )
- # concat the results
- if type_i < len(self.atom_ener) and self.atom_ener[type_i] is not None:
- zero_layer = self._build_lower(
- start_index, natoms[2+type_i],
- inputs_zero, fparam, aparam,
- bias_atom_e=type_bias_ae, suffix='_type_'+str(type_i)+suffix, reuse=True
- )
- final_layer += self.atom_ener[type_i] - zero_layer
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i]])
- outs_list.append(final_layer)
- start_index += natoms[2+type_i]
- # concat the results
- # concat once may be faster than multiple concat
- outs = tf.concat(outs_list, axis = 1)
- # with type embedding
- else:
- if len(self.atom_ener) > 0:
- raise RuntimeError("setting atom_ener is not supported by type embedding")
- atype_embed = tf.cast(atype_embed, self.fitting_precision)
- type_shape = atype_embed.get_shape().as_list()
- inputs = tf.concat(
- [tf.reshape(inputs,[-1,self.dim_descrpt]),atype_embed],
- axis=1
- )
- self.dim_descrpt = self.dim_descrpt + type_shape[1]
- inputs = tf.reshape(inputs, [-1, natoms[0], self.dim_descrpt])
- final_layer = self._build_lower(
- 0, natoms[0],
- inputs, fparam, aparam,
- bias_atom_e=0.0, suffix=suffix, reuse=reuse
- )
- outs = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[0]])
- # add bias
- self.atom_ener_before = outs
- self.add_type = tf.reshape(tf.nn.embedding_lookup(self.t_bias_atom_e, self.atype_nloc), [tf.shape(inputs)[0], natoms[0]])
- outs = outs + self.add_type
- self.atom_ener_after = outs
-
- if self.tot_ener_zero:
- force_tot_ener = 0.0
- outs = tf.reshape(outs, [-1, natoms[0]])
- outs_mean = tf.reshape(tf.reduce_mean(outs, axis = 1), [-1, 1])
- outs_mean = outs_mean - tf.ones_like(outs_mean, dtype = GLOBAL_TF_FLOAT_PRECISION) * (force_tot_ener/global_cvt_2_tf_float(natoms[0]))
- outs = outs - outs_mean
- outs = tf.reshape(outs, [-1])
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
-
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.fitting_net_variables = get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
- if self.numb_fparam > 0:
- self.fparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_avg' % suffix)
- self.fparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_istd' % suffix)
- if self.numb_aparam > 0:
- self.aparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_avg' % suffix)
- self.aparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_istd' % suffix)
- try:
- self.bias_atom_e = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_bias_atom_e' % suffix)
- except GraphWithoutTensorError:
- # model without type_embedding has no t_bias_atom_e
- pass
-
- def enable_compression(self,
- model_file: str,
- suffix: str = ""
- ) -> None:
- """
- Set the fitting net attributes from the frozen model_file when fparam or aparam is not zero
-
- Parameters
- ----------
- model_file : str
- The input frozen model file
- suffix : str, optional
- The suffix of the scope
- """
- if self.numb_fparam > 0 or self.numb_aparam > 0:
- graph, _ = load_graph_def(model_file)
- if self.numb_fparam > 0:
- self.fparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_avg' % suffix)
- self.fparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_istd' % suffix)
- if self.numb_aparam > 0:
- self.aparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_avg' % suffix)
- self.aparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_istd' % suffix)
-
-
- def enable_mixed_precision(self, mixed_prec: dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.fitting_precision = get_precision(mixed_prec['output_prec'])
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/fitting.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/fitting.py
deleted file mode 100644
index aa11f05b73c918b2d0aa5d13249061335cf0f688..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/fitting.py
+++ /dev/null
@@ -1,32 +0,0 @@
-from deepmd.env import tf
-from deepmd.utils import Plugin, PluginVariant
-
-class Fitting:
- @property
- def precision(self) -> tf.DType:
- """Precision of fitting network."""
- return self.fitting_precision
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
-
- Notes
- -----
- This method is called by others when the fitting supported initialization from the given variables.
- """
- raise NotImplementedError(
- "Fitting %s doesn't support initialization from the given variables!" % type(self).__name__)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/polar.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/polar.py
deleted file mode 100644
index e8bdb8b785bbaf95630f6e036796e6da440e35d6..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/polar.py
+++ /dev/null
@@ -1,545 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement, cast_precision, get_activation_func, get_precision
-from deepmd.utils.network import one_layer, one_layer_rand_seed_shift
-from deepmd.utils.graph import get_fitting_net_variables_from_graph_def
-from deepmd.descriptor import DescrptLocFrame
-from deepmd.descriptor import DescrptSeA
-from deepmd.fit.fitting import Fitting
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-
-
-class PolarFittingLocFrame () :
- """
- Fitting polarizability with local frame descriptor.
-
- .. deprecated:: 2.0.0
- This class is not supported any more.
- """
- def __init__ (self, jdata, descrpt) :
- if not isinstance(descrpt, DescrptLocFrame) :
- raise RuntimeError('PolarFittingLocFrame only supports DescrptLocFrame')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- args = ClassArg()\
- .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- .add('resnet_dt', bool, default = True)\
- .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'pol_type')\
- .add('seed', int)\
- .add("activation_function", str, default = "tanh")\
- .add('precision', str, default = "default")
- class_data = args.parse(jdata)
- self.n_neuron = class_data['neuron']
- self.resnet_dt = class_data['resnet_dt']
- self.sel_type = class_data['sel_type']
- self.seed = class_data['seed']
- self.fitting_activation_fn = get_activation_func(class_data["activation_function"])
- self.fitting_precision = get_precision(class_data['precision'])
- self.useBN = False
-
- def get_sel_type(self):
- return self.sel_type
-
- def get_out_size(self):
- return 9
-
- def build (self,
- input_d,
- rot_mat,
- natoms,
- reuse = None,
- suffix = '') :
- start_index = 0
- inputs = tf.cast(tf.reshape(input_d, [-1, natoms[0], self.dim_descrpt]), self.fitting_precision)
- rot_mat = tf.reshape(rot_mat, [-1, 9 * natoms[0]])
-
- count = 0
- outs_list = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index* 9],
- [-1, natoms[2+type_i]* 9] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, 3, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision)
- # (nframes x natoms) x 9
- final_layer = one_layer(layer, 9, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, precision = self.fitting_precision, final_layer = True)
- # (nframes x natoms) x 3 x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], 3, 3])
- # (nframes x natoms) x 3 x 3
- final_layer = final_layer + tf.transpose(final_layer, perm = [0,2,1])
- # (nframes x natoms) x 3 x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # (nframes x natoms) x 3(coord) x 3(coord)
- final_layer = tf.matmul(rot_mat_i, final_layer, transpose_a = True)
- # nframes x natoms x 3 x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], 3, 3])
-
- # concat the results
- outs_list.append(final_layer)
- count += 1
- outs = tf.concat(outs_list, axis = 1)
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.cast(tf.reshape(outs, [-1]), GLOBAL_TF_FLOAT_PRECISION)
-
-
-class PolarFittingSeA (Fitting) :
- """
- Fit the atomic polarizability with descriptor se_a
-
- Parameters
- ----------
- descrpt : tf.Tensor
- The descrptor
- neuron : List[int]
- Number of neurons in each hidden layer of the fitting net
- resnet_dt : bool
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- sel_type : List[int]
- The atom types selected to have an atomic polarizability prediction. If is None, all atoms are selected.
- fit_diag : bool
- Fit the diagonal part of the rotational invariant polarizability matrix, which will be converted to normal polarizability matrix by contracting with the rotation matrix.
- scale : List[float]
- The output of the fitting net (polarizability matrix) for type i atom will be scaled by scale[i]
- diag_shift : List[float]
- The diagonal part of the polarizability matrix of type i will be shifted by diag_shift[i]. The shift operation is carried out after scale.
- seed : int
- Random seed for initializing the network parameters.
- activation_function : str
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision : str
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- sel_type : List[int] = None,
- fit_diag : bool = True,
- scale : List[float] = None,
- shift_diag : bool = True, # YWolfeee: will support the user to decide whether to use this function
- #diag_shift : List[float] = None, YWolfeee: will not support the user to assign a shift
- seed : int = None,
- activation_function : str = 'tanh',
- precision : str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- if not isinstance(descrpt, DescrptSeA) :
- raise RuntimeError('PolarFittingSeA only supports DescrptSeA')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- # args = ClassArg()\
- # .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- # .add('resnet_dt', bool, default = True)\
- # .add('fit_diag', bool, default = True)\
- # .add('diag_shift', [list,float], default = [0.0 for ii in range(self.ntypes)])\
- # .add('scale', [list,float], default = [1.0 for ii in range(self.ntypes)])\
- # .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'pol_type')\
- # .add('seed', int)\
- # .add("activation_function", str , default = "tanh")\
- # .add('precision', str, default = "default")
- # class_data = args.parse(jdata)
- self.n_neuron = neuron
- self.resnet_dt = resnet_dt
- self.sel_type = sel_type
- self.fit_diag = fit_diag
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = one_layer_rand_seed_shift()
- #self.diag_shift = diag_shift
- self.shift_diag = shift_diag
- self.scale = scale
- self.fitting_activation_fn = get_activation_func(activation_function)
- self.fitting_precision = get_precision(precision)
- if self.sel_type is None:
- self.sel_type = [ii for ii in range(self.ntypes)]
- if self.scale is None:
- self.scale = [1.0 for ii in range(self.ntypes)]
- #if self.diag_shift is None:
- # self.diag_shift = [0.0 for ii in range(self.ntypes)]
- if type(self.sel_type) is not list:
- self.sel_type = [self.sel_type]
- self.constant_matrix = np.zeros(len(self.sel_type)) # len(sel_type) x 1, store the average diagonal value
- #if type(self.diag_shift) is not list:
- # self.diag_shift = [self.diag_shift]
- if type(self.scale) is not list:
- self.scale = [self.scale]
- self.dim_rot_mat_1 = descrpt.get_dim_rot_mat_1()
- self.dim_rot_mat = self.dim_rot_mat_1 * 3
- self.useBN = False
- self.fitting_net_variables = None
- self.mixed_prec = None
-
- def get_sel_type(self) -> List[int]:
- """
- Get selected atom types
- """
- return self.sel_type
-
- def get_out_size(self) -> int:
- """
- Get the output size. Should be 9
- """
- return 9
-
- def compute_input_stats(self,
- all_stat,
- protection = 1e-2):
- """
- Compute the input statistics
-
- Parameters
- ----------
- all_stat
- Dictionary of inputs.
- can be prepared by model.make_stat_input
- protection
- Divided-by-zero protection
- """
- if not ('polarizability' in all_stat.keys()):
- self.avgeig = np.zeros([9])
- warnings.warn('no polarizability data, cannot do data stat. use zeros as guess')
- return
- data = all_stat['polarizability']
- all_tmp = []
- for ss in range(len(data)):
- tmp = np.concatenate(data[ss], axis = 0)
- tmp = np.reshape(tmp, [-1, 3, 3])
- tmp,_ = np.linalg.eig(tmp)
- tmp = np.absolute(tmp)
- tmp = np.sort(tmp, axis = 1)
- all_tmp.append(tmp)
- all_tmp = np.concatenate(all_tmp, axis = 1)
- self.avgeig = np.average(all_tmp, axis = 0)
-
- # YWolfeee: support polar normalization, initialize to a more appropriate point
- if self.shift_diag:
- mean_polar = np.zeros([len(self.sel_type), 9])
- sys_matrix, polar_bias = [], []
- for ss in range(len(all_stat['type'])):
- atom_has_polar = [w for w in all_stat['type'][ss][0] if (w in self.sel_type)] # select atom with polar
- if all_stat['find_atomic_polarizability'][ss] > 0.0:
- for itype in range(len(self.sel_type)): # Atomic polar mode, should specify the atoms
- index_lis = [index for index, w in enumerate(atom_has_polar) \
- if atom_has_polar[index] == self.sel_type[itype]] # select index in this type
-
- sys_matrix.append(np.zeros((1,len(self.sel_type))))
- sys_matrix[-1][0,itype] = len(index_lis)
-
- polar_bias.append(np.sum(
- all_stat['atomic_polarizability'][ss].reshape((-1,9))[index_lis],axis=0).reshape((1,9)))
- else: # No atomic polar in this system, so it should have global polar
- if not all_stat['find_polarizability'][ss] > 0.0: # This system is jsut a joke?
- continue
- # Till here, we have global polar
- sys_matrix.append(np.zeros((1,len(self.sel_type)))) # add a line in the equations
- for itype in range(len(self.sel_type)): # Atomic polar mode, should specify the atoms
- index_lis = [index for index, w in enumerate(atom_has_polar) \
- if atom_has_polar[index] == self.sel_type[itype]] # select index in this type
-
- sys_matrix[-1][0,itype] = len(index_lis)
-
- # add polar_bias
- polar_bias.append(all_stat['polarizability'][ss].reshape((1,9)))
-
- matrix, bias = np.concatenate(sys_matrix,axis=0), np.concatenate(polar_bias,axis=0)
- atom_polar,_,_,_ \
- = np.linalg.lstsq(matrix, bias, rcond = 1e-3)
- for itype in range(len(self.sel_type)):
- self.constant_matrix[itype] = np.mean(np.diagonal(atom_polar[itype].reshape((3,3))))
-
- @cast_precision
- def build (self,
- input_d : tf.Tensor,
- rot_mat : tf.Tensor,
- natoms : tf.Tensor,
- reuse : bool = None,
- suffix : str = '') :
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- input_d
- The input descriptor
- rot_mat
- The rotation matrix from the descriptor.
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- atomic_polar
- The atomic polarizability
- """
- start_index = 0
- inputs = tf.reshape(input_d, [-1, self.dim_descrpt * natoms[0]])
- rot_mat = tf.reshape(rot_mat, [-1, self.dim_rot_mat * natoms[0]])
-
- count = 0
- outs_list = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index* self.dim_descrpt],
- [-1, natoms[2+type_i]* self.dim_descrpt] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index* self.dim_rot_mat],
- [-1, natoms[2+type_i]* self.dim_rot_mat] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, self.dim_rot_mat_1, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- if self.fit_diag :
- bavg = np.zeros(self.dim_rot_mat_1)
- # bavg[0] = self.avgeig[0]
- # bavg[1] = self.avgeig[1]
- # bavg[2] = self.avgeig[2]
- # (nframes x natoms) x naxis
- final_layer = one_layer(layer, self.dim_rot_mat_1, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, bavg = bavg, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec, final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x naxis
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], self.dim_rot_mat_1])
- # (nframes x natoms) x naxis x naxis
- final_layer = tf.matrix_diag(final_layer)
- else :
- bavg = np.zeros(self.dim_rot_mat_1*self.dim_rot_mat_1)
- # bavg[0*self.dim_rot_mat_1+0] = self.avgeig[0]
- # bavg[1*self.dim_rot_mat_1+1] = self.avgeig[1]
- # bavg[2*self.dim_rot_mat_1+2] = self.avgeig[2]
- # (nframes x natoms) x (naxis x naxis)
- final_layer = one_layer(layer, self.dim_rot_mat_1*self.dim_rot_mat_1, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, bavg = bavg, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec, final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x naxis x naxis
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], self.dim_rot_mat_1, self.dim_rot_mat_1])
- # (nframes x natoms) x naxis x naxis
- final_layer = final_layer + tf.transpose(final_layer, perm = [0,2,1])
- # (nframes x natoms) x naxis x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # (nframes x natoms) x 3(coord) x 3(coord)
- final_layer = tf.matmul(rot_mat_i, final_layer, transpose_a = True)
- # nframes x natoms x 3 x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], 3, 3])
- # shift and scale
- sel_type_idx = self.sel_type.index(type_i)
- final_layer = final_layer * self.scale[sel_type_idx]
- final_layer = final_layer + self.constant_matrix[sel_type_idx] * tf.eye(3, batch_shape=[tf.shape(inputs)[0], natoms[2+type_i]], dtype = GLOBAL_TF_FLOAT_PRECISION)
-
- # concat the results
- outs_list.append(final_layer)
- count += 1
- outs = tf.concat(outs_list, axis = 1)
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.fitting_net_variables = get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.fitting_precision = get_precision(mixed_prec['output_prec'])
-
-
-class GlobalPolarFittingSeA () :
- """
- Fit the system polarizability with descriptor se_a
-
- Parameters
- ----------
- descrpt : tf.Tensor
- The descrptor
- neuron : List[int]
- Number of neurons in each hidden layer of the fitting net
- resnet_dt : bool
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- sel_type : List[int]
- The atom types selected to have an atomic polarizability prediction
- fit_diag : bool
- Fit the diagonal part of the rotational invariant polarizability matrix, which will be converted to normal polarizability matrix by contracting with the rotation matrix.
- scale : List[float]
- The output of the fitting net (polarizability matrix) for type i atom will be scaled by scale[i]
- diag_shift : List[float]
- The diagonal part of the polarizability matrix of type i will be shifted by diag_shift[i]. The shift operation is carried out after scale.
- seed : int
- Random seed for initializing the network parameters.
- activation_function : str
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision : str
- The precision of the embedding net parameters. Supported options are |PRECISION|
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- sel_type : List[int] = None,
- fit_diag : bool = True,
- scale : List[float] = None,
- diag_shift : List[float] = None,
- seed : int = None,
- activation_function : str = 'tanh',
- precision : str = 'default'
- ) -> None:
- """
- Constructor
- """
- if not isinstance(descrpt, DescrptSeA) :
- raise RuntimeError('GlobalPolarFittingSeA only supports DescrptSeA')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- self.polar_fitting = PolarFittingSeA(descrpt,
- neuron,
- resnet_dt,
- sel_type,
- fit_diag,
- scale,
- diag_shift,
- seed,
- activation_function,
- precision)
-
- def get_sel_type(self) -> int:
- """
- Get selected atom types
- """
- return self.polar_fitting.get_sel_type()
-
- def get_out_size(self) -> int:
- """
- Get the output size. Should be 9
- """
- return self.polar_fitting.get_out_size()
-
- def build (self,
- input_d,
- rot_mat,
- natoms,
- reuse = None,
- suffix = '') -> tf.Tensor:
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- input_d
- The input descriptor
- rot_mat
- The rotation matrix from the descriptor.
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- polar
- The system polarizability
- """
- inputs = tf.reshape(input_d, [-1, self.dim_descrpt * natoms[0]])
- outs = self.polar_fitting.build(input_d, rot_mat, natoms, reuse, suffix)
- # nframes x natoms x 9
- outs = tf.reshape(outs, [tf.shape(inputs)[0], -1, 9])
- outs = tf.reduce_sum(outs, axis = 1)
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.polar_fitting.init_variables(graph=graph, graph_def=graph_def, suffix=suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.polar_fitting.enable_mixed_precision(mixed_prec)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/wfc.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/wfc.py
deleted file mode 100644
index 7561e635703cee10d4844c0bbc914c71106decce..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/fit/wfc.py
+++ /dev/null
@@ -1,105 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg, add_data_requirement, get_activation_func, get_precision
-from deepmd.utils.network import one_layer, one_layer_rand_seed_shift
-from deepmd.descriptor import DescrptLocFrame
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-
-class WFCFitting () :
- """
- Fitting Wannier function centers (WFCs) with local frame descriptor.
-
- .. deprecated:: 2.0.0
- This class is not supported any more.
- """
- def __init__ (self, jdata, descrpt):
- if not isinstance(descrpt, DescrptLocFrame) :
- raise RuntimeError('WFC only supports DescrptLocFrame')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- args = ClassArg()\
- .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- .add('resnet_dt', bool, default = True)\
- .add('wfc_numb', int, must = True)\
- .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'wfc_type')\
- .add('seed', int)\
- .add("activation_function", str, default = "tanh")\
- .add('precision', str, default = "default")\
- .add('uniform_seed', bool, default = False)
- class_data = args.parse(jdata)
- self.n_neuron = class_data['neuron']
- self.resnet_dt = class_data['resnet_dt']
- self.wfc_numb = class_data['wfc_numb']
- self.sel_type = class_data['sel_type']
- self.seed = class_data['seed']
- self.uniform_seed = class_data['uniform_seed']
- self.seed_shift = one_layer_rand_seed_shift()
- self.fitting_activation_fn = get_activation_func(class_data["activation_function"])
- self.fitting_precision = get_precision(class_data['precision'])
- self.useBN = False
-
-
- def get_sel_type(self):
- return self.sel_type
-
- def get_wfc_numb(self):
- return self.wfc_numb
-
- def get_out_size(self):
- return self.wfc_numb * 3
-
- def build (self,
- input_d,
- rot_mat,
- natoms,
- reuse = None,
- suffix = '') :
- start_index = 0
- inputs = tf.cast(tf.reshape(input_d, [-1, self.dim_descrpt * natoms[0]]), self.fitting_precision)
- rot_mat = tf.reshape(rot_mat, [-1, 9 * natoms[0]])
-
- count = 0
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index* self.dim_descrpt],
- [-1, natoms[2+type_i]* self.dim_descrpt] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index* 9],
- [-1, natoms[2+type_i]* 9] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, 3, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x (nwfc x 3)
- final_layer = one_layer(layer, self.wfc_numb * 3, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, precision = self.fitting_precision, uniform_seed = self.uniform_seed)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x nwfc(wc) x 3(coord_local)
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], self.wfc_numb, 3])
- # (nframes x natoms) x nwfc(wc) x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # nframes x natoms x nwfc(wc) x 3(coord_local)
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], self.wfc_numb, 3])
-
- # concat the results
- if count == 0:
- outs = final_layer
- else:
- outs = tf.concat([outs, final_layer], axis = 1)
- count += 1
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.cast(tf.reshape(outs, [-1]), GLOBAL_TF_FLOAT_PRECISION)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/__init__.py
deleted file mode 100644
index 1d6fcec4dc00ee9a721a6d0524fb47fb5ec63f81..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/__init__.py
+++ /dev/null
@@ -1,76 +0,0 @@
-"""Submodule containing all the implemented potentials."""
-
-from pathlib import Path
-from typing import Union
-
-from .data_modifier import DipoleChargeModifier
-from .deep_dipole import DeepDipole
-from .deep_eval import DeepEval
-from .deep_polar import DeepGlobalPolar, DeepPolar
-from .deep_pot import DeepPot
-from .deep_wfc import DeepWFC
-from .ewald_recp import EwaldRecp
-from .model_devi import calc_model_devi
-
-__all__ = [
- "DeepPotential",
- "DeepDipole",
- "DeepEval",
- "DeepGlobalPolar",
- "DeepPolar",
- "DeepPot",
- "DeepWFC",
- "DipoleChargeModifier",
- "EwaldRecp",
- "calc_model_devi"
-]
-
-
-def DeepPotential(
- model_file: Union[str, Path],
- load_prefix: str = "load",
- default_tf_graph: bool = False,
-) -> Union[DeepDipole, DeepGlobalPolar, DeepPolar, DeepPot, DeepWFC]:
- """Factory function that will inialize appropriate potential read from `model_file`.
-
- Parameters
- ----------
- model_file: str
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Returns
- -------
- Union[DeepDipole, DeepGlobalPolar, DeepPolar, DeepPot, DeepWFC]
- one of the available potentials
-
- Raises
- ------
- RuntimeError
- if model file does not correspond to any implementd potential
- """
- mf = Path(model_file)
-
- model_type = DeepEval(
- mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph
- ).model_type
-
- if model_type == "ener":
- dp = DeepPot(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- elif model_type == "dipole":
- dp = DeepDipole(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- elif model_type == "polar":
- dp = DeepPolar(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- elif model_type == "global_polar":
- dp = DeepGlobalPolar(
- mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph
- )
- elif model_type == "wfc":
- dp = DeepWFC(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- else:
- raise RuntimeError(f"unknow model type {model_type}")
-
- return dp
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/data_modifier.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/data_modifier.py
deleted file mode 100644
index 69b91dfd9d978b6f504814ab8d7ac2579376dcdb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/data_modifier.py
+++ /dev/null
@@ -1,408 +0,0 @@
-import os
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.infer.deep_dipole import DeepDipole
-from deepmd.infer.ewald_recp import EwaldRecp
-from deepmd.env import tf
-from deepmd.common import select_idx_map, make_default_mesh
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.env import op_module
-from deepmd.utils.sess import run_sess
-
-
-class DipoleChargeModifier(DeepDipole):
- """
-
- Parameters
- ----------
- model_name
- The model file for the DeepDipole model
- model_charge_map
- Gives the amount of charge for the wfcc
- sys_charge_map
- Gives the amount of charge for the real atoms
- ewald_h
- Grid spacing of the reciprocal part of Ewald sum. Unit: A
- ewald_beta
- Splitting parameter of the Ewald sum. Unit: A^{-1}
- """
- def __init__(self,
- model_name : str,
- model_charge_map : List[float],
- sys_charge_map : List[float],
- ewald_h : float = 1,
- ewald_beta : float = 1
- ) -> None:
- """
- Constructor
- """
- # the dipole model is loaded with prefix 'dipole_charge'
- self.modifier_prefix = 'dipole_charge'
- # init dipole model
- DeepDipole.__init__(self,
- model_name,
- load_prefix = self.modifier_prefix,
- default_tf_graph = True)
- self.model_name = model_name
- self.model_charge_map = model_charge_map
- self.sys_charge_map = sys_charge_map
- self.sel_type = list(self.get_sel_type())
- # init ewald recp
- self.ewald_h = ewald_h
- self.ewald_beta = ewald_beta
- self.er = EwaldRecp(self.ewald_h, self.ewald_beta)
- # dimension of dipole
- self.ext_dim = 3
- self.t_ndesc = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'descrpt_attr/ndescrpt:0'))
- self.t_sela = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'descrpt_attr/sel:0'))
- [self.ndescrpt, self.sel_a] = run_sess(self.sess, [self.t_ndesc, self.t_sela])
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- assert(self.ndescrpt == self.ndescrpt_a + self.ndescrpt_r)
- self.force = None
- self.ntypes = len(self.sel_a)
-
-
- def build_fv_graph(self) -> tf.Tensor:
- """
- Build the computational graph for the force and virial inference.
- """
- with tf.variable_scope('modifier_attr') :
- t_mdl_name = tf.constant(self.model_name,
- name = 'mdl_name',
- dtype = tf.string)
- t_modi_type = tf.constant(self.modifier_prefix,
- name = 'type',
- dtype = tf.string)
- t_mdl_charge_map = tf.constant(' '.join([str(ii) for ii in self.model_charge_map]),
- name = 'mdl_charge_map',
- dtype = tf.string)
- t_sys_charge_map = tf.constant(' '.join([str(ii) for ii in self.sys_charge_map]),
- name = 'sys_charge_map',
- dtype = tf.string)
- t_ewald_h = tf.constant(self.ewald_h,
- name = 'ewald_h',
- dtype = tf.float64)
- t_ewald_b = tf.constant(self.ewald_beta,
- name = 'ewald_beta',
- dtype = tf.float64)
- with self.graph.as_default():
- return self._build_fv_graph_inner()
-
-
- def _build_fv_graph_inner(self):
- self.t_ef = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name = 't_ef')
- nf = 10
- nfxnas = 64*nf
- nfxna = 192*nf
- nf = -1
- nfxnas = -1
- nfxna = -1
- self.t_box_reshape = tf.reshape(self.t_box, [-1, 9])
- t_nframes = tf.shape(self.t_box_reshape)[0]
-
- # (nframes x natoms) x ndescrpt
- self.descrpt = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_rmat:0'))
- self.descrpt_deriv = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_rmat_deriv:0'))
- self.nlist = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_nlist:0'))
- self.rij = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_rij:0'))
- # self.descrpt_reshape = tf.reshape(self.descrpt, [nf, 192 * self.ndescrpt])
- # self.descrpt_deriv = tf.reshape(self.descrpt_deriv, [nf, 192 * self.ndescrpt * 3])
-
- # nframes x (natoms_sel x 3)
- self.t_ef_reshape = tf.reshape(self.t_ef, [t_nframes, -1])
- # nframes x (natoms x 3)
- self.t_ef_reshape = self._enrich(self.t_ef_reshape, dof = 3)
- # (nframes x natoms) x 3
- self.t_ef_reshape = tf.reshape(self.t_ef_reshape, [nfxna, 3])
- # nframes x (natoms_sel x 3)
- self.t_tensor_reshape = tf.reshape(self.t_tensor, [t_nframes, -1])
- # nframes x (natoms x 3)
- self.t_tensor_reshape = self._enrich(self.t_tensor_reshape, dof = 3)
- # (nframes x natoms) x 3
- self.t_tensor_reshape = tf.reshape(self.t_tensor_reshape, [nfxna, 3])
- # (nframes x natoms) x ndescrpt
- [self.t_ef_d] = tf.gradients(self.t_tensor_reshape, self.descrpt, self.t_ef_reshape)
- # nframes x (natoms x ndescrpt)
- self.t_ef_d = tf.reshape(self.t_ef_d, [nf, self.t_natoms[0] * self.ndescrpt])
- # t_ef_d is force (with -1), prod_forc takes deriv, so we need the opposite
- self.t_ef_d_oppo = -self.t_ef_d
-
- force = op_module.prod_force_se_a(self.t_ef_d_oppo,
- self.descrpt_deriv,
- self.nlist,
- self.t_natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial_se_a (self.t_ef_d_oppo,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- self.t_natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- force = tf.identity(force, name='o_dm_force')
- virial = tf.identity(virial, name='o_dm_virial')
- atom_virial = tf.identity(atom_virial, name='o_dm_av')
- return force, virial, atom_virial
-
-
- def _enrich(self, dipole, dof = 3):
- coll = []
- sel_start_idx = 0
- for type_i in range(self.ntypes):
- if type_i in self.sel_type:
- di = tf.slice(dipole,
- [ 0, sel_start_idx * dof],
- [-1, self.t_natoms[2+type_i] * dof])
- sel_start_idx += self.t_natoms[2+type_i]
- else:
- di = tf.zeros([tf.shape(dipole)[0], self.t_natoms[2+type_i] * dof],
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- coll.append(di)
- return tf.concat(coll, axis = 1)
-
- def _slice_descrpt_deriv(self, deriv):
- coll = []
- start_idx = 0
- for type_i in range(self.ntypes):
- if type_i in self.sel_type:
- di = tf.slice(deriv,
- [ 0, start_idx * self.ndescrpt],
- [-1, self.t_natoms[2+type_i] * self.ndescrpt])
- coll.append(di)
- start_idx += self.t_natoms[2+type_i]
- return tf.concat(coll, axis = 1)
-
-
- def eval(self,
- coord : np.ndarray,
- box : np.ndarray,
- atype : np.ndarray,
- eval_fv : bool = True
- ) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
- """
- Evaluate the modification
-
- Parameters
- ----------
- coord
- The coordinates of atoms
- box
- The simulation region. PBC is assumed
- atype
- The atom types
- eval_fv
- Evaluate force and virial
-
- Returns
- -------
- tot_e
- The energy modification
- tot_f
- The force modification
- tot_v
- The virial modification
- """
- atype = np.array(atype, dtype=int)
- coord, atype, imap = self.sort_input(coord, atype)
- # natoms = coord.shape[1] // 3
- natoms = atype.size
- nframes = coord.shape[0]
- box = np.reshape(box, [nframes, 9])
- atype = np.reshape(atype, [natoms])
- sel_idx_map = select_idx_map(atype, self.sel_type)
- nsel = len(sel_idx_map)
- # setup charge
- charge = np.zeros([natoms])
- for ii in range(natoms):
- charge[ii] = self.sys_charge_map[atype[ii]]
- charge = np.tile(charge, [nframes, 1])
-
- # add wfcc
- all_coord, all_charge, dipole = self._extend_system(coord, box, atype, charge)
-
- # print('compute er')
- batch_size = 5
- tot_e = []
- all_f = []
- all_v = []
- for ii in range(0,nframes,batch_size):
- e,f,v = self.er.eval(all_coord[ii:ii+batch_size], all_charge[ii:ii+batch_size], box[ii:ii+batch_size])
- tot_e.append(e)
- all_f.append(f)
- all_v.append(v)
- tot_e = np.concatenate(tot_e, axis = 0)
- all_f = np.concatenate(all_f, axis = 0)
- all_v = np.concatenate(all_v, axis = 0)
- # print('finish er')
- # reshape
- tot_e.reshape([nframes,1])
-
- tot_f = None
- tot_v = None
- if self.force is None:
- self.force, self.virial, self.av = self.build_fv_graph()
- if eval_fv:
- # compute f
- ext_f = all_f[:,natoms*3:]
- corr_f = []
- corr_v = []
- corr_av = []
- for ii in range(0,nframes,batch_size):
- f, v, av = self._eval_fv(coord[ii:ii+batch_size], box[ii:ii+batch_size], atype, ext_f[ii:ii+batch_size])
- corr_f.append(f)
- corr_v.append(v)
- corr_av.append(av)
- corr_f = np.concatenate(corr_f, axis = 0)
- corr_v = np.concatenate(corr_v, axis = 0)
- corr_av = np.concatenate(corr_av, axis = 0)
- tot_f = all_f[:,:natoms*3] + corr_f
- for ii in range(nsel):
- orig_idx = sel_idx_map[ii]
- tot_f[:,orig_idx*3:orig_idx*3+3] += ext_f[:,ii*3:ii*3+3]
- tot_f = self.reverse_map(np.reshape(tot_f, [nframes,-1,3]), imap)
- # reshape
- tot_f = tot_f.reshape([nframes,natoms,3])
- # compute v
- dipole3 = np.reshape(dipole, [nframes, nsel, 3])
- ext_f3 = np.reshape(ext_f, [nframes, nsel, 3])
- ext_f3 = np.transpose(ext_f3, [0, 2, 1])
- # fd_corr_v = -np.matmul(ext_f3, dipole3).T.reshape([nframes, 9])
- # fd_corr_v = -np.matmul(ext_f3, dipole3)
- # fd_corr_v = np.transpose(fd_corr_v, [0, 2, 1]).reshape([nframes, 9])
- fd_corr_v = -np.matmul(ext_f3, dipole3).reshape([nframes, 9])
- # print(all_v, '\n', corr_v, '\n', fd_corr_v)
- tot_v = all_v + corr_v + fd_corr_v
- # reshape
- tot_v = tot_v.reshape([nframes,9])
-
- return tot_e, tot_f, tot_v
-
-
- def _eval_fv(self, coords, cells, atom_types, ext_f) :
- # reshape the inputs
- cells = np.reshape(cells, [-1, 9])
- nframes = cells.shape[0]
- coords = np.reshape(coords, [nframes, -1])
- natoms = coords.shape[1] // 3
-
- # sort inputs
- coords, atom_types, imap, sel_at, sel_imap = self.sort_input(coords, atom_types, sel_atoms = self.get_sel_type())
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
- default_mesh = make_default_mesh(cells)
-
- # evaluate
- tensor = []
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes, 1]).reshape([-1])
- feed_dict_test[self.t_coord ] = coords.reshape([-1])
- feed_dict_test[self.t_box ] = cells.reshape([-1])
- feed_dict_test[self.t_mesh ] = default_mesh.reshape([-1])
- feed_dict_test[self.t_ef ] = ext_f.reshape([-1])
- # print(run_sess(self.sess, tf.shape(self.t_tensor), feed_dict = feed_dict_test))
- fout, vout, avout \
- = run_sess(self.sess, [self.force, self.virial, self.av],
- feed_dict = feed_dict_test)
- # print('fout: ', fout.shape, fout)
- fout = self.reverse_map(np.reshape(fout, [nframes,-1,3]), imap)
- fout = np.reshape(fout, [nframes, -1])
- return fout, vout, avout
-
-
- def _extend_system(self, coord, box, atype, charge):
- natoms = coord.shape[1] // 3
- nframes = coord.shape[0]
- # sel atoms and setup ref coord
- sel_idx_map = select_idx_map(atype, self.sel_type)
- nsel = len(sel_idx_map)
- coord3 = coord.reshape([nframes, natoms, 3])
- ref_coord = coord3[:,sel_idx_map,:]
- ref_coord = np.reshape(ref_coord, [nframes, nsel * 3])
-
- batch_size = 8
- all_dipole = []
- for ii in range(0,nframes,batch_size):
- dipole = DeepDipole.eval(self,
- coord[ii:ii+batch_size],
- box[ii:ii+batch_size],
- atype)
- all_dipole.append(dipole)
- dipole = np.concatenate(all_dipole, axis = 0)
- assert(dipole.shape[0] == nframes)
- dipole = np.reshape(dipole, [nframes, nsel * 3])
-
- wfcc_coord = ref_coord + dipole
- # wfcc_coord = dipole
- wfcc_charge = np.zeros([nsel])
- for ii in range(nsel):
- orig_idx = self.sel_type.index(atype[sel_idx_map[ii]])
- wfcc_charge[ii] = self.model_charge_map[orig_idx]
- wfcc_charge = np.tile(wfcc_charge, [nframes, 1])
-
- wfcc_coord = np.reshape(wfcc_coord, [nframes, nsel * 3])
- wfcc_charge = np.reshape(wfcc_charge, [nframes, nsel])
-
- all_coord = np.concatenate((coord, wfcc_coord), axis = 1)
- all_charge = np.concatenate((charge, wfcc_charge), axis = 1)
-
- return all_coord, all_charge, dipole
-
-
- def modify_data(self,
- data : dict) -> None:
- """
- Modify data.
-
- Parameters
- ----------
- data
- Internal data of DeepmdData.
- Be a dict, has the following keys
- - coord coordinates
- - box simulation box
- - type atom types
- - find_energy tells if data has energy
- - find_force tells if data has force
- - find_virial tells if data has virial
- - energy energy
- - force force
- - virial virial
- """
- if 'find_energy' not in data and 'find_force' not in data and 'find_virial' not in data:
- return
-
- get_nframes=None
- coord = data['coord'][:get_nframes,:]
- box = data['box'][:get_nframes,:]
- atype = data['type'][:get_nframes,:]
- atype = atype[0]
- nframes = coord.shape[0]
-
- tot_e, tot_f, tot_v = self.eval(coord, box, atype)
-
- # print(tot_f[:,0])
-
- if 'find_energy' in data and data['find_energy'] == 1.0 :
- data['energy'] -= tot_e.reshape(data['energy'].shape)
- if 'find_force' in data and data['find_force'] == 1.0 :
- data['force'] -= tot_f.reshape(data['force'].shape)
- if 'find_virial' in data and data['find_virial'] == 1.0 :
- data['virial'] -= tot_v.reshape(data['virial'].shape)
-
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_dipole.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_dipole.py
deleted file mode 100644
index 704e2358456cc71e9e0f184fdea6275120ae192d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_dipole.py
+++ /dev/null
@@ -1,55 +0,0 @@
-from deepmd.infer.deep_tensor import DeepTensor
-
-from typing import TYPE_CHECKING
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepDipole(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self, model_file: "Path", load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # output tensor
- "t_tensor": "o_dipole:0",
- },
- **self.tensors
- )
-
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_eval.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_eval.py
deleted file mode 100644
index ab4050f3a6aaad3eb9c4ef8b4dd38c4fd2c444b4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_eval.py
+++ /dev/null
@@ -1,282 +0,0 @@
-import os
-from typing import List, Optional, TYPE_CHECKING, Union
-from functools import lru_cache
-
-import numpy as np
-from deepmd.common import make_default_mesh
-from deepmd.env import default_tf_session_config, tf, MODEL_VERSION
-from deepmd.utils.sess import run_sess
-from deepmd.utils.batch_size import AutoBatchSize
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepEval:
- """Common methods for DeepPot, DeepWFC, DeepPolar, ...
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- auto_batch_size : bool or int or AutomaticBatchSize, default: False
- If True, automatic batch size will be used. If int, it will be used
- as the initial batch size.
- """
-
- load_prefix: str # set by subclass
-
- def __init__(
- self,
- model_file: "Path",
- load_prefix: str = "load",
- default_tf_graph: bool = False,
- auto_batch_size: Union[bool, int, AutoBatchSize] = False,
- ):
- self.graph = self._load_graph(
- model_file, prefix=load_prefix, default_tf_graph=default_tf_graph
- )
- self.load_prefix = load_prefix
-
- # graph_compatable should be called after graph and prefix are set
- if not self._graph_compatable():
- raise RuntimeError(
- f"model in graph (version {self.model_version}) is incompatible"
- f"with the model (version {MODEL_VERSION}) supported by the current code."
- )
-
- # set default to False, as subclasses may not support
- if isinstance(auto_batch_size, bool):
- if auto_batch_size:
- self.auto_batch_size = AutoBatchSize()
- else:
- self.auto_batch_size = None
- elif isinstance(auto_batch_size, int):
- self.auto_batch_size = AutoBatchSize(auto_batch_size)
- elif isinstance(auto_batch_size, AutoBatchSize):
- self.auto_batch_size = auto_batch_size
- else:
- raise TypeError("auto_batch_size should be bool, int, or AutoBatchSize")
-
- @property
- @lru_cache(maxsize=None)
- def model_type(self) -> str:
- """Get type of model.
-
- :type:str
- """
- t_mt = self._get_tensor("model_attr/model_type:0")
- [mt] = run_sess(self.sess, [t_mt], feed_dict={})
- return mt.decode("utf-8")
-
- @property
- @lru_cache(maxsize=None)
- def model_version(self) -> str:
- """Get version of model.
-
- Returns
- -------
- str
- version of model
- """
- try:
- t_mt = self._get_tensor("model_attr/model_version:0")
- except KeyError:
- # For deepmd-kit version 0.x - 1.x, set model version to 0.0
- return "0.0"
- else:
- [mt] = run_sess(self.sess, [t_mt], feed_dict={})
- return mt.decode("utf-8")
-
- @property
- @lru_cache(maxsize=None)
- def sess(self) -> tf.Session:
- """Get TF session."""
- # start a tf session associated to the graph
- return tf.Session(graph=self.graph, config=default_tf_session_config)
-
- def _graph_compatable(
- self
- ) -> bool :
- """ Check the model compatability
-
- Returns
- -------
- bool
- If the model stored in the graph file is compatable with the current code
- """
- model_version_major = int(self.model_version.split('.')[0])
- model_version_minor = int(self.model_version.split('.')[1])
- MODEL_VERSION_MAJOR = int(MODEL_VERSION.split('.')[0])
- MODEL_VERSION_MINOR = int(MODEL_VERSION.split('.')[1])
- if (model_version_major != MODEL_VERSION_MAJOR) or \
- (model_version_minor > MODEL_VERSION_MINOR) :
- return False
- else:
- return True
-
- def _get_tensor(
- self, tensor_name: str, attr_name: Optional[str] = None
- ) -> tf.Tensor:
- """Get TF graph tensor and assign it to class namespace.
-
- Parameters
- ----------
- tensor_name : str
- name of tensor to get
- attr_name : Optional[str], optional
- if specified, class attribute with this name will be created and tensor will
- be assigned to it, by default None
-
- Returns
- -------
- tf.Tensor
- loaded tensor
- """
- tensor_path = os.path.join(self.load_prefix, tensor_name)
- tensor = self.graph.get_tensor_by_name(tensor_path)
- if attr_name:
- setattr(self, attr_name, tensor)
- return tensor
- else:
- return tensor
-
- @staticmethod
- def _load_graph(
- frozen_graph_filename: "Path", prefix: str = "load", default_tf_graph: bool = False
- ):
- # We load the protobuf file from the disk and parse it to retrieve the
- # unserialized graph_def
- with tf.gfile.GFile(str(frozen_graph_filename), "rb") as f:
- graph_def = tf.GraphDef()
- graph_def.ParseFromString(f.read())
-
- if default_tf_graph:
- tf.import_graph_def(
- graph_def,
- input_map=None,
- return_elements=None,
- name=prefix,
- producer_op_list=None
- )
- graph = tf.get_default_graph()
- else :
- # Then, we can use again a convenient built-in function to import
- # a graph_def into the current default Graph
- with tf.Graph().as_default() as graph:
- tf.import_graph_def(
- graph_def,
- input_map=None,
- return_elements=None,
- name=prefix,
- producer_op_list=None
- )
-
- return graph
-
- @staticmethod
- def sort_input(
- coord : np.ndarray, atom_type : np.ndarray, sel_atoms : List[int] = None
- ):
- """
- Sort atoms in the system according their types.
-
- Parameters
- ----------
- coord
- The coordinates of atoms.
- Should be of shape [nframes, natoms, 3]
- atom_type
- The type of atoms
- Should be of shape [natoms]
- sel_atom
- The selected atoms by type
-
- Returns
- -------
- coord_out
- The coordinates after sorting
- atom_type_out
- The atom types after sorting
- idx_map
- The index mapping from the input to the output.
- For example coord_out = coord[:,idx_map,:]
- sel_atom_type
- Only output if sel_atoms is not None
- The sorted selected atom types
- sel_idx_map
- Only output if sel_atoms is not None
- The index mapping from the selected atoms to sorted selected atoms.
- """
- if sel_atoms is not None:
- selection = [False] * np.size(atom_type)
- for ii in sel_atoms:
- selection += (atom_type == ii)
- sel_atom_type = atom_type[selection]
- natoms = atom_type.size
- idx = np.arange (natoms)
- idx_map = np.lexsort ((idx, atom_type))
- nframes = coord.shape[0]
- coord = coord.reshape([nframes, -1, 3])
- coord = np.reshape(coord[:,idx_map,:], [nframes, -1])
- atom_type = atom_type[idx_map]
- if sel_atoms is not None:
- sel_natoms = np.size(sel_atom_type)
- sel_idx = np.arange(sel_natoms)
- sel_idx_map = np.lexsort((sel_idx, sel_atom_type))
- sel_atom_type = sel_atom_type[sel_idx_map]
- return coord, atom_type, idx_map, sel_atom_type, sel_idx_map
- else:
- return coord, atom_type, idx_map
-
- @staticmethod
- def reverse_map(vec : np.ndarray, imap : List[int]) -> np.ndarray:
- """Reverse mapping of a vector according to the index map
-
- Parameters
- ----------
- vec
- Input vector. Be of shape [nframes, natoms, -1]
- imap
- Index map. Be of shape [natoms]
-
- Returns
- -------
- vec_out
- Reverse mapped vector.
- """
- ret = np.zeros(vec.shape)
- # for idx,ii in enumerate(imap) :
- # ret[:,ii,:] = vec[:,idx,:]
- ret[:, imap, :] = vec
- return ret
-
-
- def make_natoms_vec(self, atom_types : np.ndarray) -> np.ndarray :
- """Make the natom vector used by deepmd-kit.
-
- Parameters
- ----------
- atom_types
- The type of atoms
-
- Returns
- -------
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- """
- natoms_vec = np.zeros (self.ntypes+2).astype(int)
- natoms = atom_types.size
- natoms_vec[0] = natoms
- natoms_vec[1] = natoms
- for ii in range (self.ntypes) :
- natoms_vec[ii+2] = np.count_nonzero(atom_types == ii)
- return natoms_vec
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_polar.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_polar.py
deleted file mode 100644
index da54dfac57dbb03409acb8f8c5def439abe57528..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_polar.py
+++ /dev/null
@@ -1,139 +0,0 @@
-from deepmd.infer.deep_tensor import DeepTensor
-import numpy as np
-
-from typing import TYPE_CHECKING, List, Optional
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepPolar(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self, model_file: "Path", load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # output tensor
- "t_tensor": "o_polar:0",
- },
- **self.tensors
- )
-
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
-
-class DeepGlobalPolar(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : str
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- """
-
- def __init__(
- self, model_file: str, load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- self.tensors.update(
- {
- "t_sel_type": "model_attr/sel_type:0",
- # output tensor
- "t_tensor": "o_global_polar:0",
- }
- )
-
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def eval(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = False,
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> np.ndarray:
- """Evaluate the model.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- Not used in this model
- fparam
- Not used in this model
- aparam
- Not used in this model
- efield
- Not used in this model
-
- Returns
- -------
- tensor
- The returned tensor
- If atomic == False then of size nframes x variable_dof
- else of size nframes x natoms x variable_dof
- """
- return DeepTensor.eval(self, coords, cells, atom_types, atomic=False)
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_pot.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_pot.py
deleted file mode 100644
index efdb7510a0d4e8e4f2568eccd91a3f7d1caaee09..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_pot.py
+++ /dev/null
@@ -1,459 +0,0 @@
-import logging
-from typing import TYPE_CHECKING, List, Optional, Tuple, Union, Callable
-
-import numpy as np
-from deepmd.common import make_default_mesh
-from deepmd.env import default_tf_session_config, tf
-from deepmd.infer.data_modifier import DipoleChargeModifier
-from deepmd.infer.deep_eval import DeepEval
-from deepmd.utils.sess import run_sess
-from deepmd.utils.batch_size import AutoBatchSize
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-log = logging.getLogger(__name__)
-
-
-class DeepPot(DeepEval):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- auto_batch_size : bool or int or AutomaticBatchSize, default: True
- If True, automatic batch size will be used. If int, it will be used
- as the initial batch size.
-
- Examples
- --------
- >>> from deepmd.infer import DeepPot
- >>> import numpy as np
- >>> dp = DeepPot('graph.pb')
- >>> coord = np.array([[1,0,0], [0,0,1.5], [1,0,3]]).reshape([1, -1])
- >>> cell = np.diag(10 * np.ones(3)).reshape([1, -1])
- >>> atype = [1,0,1]
- >>> e, f, v = dp.eval(coord, cell, atype)
-
- where `e`, `f` and `v` are predicted energy, force and virial of the system, respectively.
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self,
- model_file: "Path",
- load_prefix: str = "load",
- default_tf_graph: bool = False,
- auto_batch_size: Union[bool, int, AutoBatchSize] = True,
- ) -> None:
-
- # add these tensors on top of what is defined by DeepTensor Class
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # descrpt attrs
- "t_ntypes": "descrpt_attr/ntypes:0",
- "t_rcut": "descrpt_attr/rcut:0",
- # fitting attrs
- "t_dfparam": "fitting_attr/dfparam:0",
- "t_daparam": "fitting_attr/daparam:0",
- # model attrs
- "t_tmap": "model_attr/tmap:0",
- # inputs
- "t_coord": "t_coord:0",
- "t_type": "t_type:0",
- "t_natoms": "t_natoms:0",
- "t_box": "t_box:0",
- "t_mesh": "t_mesh:0",
- # add output tensors
- "t_energy": "o_energy:0",
- "t_force": "o_force:0",
- "t_virial": "o_virial:0",
- "t_ae": "o_atom_energy:0",
- "t_av": "o_atom_virial:0",
- "t_descriptor": "o_descriptor:0",
- },
- )
- DeepEval.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- auto_batch_size=auto_batch_size,
- )
-
- # load optional tensors
- operations = [op.name for op in self.graph.get_operations()]
- # check if the graph has these operations:
- # if yes add them
- if 't_efield' in operations:
- self._get_tensor("t_efield:0", "t_efield")
- self.has_efield = True
- else:
- log.debug(f"Could not get tensor 't_efield:0'")
- self.t_efield = None
- self.has_efield = False
-
- if 'load/t_fparam' in operations:
- self.tensors.update({"t_fparam": "t_fparam:0"})
- self.has_fparam = True
- else:
- log.debug(f"Could not get tensor 't_fparam:0'")
- self.t_fparam = None
- self.has_fparam = False
-
- if 'load/t_aparam' in operations:
- self.tensors.update({"t_aparam": "t_aparam:0"})
- self.has_aparam = True
- else:
- log.debug(f"Could not get tensor 't_aparam:0'")
- self.t_aparam = None
- self.has_aparam = False
-
- # now load tensors to object attributes
- for attr_name, tensor_name in self.tensors.items():
- self._get_tensor(tensor_name, attr_name)
-
- self._run_default_sess()
- self.tmap = self.tmap.decode('UTF-8').split()
-
- # setup modifier
- try:
- t_modifier_type = self._get_tensor("modifier_attr/type:0")
- self.modifier_type = run_sess(self.sess, t_modifier_type).decode("UTF-8")
- except (ValueError, KeyError):
- self.modifier_type = None
-
- if self.modifier_type == "dipole_charge":
- t_mdl_name = self._get_tensor("modifier_attr/mdl_name:0")
- t_mdl_charge_map = self._get_tensor("modifier_attr/mdl_charge_map:0")
- t_sys_charge_map = self._get_tensor("modifier_attr/sys_charge_map:0")
- t_ewald_h = self._get_tensor("modifier_attr/ewald_h:0")
- t_ewald_beta = self._get_tensor("modifier_attr/ewald_beta:0")
- [mdl_name, mdl_charge_map, sys_charge_map, ewald_h, ewald_beta] = run_sess(self.sess, [t_mdl_name, t_mdl_charge_map, t_sys_charge_map, t_ewald_h, t_ewald_beta])
- mdl_name = mdl_name.decode("UTF-8")
- mdl_charge_map = [int(ii) for ii in mdl_charge_map.decode("UTF-8").split()]
- sys_charge_map = [int(ii) for ii in sys_charge_map.decode("UTF-8").split()]
- self.dm = DipoleChargeModifier(mdl_name, mdl_charge_map, sys_charge_map, ewald_h = ewald_h, ewald_beta = ewald_beta)
-
- def _run_default_sess(self):
- [self.ntypes, self.rcut, self.dfparam, self.daparam, self.tmap] = run_sess(self.sess,
- [self.t_ntypes, self.t_rcut, self.t_dfparam, self.t_daparam, self.t_tmap]
- )
-
- def get_ntypes(self) -> int:
- """Get the number of atom types of this model."""
- return self.ntypes
-
- def get_rcut(self) -> float:
- """Get the cut-off radius of this model."""
- return self.rcut
-
- def get_type_map(self) -> List[int]:
- """Get the type map (element name of the atom types) of this model."""
- return self.tmap
-
- def get_sel_type(self) -> List[int]:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
- def get_dim_fparam(self) -> int:
- """Get the number (dimension) of frame parameters of this DP."""
- return self.dfparam
-
- def get_dim_aparam(self) -> int:
- """Get the number (dimension) of atomic parameters of this DP."""
- return self.daparam
-
- def _eval_func(self, inner_func: Callable, numb_test: int, natoms: int) -> Callable:
- """Wrapper method with auto batch size.
-
- Parameters
- ----------
- inner_func : Callable
- the method to be wrapped
- numb_test: int
- number of tests
- natoms : int
- number of atoms
-
- Returns
- -------
- Callable
- the wrapper
- """
- if self.auto_batch_size is not None:
- def eval_func(*args, **kwargs):
- return self.auto_batch_size.execute_all(inner_func, numb_test, natoms, *args, **kwargs)
- else:
- eval_func = inner_func
- return eval_func
-
- def _get_natoms_and_nframes(self, coords: np.ndarray, atom_types: List[int]) -> Tuple[int, int]:
- natoms = len(atom_types)
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- nframes = coords.shape[0]
- return natoms, nframes
-
- def eval(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = False,
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> Tuple[np.ndarray, ...]:
- """Evaluate the energy, force and virial by using this DP.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- Calculate the atomic energy and virial
- fparam
- The frame parameter.
- The array can be of size :
- - nframes x dim_fparam.
- - dim_fparam. Then all frames are assumed to be provided with the same fparam.
- aparam
- The atomic parameter
- The array can be of size :
- - nframes x natoms x dim_aparam.
- - natoms x dim_aparam. Then all frames are assumed to be provided with the same aparam.
- - dim_aparam. Then all frames and atoms are provided with the same aparam.
- efield
- The external field on atoms.
- The array should be of size nframes x natoms x 3
-
- Returns
- -------
- energy
- The system energy.
- force
- The force on each atom
- virial
- The virial
- atom_energy
- The atomic energy. Only returned when atomic == True
- atom_virial
- The atomic virial. Only returned when atomic == True
- """
- # reshape coords before getting shape
- natoms, numb_test = self._get_natoms_and_nframes(coords, atom_types)
- output = self._eval_func(self._eval_inner, numb_test, natoms)(coords, cells, atom_types, fparam = fparam, aparam = aparam, atomic = atomic, efield = efield)
-
- if self.modifier_type is not None:
- if atomic:
- raise RuntimeError('modifier does not support atomic modification')
- me, mf, mv = self.dm.eval(coords, cells, atom_types)
- output = list(output) # tuple to list
- e, f, v = output[:3]
- output[0] += me.reshape(e.shape)
- output[1] += mf.reshape(f.shape)
- output[2] += mv.reshape(v.shape)
- output = tuple(output)
- return output
-
- def _prepare_feed_dict(
- self,
- coords,
- cells,
- atom_types,
- fparam=None,
- aparam=None,
- atomic=False,
- efield=None
- ):
- # standarize the shape of inputs
- natoms, nframes = self._get_natoms_and_nframes(coords, atom_types)
- atom_types = np.array(atom_types, dtype = int).reshape([-1])
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- if cells is None:
- pbc = False
- # make cells to work around the requirement of pbc
- cells = np.tile(np.eye(3), [nframes, 1]).reshape([nframes, 9])
- else:
- pbc = True
- cells = np.array(cells).reshape([nframes, 9])
-
- if self.has_fparam :
- assert(fparam is not None)
- fparam = np.array(fparam)
- if self.has_aparam :
- assert(aparam is not None)
- aparam = np.array(aparam)
- if self.has_efield :
- assert(efield is not None), "you are using a model with external field, parameter efield should be provided"
- efield = np.array(efield)
-
- # reshape the inputs
- if self.has_fparam :
- fdim = self.get_dim_fparam()
- if fparam.size == nframes * fdim :
- fparam = np.reshape(fparam, [nframes, fdim])
- elif fparam.size == fdim :
- fparam = np.tile(fparam.reshape([-1]), [nframes, 1])
- else :
- raise RuntimeError('got wrong size of frame param, should be either %d x %d or %d' % (nframes, fdim, fdim))
- if self.has_aparam :
- fdim = self.get_dim_aparam()
- if aparam.size == nframes * natoms * fdim:
- aparam = np.reshape(aparam, [nframes, natoms * fdim])
- elif aparam.size == natoms * fdim :
- aparam = np.tile(aparam.reshape([-1]), [nframes, 1])
- elif aparam.size == fdim :
- aparam = np.tile(aparam.reshape([-1]), [nframes, natoms])
- else :
- raise RuntimeError('got wrong size of frame param, should be either %d x %d x %d or %d x %d or %d' % (nframes, natoms, fdim, natoms, fdim, fdim))
-
- # sort inputs
- coords, atom_types, imap = self.sort_input(coords, atom_types)
- if self.has_efield:
- efield = np.reshape(efield, [nframes, natoms, 3])
- efield = efield[:,imap,:]
- efield = np.reshape(efield, [nframes, natoms*3])
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
-
- # evaluate
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes, 1]).reshape([-1])
- feed_dict_test[self.t_coord] = np.reshape(coords, [-1])
- feed_dict_test[self.t_box ] = np.reshape(cells , [-1])
- if self.has_efield:
- feed_dict_test[self.t_efield]= np.reshape(efield, [-1])
- if pbc:
- feed_dict_test[self.t_mesh ] = make_default_mesh(cells)
- else:
- feed_dict_test[self.t_mesh ] = np.array([], dtype = np.int32)
- if self.has_fparam:
- feed_dict_test[self.t_fparam] = np.reshape(fparam, [-1])
- if self.has_aparam:
- feed_dict_test[self.t_aparam] = np.reshape(aparam, [-1])
- return feed_dict_test, imap
-
- def _eval_inner(
- self,
- coords,
- cells,
- atom_types,
- fparam=None,
- aparam=None,
- atomic=False,
- efield=None
- ):
- natoms, nframes = self._get_natoms_and_nframes(coords, atom_types)
- feed_dict_test, imap = self._prepare_feed_dict(coords, cells, atom_types, fparam, aparam, efield)
- t_out = [self.t_energy,
- self.t_force,
- self.t_virial]
- if atomic :
- t_out += [self.t_ae,
- self.t_av]
-
- v_out = run_sess(self.sess, t_out, feed_dict = feed_dict_test)
- energy = v_out[0]
- force = v_out[1]
- virial = v_out[2]
- if atomic:
- ae = v_out[3]
- av = v_out[4]
-
- # reverse map of the outputs
- force = self.reverse_map(np.reshape(force, [nframes,-1,3]), imap)
- if atomic :
- ae = self.reverse_map(np.reshape(ae, [nframes,-1,1]), imap)
- av = self.reverse_map(np.reshape(av, [nframes,-1,9]), imap)
-
- energy = np.reshape(energy, [nframes, 1])
- force = np.reshape(force, [nframes, natoms, 3])
- virial = np.reshape(virial, [nframes, 9])
- if atomic:
- ae = np.reshape(ae, [nframes, natoms, 1])
- av = np.reshape(av, [nframes, natoms, 9])
- return energy, force, virial, ae, av
- else :
- return energy, force, virial
-
- def eval_descriptor(self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> np.array:
- """Evaluate descriptors by using this DP.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- fparam
- The frame parameter.
- The array can be of size :
- - nframes x dim_fparam.
- - dim_fparam. Then all frames are assumed to be provided with the same fparam.
- aparam
- The atomic parameter
- The array can be of size :
- - nframes x natoms x dim_aparam.
- - natoms x dim_aparam. Then all frames are assumed to be provided with the same aparam.
- - dim_aparam. Then all frames and atoms are provided with the same aparam.
- efield
- The external field on atoms.
- The array should be of size nframes x natoms x 3
-
- Returns
- -------
- descriptor
- Descriptors.
- """
- natoms, numb_test = self._get_natoms_and_nframes(coords, atom_types)
- descriptor = self._eval_func(self._eval_descriptor_inner, numb_test, natoms)(coords, cells, atom_types, fparam = fparam, aparam = aparam, efield = efield)
- return descriptor
-
- def _eval_descriptor_inner(self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> np.array:
- natoms, nframes = self._get_natoms_and_nframes(coords, atom_types)
- feed_dict_test, imap = self._prepare_feed_dict(coords, cells, atom_types, fparam, aparam, efield)
- descriptor, = run_sess(self.sess, [self.t_descriptor], feed_dict = feed_dict_test)
- return self.reverse_map(np.reshape(descriptor, [nframes, natoms, -1]), imap)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_tensor.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_tensor.py
deleted file mode 100644
index 466b9c7d5666f4d2be9706f8b457754552d8b53a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_tensor.py
+++ /dev/null
@@ -1,326 +0,0 @@
-import os
-from typing import List, Optional, TYPE_CHECKING, Tuple
-
-import numpy as np
-from deepmd.common import make_default_mesh
-from deepmd.env import default_tf_session_config, tf
-from deepmd.infer.deep_eval import DeepEval
-from deepmd.utils.sess import run_sess
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-class DeepTensor(DeepEval):
- """Evaluates a tensor model.
-
- Parameters
- ----------
- model_file: str
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- """
-
- tensors = {
- # descriptor attrs
- "t_ntypes": "descrpt_attr/ntypes:0",
- "t_rcut": "descrpt_attr/rcut:0",
- # model attrs
- "t_tmap": "model_attr/tmap:0",
- "t_sel_type": "model_attr/sel_type:0",
- "t_ouput_dim": "model_attr/output_dim:0",
- # inputs
- "t_coord": "t_coord:0",
- "t_type": "t_type:0",
- "t_natoms": "t_natoms:0",
- "t_box": "t_box:0",
- "t_mesh": "t_mesh:0",
- }
-
- def __init__(
- self,
- model_file: "Path",
- load_prefix: str = 'load',
- default_tf_graph: bool = False
- ) -> None:
- """Constructor"""
- DeepEval.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph
- )
- # check model type
- model_type = self.tensors["t_tensor"][2:-2]
- assert self.model_type == model_type, \
- f"expect {model_type} model but got {self.model_type}"
-
- # now load tensors to object attributes
- for attr_name, tensor_name in self.tensors.items():
- self._get_tensor(tensor_name, attr_name)
-
- # load optional tensors if possible
- optional_tensors = {
- "t_global_tensor": f"o_global_{model_type}:0",
- "t_force": "o_force:0",
- "t_virial": "o_virial:0",
- "t_atom_virial": "o_atom_virial:0"
- }
- try:
- # first make sure these tensor all exists (but do not modify self attr)
- for attr_name, tensor_name in optional_tensors.items():
- self._get_tensor(tensor_name)
- # then put those into self.attrs
- for attr_name, tensor_name in optional_tensors.items():
- self._get_tensor(tensor_name, attr_name)
- except KeyError:
- self._support_gfv = False
- else:
- self.tensors.update(optional_tensors)
- self._support_gfv = True
-
- self._run_default_sess()
- self.tmap = self.tmap.decode('UTF-8').split()
-
- def _run_default_sess(self):
- [self.ntypes, self.rcut, self.tmap, self.tselt, self.output_dim] \
- = run_sess(self.sess,
- [self.t_ntypes, self.t_rcut, self.t_tmap, self.t_sel_type, self.t_ouput_dim]
- )
-
- def get_ntypes(self) -> int:
- """Get the number of atom types of this model."""
- return self.ntypes
-
- def get_rcut(self) -> float:
- """Get the cut-off radius of this model."""
- return self.rcut
-
- def get_type_map(self) -> List[int]:
- """Get the type map (element name of the atom types) of this model."""
- return self.tmap
-
- def get_sel_type(self) -> List[int]:
- """Get the selected atom types of this model."""
- return self.tselt
-
- def get_dim_fparam(self) -> int:
- """Get the number (dimension) of frame parameters of this DP."""
- return self.dfparam
-
- def get_dim_aparam(self) -> int:
- """Get the number (dimension) of atomic parameters of this DP."""
- return self.daparam
-
- def eval(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = True,
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None
- ) -> np.ndarray:
- """Evaluate the model.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- If True (default), return the atomic tensor
- Otherwise return the global tensor
- fparam
- Not used in this model
- aparam
- Not used in this model
- efield
- Not used in this model
-
- Returns
- -------
- tensor
- The returned tensor
- If atomic == False then of size nframes x output_dim
- else of size nframes x natoms x output_dim
- """
- # standarize the shape of inputs
- atom_types = np.array(atom_types, dtype = int).reshape([-1])
- natoms = atom_types.size
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- nframes = coords.shape[0]
- if cells is None:
- pbc = False
- cells = np.tile(np.eye(3), [nframes, 1]).reshape([nframes, 9])
- else:
- pbc = True
- cells = np.array(cells).reshape([nframes, 9])
-
- # sort inputs
- coords, atom_types, imap, sel_at, sel_imap = self.sort_input(coords, atom_types, sel_atoms = self.get_sel_type())
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
-
- # evaluate
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes,1]).reshape([-1])
- feed_dict_test[self.t_coord] = np.reshape(coords, [-1])
- feed_dict_test[self.t_box ] = np.reshape(cells , [-1])
- if pbc:
- feed_dict_test[self.t_mesh ] = make_default_mesh(cells)
- else:
- feed_dict_test[self.t_mesh ] = np.array([], dtype = np.int32)
-
- if atomic:
- assert "global" not in self.model_type, \
- f"cannot do atomic evaluation with model type {self.model_type}"
- t_out = [self.t_tensor]
- else:
- assert self._support_gfv or "global" in self.model_type, \
- f"do not support global tensor evaluation with old {self.model_type} model"
- t_out = [self.t_global_tensor if self._support_gfv else self.t_tensor]
- v_out = self.sess.run (t_out, feed_dict = feed_dict_test)
- tensor = v_out[0]
-
- # reverse map of the outputs
- if atomic:
- tensor = np.array(tensor)
- tensor = self.reverse_map(np.reshape(tensor, [nframes,-1,self.output_dim]), sel_imap)
- tensor = np.reshape(tensor, [nframes, len(sel_at), self.output_dim])
- else:
- tensor = np.reshape(tensor, [nframes, self.output_dim])
-
- return tensor
-
- def eval_full(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = False,
- fparam: Optional[np.array] = None,
- aparam: Optional[np.array] = None,
- efield: Optional[np.array] = None
- ) -> Tuple[np.ndarray, ...]:
- """Evaluate the model with interface similar to the energy model.
- Will return global tensor, component-wise force and virial
- and optionally atomic tensor and atomic virial.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- Whether to calculate atomic tensor and virial
- fparam
- Not used in this model
- aparam
- Not used in this model
- efield
- Not used in this model
-
- Returns
- -------
- tensor
- The global tensor.
- shape: [nframes x nout]
- force
- The component-wise force (negative derivative) on each atom.
- shape: [nframes x nout x natoms x 3]
- virial
- The component-wise virial of the tensor.
- shape: [nframes x nout x 9]
- atom_tensor
- The atomic tensor. Only returned when atomic == True
- shape: [nframes x natoms x nout]
- atom_virial
- The atomic virial. Only returned when atomic == True
- shape: [nframes x nout x natoms x 9]
- """
- assert self._support_gfv, \
- f"do not support eval_full with old tensor model"
-
- # standarize the shape of inputs
- atom_types = np.array(atom_types, dtype = int).reshape([-1])
- natoms = atom_types.size
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- nframes = coords.shape[0]
- if cells is None:
- pbc = False
- cells = np.tile(np.eye(3), [nframes, 1]).reshape([nframes, 9])
- else:
- pbc = True
- cells = np.array(cells).reshape([nframes, 9])
- nout = self.output_dim
-
- # sort inputs
- coords, atom_types, imap, sel_at, sel_imap = self.sort_input(coords, atom_types, sel_atoms = self.get_sel_type())
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
-
- # evaluate
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes,1]).reshape([-1])
- feed_dict_test[self.t_coord] = np.reshape(coords, [-1])
- feed_dict_test[self.t_box ] = np.reshape(cells , [-1])
- if pbc:
- feed_dict_test[self.t_mesh ] = make_default_mesh(cells)
- else:
- feed_dict_test[self.t_mesh ] = np.array([], dtype = np.int32)
-
- t_out = [self.t_global_tensor,
- self.t_force,
- self.t_virial]
- if atomic :
- t_out += [self.t_tensor,
- self.t_atom_virial]
-
- v_out = self.sess.run (t_out, feed_dict = feed_dict_test)
- gt = v_out[0] # global tensor
- force = v_out[1]
- virial = v_out[2]
- if atomic:
- at = v_out[3] # atom tensor
- av = v_out[4] # atom virial
-
- # please note here the shape are wrong!
- force = self.reverse_map(np.reshape(force, [nframes*nout, natoms ,3]), imap)
- if atomic:
- at = self.reverse_map(np.reshape(at, [nframes, len(sel_at), nout]), sel_imap)
- av = self.reverse_map(np.reshape(av, [nframes*nout, natoms, 9]), imap)
-
- # make sure the shapes are correct here
- gt = np.reshape(gt, [nframes, nout])
- force = np.reshape(force, [nframes, nout, natoms, 3])
- virial = np.reshape(virial, [nframes, nout, 9])
- if atomic:
- at = np.reshape(at, [nframes, len(sel_at), self.output_dim])
- av = np.reshape(av, [nframes, nout, natoms, 9])
- return gt, force, virial, at, av
- else:
- return gt, force, virial
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_wfc.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_wfc.py
deleted file mode 100644
index 82d5adb52b7b82a3ed57e197793f8a75a4247049..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/deep_wfc.py
+++ /dev/null
@@ -1,54 +0,0 @@
-from deepmd.infer.deep_tensor import DeepTensor
-
-from typing import TYPE_CHECKING
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepWFC(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self, model_file: "Path", load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # output tensor
- "t_tensor": "o_wfc:0",
- },
- **self.tensors
- )
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/ewald_recp.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/ewald_recp.py
deleted file mode 100644
index b4a165bca5730c957fc94bf040b14ad7393f662a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/ewald_recp.py
+++ /dev/null
@@ -1,93 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.sess import run_sess
-
-class EwaldRecp () :
- """
- Evaluate the reciprocal part of the Ewald sum
- """
- def __init__(self,
- hh,
- beta):
- """
- Constructor
-
- Parameters
- ----------
- hh
- Grid spacing of the reciprocal part of Ewald sum. Unit: A
- beta
- Splitting parameter of the Ewald sum. Unit: A^{-1}
- """
- self.hh = hh
- self.beta = beta
- with tf.Graph().as_default() as graph:
- # place holders
- self.t_nloc = tf.placeholder(tf.int32, [1], name = "t_nloc")
- self.t_coord = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name='t_coord')
- self.t_charge = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name='t_charge')
- self.t_box = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name='t_box')
- # output
- self.t_energy, self.t_force, self.t_virial \
- = op_module.ewald_recp(self.t_coord, self.t_charge, self.t_nloc, self.t_box,
- ewald_h = self.hh,
- ewald_beta = self.beta)
- self.sess = tf.Session(graph=graph, config=default_tf_session_config)
-
- def eval(self,
- coord : np.ndarray,
- charge : np.ndarray,
- box : np.ndarray
- ) -> Tuple[np.ndarray, np.ndarray, np.ndarray] :
- """
- Evaluate
-
- Parameters
- ----------
- coord
- The coordinates of atoms
- charge
- The atomic charge
- box
- The simulation region. PBC is assumed
-
- Returns
- -------
- e
- The energy
- f
- The force
- v
- The virial
- """
- coord = np.array(coord)
- charge = np.array(charge)
- box = np.array(box)
- nframes = charge.shape[0]
- natoms = charge.shape[1]
- coord = np.reshape(coord, [nframes * 3 * natoms])
- charge = np.reshape(charge, [nframes * natoms])
- box = np.reshape(box, [nframes * 9])
-
- [energy, force, virial] \
- = run_sess(self.sess, [self.t_energy, self.t_force, self.t_virial],
- feed_dict = {
- self.t_coord: coord,
- self.t_charge: charge,
- self.t_box: box,
- self.t_nloc: [natoms],
- })
-
- return energy, force, virial
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/model_devi.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/model_devi.py
deleted file mode 100644
index 30704cfa1bb3dff1d2e3993d1ab108c497bd9ac5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/infer/model_devi.py
+++ /dev/null
@@ -1,217 +0,0 @@
-import numpy as np
-from .deep_pot import DeepPot
-from ..utils.data import DeepmdData
-from ..utils.batch_size import AutoBatchSize
-from deepmd.common import expand_sys_str
-
-
-def calc_model_devi_f(fs: np.ndarray):
- '''
- Parameters
- ----------
- fs : numpy.ndarray
- size of `n_models x n_frames x n_atoms x 3`
- '''
- fs_devi = np.linalg.norm(np.std(fs, axis=0), axis=-1)
- max_devi_f = np.max(fs_devi, axis=-1)
- min_devi_f = np.min(fs_devi, axis=-1)
- avg_devi_f = np.mean(fs_devi, axis=-1)
- return max_devi_f, min_devi_f, avg_devi_f
-
-def calc_model_devi_e(es: np.ndarray):
- '''
- Parameters
- ----------
- es : numpy.ndarray
- size of `n_models x n_frames x n_atoms
- '''
- es_devi = np.std(es, axis=0)
- max_devi_e = np.max(es_devi, axis=1)
- min_devi_e = np.min(es_devi, axis=1)
- avg_devi_e = np.mean(es_devi, axis=1)
- return max_devi_e, min_devi_e, avg_devi_e
-
-def calc_model_devi_v(vs: np.ndarray):
- '''
- Parameters
- ----------
- vs : numpy.ndarray
- size of `n_models x n_frames x 9`
- '''
- vs_devi = np.std(vs, axis=0)
- max_devi_v = np.max(vs_devi, axis=-1)
- min_devi_v = np.min(vs_devi, axis=-1)
- avg_devi_v = np.linalg.norm(vs_devi, axis=-1) / 3
- return max_devi_v, min_devi_v, avg_devi_v
-
-def write_model_devi_out(devi: np.ndarray, fname: str, header: str=""):
- '''
- Parameters
- ----------
- devi : numpy.ndarray
- the first column is the steps index
- fname : str
- the file name to dump
- header : str, default=""
- the header to dump
- '''
- assert devi.shape[1] == 7
- header = "%s\n%10s" % (header, "step")
- for item in 'vf':
- header += "%19s%19s%19s" % (f"max_devi_{item}", f"min_devi_{item}", f"avg_devi_{item}")
- with open(fname, "ab") as fp:
- np.savetxt(fp,
- devi,
- fmt=['%12d'] + ['%19.6e' for _ in range(6)],
- delimiter='',
- header=header)
- return devi
-
-def _check_tmaps(tmaps, ref_tmap=None):
- '''
- Check whether type maps are identical
- '''
- assert isinstance(tmaps, list)
- if ref_tmap is None:
- ref_tmap = tmaps[0]
- assert isinstance(ref_tmap, list)
-
- flag = True
- for tmap in tmaps:
- if tmap != ref_tmap:
- flag = False
- break
- return flag
-
-def calc_model_devi(coord,
- box,
- atype,
- models,
- fname=None,
- frequency=1,
- ):
- '''
- Python interface to calculate model deviation
-
- Parameters
- -----------
- coord : numpy.ndarray, `n_frames x n_atoms x 3`
- Coordinates of system to calculate
- box : numpy.ndarray or None, `n_frames x 3 x 3`
- Box to specify periodic boundary condition. If None, no pbc will be used
- atype : numpy.ndarray, `n_atoms x 1`
- Atom types
- models : list of DeepPot models
- Models used to evaluate deviation
- fname : str or None
- File to dump results, default None
- frequency : int
- Steps between frames (if the system is given by molecular dynamics engine), default 1
-
- Returns
- -------
- model_devi : numpy.ndarray, `n_frames x 7`
- Model deviation results. The first column is index of steps, the other 6 columns are
- max_devi_v, min_devi_v, avg_devi_v, max_devi_f, min_devi_f, avg_devi_f.
-
- Examples
- --------
- >>> from deepmd.infer import calc_model_devi
- >>> from deepmd.infer import DeepPot as DP
- >>> import numpy as np
- >>> coord = np.array([[1,0,0], [0,0,1.5], [1,0,3]]).reshape([1, -1])
- >>> cell = np.diag(10 * np.ones(3)).reshape([1, -1])
- >>> atype = [1,0,1]
- >>> graphs = [DP("graph.000.pb"), DP("graph.001.pb")]
- >>> model_devi = calc_model_devi(coord, cell, atype, graphs)
- '''
- if box is not None:
- nopbc = True
- else:
- nopbc = False
-
- forces = []
- virials = []
- for dp in models:
- ret = dp.eval(
- coord,
- box,
- atype,
- )
- forces.append(ret[1])
- virials.append(ret[2] / len(atype))
-
- forces = np.array(forces)
- virials = np.array(virials)
-
- devi = [np.arange(coord.shape[0]) * frequency]
- devi += list(calc_model_devi_v(virials))
- devi += list(calc_model_devi_f(forces))
- devi = np.vstack(devi).T
- if fname:
- write_model_devi_out(devi, fname)
- return devi
-
-def make_model_devi(
- *,
- models: list,
- system: str,
- set_prefix: str,
- output: str,
- frequency: int,
- **kwargs
-):
- '''
- Make model deviation calculation
-
- Parameters
- ----------
- models: list
- A list of paths of models to use for making model deviation
- system: str
- The path of system to make model deviation calculation
- set_prefix: str
- The set prefix of the system
- output: str
- The output file for model deviation results
- frequency: int
- The number of steps that elapse between writing coordinates
- in a trajectory by a MD engine (such as Gromacs / Lammps).
- This paramter is used to determine the index in the output file.
- '''
- auto_batch_size = AutoBatchSize()
- # init models
- dp_models = [DeepPot(model, auto_batch_size=auto_batch_size) for model in models]
-
- # check type maps
- tmaps = [dp.get_type_map() for dp in dp_models]
- if _check_tmaps(tmaps):
- tmap = tmaps[0]
- else:
- raise RuntimeError("The models does not have the same type map.")
-
- all_sys = expand_sys_str(system)
- if len(all_sys) == 0:
- raise RuntimeError("Did not find valid system")
- devis_coll = []
- for system in all_sys:
- # create data-system
- dp_data = DeepmdData(system, set_prefix, shuffle_test=False, type_map=tmap)
-
- data_sets = [dp_data._load_set(set_name) for set_name in dp_data.dirs]
- nframes_tot = 0
- devis = []
- for data in data_sets:
- coord = data["coord"]
- box = data["box"]
- atype = data["type"][0]
- if not dp_data.pbc:
- box = None
- devi = calc_model_devi(coord, box, atype, dp_models)
- nframes_tot += coord.shape[0]
- devis.append(devi)
- devis = np.vstack(devis)
- devis[:, 0] = np.arange(nframes_tot) * frequency
- write_model_devi_out(devis, output, header=system)
- devis_coll.append(devis)
- return devis_coll
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loggers/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loggers/__init__.py
deleted file mode 100644
index 2cb8ef0396cc955d55e503e3678bdb3146bf4d0e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loggers/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-"""Module taking care of logging duties."""
-
-from .loggers import set_log_handles
-
-__all__ = ["set_log_handles"]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loggers/loggers.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loggers/loggers.py
deleted file mode 100644
index 944c2ce08a48646d05dfd22e3122f294a551b0ec..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loggers/loggers.py
+++ /dev/null
@@ -1,268 +0,0 @@
-"""Logger initialization for package."""
-
-import logging
-import os
-from typing import TYPE_CHECKING, Optional
-
-if TYPE_CHECKING:
- from pathlib import Path
-
- from mpi4py import MPI
-
- _MPI_APPEND_MODE = MPI.MODE_CREATE | MPI.MODE_APPEND
-
-logging.getLogger(__name__)
-
-__all__ = ["set_log_handles"]
-
-# logger formater
-FFORMATTER = logging.Formatter(
- "[%(asctime)s] %(app_name)s %(levelname)-7s %(name)-45s %(message)s"
-)
-CFORMATTER = logging.Formatter(
-# "%(app_name)s %(levelname)-7s |-> %(name)-45s %(message)s"
- "%(app_name)s %(levelname)-7s %(message)s"
-)
-FFORMATTER_MPI = logging.Formatter(
- "[%(asctime)s] %(app_name)s rank:%(rank)-2s %(levelname)-7s %(name)-45s %(message)s"
-)
-CFORMATTER_MPI = logging.Formatter(
-# "%(app_name)s rank:%(rank)-2s %(levelname)-7s |-> %(name)-45s %(message)s"
- "%(app_name)s rank:%(rank)-2s %(levelname)-7s %(message)s"
-)
-
-
-class _AppFilter(logging.Filter):
- """Add field `app_name` to log messages."""
-
- def filter(self, record):
- record.app_name = "DEEPMD"
- return True
-
-
-class _MPIRankFilter(logging.Filter):
- """Add MPI rank number to log messages, adds field `rank`."""
-
- def __init__(self, rank: int) -> None:
- super().__init__(name="MPI_rank_id")
- self.mpi_rank = str(rank)
-
- def filter(self, record):
- record.rank = self.mpi_rank
- return True
-
-
-class _MPIMasterFilter(logging.Filter):
- """Filter that lets through only messages emited from rank==0."""
-
- def __init__(self, rank: int) -> None:
- super().__init__(name="MPI_master_log")
- self.mpi_rank = rank
-
- def filter(self, record):
- if self.mpi_rank == 0:
- return True
- else:
- return False
-
-
-class _MPIFileStream:
- """Wrap MPI.File` so it has the same API as python file streams.
-
- Parameters
- ----------
- filename : Path
- disk location of the file stream
- MPI : MPI
- MPI communicator object
- mode : str, optional
- file write mode, by default _MPI_APPEND_MODE
- """
-
- def __init__(
- self, filename: "Path", MPI: "MPI", mode: str = "_MPI_APPEND_MODE"
- ) -> None:
- self.stream = MPI.File.Open(MPI.COMM_WORLD, filename, mode)
- self.stream.Set_atomicity(True)
- self.name = "MPIfilestream"
-
- def write(self, msg: str):
- """Write to MPI shared file stream.
-
- Parameters
- ----------
- msg : str
- message to write
- """
- b = bytearray()
- b.extend(map(ord, msg))
- self.stream.Write_shared(b)
-
- def close(self):
- """Synchronize and close MPI file stream."""
- self.stream.Sync()
- self.stream.Close()
-
-
-class _MPIHandler(logging.FileHandler):
- """Emulate `logging.FileHandler` with MPI shared File that all ranks can write to.
-
- Parameters
- ----------
- filename : Path
- file path
- MPI : MPI
- MPI communicator object
- mode : str, optional
- file access mode, by default "_MPI_APPEND_MODE"
- """
-
- def __init__(
- self,
- filename: "Path",
- MPI: "MPI",
- mode: str = "_MPI_APPEND_MODE",
- ) -> None:
- self.MPI = MPI
- super().__init__(filename, mode=mode, encoding=None, delay=False)
-
- def _open(self):
- return _MPIFileStream(self.baseFilename, self.MPI, self.mode)
-
- def setStream(self, stream):
- """Stream canot be reasigned in MPI mode."""
- raise NotImplementedError("Unable to do for MPI file handler!")
-
-
-def set_log_handles(
- level: int,
- log_path: Optional["Path"] = None,
- mpi_log: Optional[str] = None
-):
- """Set desired level for package loggers and add file handlers.
-
- Parameters
- ----------
- level: int
- logging level
- log_path: Optional[str]
- path to log file, if None logs will be send only to console. If the parent
- directory does not exist it will be automatically created, by default None
- mpi_log : Optional[str], optional
- mpi log type. Has three options. `master` will output logs to file and console
- only from rank==0. `collect` will write messages from all ranks to one file
- opened under rank==0 and to console. `workers` will open one log file for each
- worker designated by its rank, console behaviour is the same as for `collect`.
- If this argument is specified, package 'mpi4py' must be already installed.
- by default None
-
- Raises
- ------
- RuntimeError
- If the argument `mpi_log` is specified, package `mpi4py` is not installed.
-
- References
- ----------
- https://groups.google.com/g/mpi4py/c/SaNzc8bdj6U
- https://stackoverflow.com/questions/35869137/avoid-tensorflow-print-on-standard-error
- https://stackoverflow.com/questions/56085015/suppress-openmp-debug-messages-when-running-tensorflow-on-cpu
-
- Notes
- -----
- Logging levels:
-
- +---------+--------------+----------------+----------------+----------------+
- | | our notation | python logging | tensorflow cpp | OpenMP |
- +=========+==============+================+================+================+
- | debug | 10 | 10 | 0 | 1/on/true/yes |
- +---------+--------------+----------------+----------------+----------------+
- | info | 20 | 20 | 1 | 0/off/false/no |
- +---------+--------------+----------------+----------------+----------------+
- | warning | 30 | 30 | 2 | 0/off/false/no |
- +---------+--------------+----------------+----------------+----------------+
- | error | 40 | 40 | 3 | 0/off/false/no |
- +---------+--------------+----------------+----------------+----------------+
-
- """
- # silence logging for OpenMP when running on CPU if level is any other than debug
- if level <= 10:
- os.environ["KMP_WARNINGS"] = "FALSE"
-
- # set TF cpp internal logging level
- os.environ['TF_CPP_MIN_LOG_LEVEL'] = str(int((level / 10) - 1))
-
- # get root logger
- root_log = logging.getLogger()
-
- # remove all old handlers
- root_log.setLevel(level)
- for hdlr in root_log.handlers[:]:
- root_log.removeHandler(hdlr)
-
- # check if arguments are present
- MPI = None
- if mpi_log:
- try:
- from mpi4py import MPI
- except ImportError as e:
- raise RuntimeError("You cannot specify 'mpi_log' when mpi4py not installed") from e
-
- # * add console handler ************************************************************
- ch = logging.StreamHandler()
- if MPI:
- rank = MPI.COMM_WORLD.Get_rank()
- if mpi_log == "master":
- ch.setFormatter(CFORMATTER)
- ch.addFilter(_MPIMasterFilter(rank))
- else:
- ch.setFormatter(CFORMATTER_MPI)
- ch.addFilter(_MPIRankFilter(rank))
- else:
- ch.setFormatter(CFORMATTER)
-
- ch.setLevel(level)
- ch.addFilter(_AppFilter())
- root_log.addHandler(ch)
-
- # * add file handler ***************************************************************
- if log_path:
-
- # create directory
- log_path.parent.mkdir(exist_ok=True, parents=True)
-
- fh = None
-
- if mpi_log == "master":
- rank = MPI.COMM_WORLD.Get_rank()
- if rank == 0:
- fh = logging.FileHandler(log_path, mode="w")
- fh.addFilter(_MPIMasterFilter(rank))
- fh.setFormatter(FFORMATTER)
- elif mpi_log == "collect":
- rank = MPI.COMM_WORLD.Get_rank()
- fh = _MPIHandler(log_path, MPI, mode=MPI.MODE_WRONLY | MPI.MODE_CREATE)
- fh.addFilter(_MPIRankFilter(rank))
- fh.setFormatter(FFORMATTER_MPI)
- elif mpi_log == "workers":
- rank = MPI.COMM_WORLD.Get_rank()
- # if file has suffix than inser rank number before suffix
- # e.g deepmd.log -> deepmd_.log
- # if no suffix is present, insert rank as suffix
- # e.g. deepmdlog -> deepmdlog.
- if log_path.suffix:
- worker_log = (log_path.parent / f"{log_path.stem}_{rank}").with_suffix(
- log_path.suffix
- )
- else:
- worker_log = log_path.with_suffix(f".{rank}")
-
- fh = logging.FileHandler(worker_log, mode="w")
- fh.setFormatter(FFORMATTER)
- else:
- fh = logging.FileHandler(log_path, mode="w")
- fh.setFormatter(FFORMATTER)
-
- if fh:
- fh.setLevel(level)
- fh.addFilter(_AppFilter())
- root_log.addHandler(fh)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/__init__.py
deleted file mode 100644
index 7ba816916787ac72507660cfef52c969b5d5c9d0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-from .ener import EnerStdLoss
-from .ener import EnerDipoleLoss
-from .tensor import TensorLoss
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/ener.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/ener.py
deleted file mode 100644
index e998d70973a2b5e3c4b2ed72f8cb81dd3b615729..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/ener.py
+++ /dev/null
@@ -1,387 +0,0 @@
-import numpy as np
-from deepmd.env import tf
-from deepmd.common import ClassArg, add_data_requirement
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.utils.sess import run_sess
-from .loss import Loss
-
-
-class EnerStdLoss (Loss) :
- """
- Standard loss function for DP models
-
- Parameters
- ----------
- enable_atom_ener_coeff : bool
- if true, the energy will be computed as \sum_i c_i E_i
- """
- def __init__ (self,
- starter_learning_rate : float,
- start_pref_e : float = 0.02,
- limit_pref_e : float = 1.00,
- start_pref_f : float = 1000,
- limit_pref_f : float = 1.00,
- start_pref_v : float = 0.0,
- limit_pref_v : float = 0.0,
- start_pref_ae : float = 0.0,
- limit_pref_ae : float = 0.0,
- start_pref_pf : float = 0.0,
- limit_pref_pf : float = 0.0,
- relative_f : float = None,
- enable_atom_ener_coeff: bool=False,
- ) -> None:
- self.starter_learning_rate = starter_learning_rate
- self.start_pref_e = start_pref_e
- self.limit_pref_e = limit_pref_e
- self.start_pref_f = start_pref_f
- self.limit_pref_f = limit_pref_f
- self.start_pref_v = start_pref_v
- self.limit_pref_v = limit_pref_v
- self.start_pref_ae = start_pref_ae
- self.limit_pref_ae = limit_pref_ae
- self.start_pref_pf = start_pref_pf
- self.limit_pref_pf = limit_pref_pf
- self.relative_f = relative_f
- self.enable_atom_ener_coeff = enable_atom_ener_coeff
- self.has_e = (self.start_pref_e != 0.0 or self.limit_pref_e != 0.0)
- self.has_f = (self.start_pref_f != 0.0 or self.limit_pref_f != 0.0)
- self.has_v = (self.start_pref_v != 0.0 or self.limit_pref_v != 0.0)
- self.has_ae = (self.start_pref_ae != 0.0 or self.limit_pref_ae != 0.0)
- self.has_pf = (self.start_pref_pf != 0.0 or self.limit_pref_pf != 0.0)
- # data required
- add_data_requirement('energy', 1, atomic=False, must=False, high_prec=True)
- add_data_requirement('force', 3, atomic=True, must=False, high_prec=False)
- add_data_requirement('virial', 9, atomic=False, must=False, high_prec=False)
- add_data_requirement('atom_ener', 1, atomic=True, must=False, high_prec=False)
- add_data_requirement('atom_pref', 1, atomic=True, must=False, high_prec=False, repeat=3)
- if self.enable_atom_ener_coeff:
- add_data_requirement('atom_ener_coeff', 1, atomic=True, must=False, high_prec=False, default=1.)
-
- def build (self,
- learning_rate,
- natoms,
- model_dict,
- label_dict,
- suffix):
- energy = model_dict['energy']
- force = model_dict['force']
- virial = model_dict['virial']
- atom_ener = model_dict['atom_ener']
- energy_hat = label_dict['energy']
- force_hat = label_dict['force']
- virial_hat = label_dict['virial']
- atom_ener_hat = label_dict['atom_ener']
- atom_pref = label_dict['atom_pref']
- find_energy = label_dict['find_energy']
- find_force = label_dict['find_force']
- find_virial = label_dict['find_virial']
- find_atom_ener = label_dict['find_atom_ener']
- find_atom_pref = label_dict['find_atom_pref']
-
- if self.enable_atom_ener_coeff:
- # when ener_coeff (\nu) is defined, the energy is defined as
- # E = \sum_i \nu_i E_i
- # instead of the sum of atomic energies.
- #
- # A case is that we want to train reaction energy
- # A + B -> C + D
- # E = - E(A) - E(B) + E(C) + E(D)
- # A, B, C, D could be put far away from each other
- atom_ener_coeff = label_dict['atom_ener_coeff']
- atom_ener_coeff = tf.reshape(atom_ener_coeff, tf.shape(atom_ener))
- energy = tf.reduce_sum(atom_ener_coeff * atom_ener, 1)
- l2_ener_loss = tf.reduce_mean( tf.square(energy - energy_hat), name='l2_'+suffix)
-
- force_reshape = tf.reshape (force, [-1])
- force_hat_reshape = tf.reshape (force_hat, [-1])
- atom_pref_reshape = tf.reshape (atom_pref, [-1])
- diff_f = force_hat_reshape - force_reshape
- if self.relative_f is not None:
- force_hat_3 = tf.reshape(force_hat, [-1, 3])
- norm_f = tf.reshape(tf.norm(force_hat_3, axis = 1), [-1, 1]) + self.relative_f
- diff_f_3 = tf.reshape(diff_f, [-1, 3])
- diff_f_3 = diff_f_3 / norm_f
- diff_f = tf.reshape(diff_f_3, [-1])
- l2_force_loss = tf.reduce_mean(tf.square(diff_f), name = "l2_force_" + suffix)
- l2_pref_force_loss = tf.reduce_mean(tf.multiply(tf.square(diff_f), atom_pref_reshape), name = "l2_pref_force_" + suffix)
-
- virial_reshape = tf.reshape (virial, [-1])
- virial_hat_reshape = tf.reshape (virial_hat, [-1])
- l2_virial_loss = tf.reduce_mean (tf.square(virial_hat_reshape - virial_reshape), name = "l2_virial_" + suffix)
-
- atom_ener_reshape = tf.reshape (atom_ener, [-1])
- atom_ener_hat_reshape = tf.reshape (atom_ener_hat, [-1])
- l2_atom_ener_loss = tf.reduce_mean (tf.square(atom_ener_hat_reshape - atom_ener_reshape), name = "l2_atom_ener_" + suffix)
-
- atom_norm = 1./ global_cvt_2_tf_float(natoms[0])
- atom_norm_ener = 1./ global_cvt_2_ener_float(natoms[0])
- pref_e = global_cvt_2_ener_float(find_energy * (self.limit_pref_e + (self.start_pref_e - self.limit_pref_e) * learning_rate / self.starter_learning_rate) )
- pref_f = global_cvt_2_tf_float(find_force * (self.limit_pref_f + (self.start_pref_f - self.limit_pref_f) * learning_rate / self.starter_learning_rate) )
- pref_v = global_cvt_2_tf_float(find_virial * (self.limit_pref_v + (self.start_pref_v - self.limit_pref_v) * learning_rate / self.starter_learning_rate) )
- pref_ae= global_cvt_2_tf_float(find_atom_ener * (self.limit_pref_ae+ (self.start_pref_ae-self.limit_pref_ae) * learning_rate / self.starter_learning_rate) )
- pref_pf= global_cvt_2_tf_float(find_atom_pref * (self.limit_pref_pf+ (self.start_pref_pf-self.limit_pref_pf) * learning_rate / self.starter_learning_rate) )
-
- l2_loss = 0
- more_loss = {}
- if self.has_e :
- l2_loss += atom_norm_ener * (pref_e * l2_ener_loss)
- more_loss['l2_ener_loss'] = l2_ener_loss
- if self.has_f :
- l2_loss += global_cvt_2_ener_float(pref_f * l2_force_loss)
- more_loss['l2_force_loss'] = l2_force_loss
- if self.has_v :
- l2_loss += global_cvt_2_ener_float(atom_norm * (pref_v * l2_virial_loss))
- more_loss['l2_virial_loss'] = l2_virial_loss
- if self.has_ae :
- l2_loss += global_cvt_2_ener_float(pref_ae * l2_atom_ener_loss)
- more_loss['l2_atom_ener_loss'] = l2_atom_ener_loss
- if self.has_pf :
- l2_loss += global_cvt_2_ener_float(pref_pf * l2_pref_force_loss)
- more_loss['l2_pref_force_loss'] = l2_pref_force_loss
-
- # only used when tensorboard was set as true
- self.l2_loss_summary = tf.summary.scalar('l2_loss', tf.sqrt(l2_loss))
- self.l2_loss_ener_summary = tf.summary.scalar('l2_ener_loss', global_cvt_2_tf_float(tf.sqrt(l2_ener_loss)) / global_cvt_2_tf_float(natoms[0]))
- self.l2_loss_force_summary = tf.summary.scalar('l2_force_loss', tf.sqrt(l2_force_loss))
- self.l2_loss_virial_summary = tf.summary.scalar('l2_virial_loss', tf.sqrt(l2_virial_loss) / global_cvt_2_tf_float(natoms[0]))
-
- self.l2_l = l2_loss
- self.l2_more = more_loss
- return l2_loss, more_loss
-
- def eval(self, sess, feed_dict, natoms):
- placeholder = self.l2_l
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'] if self.has_e else placeholder,
- self.l2_more['l2_force_loss'] if self.has_f else placeholder,
- self.l2_more['l2_virial_loss'] if self.has_v else placeholder,
- self.l2_more['l2_atom_ener_loss'] if self.has_ae else placeholder,
- self.l2_more['l2_pref_force_loss'] if self.has_pf else placeholder,
- ]
- error, error_e, error_f, error_v, error_ae, error_pf = run_sess(sess, run_data, feed_dict=feed_dict)
- results = {"natoms": natoms[0], "rmse": np.sqrt(error)}
- if self.has_e:
- results["rmse_e"] = np.sqrt(error_e) / natoms[0]
- if self.has_ae:
- results["rmse_ae"] = np.sqrt(error_ae)
- if self.has_f:
- results["rmse_f"] = np.sqrt(error_f)
- if self.has_v:
- results["rmse_v"] = np.sqrt(error_v) / natoms[0]
- if self.has_pf:
- results["rmse_pf"] = np.sqrt(error_pf)
- return results
-
- def print_header(self): # depreciated
- prop_fmt = ' %11s %11s'
- print_str = ''
- print_str += prop_fmt % ('rmse_tst', 'rmse_trn')
- if self.has_e :
- print_str += prop_fmt % ('rmse_e_tst', 'rmse_e_trn')
- if self.has_ae :
- print_str += prop_fmt % ('rmse_ae_tst', 'rmse_ae_trn')
- if self.has_f :
- print_str += prop_fmt % ('rmse_f_tst', 'rmse_f_trn')
- if self.has_v :
- print_str += prop_fmt % ('rmse_v_tst', 'rmse_v_trn')
- if self.has_pf :
- print_str += prop_fmt % ('rmse_pf_tst', 'rmse_pf_trn')
- return print_str
-
- def print_on_training(self,
- tb_writer,
- cur_batch,
- sess,
- natoms,
- feed_dict_test,
- feed_dict_batch): # depreciated
-
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'],
- self.l2_more['l2_force_loss'],
- self.l2_more['l2_virial_loss'],
- self.l2_more['l2_atom_ener_loss'],
- self.l2_more['l2_pref_force_loss']
- ]
-
- # first train data
- train_out = run_sess(sess, run_data, feed_dict=feed_dict_batch)
- error_train, error_e_train, error_f_train, error_v_train, error_ae_train, error_pf_train = train_out
-
- # than test data, if tensorboard log writter is present, commpute summary
- # and write tensorboard logs
- if tb_writer:
- summary_merged_op = tf.summary.merge([self.l2_loss_summary, self.l2_loss_ener_summary, self.l2_loss_force_summary, self.l2_loss_virial_summary])
- run_data.insert(0, summary_merged_op)
-
- test_out = run_sess(sess, run_data, feed_dict=feed_dict_test)
-
- if tb_writer:
- summary = test_out.pop(0)
- tb_writer.add_summary(summary, cur_batch)
-
- error_test, error_e_test, error_f_test, error_v_test, error_ae_test, error_pf_test = test_out
-
-
- print_str = ""
- prop_fmt = " %11.2e %11.2e"
- print_str += prop_fmt % (np.sqrt(error_test), np.sqrt(error_train))
- if self.has_e :
- print_str += prop_fmt % (np.sqrt(error_e_test) / natoms[0], np.sqrt(error_e_train) / natoms[0])
- if self.has_ae :
- print_str += prop_fmt % (np.sqrt(error_ae_test), np.sqrt(error_ae_train))
- if self.has_f :
- print_str += prop_fmt % (np.sqrt(error_f_test), np.sqrt(error_f_train))
- if self.has_v :
- print_str += prop_fmt % (np.sqrt(error_v_test) / natoms[0], np.sqrt(error_v_train) / natoms[0])
- if self.has_pf:
- print_str += prop_fmt % (np.sqrt(error_pf_test), np.sqrt(error_pf_train))
-
- return print_str
-
-
-class EnerDipoleLoss (Loss) :
- def __init__ (self,
- starter_learning_rate : float,
- start_pref_e : float = 0.1,
- limit_pref_e : float = 1.0,
- start_pref_ed : float = 1.0,
- limit_pref_ed : float = 1.0
- ) -> None :
- self.starter_learning_rate = kwarg['starter_learning_rate']
- args = ClassArg()\
- .add('start_pref_e', float, must = True, default = 0.1) \
- .add('limit_pref_e', float, must = True, default = 1.00)\
- .add('start_pref_ed', float, must = True, default = 1.00)\
- .add('limit_pref_ed', float, must = True, default = 1.00)
- class_data = args.parse(jdata)
- self.start_pref_e = class_data['start_pref_e']
- self.limit_pref_e = class_data['limit_pref_e']
- self.start_pref_ed = class_data['start_pref_ed']
- self.limit_pref_ed = class_data['limit_pref_ed']
- # data required
- add_data_requirement('energy', 1, atomic=False, must=True, high_prec=True)
- add_data_requirement('energy_dipole', 3, atomic=False, must=True, high_prec=False)
-
- def build (self,
- learning_rate,
- natoms,
- model_dict,
- label_dict,
- suffix):
- coord = model_dict['coord']
- energy = model_dict['energy']
- atom_ener = model_dict['atom_ener']
- nframes = tf.shape(atom_ener)[0]
- natoms = tf.shape(atom_ener)[1]
- # build energy dipole
- atom_ener0 = atom_ener - tf.reshape(tf.tile(tf.reshape(energy/global_cvt_2_ener_float(natoms), [-1, 1]), [1, natoms]), [nframes, natoms])
- coord = tf.reshape(coord, [nframes, natoms, 3])
- atom_ener0 = tf.reshape(atom_ener0, [nframes, 1, natoms])
- ener_dipole = tf.matmul(atom_ener0, coord)
- ener_dipole = tf.reshape(ener_dipole, [nframes, 3])
-
- energy_hat = label_dict['energy']
- ener_dipole_hat = label_dict['energy_dipole']
- find_energy = label_dict['find_energy']
- find_ener_dipole = label_dict['find_energy_dipole']
-
- l2_ener_loss = tf.reduce_mean( tf.square(energy - energy_hat), name='l2_'+suffix)
-
- ener_dipole_reshape = tf.reshape(ener_dipole, [-1])
- ener_dipole_hat_reshape = tf.reshape(ener_dipole_hat, [-1])
- l2_ener_dipole_loss = tf.reduce_mean( tf.square(ener_dipole_reshape - ener_dipole_hat_reshape), name='l2_'+suffix)
-
- # atom_norm_ener = 1./ global_cvt_2_ener_float(natoms[0])
- atom_norm_ener = 1./ global_cvt_2_ener_float(natoms)
- pref_e = global_cvt_2_ener_float(find_energy * (self.limit_pref_e + (self.start_pref_e - self.limit_pref_e) * learning_rate / self.starter_learning_rate) )
- pref_ed = global_cvt_2_tf_float(find_ener_dipole * (self.limit_pref_ed + (self.start_pref_ed - self.limit_pref_ed) * learning_rate / self.starter_learning_rate) )
-
- l2_loss = 0
- more_loss = {}
- l2_loss += atom_norm_ener * (pref_e * l2_ener_loss)
- l2_loss += global_cvt_2_ener_float(pref_ed * l2_ener_dipole_loss)
- more_loss['l2_ener_loss'] = l2_ener_loss
- more_loss['l2_ener_dipole_loss'] = l2_ener_dipole_loss
-
- self.l2_loss_summary = tf.summary.scalar('l2_loss', tf.sqrt(l2_loss))
- self.l2_loss_ener_summary = tf.summary.scalar('l2_ener_loss', tf.sqrt(l2_ener_loss) / global_cvt_2_tf_float(natoms[0]))
- self.l2_ener_dipole_loss_summary = tf.summary.scalar('l2_ener_dipole_loss', tf.sqrt(l2_ener_dipole_loss))
-
- self.l2_l = l2_loss
- self.l2_more = more_loss
- return l2_loss, more_loss
-
- def eval(self, sess, feed_dict, natoms):
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'],
- self.l2_more['l2_ener_dipole_loss']
- ]
- error, error_e, error_ed = run_sess(sess, run_data, feed_dict=feed_dict)
- results = {
- 'natoms': natoms[0],
- 'rmse': np.sqrt(error),
- 'rmse_e': np.sqrt(error_e) / natoms[0],
- 'rmse_ed': np.sqrt(error_ed)
- }
- return results
-
- @staticmethod
- def print_header() : # depreciated
- prop_fmt = ' %9s %9s'
- print_str = ''
- print_str += prop_fmt % ('l2_tst', 'l2_trn')
- print_str += prop_fmt % ('l2_e_tst', 'l2_e_trn')
- print_str += prop_fmt % ('l2_ed_tst', 'l2_ed_trn')
- return print_str
-
- def print_on_training(self,
- tb_writer,
- cur_batch,
- sess,
- natoms,
- feed_dict_test,
- feed_dict_batch): # depreciated
-
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'],
- self.l2_more['l2_ener_dipole_loss']
- ]
-
- # first train data
- train_out = run_sess(sess, run_data, feed_dict=feed_dict_batch)
- error_train, error_e_train, error_ed_train = train_out
-
- # than test data, if tensorboard log writter is present, commpute summary
- # and write tensorboard logs
- if tb_writer:
- summary_merged_op = tf.summary.merge([
- self.l2_loss_summary,
- self.l2_loss_ener_summary,
- self.l2_ener_dipole_loss_summary
- ])
- run_data.insert(0, summary_merged_op)
-
- test_out = run_sess(sess, run_data, feed_dict=feed_dict_test)
-
- if tb_writer:
- summary = test_out.pop(0)
- tb_writer.add_summary(summary, cur_batch)
-
- error_test, error_e_test, error_ed_test = test_out
-
- print_str = ""
- prop_fmt = " %9.2e %9.2e"
- print_str += prop_fmt % (np.sqrt(error_test), np.sqrt(error_train))
- print_str += prop_fmt % (np.sqrt(error_e_test) / natoms[0], np.sqrt(error_e_train) / natoms[0])
- print_str += prop_fmt % (np.sqrt(error_ed_test), np.sqrt(error_ed_train))
- return print_str
-
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/loss.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/loss.py
deleted file mode 100644
index ab66d65db07625567b44cd00e13af718009103fa..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/loss.py
+++ /dev/null
@@ -1,59 +0,0 @@
-from abc import ABCMeta, abstractmethod
-from typing import Tuple, Dict
-from deepmd.env import tf
-
-
-class Loss(metaclass=ABCMeta):
- """The abstract class for the loss function."""
- @abstractmethod
- def build(self,
- learning_rate: tf.Tensor,
- natoms: tf.Tensor,
- model_dict: Dict[str, tf.Tensor],
- label_dict: Dict[str, tf.Tensor],
- suffix: str) -> Tuple[tf.Tensor, Dict[str, tf.Tensor]]:
- """Build the loss function graph.
-
- Parameters
- ----------
- learning_rate : tf.Tensor
- learning rate
- natoms : tf.Tensor
- number of atoms
- model_dict : dict[str, tf.Tensor]
- A dictionary that maps model keys to tensors
- label_dict : dict[str, tf.Tensor]
- A dictionary that maps label keys to tensors
- suffix : str
- suffix
-
- Returns
- -------
- tf.Tensor
- the total squared loss
- dict[str, tf.Tensor]
- A dictionary that maps loss keys to more loss tensors
- """
-
- @abstractmethod
- def eval(self,
- sess: tf.Session,
- feed_dict: Dict[tf.placeholder, tf.Tensor],
- natoms: tf.Tensor) -> dict:
- """Eval the loss function.
-
- Parameters
- ----------
- sess : tf.Session
- TensorFlow session
- feed_dict : dict[tf.placeholder, tf.Tensor]
- A dictionary that maps graph elements to values
- natoms : tf.Tensor
- number of atoms
-
- Returns
- -------
- dict
- A dictionary that maps keys to values. It
- should contain key `natoms`
- """
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/tensor.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/tensor.py
deleted file mode 100644
index 47cb0a3714e8608405362f8edaae5316bdd332a0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/loss/tensor.py
+++ /dev/null
@@ -1,197 +0,0 @@
-import numpy as np
-from deepmd.env import tf
-from deepmd.common import ClassArg, add_data_requirement
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.utils.sess import run_sess
-from .loss import Loss
-
-
-class TensorLoss(Loss) :
- """
- Loss function for tensorial properties.
- """
- def __init__ (self, jdata, **kwarg) :
- model = kwarg.get('model', None)
- if model is not None:
- self.type_sel = model.get_sel_type()
- else:
- self.type_sel = None
- self.tensor_name = kwarg['tensor_name']
- self.tensor_size = kwarg['tensor_size']
- self.label_name = kwarg['label_name']
- if jdata is not None:
- self.scale = jdata.get('scale', 1.0)
- else:
- self.scale = 1.0
-
- # YHT: added for global / local dipole combination
- assert jdata is not None, "Please provide loss parameters!"
- # YWolfeee: modify, use pref / pref_atomic, instead of pref_weight / pref_atomic_weight
- self.local_weight = jdata.get('pref_atomic', None)
- self.global_weight = jdata.get('pref', None)
-
- assert (self.local_weight is not None and self.global_weight is not None), "Both `pref` and `pref_atomic` should be provided."
- assert self.local_weight >= 0.0 and self.global_weight >= 0.0, "Can not assign negative weight to `pref` and `pref_atomic`"
- assert (self.local_weight >0.0) or (self.global_weight>0.0), AssertionError('Can not assian zero weight both to `pref` and `pref_atomic`')
-
- # data required
- add_data_requirement("atomic_" + self.label_name,
- self.tensor_size,
- atomic=True,
- must=False,
- high_prec=False,
- type_sel = self.type_sel)
- add_data_requirement(self.label_name,
- self.tensor_size,
- atomic=False,
- must=False,
- high_prec=False,
- type_sel = self.type_sel)
-
- def build (self,
- learning_rate,
- natoms,
- model_dict,
- label_dict,
- suffix):
- polar_hat = label_dict[self.label_name]
- atomic_polar_hat = label_dict["atomic_" + self.label_name]
- polar = tf.reshape(model_dict[self.tensor_name], [-1])
-
- find_global = label_dict['find_' + self.label_name]
- find_atomic = label_dict['find_atomic_' + self.label_name]
-
-
-
- # YHT: added for global / local dipole combination
- l2_loss = global_cvt_2_tf_float(0.0)
- more_loss = {
- "local_loss":global_cvt_2_tf_float(0.0),
- "global_loss":global_cvt_2_tf_float(0.0)
- }
-
-
- if self.local_weight > 0.0:
- local_loss = global_cvt_2_tf_float(find_atomic) * tf.reduce_mean( tf.square(self.scale*(polar - atomic_polar_hat)), name='l2_'+suffix)
- more_loss['local_loss'] = local_loss
- l2_loss += self.local_weight * local_loss
- self.l2_loss_local_summary = tf.summary.scalar('l2_local_loss',
- tf.sqrt(more_loss['local_loss']))
-
-
- if self.global_weight > 0.0: # Need global loss
- atoms = 0
- if self.type_sel is not None:
- for w in self.type_sel:
- atoms += natoms[2+w]
- else:
- atoms = natoms[0]
- nframes = tf.shape(polar)[0] // self.tensor_size // atoms
- # get global results
- global_polar = tf.reshape(tf.reduce_sum(tf.reshape(
- polar, [nframes, -1, self.tensor_size]), axis=1),[-1])
- #if self.atomic: # If label is local, however
- # global_polar_hat = tf.reshape(tf.reduce_sum(tf.reshape(
- # polar_hat, [nframes, -1, self.tensor_size]), axis=1),[-1])
- #else:
- # global_polar_hat = polar_hat
-
- global_loss = global_cvt_2_tf_float(find_global) * tf.reduce_mean( tf.square(self.scale*(global_polar - polar_hat)), name='l2_'+suffix)
-
- more_loss['global_loss'] = global_loss
- self.l2_loss_global_summary = tf.summary.scalar('l2_global_loss',
- tf.sqrt(more_loss['global_loss']) / global_cvt_2_tf_float(atoms))
-
- # YWolfeee: should only consider atoms with dipole, i.e. atoms
- # atom_norm = 1./ global_cvt_2_tf_float(natoms[0])
- atom_norm = 1./ global_cvt_2_tf_float(atoms)
- global_loss *= atom_norm
-
- l2_loss += self.global_weight * global_loss
-
- self.l2_more = more_loss
- self.l2_l = l2_loss
-
- self.l2_loss_summary = tf.summary.scalar('l2_loss', tf.sqrt(l2_loss))
- return l2_loss, more_loss
-
- def eval(self, sess, feed_dict, natoms):
- atoms = 0
- if self.type_sel is not None:
- for w in self.type_sel:
- atoms += natoms[2+w]
- else:
- atoms = natoms[0]
-
- run_data = [self.l2_l, self.l2_more['local_loss'], self.l2_more['global_loss']]
- error, error_lc, error_gl = run_sess(sess, run_data, feed_dict=feed_dict)
-
- results = {"natoms": atoms, "rmse": np.sqrt(error)}
- if self.local_weight > 0.0:
- results["rmse_lc"] = np.sqrt(error_lc)
- if self.global_weight > 0.0:
- results["rmse_gl"] = np.sqrt(error_gl) / atoms
- return results
-
- def print_header(self): # depreciated
- prop_fmt = ' %11s %11s'
- print_str = ''
- print_str += prop_fmt % ('rmse_tst', 'rmse_trn')
- if self.local_weight > 0.0:
- print_str += prop_fmt % ('rmse_lc_tst', 'rmse_lc_trn')
- if self.global_weight > 0.0:
- print_str += prop_fmt % ('rmse_gl_tst', 'rmse_gl_trn')
- return print_str
-
- def print_on_training(self,
- tb_writer,
- cur_batch,
- sess,
- natoms,
- feed_dict_test,
- feed_dict_batch) : # depreciated
-
- # YHT: added to calculate the atoms number
- atoms = 0
- if self.type_sel is not None:
- for w in self.type_sel:
- atoms += natoms[2+w]
- else:
- atoms = natoms[0]
-
- run_data = [self.l2_l, self.l2_more['local_loss'], self.l2_more['global_loss']]
- summary_list = [self.l2_loss_summary]
- if self.local_weight > 0.0:
- summary_list.append(self.l2_loss_local_summary)
- if self.global_weight > 0.0:
- summary_list.append(self.l2_loss_global_summary)
-
- # first train data
- error_train = run_sess(sess, run_data, feed_dict=feed_dict_batch)
-
- # than test data, if tensorboard log writter is present, commpute summary
- # and write tensorboard logs
- if tb_writer:
- #summary_merged_op = tf.summary.merge([self.l2_loss_summary])
- summary_merged_op = tf.summary.merge(summary_list)
- run_data.insert(0, summary_merged_op)
-
- test_out = run_sess(sess, run_data, feed_dict=feed_dict_test)
-
- if tb_writer:
- summary = test_out.pop(0)
- tb_writer.add_summary(summary, cur_batch)
-
- error_test = test_out
-
- print_str = ""
- prop_fmt = " %11.2e %11.2e"
- print_str += prop_fmt % (np.sqrt(error_test[0]), np.sqrt(error_train[0]))
- if self.local_weight > 0.0:
- print_str += prop_fmt % (np.sqrt(error_test[1]), np.sqrt(error_train[1]) )
- if self.global_weight > 0.0:
- print_str += prop_fmt % (np.sqrt(error_test[2])/atoms, np.sqrt(error_train[2])/atoms)
-
- return print_str
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/__init__.py
deleted file mode 100644
index 205a199576ab3a9e5e11d5764701815d809f9c03..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from .ener import EnerModel
-from .tensor import WFCModel
-from .tensor import DipoleModel
-from .tensor import PolarModel
-from .tensor import GlobalPolarModel
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/ener.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/ener.py
deleted file mode 100644
index 490f9f2df25a9d1263c558bb5dbc4d6ee1673483..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/ener.py
+++ /dev/null
@@ -1,327 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.utils.pair_tab import PairTab
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.errors import GraphWithoutTensorError
-from deepmd.common import ClassArg
-from deepmd.env import global_cvt_2_ener_float, MODEL_VERSION, GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import op_module
-from .model import Model
-from .model_stat import make_stat_input, merge_sys_stat
-
-class EnerModel(Model) :
- """Energy model.
-
- Parameters
- ----------
- descrpt
- Descriptor
- fitting
- Fitting net
- type_map
- Mapping atom type to the name (str) of the type.
- For example `type_map[1]` gives the name of the type 1.
- data_stat_nbatch
- Number of frames used for data statistic
- data_stat_protect
- Protect parameter for atomic energy regression
- use_srtab
- The table for the short-range pairwise interaction added on top of DP. The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes. The first colume is the distance between atoms. The second to the last columes are energies for pairs of certain types. For example we have two atom types, 0 and 1. The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.
- smin_alpha
- The short-range tabulated interaction will be swithed according to the distance of the nearest neighbor. This distance is calculated by softmin. This parameter is the decaying parameter in the softmin. It is only required when `use_srtab` is provided.
- sw_rmin
- The lower boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.
- sw_rmin
- The upper boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.
- """
- model_type = 'ener'
-
- def __init__ (
- self,
- descrpt,
- fitting,
- typeebd = None,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2,
- use_srtab : str = None,
- smin_alpha : float = None,
- sw_rmin : float = None,
- sw_rmax : float = None
- ) -> None:
- """
- Constructor
- """
- # descriptor
- self.descrpt = descrpt
- self.rcut = self.descrpt.get_rcut()
- self.ntypes = self.descrpt.get_ntypes()
- # fitting
- self.fitting = fitting
- self.numb_fparam = self.fitting.get_numb_fparam()
- # type embedding
- self.typeebd = typeebd
- # other inputs
- if type_map is None:
- self.type_map = []
- else:
- self.type_map = type_map
- self.data_stat_nbatch = data_stat_nbatch
- self.data_stat_protect = data_stat_protect
- self.srtab_name = use_srtab
- if self.srtab_name is not None :
- self.srtab = PairTab(self.srtab_name)
- self.smin_alpha = smin_alpha
- self.sw_rmin = sw_rmin
- self.sw_rmax = sw_rmax
- else :
- self.srtab = None
-
-
- def get_rcut (self) :
- return self.rcut
-
- def get_ntypes (self) :
- return self.ntypes
-
- def get_type_map (self) :
- return self.type_map
-
- def data_stat(self, data):
- all_stat = make_stat_input(data, self.data_stat_nbatch, merge_sys = False)
- m_all_stat = merge_sys_stat(all_stat)
- self._compute_input_stat(m_all_stat, protection=self.data_stat_protect, mixed_type=data.mixed_type)
- self._compute_output_stat(all_stat, mixed_type=data.mixed_type)
- # self.bias_atom_e = data.compute_energy_shift(self.rcond)
-
- def _compute_input_stat (self, all_stat, protection=1e-2, mixed_type=False):
- if mixed_type:
- self.descrpt.compute_input_stats(all_stat['coord'],
- all_stat['box'],
- all_stat['type'],
- all_stat['natoms_vec'],
- all_stat['default_mesh'],
- all_stat,
- mixed_type,
- all_stat['real_natoms_vec'])
- else:
- self.descrpt.compute_input_stats(all_stat['coord'],
- all_stat['box'],
- all_stat['type'],
- all_stat['natoms_vec'],
- all_stat['default_mesh'],
- all_stat)
- self.fitting.compute_input_stats(all_stat, protection=protection)
-
- def _compute_output_stat (self, all_stat, mixed_type=False):
- if mixed_type:
- self.fitting.compute_output_stats(all_stat, mixed_type=mixed_type)
- else:
- self.fitting.compute_output_stats(all_stat)
-
-
- def build (self,
- coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- frz_model = None,
- suffix = '',
- reuse = None):
-
- if input_dict is None:
- input_dict = {}
- with tf.variable_scope('model_attr' + suffix, reuse = reuse) :
- t_tmap = tf.constant(' '.join(self.type_map),
- name = 'tmap',
- dtype = tf.string)
- t_mt = tf.constant(self.model_type,
- name = 'model_type',
- dtype = tf.string)
- t_ver = tf.constant(MODEL_VERSION,
- name = 'model_version',
- dtype = tf.string)
-
- if self.srtab is not None :
- tab_info, tab_data = self.srtab.get()
- self.tab_info = tf.get_variable('t_tab_info',
- tab_info.shape,
- dtype = tf.float64,
- trainable = False,
- initializer = tf.constant_initializer(tab_info, dtype = tf.float64))
- self.tab_data = tf.get_variable('t_tab_data',
- tab_data.shape,
- dtype = tf.float64,
- trainable = False,
- initializer = tf.constant_initializer(tab_data, dtype = tf.float64))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- atype = tf.reshape (atype_, [-1, natoms[1]])
- input_dict['nframes'] = tf.shape(coord)[0]
-
- # type embedding if any
- if self.typeebd is not None:
- type_embedding = self.typeebd.build(
- self.ntypes,
- reuse = reuse,
- suffix = suffix,
- )
- input_dict['type_embedding'] = type_embedding
- input_dict['atype'] = atype_
-
- if frz_model == None:
- dout \
- = self.descrpt.build(coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- suffix = suffix,
- reuse = reuse)
- dout = tf.identity(dout, name='o_descriptor')
- else:
- tf.constant(self.rcut,
- name = 'descrpt_attr/rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- tf.constant(self.ntypes,
- name = 'descrpt_attr/ntypes',
- dtype = tf.int32)
- feed_dict = self.descrpt.get_feed_dict(coord_, atype_, natoms, box, mesh)
- return_elements = [*self.descrpt.get_tensor_names(), 'o_descriptor:0']
- imported_tensors \
- = self._import_graph_def_from_frz_model(frz_model, feed_dict, return_elements)
- dout = imported_tensors[-1]
- self.descrpt.pass_tensors_from_frz_model(*imported_tensors[:-1])
-
-
- if self.srtab is not None :
- nlist, rij, sel_a, sel_r = self.descrpt.get_nlist()
- nnei_a = np.cumsum(sel_a)[-1]
- nnei_r = np.cumsum(sel_r)[-1]
-
- atom_ener = self.fitting.build (dout,
- natoms,
- input_dict,
- reuse = reuse,
- suffix = suffix)
- self.atom_ener = atom_ener
-
- if self.srtab is not None :
- sw_lambda, sw_deriv \
- = op_module.soft_min_switch(atype,
- rij,
- nlist,
- natoms,
- sel_a = sel_a,
- sel_r = sel_r,
- alpha = self.smin_alpha,
- rmin = self.sw_rmin,
- rmax = self.sw_rmax)
- inv_sw_lambda = 1.0 - sw_lambda
- # NOTICE:
- # atom energy is not scaled,
- # force and virial are scaled
- tab_atom_ener, tab_force, tab_atom_virial \
- = op_module.pair_tab(self.tab_info,
- self.tab_data,
- atype,
- rij,
- nlist,
- natoms,
- sw_lambda,
- sel_a = sel_a,
- sel_r = sel_r)
- energy_diff = tab_atom_ener - tf.reshape(atom_ener, [-1, natoms[0]])
- tab_atom_ener = tf.reshape(sw_lambda, [-1]) * tf.reshape(tab_atom_ener, [-1])
- atom_ener = tf.reshape(inv_sw_lambda, [-1]) * atom_ener
- energy_raw = tab_atom_ener + atom_ener
- else :
- energy_raw = atom_ener
-
- energy_raw = tf.reshape(energy_raw, [-1, natoms[0]], name = 'o_atom_energy'+suffix)
- energy = tf.reduce_sum(global_cvt_2_ener_float(energy_raw), axis=1, name='o_energy'+suffix)
-
- force, virial, atom_virial \
- = self.descrpt.prod_force_virial (atom_ener, natoms)
-
- if self.srtab is not None :
- sw_force \
- = op_module.soft_min_force(energy_diff,
- sw_deriv,
- nlist,
- natoms,
- n_a_sel = nnei_a,
- n_r_sel = nnei_r)
- force = force + sw_force + tab_force
-
- force = tf.reshape (force, [-1, 3 * natoms[1]], name = "o_force"+suffix)
-
- if self.srtab is not None :
- sw_virial, sw_atom_virial \
- = op_module.soft_min_virial (energy_diff,
- sw_deriv,
- rij,
- nlist,
- natoms,
- n_a_sel = nnei_a,
- n_r_sel = nnei_r)
- atom_virial = atom_virial + sw_atom_virial + tab_atom_virial
- virial = virial + sw_virial \
- + tf.reduce_sum(tf.reshape(tab_atom_virial, [-1, natoms[1], 9]), axis = 1)
-
- virial = tf.reshape (virial, [-1, 9], name = "o_virial"+suffix)
- atom_virial = tf.reshape (atom_virial, [-1, 9 * natoms[1]], name = "o_atom_virial"+suffix)
-
- model_dict = {}
- model_dict['energy'] = energy
- model_dict['force'] = force
- model_dict['virial'] = virial
- model_dict['atom_ener'] = energy_raw
- model_dict['atom_virial'] = atom_virial
- model_dict['coord'] = coord
- model_dict['atype'] = atype
-
- return model_dict
-
- def _import_graph_def_from_frz_model(self, frz_model, feed_dict, return_elements):
- graph, graph_def = load_graph_def(frz_model)
- return tf.import_graph_def(graph_def, input_map = feed_dict, return_elements = return_elements, name = "")
-
- def init_variables(self,
- graph : tf.Graph,
- graph_def : tf.GraphDef,
- model_type : str = "original_model",
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given frozen model
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- model_type : str
- the type of the model
- suffix : str
- suffix to name scope
- """
- # self.frz_model will control the self.model to import the descriptor from the given frozen model instead of building from scratch...
- # initialize fitting net with the given compressed frozen model
- if model_type == 'original_model':
- self.descrpt.init_variables(graph, graph_def, suffix=suffix)
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("original_model", name = 'model_type', dtype = tf.string)
- elif model_type == 'compressed_model':
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("compressed_model", name = 'model_type', dtype = tf.string)
- else:
- raise RuntimeError("Unknown model type %s" % model_type)
- if self.typeebd is not None:
- self.typeebd.init_variables(graph, graph_def, suffix=suffix)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/model.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/model.py
deleted file mode 100644
index f773d040eac84ce1e5b5be089d81ba5af57f0364..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/model.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from deepmd.env import tf
-
-
-class Model:
- def init_variables(self,
- graph : tf.Graph,
- graph_def : tf.GraphDef,
- model_type : str = "original_model",
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given frozen model
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- model_type : str
- the type of the model
- suffix : str
- suffix to name scope
- """
- raise RuntimeError("The 'dp train init-frz-model' command do not support this model!")
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/model_stat.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/model_stat.py
deleted file mode 100644
index 10d0f6cff068699d0d5ef5e837632e4773c37dcf..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/model_stat.py
+++ /dev/null
@@ -1,62 +0,0 @@
-import numpy as np
-from collections import defaultdict
-
-def _make_all_stat_ref(data, nbatches):
- all_stat = defaultdict(list)
- for ii in range(data.get_nsystems()) :
- for jj in range(nbatches) :
- stat_data = data.get_batch (sys_idx = ii)
- for dd in stat_data:
- if dd == "natoms_vec":
- stat_data[dd] = stat_data[dd].astype(np.int32)
- all_stat[dd].append(stat_data[dd])
- return all_stat
-
-
-def make_stat_input(data, nbatches, merge_sys = True):
- """
- pack data for statistics
-
- Parameters
- ----------
- data:
- The data
- merge_sys: bool (True)
- Merge system data
-
- Returns
- -------
- all_stat:
- A dictionary of list of list storing data for stat.
- if merge_sys == False data can be accessed by
- all_stat[key][sys_idx][batch_idx][frame_idx]
- else merge_sys == True can be accessed by
- all_stat[key][batch_idx][frame_idx]
- """
- all_stat = defaultdict(list)
- for ii in range(data.get_nsystems()) :
- sys_stat = defaultdict(list)
- for jj in range(nbatches) :
- stat_data = data.get_batch (sys_idx = ii)
- for dd in stat_data:
- if dd == "natoms_vec":
- stat_data[dd] = stat_data[dd].astype(np.int32)
- sys_stat[dd].append(stat_data[dd])
- for dd in sys_stat:
- if merge_sys:
- for bb in sys_stat[dd]:
- all_stat[dd].append(bb)
- else:
- all_stat[dd].append(sys_stat[dd])
- return all_stat
-
-def merge_sys_stat(all_stat):
- first_key = list(all_stat.keys())[0]
- nsys = len(all_stat[first_key])
- ret = defaultdict(list)
- for ii in range(nsys):
- for dd in all_stat:
- for bb in all_stat[dd][ii]:
- ret[dd].append(bb)
- return ret
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/tensor.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/tensor.py
deleted file mode 100644
index d7e4ffef1ddda2d9a17e0f4cc4a4169d078679d5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/model/tensor.py
+++ /dev/null
@@ -1,272 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg
-from deepmd.env import global_cvt_2_ener_float, MODEL_VERSION, GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.utils.graph import load_graph_def
-from .model import Model
-from .model_stat import make_stat_input, merge_sys_stat
-
-class TensorModel(Model) :
- """Tensor model.
-
- Parameters
- ----------
- tensor_name
- Name of the tensor.
- descrpt
- Descriptor
- fitting
- Fitting net
- type_map
- Mapping atom type to the name (str) of the type.
- For example `type_map[1]` gives the name of the type 1.
- data_stat_nbatch
- Number of frames used for data statistic
- data_stat_protect
- Protect parameter for atomic energy regression
- """
- def __init__ (
- self,
- tensor_name : str,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2,
- )->None:
- """
- Constructor
- """
- self.model_type = tensor_name
- # descriptor
- self.descrpt = descrpt
- self.rcut = self.descrpt.get_rcut()
- self.ntypes = self.descrpt.get_ntypes()
- # fitting
- self.fitting = fitting
- # other params
- if type_map is None:
- self.type_map = []
- else:
- self.type_map = type_map
- self.data_stat_nbatch = data_stat_nbatch
- self.data_stat_protect = data_stat_protect
-
- def get_rcut (self) :
- return self.rcut
-
- def get_ntypes (self) :
- return self.ntypes
-
- def get_type_map (self) :
- return self.type_map
-
- def get_sel_type(self):
- return self.fitting.get_sel_type()
-
- def get_out_size (self) :
- return self.fitting.get_out_size()
-
- def data_stat(self, data):
- all_stat = make_stat_input(data, self.data_stat_nbatch, merge_sys = False)
- m_all_stat = merge_sys_stat(all_stat)
- self._compute_input_stat (m_all_stat, protection = self.data_stat_protect)
- self._compute_output_stat(all_stat)
-
- def _compute_input_stat(self, all_stat, protection = 1e-2) :
- self.descrpt.compute_input_stats(all_stat['coord'],
- all_stat['box'],
- all_stat['type'],
- all_stat['natoms_vec'],
- all_stat['default_mesh'],
- all_stat)
- if hasattr(self.fitting, 'compute_input_stats'):
- self.fitting.compute_input_stats(all_stat, protection = protection)
-
- def _compute_output_stat (self, all_stat) :
- if hasattr(self.fitting, 'compute_output_stats'):
- self.fitting.compute_output_stats(all_stat)
-
- def build (self,
- coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- frz_model = None,
- suffix = '',
- reuse = None):
- with tf.variable_scope('model_attr' + suffix, reuse = reuse) :
- t_tmap = tf.constant(' '.join(self.type_map),
- name = 'tmap',
- dtype = tf.string)
- t_st = tf.constant(self.get_sel_type(),
- name = 'sel_type',
- dtype = tf.int32)
- t_mt = tf.constant(self.model_type,
- name = 'model_type',
- dtype = tf.string)
- t_ver = tf.constant(MODEL_VERSION,
- name = 'model_version',
- dtype = tf.string)
- t_od = tf.constant(self.get_out_size(),
- name = 'output_dim',
- dtype = tf.int32)
-
- natomsel = sum(natoms[2+type_i] for type_i in self.get_sel_type())
- nout = self.get_out_size()
-
- if frz_model == None:
- dout \
- = self.descrpt.build(coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- suffix = suffix,
- reuse = reuse)
- dout = tf.identity(dout, name='o_descriptor')
- else:
- tf.constant(self.rcut,
- name = 'descrpt_attr/rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- tf.constant(self.ntypes,
- name = 'descrpt_attr/ntypes',
- dtype = tf.int32)
- feed_dict = self.descrpt.get_feed_dict(coord_, atype_, natoms, box, mesh)
- return_elements = [*self.descrpt.get_tensor_names(), 'o_descriptor:0']
- imported_tensors \
- = self._import_graph_def_from_frz_model(frz_model, feed_dict, return_elements)
- dout = imported_tensors[-1]
- self.descrpt.pass_tensors_from_frz_model(*imported_tensors[:-1])
-
- rot_mat = self.descrpt.get_rot_mat()
- rot_mat = tf.identity(rot_mat, name = 'o_rot_mat'+suffix)
-
- output = self.fitting.build (dout,
- rot_mat,
- natoms,
- reuse = reuse,
- suffix = suffix)
- framesize = nout if "global" in self.model_type else natomsel * nout
- output = tf.reshape(output, [-1, framesize], name = 'o_' + self.model_type + suffix)
-
- model_dict = {self.model_type: output}
-
- if "global" not in self.model_type:
- gname = "global_"+self.model_type
- atom_out = tf.reshape(output, [-1, natomsel, nout])
- global_out = tf.reduce_sum(atom_out, axis=1)
- global_out = tf.reshape(global_out, [-1, nout], name="o_" + gname + suffix)
-
- out_cpnts = tf.split(atom_out, nout, axis=-1)
- force_cpnts = []
- virial_cpnts = []
- atom_virial_cpnts = []
-
- for out_i in out_cpnts:
- force_i, virial_i, atom_virial_i \
- = self.descrpt.prod_force_virial(out_i, natoms)
- force_cpnts.append (tf.reshape(force_i, [-1, 3*natoms[1]]))
- virial_cpnts.append (tf.reshape(virial_i, [-1, 9]))
- atom_virial_cpnts.append(tf.reshape(atom_virial_i, [-1, 9*natoms[1]]))
-
- # [nframe x nout x (natom x 3)]
- force = tf.concat(force_cpnts, axis=1, name="o_force" + suffix)
- # [nframe x nout x 9]
- virial = tf.concat(virial_cpnts, axis=1, name="o_virial" + suffix)
- # [nframe x nout x (natom x 9)]
- atom_virial = tf.concat(atom_virial_cpnts, axis=1, name="o_atom_virial" + suffix)
-
- model_dict[gname] = global_out
- model_dict["force"] = force
- model_dict["virial"] = virial
- model_dict["atom_virial"] = atom_virial
-
- return model_dict
-
- def _import_graph_def_from_frz_model(self, frz_model, feed_dict, return_elements):
- graph, graph_def = load_graph_def(frz_model)
- return tf.import_graph_def(graph_def, input_map = feed_dict, return_elements = return_elements, name = "")
-
- def init_variables(self,
- graph : tf.Graph,
- graph_def : tf.GraphDef,
- model_type : str = "original_model",
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given frozen model
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- model_type : str
- the type of the model
- suffix : str
- suffix to name scope
- """
- if model_type == 'original_model':
- self.descrpt.init_variables(graph, graph_def, suffix=suffix)
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("original_model", name = 'model_type', dtype = tf.string)
- elif model_type == 'compressed_model':
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("compressed_model", name = 'model_type', dtype = tf.string)
- else:
- raise RuntimeError("Unknown model type %s" % model_type)
-
-
-class WFCModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'wfc', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-class DipoleModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'dipole', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-class PolarModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'polar', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-class GlobalPolarModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'global_polar', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/__init__.py
deleted file mode 100644
index 244b274d4c66ee58f3d0092b53ea5ee609b72476..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-
-from . import data, descriptor, entrypoints, fit, utils
-
-__all__ = [
- "data",
- "descriptor",
- "entrypoints",
- "fit",
- "utils",
-]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/data/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/data/__init__.py
deleted file mode 100644
index fe0227aeeebddf20d76b3cebde8006eecfe9228c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/data/__init__.py
+++ /dev/null
@@ -1,44 +0,0 @@
-"""
-nvnmd.data
-==========
-
-Provides
- 1. hardware configuration
- 2. default input script
- 3. title and citation
-
-Data
-----
-
-jdata_sys
- action configuration
-jdata_config
- hardware configuration
-
- dscp
- descriptor configuration
- fitn
- fitting network configuration
- size
- ram capacity
- ctrl
- control flag, such as Time Division Multiplexing (TDM)
- nbit
- number of bits of fixed-point number
-jdata_config_16 (disable)
- difference with configure fitting size as 16
-jdata_config_32 (disable)
- difference with configure fitting size as 32
-jdata_config_64 (disable)
- difference with configure fitting size as 64
-jdata_config_128 (default)
- difference with configure fitting size as 128
-jdata_configs
- all configure of jdata_config{nfit_node}
-jdata_deepmd_input
- default input script for nvnmd training
-NVNMD_WELCOME
- nvnmd title when logging
-NVNMD_CITATION
- citation of nvnmd
-"""
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/data/data.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/data/data.py
deleted file mode 100644
index 49fd2e69b3b0270f6920f20ea3d7c7fdf06b5359..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/data/data.py
+++ /dev/null
@@ -1,283 +0,0 @@
-
-jdata_sys = {
- "debug": False
-}
-
-jdata_config = {
- "dscp": {
- "sel": [60, 60],
- "rcut": 6.0,
- "rcut_smth": 0.5,
- "neuron": [8, 16, 32],
- "resnet_dt": False,
- "axis_neuron": 4,
- "type_one_side": True,
-
- "NI": 128,
- "rc_lim": 0.5,
- "M1": "neuron[-1]",
- "M2": "axis_neuron",
- "SEL": [60, 60, 0, 0],
- "NNODE_FEAS": "(1, neuron)",
- "nlayer_fea": "len(neuron)",
- "same_net": "type_one_side",
- "NIDP": "sum(sel)",
- "NIX": "2^ceil(ln2(NIDP/1.5))",
- "ntype": "len(sel)",
- "ntypex": "same_net ? 1: ntype",
- "ntypex_max": 1,
- "ntype_max": 4
- },
-
- "fitn": {
- "neuron": [32, 32, 32],
- "resnet_dt": False,
-
- "NNODE_FITS": "(M1*M2, neuron, 1)",
- "nlayer_fit": "len(neuron)+1",
- "NLAYER": "nlayer_fit"
- },
-
- "size": {
- "NTYPE_MAX": 4,
- "NSPU": 4096,
- "MSPU": 32768,
- "Na": "NSPU",
- "NaX": "MSPU"
- },
-
- "ctrl": {
- "NSTDM": 16,
- "NSTDM_M1": 16,
- "NSTDM_M2": 1,
- "NSADV": "NSTDM+1",
- "NSEL": "NSTDM*ntype_max",
- "NSTDM_M1X": 4,
- "NSTEP_DELAY": 20,
- "MAX_FANOUT": 30
- },
-
- "nbit": {
- "NBIT_DATA": 21,
- "NBIT_DATA_FL": 13,
- "NBIT_LONG_DATA": 32,
- "NBIT_LONG_DATA_FL": 24,
- "NBIT_DIFF_DATA": 24,
-
- "NBIT_SPE": 2,
- "NBIT_CRD": "NBIT_DATA*3",
- "NBIT_LST": "ln2(NaX)",
-
- "NBIT_SPE_MAX": 8,
- "NBIT_LST_MAX": 16,
-
- "NBIT_ATOM": "NBIT_SPE+NBIT_CRD",
- "NBIT_LONG_ATOM": "NBIT_SPE+NBIT_LONG_DATA*3",
-
- "NBIT_RIJ": "NBIT_DATA_FL+5",
- "NBIT_FEA_X": 10,
- "NBIT_FEA_X_FL": 4,
- "NBIT_FEA_X2_FL": 6,
- "NBIT_FEA": 18,
- "NBIT_FEA_FL": 10,
- "NBIT_SHIFT": 4,
-
- "NBIT_DATA2": "NBIT_DATA+NBIT_DATA_FL",
- "NBIT_DATA2_FL": "2*NBIT_DATA_FL",
- "NBIT_DATA_FEA": "NBIT_DATA+NBIT_FEA_FL",
- "NBIT_DATA_FEA_FL": "NBIT_DATA_FL+NBIT_FEA_FL",
-
- "NBIT_FORCE": 32,
- "NBIT_FORCE_FL": "2*NBIT_DATA_FL-1",
-
- "NBIT_SUM": "NBIT_DATA_FL+8",
- "NBIT_WEIGHT": 18,
- "NBIT_WEIGHT_FL": 13,
-
- "NBIT_RAM": 72,
- "NBIT_ADDR": 32,
-
- "NBTI_MODEL_HEAD": 32,
-
- "NBIT_TH_LONG_ADD": 30,
- "NBIT_ADD": 15,
-
- "RANGE_B": [-100, 100],
- "RANGE_W": [-20, 20],
-
- "NCFG": 35,
- "NNET": 4920,
- "NFEA": 8192
- },
-
- "end": ""
-}
-
-jdata_config_16 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [16, 16, 16]
- },
-
- "ctrl": {
- "NSTDM": 16,
- "NSTDM_M1": 16,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_config_32 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [32, 32, 32]
- },
-
- "ctrl": {
- "NSTDM": 16,
- "NSTDM_M1": 16,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_config_64 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [64, 64, 64]
- },
-
- "ctrl": {
- "NSTDM": 32,
- "NSTDM_M1": 32,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_config_128 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [128, 128, 128]
- },
-
- "ctrl": {
- "NSTDM": 32,
- "NSTDM_M1": 32,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_configs = {
- "_16": jdata_config_16,
- "_32": jdata_config_32,
- "_64": jdata_config_64,
- "128": jdata_config_128
-}
-
-jdata_deepmd_input = {
- "model": {
- "descriptor": {
- "seed": 1,
- "type": "se_a",
- "sel": [
- 60,
- 60
- ],
- "rcut": 7.0,
- "rcut_smth": 0.5,
- "neuron": [
- 8,
- 16,
- 32
- ],
- "type_one_side": False,
- "axis_neuron": 4,
- "resnet_dt": False
- },
- "fitting_net": {
- "seed": 1,
- "neuron": [
- 128,
- 128,
- 128
- ],
- "resnet_dt": False
- }
- },
- "nvnmd": {
- "net_size": 128,
- "config_file": "none",
- "weight_file": "none",
- "map_file": "none",
- "enable": False,
- "restore_descriptor": False,
- "restore_fitting_net": False,
- "quantize_descriptor": False,
- "quantize_fitting_net": False
- },
- "learning_rate": {
- "type": "exp",
- "decay_steps": 5000,
- "start_lr": 0.005,
- "stop_lr": 8.257687192506788e-05
- },
- "loss": {
- "start_pref_e": 0.02,
- "limit_pref_e": 1,
- "start_pref_f": 1000,
- "limit_pref_f": 1,
- "start_pref_v": 0,
- "limit_pref_v": 0
- },
- "training": {
- "seed": 1,
- "stop_batch": 10000,
- "disp_file": "lcurve.out",
- "disp_freq": 100,
- "numb_test": 10,
- "save_freq": 1000,
- "save_ckpt": "model.ckpt",
- "disp_training": True,
- "time_training": True,
- "profiling": False,
- "training_data": {
- "systems": "dataset",
- "set_prefix": "set",
- "batch_size": 1
- }
- }
-}
-NVNMD_WELCOME = (
- " _ _ __ __ _ _ __ __ ____ ",
- "| \ | | \ \ / / | \ | | | \/ | | _ \ ",
- "| \| | \ \ / / | \| | | |\/| | | | | |",
- "| |\ | \ V / | |\ | | | | | | |_| |",
- "|_| \_| \_/ |_| \_| |_| |_| |____/ ",
-)
-
-NVNMD_CITATION = (
- "Please read and cite:",
- "Mo et al., npj Comput Mater 8, 107 (2022)",
-)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/descriptor/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/descriptor/__init__.py
deleted file mode 100644
index 6bfdad17a6bc8cfd68bbcee2ce0355df8ad97ab9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/descriptor/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
-nvnmd.se_a
-==========
-
-Provides
- 1. building descriptor with continuous embedding network
- 2. building descriptor with quantized embedding network
-
-"""
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/descriptor/se_a.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/descriptor/se_a.py
deleted file mode 100644
index f1d97dcd8c6cbef2d377c33cd34739e1c9a0ec40..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/descriptor/se_a.py
+++ /dev/null
@@ -1,280 +0,0 @@
-import numpy as np
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.utils.network import embedding_net
-
-
-#
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.network import matmul3_qq
-from deepmd.nvnmd.utils.weight import get_normalize, get_rng_s
-
-
-def build_davg_dstd():
- r"""Get the davg and dstd from the dictionary nvnmd_cfg.
- The davg and dstd have been obtained by training CNN
- """
- davg, dstd = get_normalize(nvnmd_cfg.weight)
- return davg, dstd
-
-
-def build_op_descriptor():
- r"""Replace se_a.py/DescrptSeA/build
- """
- if nvnmd_cfg.quantize_descriptor:
- return op_module.prod_env_mat_a_nvnmd_quantize
- else:
- return op_module.prod_env_mat_a
-
-
-def descrpt2r4(inputs, natoms):
- r"""Replace :math:`r_{ji} \rightarrow r'_{ji}`
- where :math:`r_{ji} = (x_{ji}, y_{ji}, z_{ji})` and
- :math:`r'_{ji} = (s_{ji}, \frac{s_{ji} x_{ji}}{r_{ji}}, \frac{s_{ji} y_{ji}}{r_{ji}}, \frac{s_{ji} z_{ji}}{r_{ji}})`
- """
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- NBIT_FEA_X_FL = nvnmd_cfg.nbit['NBIT_FEA_X_FL']
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- prec = 1.0 / (2 ** NBIT_FEA_X_FL)
-
- ntypes = nvnmd_cfg.dscp['ntype']
- NIDP = nvnmd_cfg.dscp['NIDP']
- ndescrpt = NIDP * 4
- start_index = 0
-
- # (nf, na*nd)
- shape = inputs.get_shape().as_list()
- # (nf*na*ni, 4)
- inputs_reshape = tf.reshape(inputs, [-1, 4])
-
- with tf.variable_scope('filter_type_all_x', reuse=True):
- # u (i.e., r^2)
- u = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- with tf.variable_scope('u', reuse=True):
- u = op_module.quantize_nvnmd(u, 0, -1, NBIT_DATA_FL, -1)
- # print('u:', u)
- u = tf.reshape(u, [-1, natoms[0] * NIDP])
- # rij
- rij = tf.reshape(tf.slice(inputs_reshape, [0, 1], [-1, 3]), [-1, 3])
- with tf.variable_scope('rij', reuse=True):
- rij = op_module.quantize_nvnmd(rij, 0, NBIT_DATA_FL, -1, -1)
- # print('rij:', rij)
- s = []
- sr = []
- for type_i in range(ntypes):
- type_input = 0
- postfix = f"_t{type_input}_t{type_i}"
- u_i = tf.slice(
- u,
- [0, start_index * NIDP],
- [-1, natoms[2 + type_i] * NIDP])
- u_i = tf.reshape(u_i, [-1, 1])
- #
- keys = 's,sr'.split(',')
- map_tables = [nvnmd_cfg.map[key + postfix] for key in keys]
- map_tables2 = [nvnmd_cfg.map[f"d{key}_dr2" + postfix] for key in keys]
- map_outs = []
- for ii in range(len(keys)):
- map_outs.append(op_module.map_nvnmd(
- u_i,
- map_tables[ii][0],
- map_tables[ii][1] / prec,
- map_tables2[ii][0],
- map_tables2[ii][1] / prec,
- prec, NBIT_FEA_FL))
-
- s_i, sr_i = map_outs
- s_i = tf.reshape(s_i, [-1, natoms[2 + type_i] * NIDP])
- sr_i = tf.reshape(sr_i, [-1, natoms[2 + type_i] * NIDP])
- s.append(s_i)
- sr.append(sr_i)
- start_index += natoms[2 + type_i]
-
- s = tf.concat(s, axis=1)
- sr = tf.concat(sr, axis=1)
-
- with tf.variable_scope('s', reuse=True):
- s = op_module.quantize_nvnmd(s, 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
-
- with tf.variable_scope('sr', reuse=True):
- sr = op_module.quantize_nvnmd(sr, 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
-
- s = tf.reshape(s, [-1, 1])
- sr = tf.reshape(sr, [-1, 1])
-
- # R2R4
- Rs = s
- Rxyz = sr * rij
- with tf.variable_scope('Rxyz', reuse=True):
- Rxyz = op_module.quantize_nvnmd(Rxyz, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- R4 = tf.concat([Rs, Rxyz], axis=1)
- R4 = tf.reshape(R4, [-1, NIDP, 4])
- inputs_reshape = R4
- inputs_reshape = tf.reshape(inputs_reshape, [-1, ndescrpt])
- return inputs_reshape
-
-
-def filter_lower_R42GR(
- type_i,
- type_input,
- inputs_i,
- is_exclude,
- activation_fn,
- bavg,
- stddev,
- trainable,
- suffix,
- seed,
- seed_shift,
- uniform_seed,
- filter_neuron,
- filter_precision,
- filter_resnet_dt,
- embedding_net_variables):
- r"""Replace se_a.py/DescrptSeA/_filter_lower
- """
- shape_i = inputs_i.get_shape().as_list()
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- natom = tf.shape(inputs_i)[0]
- M1 = nvnmd_cfg.dscp['M1']
-
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- NBIT_FEA_X_FL = nvnmd_cfg.nbit['NBIT_FEA_X_FL']
- NBIT_FEA_X2_FL = nvnmd_cfg.nbit['NBIT_FEA_X2_FL']
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- prec = 1.0 / (2 ** NBIT_FEA_X2_FL)
- type_input = 0 if (type_input < 0) else type_input
- postfix = f"_t{type_input}_t{type_i}"
-
- if (nvnmd_cfg.quantize_descriptor):
- s_min, smax = get_rng_s(nvnmd_cfg.weight)
- s_min = -2.0
- # s_min = np.floor(s_min)
- s = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- s = op_module.quantize_nvnmd(s, 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
- # G
- keys = 'G'.split(',')
- map_tables = [nvnmd_cfg.map[key + postfix] for key in keys]
- map_tables2 = [nvnmd_cfg.map[f"d{key}_ds" + postfix] for key in keys]
- map_outs = []
- for ii in range(len(keys)):
- with tf.variable_scope(keys[ii], reuse=True):
- map_outs.append(op_module.map_nvnmd(
- s - s_min,
- map_tables[ii][0], map_tables[ii][1] / prec,
- map_tables2[ii][0], map_tables2[ii][1] / prec,
- prec, NBIT_FEA_FL))
- map_outs[ii] = op_module.quantize_nvnmd(map_outs[ii], 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
- G = map_outs
- # G
- xyz_scatter = G
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, M1))
- # GR
- inputs_reshape = tf.reshape(inputs_reshape, [-1, shape_i[1] // 4, 4])
- GR = matmul3_qq(tf.transpose(inputs_reshape, [0, 2, 1]), xyz_scatter, -1)
- GR = tf.reshape(GR, [-1, 4 * M1])
- return GR
-
- else:
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- if nvnmd_cfg.restore_descriptor:
- trainable = False
- embedding_net_variables = {}
- for key in nvnmd_cfg.weight.keys():
- if 'filter_type' in key:
- key2 = key.replace('.', '/')
- embedding_net_variables[key2] = nvnmd_cfg.weight[key]
-
- if (not is_exclude):
- xyz_scatter = embedding_net(
- xyz_scatter,
- filter_neuron,
- filter_precision,
- activation_fn=activation_fn,
- resnet_dt=filter_resnet_dt,
- name_suffix=suffix,
- stddev=stddev,
- bavg=bavg,
- seed=seed,
- trainable=trainable,
- uniform_seed=uniform_seed,
- initial_variables=embedding_net_variables)
- if (not uniform_seed) and (seed is not None):
- seed += seed_shift
- else:
- # we can safely return the final xyz_scatter filled with zero directly
- return tf.cast(tf.fill((natom, 4, M1), 0.), GLOBAL_TF_FLOAT_PRECISION)
- # natom x nei_type_i x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, M1))
- # When using tf.reshape(inputs_i, [-1, shape_i[1]//4, 4]) below
- # [588 24] -> [588 6 4] correct
- # but if sel is zero
- # [588 0] -> [147 0 4] incorrect; the correct one is [588 0 4]
- # So we need to explicitly assign the shape to tf.shape(inputs_i)[0] instead of -1
- return tf.matmul(tf.reshape(inputs_i, [natom, shape_i[1] // 4, 4]), xyz_scatter, transpose_a=True)
-
-
-def filter_GR2D(xyz_scatter_1):
- r"""Replace se_a.py/_filter
- """
- NIX = nvnmd_cfg.dscp['NIX']
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- M1 = nvnmd_cfg.dscp['M1']
- M2 = nvnmd_cfg.dscp['M2']
-
- if (nvnmd_cfg.quantize_descriptor):
- xyz_scatter_1 = tf.reshape(xyz_scatter_1, [-1, 4 * M1])
- # fix the number of bits of gradient
- xyz_scatter_1 = op_module.quantize_nvnmd(xyz_scatter_1, 0, -1, NBIT_DATA_FL, -1)
- xyz_scatter_1 = xyz_scatter_1 * (1.0 / NIX)
- with tf.variable_scope('GR', reuse=True):
- xyz_scatter_1 = op_module.quantize_nvnmd(xyz_scatter_1, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- xyz_scatter_1 = tf.reshape(xyz_scatter_1, [-1, 4, M1])
-
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = xyz_scatter_1
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0, 1, 0], [-1, 3, -1])
- # natom x outputs_size_2 x 3
- qmat = tf.transpose(qmat, perm=[0, 2, 1])
- # D': natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a=True)
- # D': natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, M1 * M1])
- #
- index_subset = []
- for ii in range(M1):
- for jj in range(ii, ii + M2):
- index_subset.append((ii * M1) + (jj % M1))
- index_subset = tf.constant(np.int32(np.array(index_subset)))
- result = tf.gather(result, index_subset, axis=1)
-
- with tf.variable_scope('d', reuse=True):
- result = op_module.quantize_nvnmd(result, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- else:
- # natom x 4 x outputs_size
- xyz_scatter_1 = xyz_scatter_1 * (1.0 / NIX)
- # natom x 4 x outputs_size_2
- # xyz_scatter_2 = tf.slice(xyz_scatter_1, [0,0,0],[-1,-1,outputs_size_2])
- xyz_scatter_2 = xyz_scatter_1
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0, 1, 0], [-1, 3, -1])
- # natom x outputs_size_1 x 3
- qmat = tf.transpose(qmat, perm=[0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a=True)
- # natom x (outputs_size x outputs_size_2)
- # result = tf.reshape(result, [-1, outputs_size_2 * outputs_size[-1]])
- result = tf.reshape(result, [-1, M1 * M1])
- #
- index_subset = []
- for ii in range(M1):
- for jj in range(ii, ii + M2):
- index_subset.append((ii * M1) + (jj % M1))
- index_subset = tf.constant(np.int32(np.array(index_subset)))
- result = tf.gather(result, index_subset, axis=1)
-
- return result, qmat
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/__init__.py
deleted file mode 100644
index 7e1828281ec08538ca529dfb5830b5b9d66803fd..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from .freeze import save_weight
-from .mapt import MapTable
-from .wrap import Wrap
-
-__all__ = [
- "save_weight",
- "MapTable",
- "Wrap"
-]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/freeze.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/freeze.py
deleted file mode 100644
index 6d83779ae645df2bd9e8bfe15091e13a65f87aaa..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/freeze.py
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#!/usr/bin/env python3
-
-from deepmd.env import tf
-from deepmd.nvnmd.utils.fio import FioDic
-
-
-def filter_tensorVariableList(tensorVariableList) -> dict:
- r"""Get the name of variable for NVNMD
-
- | :code:`descrpt_attr/t_avg:0`
- | :code:`descrpt_attr/t_std:0`
- | :code:`filter_type_{atom i}/matrix_{layer l}_{atomj}:0`
- | :code:`filter_type_{atom i}/bias_{layer l}_{atomj}:0`
- | :code:`layer_{layer l}_type_{atom i}/matrix:0`
- | :code:`layer_{layer l}_type_{atom i}/bias:0`
- | :code:`final_layer_type_{atom i}/matrix:0`
- | :code:`final_layer_type_{atom i}/bias:0`
- """
- nameList = [tv.name for tv in tensorVariableList]
- nameList = [name.replace(':0', '') for name in nameList]
- nameList = [name.replace('/', '.') for name in nameList]
-
- dic_name_tv = {}
- for ii in range(len(nameList)):
- name = nameList[ii]
- tv = tensorVariableList[ii]
- p1 = name.startswith('descrpt_attr')
- p1 = p1 or name.startswith('filter_type_')
- p1 = p1 or name.startswith('layer_')
- p1 = p1 or name.startswith('final_layer_type_')
- p2 = 'Adam' not in name
- p3 = 'XXX' not in name
- if p1 and p2 and p3:
- dic_name_tv[name] = tv
- return dic_name_tv
-
-
-def save_weight(sess, file_name: str = 'nvnmd/weight.npy'):
- r"""Save the dictionary of weight to a npy file
- """
- tvs = tf.global_variables()
- dic_key_tv = filter_tensorVariableList(tvs)
- dic_key_value = {}
- for key in dic_key_tv.keys():
- value = sess.run(dic_key_tv[key])
- dic_key_value[key] = value
- FioDic().save(file_name, dic_key_value)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/mapt.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/mapt.py
deleted file mode 100644
index 031d9d9289bf86fd5f17d8670b3e02619b25f220..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/mapt.py
+++ /dev/null
@@ -1,336 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.env import tf
-from deepmd.utils.sess import run_sess
-
-from deepmd.nvnmd.utils.fio import FioDic
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.weight import get_normalize, get_rng_s, get_filter_weight
-from deepmd.nvnmd.utils.network import get_sess
-
-from deepmd.nvnmd.data.data import jdata_deepmd_input
-
-from typing import List, Optional
-
-log = logging.getLogger(__name__)
-
-
-class MapTable:
- r"""Generate the mapping table describing the relastionship of
- atomic distance, cutoff function, and embedding matrix.
-
- three mapping table will be built:
-
- | :math:`r^2_{ji} \rightarrow s_{ji}`
- | :math:`r^2_{ji} \rightarrow sr_{ji}`
- | :math:`r^2_{ji} \rightarrow \mathcal{G}_{ji}`
-
- where :math:`s_{ji}` is cut-off function,
- :math:`sr_{ji} = \frac{s(r_{ji})}{r_{ji}}`, and
- :math:`\mathcal{G}_{ji}` is embedding matrix.
-
- The mapping funciton can be define as:
-
- | :math:`y = f(x) = y_{k} + (x - x_{k}) * dy_{k}`
- | :math:`y_{k} = f(x_{k})`
- | :math:`dy_{k} = \frac{f(x_{k+1}) - f(x_{k})}{dx}`
- | :math:`x_{k} \leq x < x_{k+1}`
- | :math:`x_{k} = k * dx`
-
- where :math:`dx` is interpolation interval.
-
- Parameters
- ----------
- config_file
- input file name
- an .npy file containing the configuration information of NVNMD model
- weight_file
- input file name
- an .npy file containing the weights of NVNMD model
- map_file
- output file name
- an .npy file containing the mapping tables of NVNMD model
-
- References
- ----------
- DOI: 10.1038/s41524-022-00773-z
- """
-
- def __init__(
- self,
- config_file: str,
- weight_file: str,
- map_file: str
- ):
- self.config_file = config_file
- self.weight_file = weight_file
- self.map_file = map_file
-
- jdata = jdata_deepmd_input['nvnmd']
- jdata['config_file'] = config_file
- jdata['weight_file'] = weight_file
- jdata['enable'] = True
-
- nvnmd_cfg.init_from_jdata(jdata)
- # map_table = self.build_map()
-
- def qqq(self, dat, NBIT_FEA_FL, NBIT_FEA_X, is_set_zero=False):
- dat = dat if isinstance(dat, list) else [dat]
- prec = 2 ** NBIT_FEA_FL
- N = int(2 ** NBIT_FEA_X)
- #
- dat2 = []
- for ii in range(len(dat)):
- dati = dat[ii]
- vi = dati[:-1] # i
- vi1 = dati[1:] # i+1
- # v = vi + dvi * (r - ri)
- # ri = i * dt
- # dvi = v(i+1) / dt
- vi = np.round(vi * prec) / prec
- vi1 = np.round(vi1 * prec) / prec
- dvi = vi1 - vi
- if is_set_zero:
- dvi[0] = 0
- #
- v = [np.reshape(vp, [N, -1]) for vp in [vi, dvi]]
- dat2.append(v)
- return dat2
-
- def build_map(self):
- ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- NBIT_FEA_X = nvnmd_cfg.nbit['NBIT_FEA_X']
-
- dic = self.run_u2s()
- dic.update(self.run_s2G(dic))
-
- # quantize s and G
- prec = 2**NBIT_FEA_FL
- for tt in range(ntypex):
- dic['s'][tt][0] = np.round(dic['s'][tt][0] * prec) / prec
- dic['sr'][tt][0] = np.round(dic['sr'][tt][0] * prec) / prec
- for tt2 in range(ntype):
- v = np.round(dic['G'][tt * ntype + tt2][0] * prec) / prec
- dic['G'][tt * ntype + tt2][0] = v
-
- maps = {}
- keys = 's,sr,ds_dr2,dsr_dr2,G,dG_ds'.split(',')
- keys2 = 'G,dG_ds'.split(',')
- for key in keys:
- val = self.qqq(dic[key], NBIT_FEA_FL, NBIT_FEA_X, key not in keys2)
- maps[key] = val
-
- N = int(2**NBIT_FEA_X)
- maps2 = {}
- maps2['r2'] = dic['r2'][0:N]
- maps2['s2'] = dic['s2'][0:N]
- for tt in range(ntypex):
- for tt2 in range(ntype):
- postfix = f'_t{tt}_t{tt2}'
- for key in keys:
- maps2[key + postfix] = []
- maps2[key + postfix].append(maps[key][tt * ntype + tt2][0].reshape([N, -1]))
- maps2[key + postfix].append(maps[key][tt * ntype + tt2][1].reshape([N, -1]))
- self.map = maps2
-
- FioDic().save(self.map_file, self.map)
- log.info("NVNMD: finish building mapping table")
- return self.map
-
-# =====================================================================
-# build r2s
-# =====================================================================
-
- def build_r2s(self, r2):
- # limit = nvnmd_cfg.dscp['rc_lim']
- rmin = nvnmd_cfg.dscp['rcut_smth']
- rmax = nvnmd_cfg.dscp['rcut']
- # ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- avg, std = get_normalize(nvnmd_cfg.weight)
- avg, std = np.float32(avg), np.float32(std)
- r = tf.sqrt(r2)
- r_ = tf.clip_by_value(r, rmin, rmax)
- r__ = tf.clip_by_value(r, 0, rmax)
- uu = (r_ - rmin) / (rmax - rmin)
- vv = uu * uu * uu * (-6 * uu * uu + 15 * uu - 10) + 1
-
- sl = []
- srl = []
-
- for tt in range(ntype):
- s = vv / r__
- sr = s / r__
- s = tf.reshape(s, [-1, 1])
- sr = tf.reshape(sr, [-1, 1])
- s = (s - avg[tt, 0]) / std[tt, 0]
- sr = sr / std[tt, 1]
- sl.append(s)
- srl.append(sr)
- return sl, srl
-
- def build_ds_dr(self, r2, s, sr):
- # ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
-
- ds_drl = []
- dsr_drl = []
- for tt in range(ntype):
- si = s[tt]
- sri = sr[tt]
- ds_dr = tf.gradients(si, r2)
- dsr_dr = tf.gradients(sri, r2)
- ds_drl.append(ds_dr[0])
- dsr_drl.append(dsr_dr[0])
- return ds_drl, dsr_drl
-
- def build_r2s_r2ds(self):
- dic_ph = {}
- dic_ph['r2'] = tf.placeholder(tf.float32, [None, 1], 't_r2')
- dic_ph['s'], dic_ph['sr'] = self.build_r2s(dic_ph['r2'])
- dic_ph['ds_dr2'], dic_ph['dsr_dr2'] = self.build_ds_dr(dic_ph['r2'], dic_ph['s'], dic_ph['sr'])
-
- return dic_ph
-
- def run_u2s(self):
- # ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- avg, std = get_normalize(nvnmd_cfg.weight)
- avg, std = np.float32(avg), np.float32(std)
- NBIT_FEA_X = nvnmd_cfg.nbit['NBIT_FEA_X']
- NBIT_FEA_X_FL = nvnmd_cfg.nbit['NBIT_FEA_X_FL']
-
- dic_ph = self.build_r2s_r2ds()
- sess = get_sess()
-
- N = 2 ** NBIT_FEA_X
- N2 = 2 ** NBIT_FEA_X_FL
- # N+1 ranther than N for calculating defference
- r2 = 1.0 * np.arange(0, N + 1) / N2
- r2 = np.reshape(r2, [-1, 1])
- feed_dic = {dic_ph['r2']: r2}
- key = 'r2,s,sr,ds_dr2,dsr_dr2'
- tlst = [dic_ph[k] for k in key.split(',')]
- # res = sess.run(tlst, feed_dic)
- res = run_sess(sess, tlst, feed_dict=feed_dic)
-
- res2 = {}
- key = key.split(',')
- for ii in range(len(key)):
- res2[key[ii]] = res[ii]
-
- # change value
- # set 0 value, when u=0
- for tt in range(ntype):
- res2['s'][tt][0] = -avg[tt, 0] / std[tt, 0]
- res2['sr'][tt][0] = 0
- res2['ds_dr2'][tt][0] = 0
- res2['dsr_dr2'][tt][0] = 0
-
- # r = np.sqrt(res2['r2'])
- sess.close()
-
- return res2
-# =====================================================================
-# build s2G
-# =====================================================================
-
- def build_s2G(self, s):
- ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
-
- activation_fn = tf.tanh
- outputs_size = nvnmd_cfg.dscp['NNODE_FEAS']
-
- xyz_scatters = []
- for tt in range(ntypex):
- for tt2 in range(ntype):
- xyz_scatter = s
- for ll in range(1, len(outputs_size)):
- w, b = get_filter_weight(nvnmd_cfg.weight, tt, tt2, ll)
- w, b = np.float32(w), np.float32(b)
- if outputs_size[ll] == outputs_size[ll - 1]:
- xyz_scatter += activation_fn(tf.matmul(xyz_scatter, w) + b)
- elif outputs_size[ll] == outputs_size[ll - 1] * 2:
- xyz_scatter = tf.concat([xyz_scatter, xyz_scatter], 1) + activation_fn(tf.matmul(xyz_scatter, w) + b)
- else:
- xyz_scatter = activation_fn(tf.matmul(xyz_scatter, w) + b)
- xyz_scatters.append(xyz_scatter)
- return xyz_scatters
-
- def build_dG_ds(self, G, s):
- ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- M1 = nvnmd_cfg.dscp['M1']
-
- dG_ds = []
- for tt in range(ntypex):
- for tt2 in range(ntype):
- Gi = G[tt * ntype + tt2]
- si = s
-
- dG_ds_i = []
- for ii in range(M1):
- dG_ds_ii = tf.reshape(tf.gradients(Gi[:, ii], si), [-1, 1])
- dG_ds_i.append(dG_ds_ii)
- dG_ds_i = tf.concat(dG_ds_i, axis=1)
- dG_ds.append(dG_ds_i)
- return dG_ds
-
- def build_s2G_s2dG(self):
- # ntypex = nvnmd_cfg.dscp['ntypex']
- dic_ph = {}
- dic_ph['s2'] = tf.placeholder(tf.float32, [None, 1], 't_s')
- dic_ph['G'] = self.build_s2G(dic_ph['s2'])
- dic_ph['dG_ds'] = self.build_dG_ds(dic_ph['G'], dic_ph['s2'])
- return dic_ph
-
- def run_s2G(self, dat):
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- NBIT_FEA_X = nvnmd_cfg.nbit['NBIT_FEA_X']
- NBIT_FEA_X2_FL = nvnmd_cfg.nbit['NBIT_FEA_X2_FL']
- prec = 2 ** NBIT_FEA_FL
-
- dic_ph = self.build_s2G_s2dG()
- sess = get_sess()
-
- N = 2 ** NBIT_FEA_X
- N2 = 2 ** NBIT_FEA_X2_FL
- s_min, s_max = get_rng_s(nvnmd_cfg.weight)
- #
- if (s_min < -2.0) or (s_max > 14.0):
- log.warning(f"the range of s [{s_min}, {s_max}] is over the limit [-2.0, 14.0]")
- s_min = -2.0
- s = s_min + np.arange(0, N + 1) / N2
- s = np.reshape(s, [-1, 1])
- feed_dic = {dic_ph['s2']: s}
-
- feed_dic = {dic_ph['s2']: s}
- key = 's2,G,dG_ds'
- tlst = [dic_ph[k] for k in key.split(',')]
- # res = sess.run(tlst, feed_dic)
- res = run_sess(sess, tlst, feed_dict=feed_dic)
-
- res2 = {}
- key = key.split(',')
- for ii in range(len(key)):
- res2[key[ii]] = res[ii]
-
- sess.close()
- return res2
-
-
-def mapt(
- *,
- nvnmd_config: Optional[str] = 'nvnmd/config.npy',
- nvnmd_weight: Optional[str] = 'nvnmd/weight.npy',
- nvnmd_map: Optional[str] = 'nvnmd/map.npy',
- **kwargs
-):
- # build mapping table
- mapObj = MapTable(nvnmd_config, nvnmd_weight, nvnmd_map)
- mapObj.build_map()
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/train.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/train.py
deleted file mode 100644
index f4482ea2dccb6586f89c2ced4108eec85d7e8205..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/train.py
+++ /dev/null
@@ -1,181 +0,0 @@
-
-import os
-import logging
-
-from deepmd.env import tf
-from deepmd.entrypoints.train import train
-from deepmd.entrypoints.freeze import freeze
-from deepmd.nvnmd.entrypoints.mapt import mapt
-from deepmd.nvnmd.entrypoints.wrap import wrap
-
-from deepmd.nvnmd.utils.fio import FioDic
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.data.data import jdata_deepmd_input
-
-log = logging.getLogger(__name__)
-
-jdata_cmd_train = {
- "INPUT": "train.json",
- "init_model": None,
- "restart": None,
- "output": "out.json",
- "init_frz_model": None,
- "mpi_log": "master",
- "log_level": 2,
- "log_path": None,
- "is_compress": False
-}
-
-jdata_cmd_freeze = {
- "checkpoint_folder": '.',
- "output": 'frozen_model.pb',
- "node_names": None,
- "nvnmd_weight": "nvnmd/weight.npy"
-}
-
-
-def replace_path(p, p2):
- pars = p.split(os.sep)
- pars[-2] = p2
- return os.path.join(*pars)
-
-
-def add_path(p, p2):
- pars = p.split('/')
- pars.insert(-1, p2)
- return os.path.join(*pars)
-
-
-def normalized_input(fn, PATH_CNN):
- r"""Normalize a input script file for continuous neural network
- """
- f = FioDic()
- jdata = f.load(fn, jdata_deepmd_input)
- # nvnmd
- jdata_nvnmd = jdata_deepmd_input['nvnmd']
- jdata_nvnmd['enable'] = True
- jdata_nvnmd_ = f.get(jdata, 'nvnmd', jdata_nvnmd)
- jdata_nvnmd = f.update(jdata_nvnmd_, jdata_nvnmd)
- # model
- jdata_model = {
- "descriptor": {
- "seed": 1,
- "sel": jdata_nvnmd_["sel"],
- "rcut": jdata_nvnmd_['rcut'],
- "rcut_smth": jdata_nvnmd_['rcut_smth']
- },
- "fitting_net": {
- "seed": 1
- }}
- nvnmd_cfg.init_from_jdata(jdata_nvnmd)
- nvnmd_cfg.init_from_deepmd_input(jdata_model)
- nvnmd_cfg.init_train_mode('cnn')
- # training
- jdata_train = f.get(jdata, 'training', {})
- jdata_train['disp_training'] = True
- jdata_train['time_training'] = True
- jdata_train['profiling'] = False
- jdata_train['disp_file'] = add_path(jdata_train['disp_file'], PATH_CNN)
- jdata_train['save_ckpt'] = add_path(jdata_train['save_ckpt'], PATH_CNN)
- #
- jdata['model'] = nvnmd_cfg.get_model_jdata()
- jdata['nvnmd'] = nvnmd_cfg.get_nvnmd_jdata()
- return jdata
-
-
-def normalized_input_qnn(jdata, PATH_QNN, CONFIG_CNN, WEIGHT_CNN, MAP_CNN):
- r"""Normalize a input script file for quantize neural network
- """
- #
- jdata_nvnmd = jdata_deepmd_input['nvnmd']
- jdata_nvnmd['enable'] = True
- jdata_nvnmd['config_file'] = CONFIG_CNN
- jdata_nvnmd['weight_file'] = WEIGHT_CNN
- jdata_nvnmd['map_file'] = MAP_CNN
- nvnmd_cfg.init_from_jdata(jdata_nvnmd)
- nvnmd_cfg.init_train_mode('qnn')
- jdata['nvnmd'] = nvnmd_cfg.get_nvnmd_jdata()
- # training
- jdata2 = jdata['training']
- jdata2['disp_file'] = replace_path(jdata2['disp_file'], PATH_QNN)
- jdata2['save_ckpt'] = replace_path(jdata2['save_ckpt'], PATH_QNN)
- jdata['training'] = jdata2
- return jdata
-
-
-def train_nvnmd(
- *,
- INPUT: str,
- step: str,
- **kwargs,
-):
- # test input
- if not os.path.exists(INPUT):
- log.warning("The input script %s does not exist"%(INPUT))
- # STEP1
- PATH_CNN = 'nvnmd_cnn'
- CONFIG_CNN = os.path.join(PATH_CNN, 'config.npy')
- INPUT_CNN = os.path.join(PATH_CNN, 'train.json')
- WEIGHT_CNN = os.path.join(PATH_CNN, 'weight.npy')
- FRZ_MODEL_CNN = os.path.join(PATH_CNN, 'frozen_model.pb')
- MAP_CNN = os.path.join(PATH_CNN, 'map.npy')
- if step == "s1":
- # normailize input file
- jdata = normalized_input(INPUT, PATH_CNN)
- FioDic().save(INPUT_CNN, jdata)
- nvnmd_cfg.save(CONFIG_CNN)
- # train cnn
- jdata = jdata_cmd_train.copy()
- jdata['INPUT'] = INPUT_CNN
- train(**jdata)
- tf.reset_default_graph()
- # freeze
- jdata = jdata_cmd_freeze.copy()
- jdata['checkpoint_folder'] = PATH_CNN
- jdata['output'] = FRZ_MODEL_CNN
- jdata['nvnmd_weight'] = WEIGHT_CNN
- freeze(**jdata)
- tf.reset_default_graph()
- # map table
- jdata = {
- "nvnmd_config": CONFIG_CNN,
- "nvnmd_weight": WEIGHT_CNN,
- "nvnmd_map": MAP_CNN
- }
- mapt(**jdata)
- tf.reset_default_graph()
- # STEP2
- PATH_QNN = 'nvnmd_qnn'
- CONFIG_QNN = os.path.join(PATH_QNN, 'config.npy')
- INPUT_QNN = os.path.join(PATH_QNN, 'train.json')
- WEIGHT_QNN = os.path.join(PATH_QNN, 'weight.npy')
- FRZ_MODEL_QNN = os.path.join(PATH_QNN, 'frozen_model.pb')
- MODEL_QNN = os.path.join(PATH_QNN, 'model.pb')
-
- if step == "s2":
- # normailize input file
- jdata = normalized_input(INPUT, PATH_CNN)
- jdata = normalized_input_qnn(jdata, PATH_QNN, CONFIG_CNN, WEIGHT_CNN, MAP_CNN)
- FioDic().save(INPUT_QNN, jdata)
- nvnmd_cfg.save(CONFIG_QNN)
- # train qnn
- jdata = jdata_cmd_train.copy()
- jdata['INPUT'] = INPUT_QNN
- train(**jdata)
- tf.reset_default_graph()
- # freeze
- jdata = jdata_cmd_freeze.copy()
- jdata['checkpoint_folder'] = PATH_QNN
- jdata['output'] = FRZ_MODEL_QNN
- jdata['nvnmd_weight'] = WEIGHT_QNN
- freeze(**jdata)
- tf.reset_default_graph()
- # wrap
- jdata = {
- "nvnmd_config": CONFIG_QNN,
- "nvnmd_weight": WEIGHT_QNN,
- "nvnmd_map": MAP_CNN,
- "nvnmd_model": MODEL_QNN
- }
- wrap(**jdata)
- tf.reset_default_graph()
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/wrap.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/wrap.py
deleted file mode 100644
index 6e2372c2d963fa54a30e3961b2466dae4f7e7dda..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/entrypoints/wrap.py
+++ /dev/null
@@ -1,392 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.nvnmd.utils.fio import FioBin, FioTxt
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.weight import get_fitnet_weight
-from deepmd.nvnmd.utils.encode import Encode
-from deepmd.nvnmd.utils.op import map_nvnmd
-
-from deepmd.nvnmd.data.data import jdata_deepmd_input, jdata_sys
-from typing import List, Optional
-
-log = logging.getLogger(__name__)
-
-
-class Wrap():
- r"""Generate the binary model file (model.pb)
- the model file can be use to run the NVNMD with lammps
- the pair style need set as:
-
- .. code-block:: lammps
-
- pair_style nvnmd model.pb
- pair_coeff * *
-
- Parameters
- ----------
- config_file
- input file name
- an .npy file containing the configuration information of NVNMD model
- weight_file
- input file name
- an .npy file containing the weights of NVNMD model
- map_file
- input file name
- an .npy file containing the mapping tables of NVNMD model
- model_file
- output file name
- an .pb file containing the model using in the NVNMD
-
- References
- ----------
- DOI: 10.1038/s41524-022-00773-z
- """
-
- def __init__(
- self,
- config_file: str,
- weight_file: str,
- map_file: str,
- model_file: str
- ):
- self.config_file = config_file
- self.weight_file = weight_file
- self.map_file = map_file
- self.model_file = model_file
-
- jdata = jdata_deepmd_input['nvnmd']
- jdata['config_file'] = config_file
- jdata['weight_file'] = weight_file
- jdata['map_file'] = map_file
- jdata['enable'] = True
-
- nvnmd_cfg.init_from_jdata(jdata)
-
- def wrap(self):
- dscp = nvnmd_cfg.dscp
- ctrl = nvnmd_cfg.ctrl
-
- M1 = dscp['M1']
- ntype = dscp['ntype']
- ntype_max = dscp['ntype_max']
- NSTDM_M1X = ctrl['NSTDM_M1X']
- e = Encode()
-
- bcfg = self.wrap_dscp()
- bfps, bbps = self.wrap_fitn()
- bfea, bgra = self.wrap_map()
-
- # split data with {nbit} bits per row
- hcfg = e.bin2hex(e.split_bin(bcfg, 72))
- # the legnth of hcfg need to be the multiples of NSTDM_M1X
- hcfg = e.extend_list(hcfg, int(np.ceil(len(hcfg) / NSTDM_M1X)) * NSTDM_M1X)
-
- hfps = e.bin2hex(e.split_bin(bfps, 72))
- # hfps = e.extend_list(hfps, (len(hfps) // ntype) * ntype_max)
-
- hbps = e.bin2hex(e.split_bin(bbps, 72))
- # hbps = e.extend_list(hbps, (len(hbps) // ntype) * ntype_max)
-
- # split into multiple rows
- bfea = e.split_bin(bfea, len(bfea[0]) // NSTDM_M1X)
- # bfea = e.reverse_bin(bfea, NSTDM_M1X)
- # extend the number of lines
- hfea = e.bin2hex(bfea)
- hfea = e.extend_list(hfea, (len(hfea) // ntype) * ntype_max)
-
- # split into multiple rows
- bgra = e.split_bin(bgra, len(bgra[0]) // NSTDM_M1X)
- # bgra = e.reverse_bin(bgra, NSTDM_M1X)
- # extend the number of lines
- hgra = e.bin2hex(bgra)
- hgra = e.extend_list(hgra, (len(hgra) // ntype) * ntype_max)
-
- # extend data according to the number of bits per row of BRAM
- nhex = 512
- hcfg = e.extend_hex(hcfg, nhex)
- hfps = e.extend_hex(hfps, nhex)
- hbps = e.extend_hex(hbps, nhex)
- hfea = e.extend_hex(hfea, nhex)
- hgra = e.extend_hex(hgra, nhex)
-
- # DEVELOP_DEBUG
- if jdata_sys['debug']:
- log.info("len(hcfg): %d" % (len(hcfg)))
- log.info("len(hfps): %d" % (len(hfps)))
- log.info("len(hbps): %d" % (len(hbps)))
- log.info("len(hfea): %d" % (len(hfea)))
- log.info("len(hgra): %d" % (len(hgra)))
- #
- FioTxt().save('nvnmd/wrap/hcfg.txt', hcfg)
- FioTxt().save('nvnmd/wrap/hfps.txt', hfps)
- FioTxt().save('nvnmd/wrap/hbps.txt', hbps)
- FioTxt().save('nvnmd/wrap/hfea.txt', hfea)
- FioTxt().save('nvnmd/wrap/hgra.txt', hgra)
- #
- NCFG = len(hcfg)
- NNET = len(hfps)
- NFEA = len(hfea)
- nvnmd_cfg.nbit['NCFG'] = NCFG
- nvnmd_cfg.nbit['NNET'] = NNET
- nvnmd_cfg.nbit['NFEA'] = NFEA
- nvnmd_cfg.save(nvnmd_cfg.config_file)
- head = self.wrap_head(NCFG, NNET, NFEA)
- #
- hs = [] + head
- hs.extend(hcfg)
- hs.extend(hfps)
- hs.extend(hbps)
- hs.extend(hfea)
- hs.extend(hgra)
-
- FioBin().save(self.model_file, hs)
- log.info("NVNMD: finish wrapping model file")
-
- def wrap_head(self, NCFG, NNET, NFEA):
- nbit = nvnmd_cfg.nbit
- NBTI_MODEL_HEAD = nbit['NBTI_MODEL_HEAD']
- NBIT_DATA_FL = nbit['NBIT_DATA_FL']
- rcut = nvnmd_cfg.dscp['rcut']
-
- bs = ''
- e = Encode()
- # nline
- bs = e.dec2bin(NCFG, NBTI_MODEL_HEAD)[0] + bs
- bs = e.dec2bin(NNET, NBTI_MODEL_HEAD)[0] + bs
- bs = e.dec2bin(NFEA, NBTI_MODEL_HEAD)[0] + bs
- # dscp
- RCUT = e.qr(rcut, NBIT_DATA_FL)
- bs = e.dec2bin(RCUT, NBTI_MODEL_HEAD)[0] + bs
- # extend
- hs = e.bin2hex(bs)
- nhex = 512
- hs = e.extend_hex(hs, nhex)
- return hs
-
- def wrap_dscp(self):
- r"""Wrap the configuration of descriptor
- """
- dscp = nvnmd_cfg.dscp
- nbit = nvnmd_cfg.nbit
- maps = nvnmd_cfg.map
- NBIT_FEA_X = nbit['NBIT_FEA_X']
- NBIT_FEA_X_FL = nbit['NBIT_FEA_X_FL']
- NBIT_FEA_X2_FL = nbit['NBIT_FEA_X2_FL']
- NBIT_FEA_FL = nbit['NBIT_FEA_FL']
- NBIT_LST = nbit['NBIT_LST']
- NBIT_SHIFT = nbit['NBIT_SHIFT']
-
- bs = ''
- e = Encode()
- # sel
- SEL = dscp['SEL']
- bs = e.dec2bin(SEL[0], NBIT_LST)[0] + bs
- bs = e.dec2bin(SEL[1], NBIT_LST)[0] + bs
- bs = e.dec2bin(SEL[2], NBIT_LST)[0] + bs
- bs = e.dec2bin(SEL[3], NBIT_LST)[0] + bs
- #
- NIX = dscp['NIX']
- ln2_NIX = int(np.log2(NIX))
- bs = e.dec2bin(ln2_NIX, NBIT_SHIFT)[0] + bs
- # G*s
- # ntypex = dscp['ntypex']
- ntype = dscp['ntype']
- # ntypex_max = dscp['ntypex_max']
- ntype_max = dscp['ntype_max']
- M1 = dscp['M1']
- GSs = []
- for tt in range(ntype_max):
- for tt2 in range(ntype_max):
- if (tt < ntype) and (tt2 < ntype):
- s = maps[f's_t{0}_t{tt}'][0][0]
- s = e.qf(s, NBIT_FEA_FL) / (2**NBIT_FEA_FL)
- s_min = -2.0
- yk, dyk = maps[f'G_t{0}_t{tt2}']
- prec = 1 / (2 ** NBIT_FEA_X2_FL)
- G = map_nvnmd(s - s_min, yk, dyk / prec, prec)
- G = e.qf(G, NBIT_FEA_FL) / (2**NBIT_FEA_FL)
- v = s * G
- else:
- v = np.zeros(M1)
- for ii in range(M1):
- GSs.extend(e.dec2bin(e.qr(v[ii], 2 * NBIT_FEA_FL), 27, True))
- sGSs = ''.join(GSs[::-1])
- bs = sGSs + bs
- return bs
-
- def wrap_fitn(self):
- r"""Wrap the weights of fitting net
- """
- dscp = nvnmd_cfg.dscp
- fitn = nvnmd_cfg.fitn
- weight = nvnmd_cfg.weight
- nbit = nvnmd_cfg.nbit
- ctrl = nvnmd_cfg.ctrl
-
- ntype = dscp['ntype']
- ntype_max = dscp['ntype_max']
- nlayer_fit = fitn['nlayer_fit']
- NNODE_FITS = fitn['NNODE_FITS']
- NBIT_SUM = nbit['NBIT_SUM']
- NBIT_DATA_FL = nbit['NBIT_DATA_FL']
- NBIT_WEIGHT = nbit['NBIT_WEIGHT']
- NBIT_WEIGHT_FL = nbit['NBIT_WEIGHT_FL']
- NBIT_SPE = nbit['NBIT_SPE']
- NSTDM = ctrl['NSTDM']
- NSEL = ctrl['NSEL']
-
- # encode all parameters
- bb, bw = [], []
- for ll in range(nlayer_fit):
- bbt, bwt = [], []
- for tt in range(ntype_max):
- # get parameters: weight and bias
- if (tt < ntype):
- w, b = get_fitnet_weight(weight, tt, ll, nlayer_fit)
- else:
- w, b = get_fitnet_weight(weight, 0, ll, nlayer_fit)
- w = w * 0
- b = b * 0
- # restrict the shift value of energy
- if (ll == (nlayer_fit - 1)):
- b = b * 0
- bbi = self.wrap_bias(b, NBIT_SUM, NBIT_DATA_FL)
- bwi = self.wrap_weight(w, NBIT_WEIGHT, NBIT_WEIGHT_FL)
- bbt.append(bbi)
- bwt.append(bwi)
- bb.append(bbt)
- bw.append(bwt)
- #
- bfps, bbps = [], []
- for ss in range(NSEL):
- tt = ss // NSTDM
- sc = ss % NSTDM
- sr = ss % NSTDM
- bfp, bbp = '', ''
- for ll in range(nlayer_fit):
- nr = NNODE_FITS[ll]
- nc = NNODE_FITS[ll + 1]
- nrs = int(np.ceil(nr / NSTDM))
- ncs = int(np.ceil(nc / NSTDM))
- if (nc == 1):
- # final layer
- # fp #
- bi = [bw[ll][tt][sr * nrs + rr][cc] for rr in range(nrs) for cc in range(nc)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- #
- bi = [bb[ll][tt][sc * ncs * 0 + cc] for cc in range(ncs)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- # bp #
- bi = [bw[ll][tt][sr * nrs + rr][cc] for rr in range(nrs) for cc in range(nc)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- #
- bi = [bb[ll][tt][sc * ncs * 0 + cc] for cc in range(ncs)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- else:
- # fp #
- bi = [bw[ll][tt][rr][sc * ncs + cc] for cc in range(ncs) for rr in range(nr)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- #
- bi = [bb[ll][tt][sc * ncs + cc] for cc in range(ncs)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- # bp #
- bi = [bw[ll][tt][sr * nrs + rr][cc] for rr in range(nrs) for cc in range(nc)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- #
- bi = [bb[ll][tt][sc * ncs + cc] for cc in range(ncs)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- bfps.append(bfp)
- bbps.append(bbp)
- return bfps, bbps
-
- def wrap_bias(self, bias, NBIT_SUM, NBIT_DATA_FL):
- e = Encode()
- bias = e.qr(bias, NBIT_DATA_FL)
- Bs = e.dec2bin(bias, NBIT_SUM, True)
- return Bs
-
- def wrap_weight(self, weight, NBIT_WEIGHT, NBIT_WEIGHT_FL):
- sh = weight.shape
- nr, nc = sh[0], sh[1]
- e = Encode()
- weight = e.qr(weight, NBIT_WEIGHT_FL)
- Ws = e.dec2bin(weight, NBIT_WEIGHT, True)
- Ws = [[Ws[nc * rr + cc] for cc in range(nc)] for rr in range(nr)]
- return Ws
-
- def wrap_map(self):
- r"""Wrap the mapping table of embedding network
- """
- dscp = nvnmd_cfg.dscp
- maps = nvnmd_cfg.map
- nbit = nvnmd_cfg.nbit
-
- M1 = dscp['M1']
- ntype = dscp['ntype']
- NBIT_FEA = nbit['NBIT_FEA']
- NBIT_FEA_FL = nbit['NBIT_FEA_FL']
-
- keys = 's,sr,G'.split(',')
- keys2 = 'ds_dr2,dsr_dr2,dG_ds'.split(',')
-
- e = Encode()
-
- datas = {}
- datas2 = {}
- idxs = [[0, tt] for tt in range(ntype)]
- for ii in range(len(idxs)):
- tt, tt2 = idxs[ii]
- postfix = f'_t{tt}_t{tt2}'
- for key in (keys + keys2):
- if ii == 0:
- datas[key] = []
- datas2[key] = []
- datas[key].append(maps[key + postfix][0]) # v
- datas2[key].append(maps[key + postfix][1]) # dv
-
- for key in (keys + keys2):
- datas[key] = np.vstack(datas[key])
- datas[key] = e.qr(datas[key], NBIT_FEA_FL)
-
- datas2[key] = np.vstack(datas2[key])
- datas2[key] = e.qr(datas2[key], NBIT_FEA_FL)
- # fea
- dat = [datas[key] for key in keys] + [datas2[key] for key in keys]
- idx = np.int32(np.arange(0, int((M1 + 2) * 2)).reshape([2, -1]).transpose().reshape(-1))
- dat = np.hstack(dat)
- dat = dat[:, ::-1]
- dat = dat[:, idx] # data consists of value and delta_value
- bs = e.dec2bin(dat, NBIT_FEA, True, 'fea')
- bs = e.merge_bin(bs, (M1 + 2) * 2)
- bfea = bs
- # gra
- dat = [datas[key] for key in keys2] + [datas2[key] for key in keys2]
- dat = np.hstack(dat)
- dat = dat[:, ::-1]
- dat = dat[:, idx]
- bs = e.dec2bin(dat, NBIT_FEA, True, 'gra')
- bs = e.merge_bin(bs, (M1 + 2) * 2)
- bgra = bs
- return bfea, bgra
-
-
-def wrap(
- *,
- nvnmd_config: Optional[str] = 'nvnmd/config.npy',
- nvnmd_weight: Optional[str] = 'nvnmd/weight.npy',
- nvnmd_map: Optional[str] = 'nvnmd/map.npy',
- nvnmd_model: Optional[str] = 'nvnmd/model.pb',
- **kwargs
-):
- wrapObj = Wrap(nvnmd_config, nvnmd_weight, nvnmd_map, nvnmd_model)
- wrapObj.wrap()
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/fit/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/fit/__init__.py
deleted file mode 100644
index 1d60f25a54724611a63e0419e1fa6913e01c0745..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/fit/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
-nvnmd.fit
-=========
-
-Provides
- 1. continuous fitting network
- 2. quantized fitting network
-
-"""
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/fit/ener.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/fit/ener.py
deleted file mode 100644
index b22a9da3f795cecd0e26176a7f54374afd2a886c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/fit/ener.py
+++ /dev/null
@@ -1,5 +0,0 @@
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.network import one_layer as one_layer_nvnmd
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/__init__.py
deleted file mode 100644
index 90077cba6af3150d3077782d0e7fa2172e1e4f48..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/__init__.py
+++ /dev/null
@@ -1,21 +0,0 @@
-
-from .argcheck import nvnmd_args
-from .config import nvnmd_cfg
-from .encode import Encode
-from .fio import FioBin, FioDic, FioTxt
-from .network import one_layer
-from .op import map_nvnmd
-from .weight import get_filter_weight, get_fitnet_weight
-
-__all__ = [
- "nvnmd_args",
- "nvnmd_cfg",
- "Encode",
- "FioBin",
- "FioDic",
- "FioTxt",
- "one_layer",
- "map_nvnmd",
- "get_filter_weight",
- "get_fitnet_weight",
-]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/argcheck.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/argcheck.py
deleted file mode 100644
index de33ede4b3f893f0ee5a75d878f2f2643fad3f35..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/argcheck.py
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-from dargs import Argument
-
-
-def nvnmd_args():
- doc_net_size_file = "configuration the number of nodes of fitting_net, just can be set as 128"
- doc_map_file = "A file containing the mapping tables to replace the calculation of embedding nets"
- doc_config_file = "A file containing the parameters about how to implement the model in certain hardware"
- doc_weight_file = "a *.npy file containing the weights of the model"
- doc_enable = "enable the nvnmd training"
- doc_restore_descriptor = "enable to restore the parameter of embedding_net from weight.npy"
- doc_restore_fitting_net = "enable to restore the parameter of fitting_net from weight.npy"
- doc_quantize_descriptor = "enable the quantizatioin of descriptor"
- doc_quantize_fitting_net = "enable the quantizatioin of fitting_net"
- args = [
- Argument("net_size", int, optional=False, default=128, doc=doc_net_size_file),
- Argument("map_file", str, optional=False, default='none', doc=doc_map_file),
- Argument("config_file", str, optional=False, default='none', doc=doc_config_file),
- Argument("weight_file", str, optional=False, default='none', doc=doc_weight_file),
- Argument("enable", bool, optional=False, default=False, doc=doc_enable),
- Argument("restore_descriptor", bool, optional=False, default=False, doc=doc_restore_descriptor),
- Argument("restore_fitting_net", bool, optional=False, default=False, doc=doc_restore_fitting_net),
- Argument("quantize_descriptor", bool, optional=False, default=False, doc=doc_quantize_descriptor),
- Argument("quantize_fitting_net", bool, optional=False, default=False, doc=doc_quantize_fitting_net),
- ]
-
- doc_nvnmd = 'The nvnmd options.'
- return Argument("nvnmd", dict, args, [], optional=True, doc = doc_nvnmd)
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/config.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/config.py
deleted file mode 100644
index dc71c4f14365bc8d6dc4f065740ad8242f2f67b4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/config.py
+++ /dev/null
@@ -1,283 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.nvnmd.data.data import jdata_config, jdata_configs, jdata_deepmd_input
-from deepmd.nvnmd.data.data import NVNMD_WELCOME, NVNMD_CITATION
-from deepmd.nvnmd.utils.fio import FioDic
-
-log = logging.getLogger(__name__)
-
-
-class NvnmdConfig():
- r"""Configuration for NVNMD
- record the message of model such as size, using nvnmd or not
-
- Parameters
- ----------
- jdata
- a dictionary of input script
-
- References
- ----------
- DOI: 10.1038/s41524-022-00773-z
- """
-
- def __init__(
- self,
- jdata: dict
- ):
- self.map = {}
- self.config = jdata_config
- self.save_path = 'nvnmd/config.npy'
- self.weight = {}
- self.init_from_jdata(jdata)
-
- def init_from_jdata(self, jdata: dict = {}):
- r"""Initial this class with `jdata` loaded from input script
- """
- if jdata == {}:
- return None
-
- self.net_size = jdata['net_size']
- self.map_file = jdata['map_file']
- self.config_file = jdata['config_file']
- self.enable = jdata['enable']
- self.weight_file = jdata['weight_file']
- self.restore_descriptor = jdata['restore_descriptor']
- self.restore_fitting_net = jdata['restore_fitting_net']
- self.quantize_descriptor = jdata['quantize_descriptor']
- self.quantize_fitting_net = jdata['quantize_fitting_net']
-
- # load data
- if self.enable:
- self.map = FioDic().load(self.map_file, {})
- self.weight = FioDic().load(self.weight_file, {})
-
- jdata_config_ = jdata_config.copy()
- jdata_config_['fitn']['neuron'][0] = self.net_size
- load_config = FioDic().load(self.config_file, jdata_config_)
- self.init_from_config(load_config)
- # if load the file, set net_size
- self.init_net_size()
-
- def init_value(self):
- r"""Initial member with dict
- """
- self.dscp = self.config['dscp']
- self.fitn = self.config['fitn']
- self.size = self.config['size']
- self.ctrl = self.config['ctrl']
- self.nbit = self.config['nbit']
-
- def init_train_mode(self, mod='cnn'):
- r"""Configure for taining cnn or qnn
- """
- if mod == 'cnn':
- self.restore_descriptor = False
- self.restore_fitting_net = False
- self.quantize_descriptor = False
- self.quantize_fitting_net = False
- elif mod == 'qnn':
- self.restore_descriptor = True
- self.restore_fitting_net = True
- self.quantize_descriptor = True
- self.quantize_fitting_net = True
-
- def init_from_config(self, jdata):
- r"""Initial member element one by one
- """
- self.config = FioDic().update(jdata, self.config)
- self.config['dscp'] = self.init_dscp(self.config['dscp'], self.config)
- self.config['fitn'] = self.init_fitn(self.config['fitn'], self.config)
- self.config['size'] = self.init_size(self.config['size'], self.config)
- self.config['ctrl'] = self.init_ctrl(self.config['ctrl'], self.config)
- self.config['nbit'] = self.init_nbit(self.config['nbit'], self.config)
- self.init_value()
-
- def init_net_size(self):
- r"""Initial net_size
- """
- # self.net_size = self.fitn['neuron'][0]
- self.net_size = self.config['fitn']['neuron'][0]
- if self.enable:
- key = str(self.net_size)
- if key in jdata_configs.keys():
- # log.info(f"NVNMD: configure the net_size is {key}")
- self.init_from_config(jdata_configs[key])
- else:
- log.error("NVNMD: don't have the configure of net_size")
-
- def init_from_deepmd_input(self, jdata):
- r"""Initial members with input script of deepmd
- """
- self.config['dscp'] = FioDic().update(jdata['descriptor'], self.config['dscp'])
- self.config['fitn'] = FioDic().update(jdata['fitting_net'], self.config['fitn'])
- self.config['dscp'] = self.init_dscp(self.config['dscp'], self.config)
- self.config['fitn'] = self.init_fitn(self.config['fitn'], self.config)
- #
- self.init_net_size()
- self.init_value()
-
- def init_dscp(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about descriptor
- """
- jdata['M1'] = jdata['neuron'][-1]
- jdata['M2'] = jdata['axis_neuron']
- jdata['NNODE_FEAS'] = [1] + jdata['neuron']
- jdata['nlayer_fea'] = len(jdata['neuron'])
- jdata['same_net'] = int(1) if jdata['type_one_side'] else int(0)
- jdata['NIDP'] = int(np.sum(jdata['sel']))
- jdata['NIX'] = 2 ** int(np.ceil(np.log2(jdata['NIDP'] / 1.5)))
- jdata['SEL'] = (jdata['sel'] + [0, 0, 0, 0])[0:4]
- jdata['ntype'] = len(jdata['sel'])
- jdata['ntypex'] = 1 if(jdata['same_net']) else jdata['ntype']
-
- return jdata
-
- def init_fitn(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about fitting network
- """
- M1 = jdata_parent['dscp']['M1']
- M2 = jdata_parent['dscp']['M2']
-
- jdata['NNODE_FITS'] = [int(M1 * M2)] + jdata['neuron'] + [1]
- jdata['nlayer_fit'] = len(jdata['neuron']) + 1
- jdata['NLAYER'] = jdata['nlayer_fit']
-
- return jdata
-
- def init_size(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about ram capacity
- """
- jdata['Na'] = jdata['NSPU']
- jdata['NaX'] = jdata['MSPU']
- return jdata
-
- def init_ctrl(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about control signal
- """
- ntype_max = jdata_parent['dscp']['ntype_max']
- jdata['NSADV'] = jdata['NSTDM'] + 1
- jdata['NSEL'] = jdata['NSTDM'] * ntype_max
- if (32 % jdata['NSTDM_M1X'] > 0):
- log.warning("NVNMD: NSTDM_M1X must be divisor of 32 for the right runing in data_merge module")
- return jdata
-
- def init_nbit(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about quantification precision
- """
- Na = jdata_parent['size']['Na']
- NaX = jdata_parent['size']['NaX']
- jdata['NBIT_CRD'] = jdata['NBIT_DATA'] * 3
- jdata['NBIT_LST'] = int(np.ceil(np.log2(NaX)))
- jdata['NBIT_ATOM'] = jdata['NBIT_SPE'] + jdata['NBIT_CRD']
- jdata['NBIT_LONG_ATOM'] = jdata['NBIT_SPE'] + jdata['NBIT_LONG_DATA'] * 3
- jdata['NBIT_RIJ'] = jdata['NBIT_DATA_FL'] + 5
- jdata['NBIT_SUM'] = jdata['NBIT_DATA_FL'] + 8
- jdata['NBIT_DATA2'] = jdata['NBIT_DATA'] + jdata['NBIT_DATA_FL']
- jdata['NBIT_DATA2_FL'] = 2 * jdata['NBIT_DATA_FL']
- jdata['NBIT_DATA_FEA'] = jdata['NBIT_DATA'] + jdata['NBIT_FEA_FL']
- jdata['NBIT_DATA_FEA_FL'] = jdata['NBIT_DATA_FL'] + jdata['NBIT_FEA_FL']
- jdata['NBIT_FORCE_FL'] = 2 * jdata['NBIT_DATA_FL'] - 1
- return jdata
-
- def save(self, file_name=None):
- r"""Save all configuration to file
- """
- if file_name is None:
- file_name = self.save_path
- else:
- self.save_path = file_name
- FioDic().save(file_name, self.config)
-
- def get_dscp_jdata(self):
- r"""Generate `model/descriptor` in input script
- """
- dscp = self.dscp
- jdata = jdata_deepmd_input['model']['descriptor']
- jdata['sel'] = dscp['sel']
- jdata['rcut'] = dscp['rcut']
- jdata['rcut_smth'] = dscp['rcut_smth']
- jdata['neuron'] = dscp['neuron']
- jdata['type_one_side'] = dscp['type_one_side']
- jdata['axis_neuron'] = dscp['axis_neuron']
- return jdata
-
- def get_fitn_jdata(self):
- r"""Generate `model/fitting_net` in input script
- """
- fitn = self.fitn
- jdata = jdata_deepmd_input['model']['fitting_net']
- jdata['neuron'] = fitn['neuron']
- return jdata
-
- def get_model_jdata(self):
- r"""Generate `model` in input script
- """
- jdata = jdata_deepmd_input['model']
- jdata['descriptor'] = self.get_dscp_jdata()
- jdata['fitting_net'] = self.get_fitn_jdata()
- return jdata
-
- def get_nvnmd_jdata(self):
- r"""Generate `nvnmd` in input script
- """
- jdata = jdata_deepmd_input['nvnmd']
- jdata['net_size'] = self.net_size
- jdata['config_file'] = self.config_file
- jdata['weight_file'] = self.weight_file
- jdata['map_file'] = self.map_file
- jdata['enable'] = self.enable
- jdata['restore_descriptor'] = self.restore_descriptor
- jdata['restore_fitting_net'] = self.restore_fitting_net
- jdata['quantize_descriptor'] = self.quantize_descriptor
- jdata['quantize_fitting_net'] = self.quantize_fitting_net
- return jdata
-
- def get_learning_rate_jdata(self):
- r"""Generate `learning_rate` in input script
- """
- return jdata_deepmd_input['learning_rate']
-
- def get_loss_jdata(self):
- r"""Generate `loss` in input script
- """
- return jdata_deepmd_input['loss']
-
- def get_training_jdata(self):
- r"""Generate `training` in input script
- """
- return jdata_deepmd_input['training']
-
- def get_deepmd_jdata(self):
- r"""Generate input script with member element one by one
- """
- jdata = jdata_deepmd_input.copy()
- jdata['model'] = self.get_model_jdata()
- jdata['nvnmd'] = self.get_nvnmd_jdata()
- jdata['learning_rate'] = self.get_learning_rate_jdata()
- jdata['loss'] = self.get_loss_jdata()
- jdata['training'] = self.get_training_jdata()
- return jdata
-
- def disp_message(self):
- r"""Display the log of NVNMD
- """
- NVNMD_CONFIG = (
- f"enable: {self.enable}",
- f"net_size: {self.net_size}",
- f"map_file: {self.map_file}",
- f"config_file: {self.config_file}",
- f"weight_file: {self.weight_file}",
- f"restore_descriptor: {self.restore_descriptor}",
- f"restore_fitting_net: {self.restore_fitting_net}",
- f"quantize_descriptor: {self.quantize_descriptor}",
- f"quantize_fitting_net: {self.quantize_fitting_net}",
- )
- for message in NVNMD_WELCOME + NVNMD_CITATION + NVNMD_CONFIG:
- log.info(message)
-
-
-# global configuration for nvnmd
-nvnmd_cfg = NvnmdConfig(jdata_deepmd_input['nvnmd'])
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/encode.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/encode.py
deleted file mode 100644
index 8ed7c2456a7f4b29a9e60b0498f2dcb6a6250d9b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/encode.py
+++ /dev/null
@@ -1,192 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.nvnmd.data.data import jdata_sys
-
-log = logging.getLogger(__name__)
-
-
-class Encode():
- r"""Encoding value as hex, bin, and dec format
- """
-
- def __init__(self):
- pass
-
- def qr(self, v, nbit: int = 14):
- r"""Quantize value using round
- """
- return np.round(v * (2**nbit))
-
- def qf(self, v, nbit: int = 14):
- r"""Quantize value using floor
- """
- return np.floor(v * (2**nbit))
-
- def qc(self, v, nbit: int = 14):
- r"""Quantize value using ceil
- """
- return np.ceil(v * (2**nbit))
-
- def check_dec(self, idec, nbit, signed=False, name=''):
- r"""Check whether the data (idec) is in the range
- range is :math:`[0, 2^nbit-1]` for unsigned
- range is :math:`[-2^{nbit-1}, 2^{nbit-1}-1]` for signed
- """
- prec = np.int64(2**nbit)
- if signed:
- pmax = prec // 2 - 1
- pmin = -pmax
- else:
- pmax = prec - 1
- pmin = 0
- I1 = idec < pmin
- I2 = idec > pmax
-
- if jdata_sys['debug']:
- if np.sum(I1) > 0:
- log.warning(f"NVNMD: there are data {name} smaller than the lower limit {pmin}")
- if np.sum(I2) > 0:
- log.warning(f"NVNMD: there are data {name} bigger than the upper limit {pmax}")
-
- def extend_list(self, slbin, nfull):
- r"""Extend the list (slbin) to the length (nfull)
- the attched element of list is 0
-
- such as, when
-
- | slbin = ['10010','10100'],
- | nfull = 4
-
- extent it to
-
- ['10010','10100','00000','00000]
- """
- nfull = int(nfull)
- n = len(slbin)
- dn = nfull - n
- ds = '0' * len(slbin[0])
- return slbin + [ds for ii in range(dn)]
-
- def extend_bin(self, slbin, nfull):
- r"""Extend the element of list (slbin) to the length (nfull)
-
- such as, when
-
- | slbin = ['10010','10100'],
- | nfull = 6
-
- extent to
-
- ['010010','010100']
- """
- nfull = int(nfull)
- n = len(slbin[0])
- dn = nfull - n
- ds = '0' * int(dn)
- return [ds + s for s in slbin]
-
- def extend_hex(self, slhex, nfull):
- r"""Extend the element of list (slhex) to the length (nfull)
- """
- nfull = int(nfull)
- n = len(slhex[0])
- dn = (nfull // 4) - n
- ds = '0' * int(dn)
- return [ds + s for s in slhex]
-
- def split_bin(self, sbin, nbit: int):
- r"""Split sbin into many segment with the length nbit
- """
- if isinstance(sbin, list):
- sl = []
- for s in sbin:
- sl.extend(self.split_bin(s, nbit))
- return sl
- else:
- n = len(sbin)
- nseg = int(np.ceil(n / nbit))
- s = '0' * int(nseg * nbit - n)
- sbin = s + sbin
-
- sl = [sbin[ii * nbit:(ii + 1) * nbit] for ii in range(nseg)]
- sl = sl[::-1]
- return sl
-
- def reverse_bin(self, slbin, nreverse):
- r"""Reverse binary string list per `nreverse` value
- """
- nreverse = int(nreverse)
- # consider that {len(slbin)} can not be divided by {nreverse} without remainder
- n = int(np.ceil(len(slbin) / nreverse))
- slbin = self.extend_list(slbin, n * nreverse)
- return [slbin[ii * nreverse + nreverse - 1 - jj] for ii in range(n) for jj in range(nreverse)]
-
- def merge_bin(self, slbin, nmerge):
- r"""Merge binary string list per `nmerge` value
- """
- nmerge = int(nmerge)
- # consider that {len(slbin)} can not be divided by {nmerge} without remainder
- n = int(np.ceil(len(slbin) / nmerge))
- slbin = self.extend_list(slbin, n * nmerge)
- return [''.join(slbin[nmerge * ii: nmerge * (ii + 1)]) for ii in range(n)]
-
- def dec2bin(self, idec, nbit=10, signed=False, name=''):
- r"""Convert dec array to binary string list
- """
- idec = np.int64(np.reshape(np.array(idec), [-1]))
- self.check_dec(idec, nbit, signed, name)
-
- prec = np.int64(2**nbit)
- if signed:
- pmax = prec // 2 - 1
- pmin = -pmax
- else:
- pmax = prec - 1
- pmin = 0
- idec = np.maximum(pmin, idec)
- idec = np.minimum(pmax, idec)
- idec = idec + 2 * prec
-
- sl = []
- n = len(idec)
- for ii in range(n):
- s = bin(idec[ii])
- s = s[-nbit:]
- sl.append(s)
- return sl
-
- def hex2bin_str(self, shex):
- r"""Convert hex string to binary string
- """
- n = len(shex)
- sl = []
- for ii in range(n):
- si = bin(int(shex[ii], 16) + 16)
- sl.append(si[-4:])
- return ''.join(sl)
-
- def hex2bin(self, data):
- r"""Convert hex string list to binary string list
- """
- data = np.reshape(np.array(data), [-1])
- return [self.hex2bin_str(d) for d in data]
-
- def bin2hex_str(self, sbin):
- r"""Convert binary string to hex string
- """
- n = len(sbin)
- nx = int(np.ceil(n / 4))
- sbin = ('0' * (nx * 4 - n)) + sbin
- sl = []
- for ii in range(nx):
- si = hex(int(sbin[4 * ii: 4 * (ii + 1)], 2) + 16)
- sl.append(si[-1])
- return ''.join(sl)
-
- def bin2hex(self, data):
- r"""Convert binary string list to hex string list
- """
- data = np.reshape(np.array(data), [-1])
- return [self.bin2hex_str(d) for d in data]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/fio.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/fio.py
deleted file mode 100644
index acf8b9da4967989276c5813587742427b188afe1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/fio.py
+++ /dev/null
@@ -1,212 +0,0 @@
-
-import os
-import numpy as np
-import json
-import struct
-
-import logging
-log = logging.getLogger(__name__)
-
-
-class Fio:
- r"""Basic class for FIO
- """
- def __init__(self):
- pass
-
- def exits(self, file_name=''):
- if file_name == '':
- return True
- return os.path.exists(file_name)
-
- def mkdir(self, path_name=''):
- if not self.exits(path_name):
- os.makedirs(path_name)
-
- def create_file_path(self, file_name=''):
- pars = file_name.split('/')
- if len(pars) > 0:
- path_name = '/'.join(pars[:-1])
- self.mkdir(path_name)
-
- def is_path(self, path):
- return self.exits(path) and os.path.isdir(path)
-
- def is_file(self, file_name):
- return self.exits(file_name) and os.path.isfile(file_name)
-
- def get_file_list(self, path) -> list:
- if self.is_file(path):
- return []
- if self.is_path:
- listdir = os.listdir(path)
- file_lst = []
- for name in listdir:
- if self.is_file(os.path.join(path, name)):
- file_lst.append(os.path.join(path, name))
- else:
- file_lst_ = self.get_file_list(os.path.join(path, name))
- file_lst.extend(file_lst_)
- return file_lst
- return []
-
-
-class FioDic:
- r"""Input and output for dict class data
- the file can be .json or .npy file containing a dictionary
- """
- def __init__(self) -> None:
- pass
-
- def load(self, file_name='', default_value={}):
- if file_name.endswith('.json'):
- return FioJsonDic().load(file_name, default_value)
- elif file_name.endswith('.npy'):
- return FioNpyDic().load(file_name, default_value)
- else:
- return FioNpyDic().load(file_name, default_value)
-
- def save(self, file_name='', dic={}):
- if file_name.endswith('.json'):
- FioJsonDic().save(file_name, dic)
- elif file_name.endswith('.npy'):
- FioNpyDic().save(file_name, dic)
- else:
- FioNpyDic().save(file_name, dic)
-
- def get(self, jdata, key, default_value):
- if key in jdata.keys():
- return jdata[key]
- else:
- return default_value
-
- def update(self, jdata, jdata_o):
- r"""Update key-value pair is key in jdata_o.keys()
-
- Parameter
- =========
- jdata
- new jdata
- jdata_o
- origin jdata
- """
- for key in jdata.keys():
- if key in jdata_o.keys():
- if isinstance(jdata_o[key], dict):
- jdata_o[key] = self.update(jdata[key], jdata_o[key])
- else:
- jdata_o[key] = jdata[key]
- return jdata_o
-
-
-class FioNpyDic:
- r"""Input and output for .npy file containing dictionary
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value={}):
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- dat = np.load(file_name, allow_pickle=True)[0]
- return dat
- else:
- log.warning(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name='', dic={}):
- Fio().create_file_path(file_name)
- np.save(file_name, [dic])
-
-
-class FioJsonDic:
- r"""Input and output for .json file containing dictionary
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value={}):
- r"""Load .json file into dict
- """
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- with open(file_name, 'r') as fr:
- jdata = fr.read()
- dat = json.loads(jdata)
- return dat
- else:
- log.warning(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name='', dic={}):
- r"""Save dict into .json file
- """
- log.info(f"write jdata to {file_name}")
- Fio().create_file_path(file_name)
- with open(file_name, 'w') as fw:
- json.dump(dic, fw, indent=4)
-
-
-class FioBin():
- r"""Input and output for binary file
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value=''):
- r"""Load binary file into bytes value
- """
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- dat = ""
- with open(file_name, 'rb') as fr:
- dat = fr.read()
- return dat
- else:
- log.warning(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name: str = '', data: str = ''):
- r"""Save hex string into binary file
- """
- log.info(f"write binary to {file_name}")
- Fio().create_file_path(file_name)
- with open(file_name, 'wb') as fp:
- for si in data:
- # one byte consists of two hex chars
- for ii in range(len(si) // 2):
- v = int(si[2 * ii: 2 * (ii + 1)], 16)
- v = struct.pack('B', v)
- fp.write(v)
-
-
-class FioTxt():
- r"""Input and output for .txt file with string
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value=[]):
- r"""Load .txt file into string list
- """
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- with open(file_name, 'r', encoding='utf-8') as fr:
- dat = fr.readlines()
- dat = [d.replace('\n', '') for d in dat]
- return dat
- else:
- log.info(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name: str = '', data: list = []):
- r"""Save string list into .txt file
- """
- log.info(f"write string to txt file {file_name}")
- Fio().create_file_path(file_name)
-
- if isinstance(data, str):
- data = [data]
- data = [d + '\n' for d in data]
- with open(file_name, 'w') as fw:
- fw.writelines(data)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/network.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/network.py
deleted file mode 100644
index 160276510a63949201912cd1f9662ae81983df52..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/network.py
+++ /dev/null
@@ -1,196 +0,0 @@
-
-import numpy as np
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import op_module
-
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.weight import get_constant_initializer
-from deepmd.utils.network import variable_summaries
-
-
-def get_sess():
- init_op = tf.global_variables_initializer()
- sess = tf.Session()
- sess.run(init_op)
- return sess
-
-
-def matmul2_qq(a, b, nbit):
- r"""Quantized matmul operation for 2d tensor.
- a and b is input tensor, nbit represent quantification precision
- """
- sh_a = a.get_shape().as_list()
- sh_b = b.get_shape().as_list()
- a = tf.reshape(a, [-1, 1, sh_a[1]])
- b = tf.reshape(tf.transpose(b), [1, sh_b[1], sh_b[0]])
- y = a * b
- y = qf(y, nbit)
- y = tf.reduce_sum(y, axis=2)
- return y
-
-
-def matmul3_qq(a, b, nbit):
- r"""Quantized matmul operation for 3d tensor.
- a and b is input tensor, nbit represent quantification precision
- """
- sh_a = a.get_shape().as_list()
- sh_b = b.get_shape().as_list()
- a = tf.reshape(a, [-1, sh_a[1], 1, sh_a[2]])
- b = tf.reshape(tf.transpose(b, [0, 2, 1]), [-1, 1, sh_b[2], sh_b[1]])
- y = a * b
- if nbit == -1:
- y = y
- else:
- y = qf(y, nbit)
- y = tf.reduce_sum(y, axis=3)
- return y
-
-
-def qf(x, nbit):
- r"""Quantize and floor tensor `x` with quantification precision `nbit`.
- """
- prec = 2**nbit
-
- y = tf.floor(x * prec) / prec
- y = x + tf.stop_gradient(y - x)
- return y
-
-
-def qr(x, nbit):
- r"""Quantize and round tensor `x` with quantification precision `nbit`.
- """
- prec = 2**nbit
-
- y = tf.round(x * prec) / prec
- y = x + tf.stop_gradient(y - x)
- return y
-
-
-# fitting_net
-def tanh2(x, nbit=-1, nbit2=-1):
- r"""User-defined activation function tanh2
-
- Parameter
- ---------
- x
- input tensor
- nbit
- quantification precision for forward calculation
- nbit2
- quantification precision for backward calculation
- """
- y = op_module.tanh2_nvnmd(x, 0, nbit, nbit2, -1)
- return y
-
-
-def tanh4(x, nbit=-1, nbit2=-1):
- r"""User-defined activation function tanh4
-
- Parameter
- ---------
- x
- input tensor
- nbit
- quantification precision for forward calculation
- nbit2
- quantification precision for backward calculation
- """
- y = op_module.tanh4_nvnmd(x, 0, nbit, nbit2, -1)
- return y
-
-
-def one_layer_wb(
- shape,
- outputs_size,
- bavg,
- stddev,
- precision,
- trainable,
- initial_variables,
- seed,
- uniform_seed,
- name
-):
- if nvnmd_cfg.restore_fitting_net:
- # initializer
- w_initializer = get_constant_initializer(nvnmd_cfg.weight, 'matrix')
- b_initializer = get_constant_initializer(nvnmd_cfg.weight, 'bias')
- else:
- w_initializer = tf.random_normal_initializer(
- stddev=stddev / np.sqrt(shape[1] + outputs_size),
- seed=seed if (seed is None or uniform_seed) else seed + 0)
- b_initializer = tf.random_normal_initializer(
- stddev=stddev,
- mean=bavg,
- seed=seed if (seed is None or uniform_seed) else seed + 1)
- if initial_variables is not None:
- w_initializer = tf.constant_initializer(initial_variables[name + '/matrix'])
- b_initializer = tf.constant_initializer(initial_variables[name + '/bias'])
- # variable
- w = tf.get_variable('matrix',
- [shape[1], outputs_size],
- precision,
- w_initializer,
- trainable=trainable)
- variable_summaries(w, 'matrix')
- b = tf.get_variable('bias',
- [outputs_size],
- precision,
- b_initializer,
- trainable=trainable)
- variable_summaries(b, 'bias')
-
- return w, b
-
-
-def one_layer(inputs,
- outputs_size,
- activation_fn=tf.nn.tanh,
- precision=GLOBAL_TF_FLOAT_PRECISION,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- seed=None,
- use_timestep=False,
- trainable=True,
- useBN=False,
- uniform_seed=False,
- initial_variables=None,
- mixed_prec=None,
- final_layer=False):
- r"""Build one layer with continuous or quantized value.
- Its weight and bias can be initialed with random or constant value.
- """
- if activation_fn is not None:
- activation_fn = tanh4
- with tf.variable_scope(name, reuse=reuse):
- shape = inputs.get_shape().as_list()
- w, b = one_layer_wb(shape, outputs_size, bavg, stddev, precision, trainable, initial_variables, seed, uniform_seed, name)
- if nvnmd_cfg.quantize_fitting_net:
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- NBIT_WEIGHT_FL = nvnmd_cfg.nbit['NBIT_WEIGHT_FL']
- #
- inputs = qf(inputs, NBIT_DATA_FL)
- w = qr(w, NBIT_WEIGHT_FL)
- with tf.variable_scope('wx', reuse=reuse):
- wx = op_module.matmul_nvnmd(inputs, w, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- #
- b = qr(b, NBIT_DATA_FL)
- with tf.variable_scope('wxb', reuse=reuse):
- hidden = wx + b
- #
- with tf.variable_scope('actfun', reuse=reuse):
- if activation_fn is not None:
- y = activation_fn(hidden, NBIT_DATA_FL, NBIT_DATA_FL)
- else:
- y = hidden
- else:
- hidden = tf.matmul(inputs, w) + b
- y = activation_fn(hidden, -1, -1) if (activation_fn is not None) else hidden
- # 'reshape' is necessary
- # the next layer needs shape of input tensor to build weight
- y = tf.reshape(y, [-1, outputs_size])
- return y
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/op.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/op.py
deleted file mode 100644
index f714723efe3522f7dd714afce6d36b5ee6b8f0cb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/op.py
+++ /dev/null
@@ -1,11 +0,0 @@
-
-import numpy as np
-
-
-def map_nvnmd(x, map_y, map_dy, prec, nbit=None):
- r"""Mapping function implemented by numpy
- """
- xk = int(np.floor(x / prec))
- dx = x - xk * prec
- y = map_y[xk] + map_dy[xk] * dx
- return y
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/weight.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/weight.py
deleted file mode 100644
index 416cdb8cff3117dbc18ac802ee0518be570af1c9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/nvnmd/utils/weight.py
+++ /dev/null
@@ -1,95 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.env import tf
-
-log = logging.getLogger(__name__)
-
-
-def get_weight(weights, key):
- r"""Get weight value according to key
- """
- if key in weights.keys():
- return weights[key]
- else:
- log.warning(f"There is not {key} in weights.")
- return None
-
-
-def get_normalize(weights: dict):
- r"""Get normalize parameter (avg and std) of :math:`s_{ji}`
- """
- key = "descrpt_attr.t_avg"
- avg = get_weight(weights, key)
- key = "descrpt_attr.t_std"
- std = get_weight(weights, key)
- return avg, std
-
-
-def get_rng_s(weights: dict):
- r"""Guess the range of :math:`s_{ji}`
- """
- avg, std = get_normalize(weights)
- smin = np.min(-avg[:, 0] / std[:, 0])
- smax = np.max(2.0 / std[:, 0])
- return smin, smax
-
-
-def get_filter_weight(weights: dict, spe_i: int, spe_j: int, layer_l: int):
- r"""Get weight and bias of embedding network
-
- Parameters
- ----------
- spe_i(int)
- special order of central atom i
- 0~ntype-1
- spe_j(int)
- special order of neighbor atom j
- 0~ntype-1
- layer_l
- layer order in embedding network
- 1~nlayer
- """
- # key = f"filter_type_{spe_i}.matrix_{layer_l}_{spe_j}" # type_one_side = false
- key = f"filter_type_all.matrix_{layer_l}_{spe_j}" # type_one_side = true
- weight = get_weight(weights, key)
- # key = f"filter_type_{spe_i}.bias_{layer_l}_{spe_j}" # type_one_side = false
- key = f"filter_type_all.bias_{layer_l}_{spe_j}" # type_one_side = true
- bias = get_weight(weights, key)
- return weight, bias
-
-
-def get_fitnet_weight(weights: dict, spe_i: int, layer_l: int, nlayer: int = 10):
- r"""Get weight and bias of fitting network
-
- Parameters
- ----------
- spe_i(int)
- special order of central atom i
- 0~ntype-1
- layer_l(int)
- layer order in embedding network
- 0~nlayer-1
- """
- if layer_l == nlayer - 1:
- key = f"final_layer_type_{spe_i}.matrix"
- weight = get_weight(weights, key)
- key = f"final_layer_type_{spe_i}.bias"
- bias = get_weight(weights, key)
- else:
- key = f"layer_{layer_l}_type_{spe_i}.matrix"
- weight = get_weight(weights, key)
- key = f"layer_{layer_l}_type_{spe_i}.bias"
- bias = get_weight(weights, key)
-
- return weight, bias
-
-
-def get_constant_initializer(weights, name):
- r"""Get initial value by name and create a initializer
- """
- scope = tf.get_variable_scope().name
- name = scope + '.' + name
- value = get_weight(weights, name)
- return tf.constant_initializer(value)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/__init__.py
deleted file mode 100644
index 7d1985ab39c18878f943bfd955b1f07eb5ddc980..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/__init__.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"""This module will house cust Tf OPs after CMake installation."""
-
-from pathlib import Path
-import importlib
-import logging
-
-NOT_LOADABLE = ("__init__.py",)
-PACKAGE_BASE = "deepmd.op"
-
-log = logging.getLogger(__name__)
-
-
-def import_ops():
- """Import all custom TF ops that are present in this submodule.
-
- Notes
- -----
- Initialy this subdir is unpopulated. CMake will install all the op module python
- files and shared libs.
- """
- for module_file in Path(__file__).parent.glob("*.py"):
- if module_file.name not in NOT_LOADABLE:
- module_name = f".{module_file.stem}"
- log.debug(f"importing op module: {module_name}")
- importlib.import_module(module_name, PACKAGE_BASE)
-
-
-import_ops()
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_gelu.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_gelu.py
deleted file mode 100644
index 5f34677119c775a5bee3bed3a8f38dba57787cf7..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_gelu.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python3
-"""
-First-order derivatives and second-order derivatives for gelu function.
-"""
-import tensorflow
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-
-try:
- gelu = tensorflow.nn.gelu
-except AttributeError:
- @ops.RegisterGradient("Gelu")
- def _gelu_cc (op, dy) :
- return op_module.gelu_grad_custom(dy, op.inputs[0])
-
- @ops.RegisterGradient("GeluGrad")
- def _gelu_grad_cc (op, dy) :
- return [op_module.gelu_grad_custom(dy, op.inputs[1]), op_module.gelu_grad_grad_custom(dy, op.inputs[0], op.inputs[1])]
-
-
-@ops.RegisterGradient("GeluCustom")
-def _gelu_custom_cc (op, dy):
- return op_module.gelu_grad_custom(dy, op.inputs[0])
-
-@ops.RegisterGradient("GeluGradCustom")
-def _gelu_grad_custom_cc (op, dy) :
- return [op_module.gelu_grad_custom(dy, op.inputs[1]), op_module.gelu_grad_grad_custom(dy, op.inputs[0], op.inputs[1])]
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_map_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_map_nvnmd_grad.py
deleted file mode 100644
index d885ba5c52c9736f928efa9769c24a1e302fe60f..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_map_nvnmd_grad.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("MapNvnmd")
-def _MapNvnmdGrad(op, grad):
- x = op.inputs[0]
- v = op.inputs[1]
- dv = op.inputs[2]
- grad_v = op.inputs[3]
- grad_dv = op.inputs[4]
- prec = op.get_attr("prec")
- nbit = op.get_attr("nbit")
- y = op.outputs[0]
- dydx = op_module.map_nvnmd(x, grad_v, grad_dv, tf.zeros_like(v), tf.zeros_like(dv), prec, nbit)
- dydx = op_module.quantize_nvnmd(dydx, 0, nbit, -1, -1)
- dx = tf.reshape(tf.reduce_sum(dydx * grad, axis=1), [-1, 1])
-
- d_v = None
- d_dv = None
- d_grad_v = None
- d_grad_dv = None
- return [dx, d_v, d_dv, d_grad_v, d_grad_dv]
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_matmul_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_matmul_nvnmd_grad.py
deleted file mode 100644
index 05cc8564cce35dba5f1ece4bd35d204933a63f51..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_matmul_nvnmd_grad.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("MatmulNvnmd")
-def _MatmulNvnmdGrad(op, grad):
- x = op.inputs[0]
- w = op.inputs[1]
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- dx = op_module.matmul_nvnmd(grad, tf.transpose(w), isround, nbit2, nbit3, nbit1)
- dw = op_module.matmul_nvnmd(tf.transpose(x), grad, isround, nbit2, nbit3, nbit1)
- return [dx, dw]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_grad.py
deleted file mode 100644
index 4de313f0e3e9663b26d91f71ffd1f6ed50389a4a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_grad.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod force.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdForce")
-def _prod_force_grad_cc (op, grad):
- net_grad = op_grads_module.prod_force_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_a_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_a_grad.py
deleted file mode 100644
index 594a7101b3d7c1b6c9e3054134f6db537cdebc17..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_a_grad.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod force.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdForceSeA")
-def _prod_force_se_a_grad_cc (op, grad):
- net_grad = op_grads_module.prod_force_se_a_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_r_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_r_grad.py
deleted file mode 100644
index aac2baee6a8709b548f379eb58f69e816cfb0c14..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_force_se_r_grad.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod force.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdForceSeR")
-def _prod_force_se_a_grad_cc (op, grad):
- net_grad = op_grads_module.prod_force_se_r_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3])
- return [net_grad, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_grad.py
deleted file mode 100644
index 75c952f20352624dfcd1c1bf6597f3573f2a94c1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_grad.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdVirial")
-def _prod_virial_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.prod_virial_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- op.inputs[5],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_a_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_a_grad.py
deleted file mode 100644
index 200651006d8cba109d3377b5caaf84a17c778d3d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_a_grad.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdVirialSeA")
-def _prod_virial_se_a_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.prod_virial_se_a_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_r_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_r_grad.py
deleted file mode 100644
index d820e7cce0714bd46a3adb8b6628969ec12c3938..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_prod_virial_se_r_grad.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdVirialSeR")
-def _prod_virial_se_a_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.prod_virial_se_r_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4])
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_quantize_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_quantize_nvnmd_grad.py
deleted file mode 100644
index c98eff5407cb2006a1970b94c07e69dddfd84886..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_quantize_nvnmd_grad.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("QuantizeNvnmd")
-def _QuantizeNvnmdGrad(op, grad):
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- dx = op_module.quantize_nvnmd(grad, isround, nbit2, nbit3, nbit1)
- return dx
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_force_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_force_grad.py
deleted file mode 100644
index 21380c253b1d9541f7a3a43039541f9f5bf265c0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_force_grad.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for soft min force
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-
-@ops.RegisterGradient("SoftMinForce")
-def _soft_min_force_grad_cc (op, grad):
- net_grad = op_grads_module.soft_min_force_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_virial_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_virial_grad.py
deleted file mode 100644
index 6b1cf44ab87d1501c6bfca7f4091726485ca387d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_soft_min_virial_grad.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for soft min virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-
-@ops.RegisterGradient("SoftMinVirial")
-def _soft_min_virial_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.soft_min_virial_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tabulate_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tabulate_grad.py
deleted file mode 100644
index 2be200910c4feb6cd95aac2237866d90d457d926..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tabulate_grad.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for tabulate.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-# from deepmd.DescrptSeATabulate import last_layer_size
-
-@ops.RegisterGradient("TabulateFusion")
-@ops.RegisterGradient("TabulateFusionSeA")
-def _tabulate_fusion_se_a_grad_cc (op, dy):
- dy_dx, dy_df = op_module.tabulate_fusion_se_a_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, op.outputs[0])
- return [None, None, dy_dx, dy_df]
-
-@ops.RegisterGradient("TabulateFusionGrad")
-@ops.RegisterGradient("TabulateFusionSeAGrad")
-def _tabulate_fusion_se_a_grad_grad_cc (op, dy, dy_):
- dz_dy = op_module.tabulate_fusion_se_a_grad_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, dy_, op.inputs[5])
- return [None, None, None, None, dz_dy, None]
-
-@ops.RegisterGradient("TabulateFusionSeT")
-def _tabulate_fusion_se_t_grad_cc (op, dy):
- dy_dx, dy_df = op_module.tabulate_fusion_se_t_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, op.outputs[0])
- return [None, None, dy_dx, dy_df]
-
-@ops.RegisterGradient("TabulateFusionSeTGrad")
-def _tabulate_fusion_se_t_grad_grad_cc (op, dy, dy_):
- dz_dy = op_module.tabulate_fusion_se_t_grad_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, dy_, op.inputs[5])
- return [None, None, None, None, dz_dy, None]
-
-@ops.RegisterGradient("TabulateFusionSeR")
-def _tabulate_fusion_se_r_grad_cc (op, dy):
- dy_df = op_module.tabulate_fusion_se_r_grad(op.inputs[0], op.inputs[1], op.inputs[2], dy, op.outputs[0])
- return [None, None, dy_df]
-
-@ops.RegisterGradient("TabulateFusionSeRGrad")
-def _tabulate_fusion_se_r_grad_grad_cc (op, dy):
- dz_dy = op_module.tabulate_fusion_se_r_grad_grad(op.inputs[0], op.inputs[1], op.inputs[2], dy, op.inputs[4])
- return [None, None, None, dz_dy, None]
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh2_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh2_nvnmd_grad.py
deleted file mode 100644
index 8fe809593cda8681907a1a8441cad43a5ae3766b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh2_nvnmd_grad.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("Tanh2Nvnmd")
-def _Tanh2NvnmdGrad(op, grad):
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- prec = 2 ** nbit2
- x = op.inputs[0]
- x_abs = tf.abs(x)
- x1 = tf.clip_by_value(x_abs, 0, 2)
- x2 = tf.clip_by_value(x_abs, 0, 4)
- dydx = (132-64*x1-x2) * 0.0078125
- if (nbit2 > -1):
- dydx = dydx + tf.stop_gradient( tf.floor(dydx * prec) / prec - dydx )
- dx = dydx * grad
- if (nbit2 > -1):
- dx = dx + tf.stop_gradient( tf.floor(dx * prec) / prec - dx )
- return dx
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh4_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh4_nvnmd_grad.py
deleted file mode 100644
index 47db90f1c78722302196c5be6c9c2dfb6dbc048d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/_tanh4_nvnmd_grad.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("Tanh4Nvnmd")
-def _Tanh4NvnmdGrad(op, grad):
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- prec = 2 ** nbit2
- x = op.inputs[0]
- xc = tf.clip_by_value(x, -2, 2)
- xa = tf.abs(xc)
- xx = xa * xa
- if (nbit2 > -1):
- xx = xx + tf.stop_gradient(tf.floor(xx * prec) / prec - xx)
- #
- dydx = xx * (xa/4 - 3/4) + 1
- if (nbit2 > -1):
- dydx = dydx + tf.stop_gradient( tf.floor(dydx * prec) / prec - dydx)
- #
- dx = dydx * grad
- if (nbit2 > -1):
- dx = dx + tf.stop_gradient( tf.floor(dx * prec) / prec - dx )
- return dx
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libdeepmd.so b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libdeepmd.so
deleted file mode 100644
index ba4004eabdb9fb6f7464f1d94851012bed8a8902..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libdeepmd.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_abi.so b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_abi.so
deleted file mode 100644
index 393f66d823a0f45a992f0c99390bfb57f55d4e5c..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_abi.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_grads.so b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_grads.so
deleted file mode 100644
index 8ff84c1cbb80f473c5dcd39f89faab5a3fed0e9b..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/op/libop_grads.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/pkg_config/run_config.ini b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/pkg_config/run_config.ini
deleted file mode 100644
index 0a7a1cd6b3440a0864c2d2535a2089e95b0bdb8e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/pkg_config/run_config.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[CONFIG]
-INSTALL_PREFIX = /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install
-GIT_SUMM = v2.1.5-dirty
-GIT_HASH = 6e3d4a62
-GIT_DATE = 2022-09-23 16:10:28 +0800
-GIT_BRANCH = HEAD
-TF_INCLUDE_DIR = /usr/local/lib/python3.6/dist-packages/tensorflow/include;/usr/local/lib/python3.6/dist-packages/tensorflow/include
-TF_LIBS =
-TF_VERSION = 2.4.0
-TF_CXX11_ABI_FLAG = 0
-MODEL_VERSION=1.1
-DP_VARIANT=cpu
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/__init__.py
deleted file mode 100644
index d3f5a12faa99758192ecc4ed3fc22c9249232e86..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/run_options.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/run_options.py
deleted file mode 100644
index ce5815e1fe1419e98e196e41eae6f1861f91dcbb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/run_options.py
+++ /dev/null
@@ -1,233 +0,0 @@
-"""Module taking care of important package constants."""
-
-import logging
-import os
-from pathlib import Path
-from typing import TYPE_CHECKING, Dict, List, Optional, Tuple
-
-import numpy as np
-from deepmd.cluster import get_resource
-from deepmd.env import get_tf_default_nthreads, tf, GLOBAL_CONFIG, global_float_prec
-from deepmd.loggers import set_log_handles
-
-if TYPE_CHECKING:
- import horovod.tensorflow as HVD
-
-
-__all__ = [
- "WELCOME",
- "CITATION",
- "BUILD",
- "RunOptions",
-]
-
-log = logging.getLogger(__name__)
-
-
-# http://patorjk.com/software/taag. Font:Big"
-WELCOME = ( # noqa
- " _____ _____ __ __ _____ _ _ _ ",
- "| __ \ | __ \ | \/ || __ \ | | (_)| | ",
- "| | | | ___ ___ | |__) || \ / || | | | ______ | | __ _ | |_ ",
- "| | | | / _ \ / _ \| ___/ | |\/| || | | ||______|| |/ /| || __|",
- "| |__| || __/| __/| | | | | || |__| | | < | || |_ ",
- "|_____/ \___| \___||_| |_| |_||_____/ |_|\_\|_| \__|",
-)
-
-CITATION = (
- "Please read and cite:",
- "Wang, Zhang, Han and E, Comput.Phys.Comm. 228, 178-184 (2018)",
-)
-
-_sep = "\n "
-BUILD = (
- f"installed to: {GLOBAL_CONFIG['install_prefix']}",
- f"source : {GLOBAL_CONFIG['git_summ']}",
- f"source brach: {GLOBAL_CONFIG['git_branch']}",
- f"source commit: {GLOBAL_CONFIG['git_hash']}",
- f"source commit at: {GLOBAL_CONFIG['git_date']}",
- f"build float prec: {global_float_prec}",
- f"build variant: {GLOBAL_CONFIG['dp_variant']}",
- f"build with tf inc: {GLOBAL_CONFIG['tf_include_dir']}",
- f"build with tf lib: {GLOBAL_CONFIG['tf_libs'].replace(';', _sep)}" # noqa
-)
-
-
-class RunOptions:
- """Class with inf oon how to run training (cluster, MPI and GPU config).
-
- Attributes
- ----------
- gpus: Optional[List[int]]
- list of GPUs if any are present else None
- is_chief: bool
- in distribured training it is true for tha main MPI process in serail it is
- always true
- world_size: int
- total worker count
- my_rank: int
- index of the MPI task
- nodename: str
- name of the node
- node_list_ : List[str]
- the list of nodes of the current mpirun
- my_device: str
- deviice type - gpu or cpu
- """
-
- gpus: Optional[List[int]]
- world_size: int
- my_rank: int
- nodename: str
- nodelist: List[int]
- my_device: str
-
- _HVD: Optional["HVD"]
- _log_handles_already_set: bool = False
-
- def __init__(
- self,
- init_model: Optional[str] = None,
- init_frz_model: Optional[str] = None,
- restart: Optional[str] = None,
- log_path: Optional[str] = None,
- log_level: int = 0,
- mpi_log: str = "master"
- ):
- self._try_init_distrib()
-
- if all((init_model, restart)):
- raise RuntimeError(
- "--init-model and --restart should not be set at the same time"
- )
-
- # model init options
- self.restart = restart
- self.init_model = init_model
- self.init_mode = "init_from_scratch"
-
- if restart is not None:
- self.restart = os.path.abspath(restart)
- self.init_mode = "restart"
- elif init_model is not None:
- self.init_model = os.path.abspath(init_model)
- self.init_mode = "init_from_model"
- elif init_frz_model is not None:
- self.init_frz_model = os.path.abspath(init_frz_model)
- self.init_mode = "init_from_frz_model"
-
- self._setup_logger(Path(log_path) if log_path else None, log_level, mpi_log)
-
- @property
- def is_chief(self):
- """Whether my rank is 0."""
- return self.my_rank == 0
-
- def print_resource_summary(self):
- """Print build and current running cluster configuration summary."""
- log.info("---Summary of the training---------------------------------------")
- if self.is_distrib:
- log.info("distributed")
- log.info(f"world size: {self.world_size}")
- log.info(f"my rank: {self.my_rank}")
- log.info(f"node list: {self.nodelist}")
- log.info(f"running on: {self.nodename}")
- log.info(f"computing device: {self.my_device}")
- env_value = os.environ.get('CUDA_VISIBLE_DEVICES', 'unset')
- log.info(f"CUDA_VISIBLE_DEVICES: {env_value}")
- log.info(f"Count of visible GPU: {len(self.gpus or [])}")
- intra, inter = get_tf_default_nthreads()
- log.info(f"num_intra_threads: {intra:d}")
- log.info(f"num_inter_threads: {inter:d}")
- log.info("-----------------------------------------------------------------")
-
- def _setup_logger(
- self,
- log_path: Optional[Path],
- log_level: int,
- mpi_log: Optional[str],
- ):
- """Set up package loggers.
-
- Parameters
- ----------
- log_level: int
- logging level
- log_path: Optional[str]
- path to log file, if None logs will be send only to console. If the parent
- directory does not exist it will be automatically created, by default None
- mpi_log : Optional[str], optional
- mpi log type. Has three options. `master` will output logs to file and
- console only from rank==0. `collect` will write messages from all ranks to
- one file opened under rank==0 and to console. `workers` will open one log
- file for each worker designated by its rank, console behaviour is the same
- as for `collect`.
- """
- if not self._log_handles_already_set:
- if not self._HVD:
- mpi_log = None
- set_log_handles(log_level, log_path, mpi_log=mpi_log)
- self._log_handles_already_set = True
- log.debug("Log handles were successfully set")
- else:
- log.warning(
- f"Log handles have already been set. It is not advisable to "
- f"reset them{', especially when runnig with MPI!' if self._HVD else ''}"
- )
-
- def _try_init_distrib(self):
- try:
- import horovod.tensorflow as HVD
- HVD.init()
- self.is_distrib = HVD.size() > 1
- except ImportError:
- log.warning("Switch to serial execution due to lack of horovod module.")
- self.is_distrib = False
-
- # Do real intialization
- if self.is_distrib:
- self._init_distributed(HVD)
- self._HVD = HVD
- else:
- self._init_serial()
- self._HVD = None
-
- def _init_distributed(self, HVD: "HVD"):
- """Initialize settings for distributed training.
-
- Parameters
- ----------
- HVD : HVD
- horovod object
- """
- nodename, nodelist, gpus = get_resource()
- self.nodename = nodename
- self.nodelist = nodelist
- self.gpus = gpus
- self.my_rank = HVD.rank()
- self.world_size = HVD.size()
-
- if gpus is not None:
- gpu_idx = HVD.local_rank()
- if gpu_idx >= len(gpus):
- raise RuntimeError('Count of local processes is larger than that of available GPUs!')
- self.my_device = f"gpu:{gpu_idx:d}"
- else:
- self.my_device = "cpu:0"
-
- def _init_serial(self):
- """Initialize setting for serial training."""
- nodename, _, gpus = get_resource()
-
- self.gpus = gpus
- self.world_size = 1
- self.my_rank = 0
- self.nodename = nodename
- self.nodelist = [nodename]
-
- if gpus is not None:
- self.my_device = "gpu:0"
- else:
- self.my_device = "cpu:0"
-
- self._HVD = None
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/trainer.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/trainer.py
deleted file mode 100644
index e2f1e3925fb3d9e947a1b71ac138ab97555f00c2..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/train/trainer.py
+++ /dev/null
@@ -1,744 +0,0 @@
-#!/usr/bin/env python3
-from deepmd.descriptor.descriptor import Descriptor
-import logging
-import os
-import glob
-import platform
-import time
-import shutil
-import google.protobuf.message
-import numpy as np
-from packaging.version import Version
-
-from deepmd.env import tf, tfv2
-from deepmd.env import get_tf_session_config
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.fit import EnerFitting, WFCFitting, PolarFittingLocFrame, PolarFittingSeA, GlobalPolarFittingSeA, DipoleFittingSeA
-from deepmd.descriptor import Descriptor
-from deepmd.model import EnerModel, WFCModel, DipoleModel, PolarModel, GlobalPolarModel
-from deepmd.loss import EnerStdLoss, EnerDipoleLoss, TensorLoss
-from deepmd.utils.errors import GraphTooLargeError
-from deepmd.utils.learning_rate import LearningRateExp
-from deepmd.utils.neighbor_stat import NeighborStat
-from deepmd.utils.sess import run_sess
-from deepmd.utils.type_embed import TypeEmbedNet
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.argcheck import type_embedding_args
-
-from tensorflow.python.client import timeline
-from deepmd.env import op_module, TF_VERSION
-from deepmd.utils.errors import GraphWithoutTensorError
-
-# load grad of force module
-import deepmd.op
-
-from deepmd.common import j_must_have, ClassArg, data_requirement, get_precision
-
-log = logging.getLogger(__name__)
-
-# nvnmd
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-
-def _is_subdir(path, directory):
- path = os.path.realpath(path)
- directory = os.path.realpath(directory)
- if path == directory:
- return False
- relative = os.path.relpath(path, directory) + os.sep
- return not relative.startswith(os.pardir + os.sep)
-
-
-class DPTrainer (object):
- def __init__(self,
- jdata,
- run_opt,
- is_compress = False):
- self.run_opt = run_opt
- self._init_param(jdata)
- self.is_compress = is_compress
-
- def _init_param(self, jdata):
- # model config
- model_param = j_must_have(jdata, 'model')
- descrpt_param = j_must_have(model_param, 'descriptor')
- fitting_param = j_must_have(model_param, 'fitting_net')
- typeebd_param = model_param.get('type_embedding', None)
- self.model_param = model_param
- self.descrpt_param = descrpt_param
-
- # nvnmd
- self.nvnmd_param = jdata.get('nvnmd', {})
- nvnmd_cfg.init_from_jdata(self.nvnmd_param)
- if nvnmd_cfg.enable:
- nvnmd_cfg.init_from_deepmd_input(model_param)
- nvnmd_cfg.disp_message()
- nvnmd_cfg.save()
-
- # descriptor
- try:
- descrpt_type = descrpt_param['type']
- self.descrpt_type = descrpt_type
- except KeyError:
- raise KeyError('the type of descriptor should be set by `type`')
-
- if descrpt_param['type'] in ['se_atten']:
- descrpt_param['ntypes'] = len(model_param['type_map'])
- self.descrpt = Descriptor(**descrpt_param)
-
- # fitting net
- fitting_type = fitting_param.get('type', 'ener')
- self.fitting_type = fitting_type
- fitting_param.pop('type', None)
- fitting_param['descrpt'] = self.descrpt
- if fitting_type == 'ener':
- self.fitting = EnerFitting(**fitting_param)
- # elif fitting_type == 'wfc':
- # self.fitting = WFCFitting(fitting_param, self.descrpt)
- elif fitting_type == 'dipole':
- if descrpt_type == 'se_e2_a':
- self.fitting = DipoleFittingSeA(**fitting_param)
- else :
- raise RuntimeError('fitting dipole only supports descrptors: se_e2_a')
- elif fitting_type == 'polar':
- # if descrpt_type == 'loc_frame':
- # self.fitting = PolarFittingLocFrame(fitting_param, self.descrpt)
- if descrpt_type == 'se_e2_a':
- self.fitting = PolarFittingSeA(**fitting_param)
- else :
- raise RuntimeError('fitting polar only supports descrptors: loc_frame and se_e2_a')
- elif fitting_type == 'global_polar':
- if descrpt_type == 'se_e2_a':
- self.fitting = GlobalPolarFittingSeA(**fitting_param)
- else :
- raise RuntimeError('fitting global_polar only supports descrptors: loc_frame and se_e2_a')
- else :
- raise RuntimeError('unknow fitting type ' + fitting_type)
-
- # type embedding
- padding = False
- if descrpt_type == 'se_atten':
- padding = True
- if typeebd_param is not None:
- self.typeebd = TypeEmbedNet(
- neuron=typeebd_param['neuron'],
- resnet_dt=typeebd_param['resnet_dt'],
- activation_function=typeebd_param['activation_function'],
- precision=typeebd_param['precision'],
- trainable=typeebd_param['trainable'],
- seed=typeebd_param['seed'],
- padding=padding
- )
- elif descrpt_type == 'se_atten':
- default_args = type_embedding_args()
- default_args_dict = {i.name: i.default for i in default_args}
- self.typeebd = TypeEmbedNet(
- neuron=default_args_dict['neuron'],
- resnet_dt=default_args_dict['resnet_dt'],
- activation_function=None,
- precision=default_args_dict['precision'],
- trainable=default_args_dict['trainable'],
- seed=default_args_dict['seed'],
- padding=padding
- )
- else:
- self.typeebd = None
-
- # init model
- # infer model type by fitting_type
- if fitting_type == 'ener':
- self.model = EnerModel(
- self.descrpt,
- self.fitting,
- self.typeebd,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2),
- model_param.get('use_srtab'),
- model_param.get('smin_alpha'),
- model_param.get('sw_rmin'),
- model_param.get('sw_rmax')
- )
- # elif fitting_type == 'wfc':
- # self.model = WFCModel(model_param, self.descrpt, self.fitting)
- elif fitting_type == 'dipole':
- self.model = DipoleModel(
- self.descrpt,
- self.fitting,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2)
- )
- elif fitting_type == 'polar':
- self.model = PolarModel(
- self.descrpt,
- self.fitting,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2)
- )
- elif fitting_type == 'global_polar':
- self.model = GlobalPolarModel(
- self.descrpt,
- self.fitting,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2)
- )
- else :
- raise RuntimeError('get unknown fitting type when building model')
-
- # learning rate
- lr_param = j_must_have(jdata, 'learning_rate')
- scale_by_worker = lr_param.get('scale_by_worker', 'linear')
- if scale_by_worker == 'linear':
- self.scale_lr_coef = float(self.run_opt.world_size)
- elif scale_by_worker == 'sqrt':
- self.scale_lr_coef = np.sqrt(self.run_opt.world_size).real
- else:
- self.scale_lr_coef = 1.
- lr_type = lr_param.get('type', 'exp')
- if lr_type == 'exp':
- self.lr = LearningRateExp(lr_param['start_lr'],
- lr_param['stop_lr'],
- lr_param['decay_steps'])
- else :
- raise RuntimeError('unknown learning_rate type ' + lr_type)
-
- # loss
- # infer loss type by fitting_type
- loss_param = jdata.get('loss', None)
- loss_type = loss_param.get('type', 'ener')
-
- if fitting_type == 'ener':
- loss_param.pop('type', None)
- loss_param['starter_learning_rate'] = self.lr.start_lr()
- if loss_type == 'ener':
- self.loss = EnerStdLoss(**loss_param)
- elif loss_type == 'ener_dipole':
- self.loss = EnerDipoleLoss(**loss_param)
- else:
- raise RuntimeError('unknow loss type')
- elif fitting_type == 'wfc':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'wfc',
- tensor_size = self.model.get_out_size(),
- label_name = 'wfc')
- elif fitting_type == 'dipole':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'dipole',
- tensor_size = 3,
- label_name = 'dipole')
- elif fitting_type == 'polar':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'polar',
- tensor_size = 9,
- label_name = 'polarizability')
- elif fitting_type == 'global_polar':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'global_polar',
- tensor_size = 9,
- atomic = False,
- label_name = 'polarizability')
- else :
- raise RuntimeError('get unknown fitting type when building loss function')
-
- # training
- tr_data = jdata['training']
- self.disp_file = tr_data.get('disp_file', 'lcurve.out')
- self.disp_freq = tr_data.get('disp_freq', 1000)
- self.save_freq = tr_data.get('save_freq', 1000)
- self.save_ckpt = tr_data.get('save_ckpt', 'model.ckpt')
- self.display_in_training = tr_data.get('disp_training', True)
- self.timing_in_training = tr_data.get('time_training', True)
- self.profiling = self.run_opt.is_chief and tr_data.get('profiling', False)
- self.profiling_file = tr_data.get('profiling_file', 'timeline.json')
- self.enable_profiler = tr_data.get('enable_profiler', False)
- self.tensorboard = self.run_opt.is_chief and tr_data.get('tensorboard', False)
- self.tensorboard_log_dir = tr_data.get('tensorboard_log_dir', 'log')
- self.tensorboard_freq = tr_data.get('tensorboard_freq', 1)
- self.mixed_prec = tr_data.get('mixed_precision', None)
- if self.mixed_prec is not None:
- if (self.mixed_prec['compute_prec'] != 'float16' or self.mixed_prec['output_prec'] != 'float32'):
- raise RuntimeError(
- "Unsupported mixed precision option [output_prec, compute_prec]: [%s, %s], "
- " Supported: [float32, float16], Please set mixed precision option correctly!"
- % (self.mixed_prec['output_prec'], self.mixed_prec['compute_prec']))
- # self.sys_probs = tr_data['sys_probs']
- # self.auto_prob_style = tr_data['auto_prob']
- self.useBN = False
- if fitting_type == 'ener' and self.fitting.get_numb_fparam() > 0 :
- self.numb_fparam = self.fitting.get_numb_fparam()
- else :
- self.numb_fparam = 0
-
- if tr_data.get("validation_data", None) is not None:
- self.valid_numb_batch = tr_data["validation_data"].get("numb_btch", 1)
- else:
- self.valid_numb_batch = 1
-
- # if init the graph with the frozen model
- self.frz_model = None
- self.model_type = None
-
-
- def build (self,
- data = None,
- stop_batch = 0,
- suffix = "") :
- self.ntypes = self.model.get_ntypes()
- self.stop_batch = stop_batch
-
- if not self.is_compress and data.mixed_type:
- assert self.descrpt_type in ['se_atten'], 'Data in mixed_type format must use attention descriptor!'
- assert self.fitting_type in ['ener'], 'Data in mixed_type format must use ener fitting!'
-
- if self.numb_fparam > 0 :
- log.info("training with %d frame parameter(s)" % self.numb_fparam)
- else:
- log.info("training without frame parameter")
-
- if not self.is_compress:
- # Usually, the type number of the model should be equal to that of the data
- # However, nt_model > nt_data should be allowed, since users may only want to
- # train using a dataset that only have some of elements
- if self.ntypes < data.get_ntypes():
- raise ValueError(
- "The number of types of the training data is %d, but that of the "
- "model is only %d. The latter must be no less than the former. "
- "You may need to reset one or both of them. Usually, the former "
- "is given by `model/type_map` in the training parameter (if set) "
- "or the maximum number in the training data. The latter is given "
- "by `model/descriptor/sel` in the training parameter." % (
- data.get_ntypes(), self.ntypes
- ))
- self.type_map = data.get_type_map()
- self.batch_size = data.get_batch_size()
- if self.run_opt.init_mode not in ('init_from_model', 'restart', 'init_from_frz_model'):
- # self.saver.restore (in self._init_session) will restore avg and std variables, so data_stat is useless
- # init_from_frz_model will restore data_stat variables in `init_variables` method
- log.info("data stating... (this step may take long time)")
- self.model.data_stat(data)
-
- # config the init_frz_model command
- if self.run_opt.init_mode == 'init_from_frz_model':
- self._init_from_frz_model()
-
- # neighbor_stat is moved to train.py as duplicated
- # TODO: this is a simple fix but we should have a clear
- # architecture to call neighbor stat
- else :
- graph, graph_def = load_graph_def(self.model_param['compress']['model_file'])
- self.descrpt.enable_compression(self.model_param['compress']["min_nbor_dist"], self.model_param['compress']['model_file'], self.model_param['compress']['table_config'][0], self.model_param['compress']['table_config'][1], self.model_param['compress']['table_config'][2], self.model_param['compress']['table_config'][3])
- self.fitting.init_variables(graph, graph_def)
- # for fparam or aparam settings in 'ener' type fitting net
- if self.fitting_type == 'ener':
- self.fitting.enable_compression(self.model_param['compress']['model_file'])
-
- if self.is_compress or self.model_type == 'compressed_model':
- tf.constant("compressed_model", name = 'model_type', dtype = tf.string)
- else:
- tf.constant("original_model", name = 'model_type', dtype = tf.string)
-
- if self.mixed_prec is not None:
- self.descrpt.enable_mixed_precision(self.mixed_prec)
- self.fitting.enable_mixed_precision(self.mixed_prec)
-
- self._build_lr()
- self._build_network(data, suffix)
- self._build_training()
-
-
- def _build_lr(self):
- self._extra_train_ops = []
- self.global_step = tf.train.get_or_create_global_step()
- self.learning_rate = self.lr.build(self.global_step, self.stop_batch)
- log.info("built lr")
-
- def _build_network(self, data, suffix=""):
- self.place_holders = {}
- if self.is_compress :
- for kk in ['coord', 'box']:
- self.place_holders[kk] = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], 't_' + kk)
- self._get_place_horders(data_requirement)
- else :
- self._get_place_horders(data.get_data_dict())
-
- self.place_holders['type'] = tf.placeholder(tf.int32, [None], name='t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name='t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name='t_mesh')
- self.place_holders['is_training'] = tf.placeholder(tf.bool)
- self.model_pred\
- = self.model.build (self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- self.place_holders,
- self.frz_model,
- suffix = suffix,
- reuse = False)
-
- self.l2_l, self.l2_more\
- = self.loss.build (self.learning_rate,
- self.place_holders['natoms_vec'],
- self.model_pred,
- self.place_holders,
- suffix = "test")
-
- if self.mixed_prec is not None:
- self.l2_l = tf.cast(self.l2_l, get_precision(self.mixed_prec['output_prec']))
- log.info("built network")
-
- def _build_training(self):
- trainable_variables = tf.trainable_variables()
- if self.run_opt.is_distrib:
- if self.scale_lr_coef > 1.:
- log.info('Scale learning rate by coef: %f', self.scale_lr_coef)
- optimizer = tf.train.AdamOptimizer(self.learning_rate*self.scale_lr_coef)
- else:
- optimizer = tf.train.AdamOptimizer(self.learning_rate)
- optimizer = self.run_opt._HVD.DistributedOptimizer(optimizer)
- else:
- optimizer = tf.train.AdamOptimizer(learning_rate = self.learning_rate)
- if self.mixed_prec is not None:
- _TF_VERSION = Version(TF_VERSION)
- # check the TF_VERSION, when TF < 1.12, mixed precision is not allowed
- if _TF_VERSION < Version('1.14.0'):
- raise RuntimeError("TensorFlow version %s is not compatible with the mixed precision setting. Please consider upgrading your TF version!" % TF_VERSION)
- elif _TF_VERSION < Version('2.4.0'):
- optimizer = tf.train.experimental.enable_mixed_precision_graph_rewrite(optimizer)
- else:
- optimizer = tf.mixed_precision.enable_mixed_precision_graph_rewrite(optimizer)
- apply_op = optimizer.minimize(loss=self.l2_l,
- global_step=self.global_step,
- var_list=trainable_variables,
- name='train_step')
- train_ops = [apply_op] + self._extra_train_ops
- self.train_op = tf.group(*train_ops)
- log.info("built training")
-
- def _init_session(self):
- config = get_tf_session_config()
- device, idx = self.run_opt.my_device.split(":", 1)
- if device == "gpu":
- config.gpu_options.visible_device_list = idx
- self.sess = tf.Session(config=config)
-
- # Initializes or restore global variables
- init_op = tf.global_variables_initializer()
- if self.run_opt.is_chief:
- self.saver = tf.train.Saver(save_relative_paths=True)
- if self.run_opt.init_mode == 'init_from_scratch' :
- log.info("initialize model from scratch")
- run_sess(self.sess, init_op)
- if not self.is_compress:
- fp = open(self.disp_file, "w")
- fp.close ()
- elif self.run_opt.init_mode == 'init_from_model' :
- log.info("initialize from model %s" % self.run_opt.init_model)
- run_sess(self.sess, init_op)
- self.saver.restore (self.sess, self.run_opt.init_model)
- run_sess(self.sess, self.global_step.assign(0))
- fp = open(self.disp_file, "w")
- fp.close ()
- elif self.run_opt.init_mode == 'restart' :
- log.info("restart from model %s" % self.run_opt.restart)
- run_sess(self.sess, init_op)
- self.saver.restore (self.sess, self.run_opt.restart)
- elif self.run_opt.init_mode == 'init_from_frz_model' :
- log.info("initialize training from the frozen model")
- run_sess(self.sess, init_op)
- fp = open(self.disp_file, "w")
- fp.close ()
- else :
- raise RuntimeError ("unkown init mode")
- else:
- run_sess(self.sess, init_op)
- self.saver = None
-
- # Ensure variable consistency among tasks when training starts
- if self.run_opt.is_distrib:
- bcast_op = self.run_opt._HVD.broadcast_global_variables(0)
- if self.run_opt.is_chief:
- log.info('broadcast global variables to other tasks')
- else:
- log.info('receive global variables from task#0')
- run_sess(self.sess, bcast_op)
-
- def train (self, train_data = None, valid_data=None) :
-
- # if valid_data is None: # no validation set specified.
- # valid_data = train_data # using training set as validation set.
-
- stop_batch = self.stop_batch
- self._init_session()
-
- # Before data shard is enabled, only cheif do evaluation and record it
- # self.print_head()
- fp = None
- if self.run_opt.is_chief :
- fp = open(self.disp_file, "a")
-
- cur_batch = run_sess(self.sess, self.global_step)
- is_first_step = True
- self.cur_batch = cur_batch
- log.info("start training at lr %.2e (== %.2e), decay_step %d, decay_rate %f, final lr will be %.2e" %
- (run_sess(self.sess, self.learning_rate),
- self.lr.value(cur_batch),
- self.lr.decay_steps_,
- self.lr.decay_rate_,
- self.lr.value(stop_batch))
- )
-
- prf_options = None
- prf_run_metadata = None
- if self.profiling:
- prf_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
- prf_run_metadata = tf.RunMetadata()
-
- # set tensorboard execution environment
- if self.tensorboard:
- summary_merged_op = tf.summary.merge_all()
- # Remove TB old logging directory from previous run
- try:
- shutil.rmtree(self.tensorboard_log_dir)
- except FileNotFoundError:
- pass # directory does not exist, this is OK
- except Exception as e:
- # general error when removing directory, warn user
- log.exception(
- f"Could not remove old tensorboard logging directory: "
- f"{self.tensorboard_log_dir}. Error: {e}"
- )
- else:
- log.debug("Removing old tensorboard log directory.")
- tb_train_writer = tf.summary.FileWriter(self.tensorboard_log_dir + '/train', self.sess.graph)
- tb_valid_writer = tf.summary.FileWriter(self.tensorboard_log_dir + '/test')
- else:
- tb_train_writer = None
- tb_valid_writer = None
- if self.enable_profiler:
- # https://www.tensorflow.org/guide/profiler
- tfv2.profiler.experimental.start(self.tensorboard_log_dir)
-
- train_time = 0
-
- while cur_batch < stop_batch :
-
- # first round validation:
- train_batch = train_data.get_batch()
- if self.display_in_training and is_first_step:
- if self.run_opt.is_chief:
- valid_batches = [valid_data.get_batch() for ii in range(self.valid_numb_batch)] if valid_data is not None else None
- self.valid_on_the_fly(fp, [train_batch], valid_batches, print_header=True)
- is_first_step = False
-
- if self.timing_in_training: tic = time.time()
- train_feed_dict = self.get_feed_dict(train_batch, is_training=True)
- # use tensorboard to visualize the training of deepmd-kit
- # it will takes some extra execution time to generate the tensorboard data
- if self.tensorboard and (cur_batch % self.tensorboard_freq == 0):
- summary, _ = run_sess(self.sess, [summary_merged_op, self.train_op], feed_dict=train_feed_dict,
- options=prf_options, run_metadata=prf_run_metadata)
- tb_train_writer.add_summary(summary, cur_batch)
- else:
- run_sess(self.sess, [self.train_op], feed_dict=train_feed_dict,
- options=prf_options, run_metadata=prf_run_metadata)
- if self.timing_in_training: toc = time.time()
- if self.timing_in_training: train_time += toc - tic
- cur_batch = run_sess(self.sess, self.global_step)
- self.cur_batch = cur_batch
-
- # on-the-fly validation
- if self.display_in_training and (cur_batch % self.disp_freq == 0):
- if self.timing_in_training:
- tic = time.time()
- if self.run_opt.is_chief:
- valid_batches = [valid_data.get_batch() for ii in range(self.valid_numb_batch)] if valid_data is not None else None
- self.valid_on_the_fly(fp, [train_batch], valid_batches)
- if self.timing_in_training:
- toc = time.time()
- test_time = toc - tic
- log.info("batch %7d training time %.2f s, testing time %.2f s"
- % (cur_batch, train_time, test_time))
- train_time = 0
- if self.save_freq > 0 and cur_batch % self.save_freq == 0 and self.saver is not None:
- self.save_checkpoint(cur_batch)
- if (self.save_freq == 0 or cur_batch == 0 or cur_batch % self.save_freq != 0) and self.saver is not None:
- self.save_checkpoint(cur_batch)
- if self.run_opt.is_chief:
- fp.close ()
- if self.profiling and self.run_opt.is_chief :
- fetched_timeline = timeline.Timeline(prf_run_metadata.step_stats)
- chrome_trace = fetched_timeline.generate_chrome_trace_format()
- with open(self.profiling_file, 'w') as f:
- f.write(chrome_trace)
- if self.enable_profiler and self.run_opt.is_chief:
- tfv2.profiler.experimental.stop()
-
- def save_checkpoint(self, cur_batch: int):
- try:
- ckpt_prefix = self.saver.save (self.sess, os.path.join(os.getcwd(), self.save_ckpt), global_step=cur_batch)
- except google.protobuf.message.DecodeError as e:
- raise GraphTooLargeError(
- "The graph size exceeds 2 GB, the hard limitation of protobuf."
- " Then a DecodeError was raised by protobuf. You should "
- "reduce the size of your model."
- ) from e
- # make symlinks from prefix with step to that without step to break nothing
- # get all checkpoint files
- original_files = glob.glob(ckpt_prefix + ".*")
- for ori_ff in original_files:
- new_ff = self.save_ckpt + ori_ff[len(ckpt_prefix):]
- try:
- # remove old one
- os.remove(new_ff)
- except OSError:
- pass
- if platform.system() != 'Windows':
- # by default one does not have access to create symlink on Windows
- os.symlink(ori_ff, new_ff)
- else:
- shutil.copyfile(ori_ff, new_ff)
- log.info("saved checkpoint %s" % self.save_ckpt)
-
- def get_feed_dict(self, batch, is_training):
- feed_dict = {}
- for kk in batch.keys():
- if kk == 'find_type' or kk == 'type' or kk == 'real_natoms_vec':
- continue
- if 'find_' in kk:
- feed_dict[self.place_holders[kk]] = batch[kk]
- else:
- feed_dict[self.place_holders[kk]] = np.reshape(batch[kk], [-1])
- for ii in ['type']:
- feed_dict[self.place_holders[ii]] = np.reshape(batch[ii], [-1])
- for ii in ['natoms_vec', 'default_mesh']:
- feed_dict[self.place_holders[ii]] = batch[ii]
- feed_dict[self.place_holders['is_training']] = is_training
- return feed_dict
-
- def get_global_step(self):
- return run_sess(self.sess, self.global_step)
-
- # def print_head (self) : # depreciated
- # if self.run_opt.is_chief:
- # fp = open(self.disp_file, "a")
- # print_str = "# %5s" % 'batch'
- # print_str += self.loss.print_header()
- # print_str += ' %8s\n' % 'lr'
- # fp.write(print_str)
- # fp.close ()
-
- def valid_on_the_fly(self,
- fp,
- train_batches,
- valid_batches,
- print_header=False):
- train_results = self.get_evaluation_results(train_batches)
- valid_results = self.get_evaluation_results(valid_batches)
-
- cur_batch = self.cur_batch
- current_lr = run_sess(self.sess, self.learning_rate)
- if print_header:
- self.print_header(fp, train_results, valid_results)
- self.print_on_training(fp, train_results, valid_results, cur_batch, current_lr)
-
- @staticmethod
- def print_header(fp, train_results, valid_results):
- print_str = ''
- print_str += "# %5s" % 'step'
- if valid_results is not None:
- prop_fmt = ' %11s %11s'
- for k in train_results.keys():
- print_str += prop_fmt % (k + '_val', k + '_trn')
- else:
- prop_fmt = ' %11s'
- for k in train_results.keys():
- print_str += prop_fmt % (k + '_trn')
- print_str += ' %8s\n' % 'lr'
- fp.write(print_str)
- fp.flush()
-
- @staticmethod
- def print_on_training(fp, train_results, valid_results, cur_batch, cur_lr):
- print_str = ''
- print_str += "%7d" % cur_batch
- if valid_results is not None:
- prop_fmt = " %11.2e %11.2e"
- for k in valid_results.keys():
- # assert k in train_results.keys()
- print_str += prop_fmt % (valid_results[k], train_results[k])
- else:
- prop_fmt = " %11.2e"
- for k in train_results.keys():
- print_str += prop_fmt % (train_results[k])
- print_str += " %8.1e\n" % cur_lr
- fp.write(print_str)
- fp.flush()
-
- def get_evaluation_results(self, batch_list):
- if batch_list is None: return None
- numb_batch = len(batch_list)
-
- sum_results = {} # sum of losses on all atoms
- sum_natoms = 0
- for i in range(numb_batch):
- batch = batch_list[i]
- natoms = batch["natoms_vec"]
- feed_dict = self.get_feed_dict(batch, is_training=False)
- results = self.loss.eval(self.sess, feed_dict, natoms)
-
- for k, v in results.items():
- if k == "natoms":
- sum_natoms += v
- else:
- sum_results[k] = sum_results.get(k, 0.) + v * results["natoms"]
- avg_results = {k: v / sum_natoms for k, v in sum_results.items() if not k == "natoms"}
- return avg_results
-
- def save_compressed(self):
- """
- Save the compressed graph
- """
- self._init_session()
- if self.is_compress:
- self.saver.save (self.sess, os.path.join(os.getcwd(), self.save_ckpt))
-
- def _get_place_horders(self, data_dict):
- for kk in data_dict.keys():
- if kk == 'type':
- continue
- prec = GLOBAL_TF_FLOAT_PRECISION
- if data_dict[kk]['high_prec'] :
- prec = GLOBAL_ENER_FLOAT_PRECISION
- self.place_holders[kk] = tf.placeholder(prec, [None], name = 't_' + kk)
- self.place_holders['find_' + kk] = tf.placeholder(tf.float32, name = 't_find_' + kk)
-
- def _init_from_frz_model(self):
- try:
- graph, graph_def = load_graph_def(self.run_opt.init_frz_model)
- except FileNotFoundError as e:
- # throw runtime error if there's no frozen model
- raise RuntimeError(
- "The input frozen model %s (%s) does not exist! Please check the path of the frozen model. " % (self.run_opt.init_frz_model, os.path.abspath(self.run_opt.init_frz_model))
- ) from e
- # get the model type from the frozen model(self.run_opt.init_frz_model)
- try:
- t_model_type = get_tensor_by_name_from_graph(graph, 'model_type')
- except GraphWithoutTensorError as e:
- # throw runtime error if the frozen_model has no model type information...
- raise RuntimeError(
- "The input frozen model: %s has no 'model_type' information, "
- "which is not supported by the 'dp train init-frz-model' interface. " % self.run_opt.init_frz_model
- ) from e
- else:
- self.model_type = bytes.decode(t_model_type)
- if self.model_type == 'compressed_model':
- self.frz_model = self.run_opt.init_frz_model
- self.model.init_variables(graph, graph_def, model_type=self.model_type)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/__init__.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/__init__.py
deleted file mode 100644
index 2646df2fbf8aa3a07be92d1dfb460e68cd258c49..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-from .data import DeepmdData
-from .data_system import DeepmdDataSystem
-
-# out-of-dated
-from .data import DataSets
-from .data_system import DataSystem
-from .pair_tab import PairTab
-from .learning_rate import LearningRateExp
-from .plugin import Plugin, PluginVariant
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/argcheck.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/argcheck.py
deleted file mode 100644
index 3f81f31b34739c4f95e1bdd1b0304b6df5291cbf..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/argcheck.py
+++ /dev/null
@@ -1,789 +0,0 @@
-from typing import List, Callable
-
-from dargs import dargs, Argument, Variant, ArgumentEncoder
-from deepmd import descriptor
-from deepmd.common import ACTIVATION_FN_DICT, PRECISION_DICT
-from deepmd.utils.plugin import Plugin
-import json
-
-from deepmd.nvnmd.utils.argcheck import nvnmd_args
-
-def list_to_doc(xx):
- items = []
- for ii in xx:
- if len(items) == 0:
- items.append(f'"{ii}"')
- else:
- items.append(f', "{ii}"')
- items.append('.')
- return ''.join(items)
-
-
-def make_link(content, ref_key):
- return f'`{content} <{ref_key}_>`_' if not dargs.RAW_ANCHOR \
- else f'`{content} <#{ref_key}>`_'
-
-
-def type_embedding_args():
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_seed = 'Random seed for parameter initialization'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net are trainable'
-
- return [
- Argument("neuron", list, optional = True, default = [8], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, default = None, doc = doc_seed),
- ]
-
-
-# --- Descriptor configurations: --- #
-
-class ArgsPlugin:
- def __init__(self) -> None:
- self.__plugin = Plugin()
-
- def register(self, name : str, alias : List[str] = None) -> Callable[[], List[Argument]]:
- """Regiester a descriptor argument plugin.
-
- Parameters
- ----------
- name : str
- the name of a descriptor
- alias : List[str], optional
- the list of aliases of this descriptor
-
- Returns
- -------
- Callable[[], List[Argument]]
- the regiestered descriptor argument method
-
- Examples
- --------
- >>> some_plugin = ArgsPlugin()
- >>> @some_plugin.register("some_descrpt")
- def descrpt_some_descrpt_args():
- return []
- """
- # convert alias to hashed item
- if isinstance(alias, list):
- alias = tuple(alias)
- return self.__plugin.register((name, alias))
-
- def get_all_argument(self, exclude_hybrid: bool = False) -> List[Argument]:
- """Get all arguments.
-
- Parameters
- ----------
- exclude_hybrid : bool
- exclude hybrid descriptor to prevent circular calls
-
- Returns
- -------
- List[Argument]
- all arguments
- """
- arguments = []
- for (name, alias), metd in self.__plugin.plugins.items():
- if exclude_hybrid and name == "hybrid":
- continue
- arguments.append(Argument(name=name, dtype=dict, sub_fields=metd(), alias=alias))
- return arguments
-
-
-descrpt_args_plugin = ArgsPlugin()
-
-@descrpt_args_plugin.register("loc_frame")
-def descrpt_local_frame_args ():
- doc_sel_a = 'A list of integers. The length of the list should be the same as the number of atom types in the system. `sel_a[i]` gives the selected number of type-i neighbors. The full relative coordinates of the neighbors are used by the descriptor.'
- doc_sel_r = 'A list of integers. The length of the list should be the same as the number of atom types in the system. `sel_r[i]` gives the selected number of type-i neighbors. Only relative distance of the neighbors are used by the descriptor. sel_a[i] + sel_r[i] is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius.'
- doc_rcut = 'The cut-off radius. The default value is 6.0'
- doc_axis_rule = 'A list of integers. The length should be 6 times of the number of types. \n\n\
-- axis_rule[i*6+0]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
-- axis_rule[i*6+1]: type of the atom defining the first axis of type-i atom.\n\n\
-- axis_rule[i*6+2]: index of the axis atom defining the first axis. Note that the neighbors with the same class and type are sorted according to their relative distance.\n\n\
-- axis_rule[i*6+3]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
-- axis_rule[i*6+4]: type of the atom defining the second axis of type-i atom.\n\n\
-- axis_rule[i*6+5]: class of the atom defining the second axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.'
-
- return [
- Argument("sel_a", list, optional = False, doc = doc_sel_a),
- Argument("sel_r", list, optional = False, doc = doc_sel_r),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("axis_rule", list, optional = False, doc = doc_axis_rule)
- ]
-
-
-@descrpt_args_plugin.register("se_e2_a", alias=["se_a"])
-def descrpt_se_a_args():
- doc_sel = 'This parameter set the number of selected neighbors for each type of atom. It can be:\n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. `sel[i]` is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius. It is noted that the total sel value must be less than 4096 in a GPU environment.\n\n\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_axis_neuron = 'Size of the submatrix of G (embedding matrix).'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_type_one_side = 'Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net is trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_exclude_types = 'The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1.'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
-
- return [
- Argument("sel", [list,str], optional = True, default = "auto", doc = doc_sel),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("rcut_smth", float, optional = True, default = 0.5, doc = doc_rcut_smth),
- Argument("neuron", list, optional = True, default = [10,20,40], doc = doc_neuron),
- Argument("axis_neuron", int, optional = True, default = 4, alias = ['n_axis_neuron'], doc = doc_axis_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("type_one_side", bool, optional = True, default = False, doc = doc_type_one_side),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("exclude_types", list, optional = True, default = [], doc = doc_exclude_types),
- Argument("set_davg_zero", bool, optional = True, default = False, doc = doc_set_davg_zero)
- ]
-
-
-@descrpt_args_plugin.register("se_e3", alias=['se_at', 'se_a_3be', 'se_t'])
-def descrpt_se_t_args():
- doc_sel = 'This parameter set the number of selected neighbors for each type of atom. It can be:\n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. `sel[i]` is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius. It is noted that the total sel value must be less than 4096 in a GPU environment.\n\n\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net are trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
-
- return [
- Argument("sel", [list,str], optional = True, default = "auto", doc = doc_sel),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("rcut_smth", float, optional = True, default = 0.5, doc = doc_rcut_smth),
- Argument("neuron", list, optional = True, default = [10,20,40], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("set_davg_zero", bool, optional = True, default = False, doc = doc_set_davg_zero)
- ]
-
-
-
-@descrpt_args_plugin.register("se_a_tpe", alias=['se_a_ebd'])
-def descrpt_se_a_tpe_args():
- doc_type_nchanl = 'number of channels for type embedding'
- doc_type_nlayer = 'number of hidden layers of type embedding net'
- doc_numb_aparam = 'dimension of atomic parameter. if set to a value > 0, the atomic parameters are embedded.'
-
- return descrpt_se_a_args() + [
- Argument("type_nchanl", int, optional = True, default = 4, doc = doc_type_nchanl),
- Argument("type_nlayer", int, optional = True, default = 2, doc = doc_type_nlayer),
- Argument("numb_aparam", int, optional = True, default = 0, doc = doc_numb_aparam)
- ]
-
-
-@descrpt_args_plugin.register("se_e2_r", alias=['se_r'])
-def descrpt_se_r_args():
- doc_sel = 'This parameter set the number of selected neighbors for each type of atom. It can be:\n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. `sel[i]` is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius. It is noted that the total sel value must be less than 4096 in a GPU environment.\n\n\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_type_one_side = 'Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net are trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_exclude_types = 'The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1.'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
-
- return [
- Argument("sel", [list,str], optional = True, default = "auto", doc = doc_sel),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("rcut_smth", float, optional = True, default = 0.5, doc = doc_rcut_smth),
- Argument("neuron", list, optional = True, default = [10,20,40], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("type_one_side", bool, optional = True, default = False, doc = doc_type_one_side),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("exclude_types", list, optional = True, default = [], doc = doc_exclude_types),
- Argument("set_davg_zero", bool, optional = True, default = False, doc = doc_set_davg_zero)
- ]
-
-
-@descrpt_args_plugin.register("hybrid")
-def descrpt_hybrid_args():
- doc_list = f'A list of descriptor definitions'
-
- return [
- Argument("list", list, optional = False, doc = doc_list)
- ]
-
-
-@descrpt_args_plugin.register("se_atten")
-def descrpt_se_atten_args():
- doc_sel = 'This parameter set the number of selected neighbors. Note that this parameter is a little different from that in other descriptors. Instead of separating each type of atoms, only the summation matters. And this number is highly related with the efficiency, thus one should not make it too large. Usually 200 or less is enough, far away from the GPU limitation 4096. It can be:\n\n\
- - `int`. The maximum number of neighbor atoms to be considered. We recommend it to be less than 200. \n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. Only the summation of `sel[i]` matters, and it is recommended to be less than 200.\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_axis_neuron = 'Size of the submatrix of G (embedding matrix).'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_type_one_side = 'Whether to consider the information from only one side or both sides.'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net is trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_exclude_types = 'The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1.'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
- doc_attn = 'The length of hidden vectors in attention layers'
- doc_attn_layer = 'The number of attention layers'
- doc_attn_dotr = 'Whether to do dot product with the normalized relative coordinates'
- doc_attn_mask = 'Whether to do mask on the diagonal in the attention matrix'
-
- return [
- Argument("sel", [int, list, str], optional=True, default="auto", doc=doc_sel),
- Argument("rcut", float, optional=True, default=6.0, doc=doc_rcut),
- Argument("rcut_smth", float, optional=True, default=0.5, doc=doc_rcut_smth),
- Argument("neuron", list, optional=True, default=[10, 20, 40], doc=doc_neuron),
- Argument("axis_neuron", int, optional=True, default=4, alias=['n_axis_neuron'], doc=doc_axis_neuron),
- Argument("activation_function", str, optional=True, default='tanh', doc=doc_activation_function),
- Argument("resnet_dt", bool, optional=True, default=False, doc=doc_resnet_dt),
- Argument("type_one_side", bool, optional=True, default=False, doc=doc_type_one_side),
- Argument("precision", str, optional=True, default="default", doc=doc_precision),
- Argument("trainable", bool, optional=True, default=True, doc=doc_trainable),
- Argument("seed", [int, None], optional=True, doc=doc_seed),
- Argument("exclude_types", list, optional=True, default=[], doc=doc_exclude_types),
- Argument("set_davg_zero", bool, optional=True, default=False, doc=doc_set_davg_zero),
- Argument("attn", int, optional=True, default=128, doc=doc_attn),
- Argument("attn_layer", int, optional=True, default=2, doc=doc_attn_layer),
- Argument("attn_dotr", bool, optional=True, default=True, doc=doc_attn_dotr),
- Argument("attn_mask", bool, optional=True, default=False, doc=doc_attn_mask)
- ]
-
-def descrpt_variant_type_args(exclude_hybrid: bool = False) -> Variant:
- link_lf = make_link('loc_frame', 'model/descriptor[loc_frame]')
- link_se_e2_a = make_link('se_e2_a', 'model/descriptor[se_e2_a]')
- link_se_e2_r = make_link('se_e2_r', 'model/descriptor[se_e2_r]')
- link_se_e3 = make_link('se_e3', 'model/descriptor[se_e3]')
- link_se_a_tpe = make_link('se_a_tpe', 'model/descriptor[se_a_tpe]')
- link_hybrid = make_link('hybrid', 'model/descriptor[hybrid]')
- link_se_atten = make_link('se_atten', 'model/descriptor[se_atten]')
- doc_descrpt_type = f'The type of the descritpor. See explanation below. \n\n\
-- `loc_frame`: Defines a local frame at each atom, and the compute the descriptor as local coordinates under this frame.\n\n\
-- `se_e2_a`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor.\n\n\
-- `se_e2_r`: Used by the smooth edition of Deep Potential. Only the distance between atoms is used to construct the descriptor.\n\n\
-- `se_e3`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor. Three-body embedding will be used by this descriptor.\n\n\
-- `se_a_tpe`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor. Type embedding will be used by this descriptor.\n\n\
-- `se_atten`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor. Attention mechanism will be used by this descriptor.\n\n\
-- `hybrid`: Concatenate of a list of descriptors as a new descriptor.'
-
- return Variant("type", descrpt_args_plugin.get_all_argument(), doc = doc_descrpt_type)
-
-
-# --- Fitting net configurations: --- #
-def fitting_ener():
- doc_numb_fparam = 'The dimension of the frame parameter. If set to >0, file `fparam.npy` should be included to provided the input fparams.'
- doc_numb_aparam = 'The dimension of the atomic parameter. If set to >0, file `aparam.npy` should be included to provided the input aparams.'
- doc_neuron = 'The number of neurons in each hidden layers of the fitting net. When two hidden layers are of the same size, a skip connection is built.'
- doc_activation_function = f'The activation function in the fitting net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_precision = f'The precision of the fitting net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_trainable = 'Whether the parameters in the fitting net are trainable. This option can be\n\n\
-- bool: True if all parameters of the fitting net are trainable, False otherwise.\n\n\
-- list of bool: Specifies if each layer is trainable. Since the fitting net is composed by hidden layers followed by a output layer, the length of tihs list should be equal to len(`neuron`)+1.'
- doc_rcond = 'The condition number used to determine the inital energy shift for each type of atoms.'
- doc_seed = 'Random seed for parameter initialization of the fitting net'
- doc_atom_ener = 'Specify the atomic energy in vacuum for each type'
-
- return [
- Argument("numb_fparam", int, optional = True, default = 0, doc = doc_numb_fparam),
- Argument("numb_aparam", int, optional = True, default = 0, doc = doc_numb_aparam),
- Argument("neuron", list, optional = True, default = [120,120,120], alias = ['n_neuron'], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("precision", str, optional = True, default = 'default', doc = doc_precision),
- Argument("resnet_dt", bool, optional = True, default = True, doc = doc_resnet_dt),
- Argument("trainable", [list,bool], optional = True, default = True, doc = doc_trainable),
- Argument("rcond", float, optional = True, default = 1e-3, doc = doc_rcond),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("atom_ener", list, optional = True, default = [], doc = doc_atom_ener)
- ]
-
-
-def fitting_polar():
- doc_neuron = 'The number of neurons in each hidden layers of the fitting net. When two hidden layers are of the same size, a skip connection is built.'
- doc_activation_function = f'The activation function in the fitting net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_precision = f'The precision of the fitting net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_scale = 'The output of the fitting net (polarizability matrix) will be scaled by ``scale``'
- #doc_diag_shift = 'The diagonal part of the polarizability matrix will be shifted by ``diag_shift``. The shift operation is carried out after ``scale``.'
- doc_fit_diag = 'Fit the diagonal part of the rotational invariant polarizability matrix, which will be converted to normal polarizability matrix by contracting with the rotation matrix.'
- doc_sel_type = 'The atom types for which the atomic polarizability will be provided. If not set, all types will be selected.'
- doc_seed = 'Random seed for parameter initialization of the fitting net'
-
- # YWolfeee: user can decide whether to use shift diag
- doc_shift_diag = 'Whether to shift the diagonal of polar, which is beneficial to training. Default is true.'
-
- return [
- Argument("neuron", list, optional = True, default = [120,120,120], alias = ['n_neuron'], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = True, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = 'default', doc = doc_precision),
- Argument("fit_diag", bool, optional = True, default = True, doc = doc_fit_diag),
- Argument("scale", [list,float], optional = True, default = 1.0, doc = doc_scale),
- #Argument("diag_shift", [list,float], optional = True, default = 0.0, doc = doc_diag_shift),
- Argument("shift_diag", bool, optional = True, default = True, doc = doc_shift_diag),
- Argument("sel_type", [list,int,None], optional = True, alias = ['pol_type'], doc = doc_sel_type),
- Argument("seed", [int,None], optional = True, doc = doc_seed)
- ]
-
-
-#def fitting_global_polar():
-# return fitting_polar()
-
-
-def fitting_dipole():
- doc_neuron = 'The number of neurons in each hidden layers of the fitting net. When two hidden layers are of the same size, a skip connection is built.'
- doc_activation_function = f'The activation function in the fitting net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_precision = f'The precision of the fitting net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_sel_type = 'The atom types for which the atomic dipole will be provided. If not set, all types will be selected.'
- doc_seed = 'Random seed for parameter initialization of the fitting net'
- return [
- Argument("neuron", list, optional = True, default = [120,120,120], alias = ['n_neuron'], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = True, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = 'default', doc = doc_precision),
- Argument("sel_type", [list,int,None], optional = True, alias = ['dipole_type'], doc = doc_sel_type),
- Argument("seed", [int,None], optional = True, doc = doc_seed)
- ]
-
-# YWolfeee: Delete global polar mode, merge it into polar mode and use loss setting to support.
-def fitting_variant_type_args():
- doc_descrpt_type = 'The type of the fitting. See explanation below. \n\n\
-- `ener`: Fit an energy model (potential energy surface).\n\n\
-- `dipole`: Fit an atomic dipole model. Global dipole labels or atomic dipole labels for all the selected atoms (see `sel_type`) should be provided by `dipole.npy` in each data system. The file either has number of frames lines and 3 times of number of selected atoms columns, or has number of frames lines and 3 columns. See `loss` parameter.\n\n\
-- `polar`: Fit an atomic polarizability model. Global polarizazbility labels or atomic polarizability labels for all the selected atoms (see `sel_type`) should be provided by `polarizability.npy` in each data system. The file eith has number of frames lines and 9 times of number of selected atoms columns, or has number of frames lines and 9 columns. See `loss` parameter.\n\n'
-
- return Variant("type", [Argument("ener", dict, fitting_ener()),
- Argument("dipole", dict, fitting_dipole()),
- Argument("polar", dict, fitting_polar()),
- ],
- optional = True,
- default_tag = 'ener',
- doc = doc_descrpt_type)
-
-
-# --- Modifier configurations: --- #
-def modifier_dipole_charge():
- doc_model_name = "The name of the frozen dipole model file."
- doc_model_charge_map = f"The charge of the WFCC. The list length should be the same as the {make_link('sel_type', 'model/fitting_net[dipole]/sel_type')}. "
- doc_sys_charge_map = f"The charge of real atoms. The list length should be the same as the {make_link('type_map', 'model/type_map')}"
- doc_ewald_h = f"The grid spacing of the FFT grid. Unit is A"
- doc_ewald_beta = f"The splitting parameter of Ewald sum. Unit is A^{-1}"
-
- return [
- Argument("model_name", str, optional = False, doc = doc_model_name),
- Argument("model_charge_map", list, optional = False, doc = doc_model_charge_map),
- Argument("sys_charge_map", list, optional = False, doc = doc_sys_charge_map),
- Argument("ewald_beta", float, optional = True, default = 0.4, doc = doc_ewald_beta),
- Argument("ewald_h", float, optional = True, default = 1.0, doc = doc_ewald_h),
- ]
-
-
-def modifier_variant_type_args():
- doc_modifier_type = "The type of modifier. See explanation below.\n\n\
--`dipole_charge`: Use WFCC to model the electronic structure of the system. Correct the long-range interaction"
- return Variant("type",
- [
- Argument("dipole_charge", dict, modifier_dipole_charge()),
- ],
- optional = False,
- doc = doc_modifier_type)
-
-# --- model compression configurations: --- #
-def model_compression():
- doc_model_file = f"The input model file, which will be compressed by the DeePMD-kit."
- doc_table_config = f"The arguments of model compression, including extrapolate(scale of model extrapolation), stride(uniform stride of tabulation's first and second table), and frequency(frequency of tabulation overflow check)."
- doc_min_nbor_dist = f"The nearest distance between neighbor atoms saved in the frozen model."
-
- return [
- Argument("model_file", str, optional = False, doc = doc_model_file),
- Argument("table_config", list, optional = False, doc = doc_table_config),
- Argument("min_nbor_dist", float, optional = False, doc = doc_min_nbor_dist),
- ]
-
-# --- model compression configurations: --- #
-def model_compression_type_args():
- doc_compress_type = "The type of model compression, which should be consistent with the descriptor type."
-
- return Variant("type", [
- Argument("se_e2_a", dict, model_compression(), alias = ['se_a'])
- ],
- optional = True,
- default_tag = 'se_e2_a',
- doc = doc_compress_type)
-
-
-def model_args ():
- doc_type_map = 'A list of strings. Give the name to each type of atoms. It is noted that the number of atom type of training system must be less than 128 in a GPU environment.'
- doc_data_stat_nbatch = 'The model determines the normalization from the statistics of the data. This key specifies the number of `frames` in each `system` used for statistics.'
- doc_data_stat_protect = 'Protect parameter for atomic energy regression.'
- doc_type_embedding = "The type embedding."
- doc_descrpt = 'The descriptor of atomic environment.'
- doc_fitting = 'The fitting of physical properties.'
- doc_modifier = 'The modifier of model output.'
- doc_use_srtab = 'The table for the short-range pairwise interaction added on top of DP. The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes. The first colume is the distance between atoms. The second to the last columes are energies for pairs of certain types. For example we have two atom types, 0 and 1. The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.'
- doc_smin_alpha = 'The short-range tabulated interaction will be swithed according to the distance of the nearest neighbor. This distance is calculated by softmin. This parameter is the decaying parameter in the softmin. It is only required when `use_srtab` is provided.'
- doc_sw_rmin = 'The lower boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.'
- doc_sw_rmax = 'The upper boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.'
- doc_compress_config = 'Model compression configurations'
-
- ca = Argument("model", dict,
- [Argument("type_map", list, optional = True, doc = doc_type_map),
- Argument("data_stat_nbatch", int, optional = True, default = 10, doc = doc_data_stat_nbatch),
- Argument("data_stat_protect", float, optional = True, default = 1e-2, doc = doc_data_stat_protect),
- Argument("use_srtab", str, optional = True, doc = doc_use_srtab),
- Argument("smin_alpha", float, optional = True, doc = doc_smin_alpha),
- Argument("sw_rmin", float, optional = True, doc = doc_sw_rmin),
- Argument("sw_rmax", float, optional = True, doc = doc_sw_rmax),
- Argument("type_embedding", dict, type_embedding_args(), [], optional = True, doc = doc_type_embedding),
- Argument("descriptor", dict, [], [descrpt_variant_type_args()], doc = doc_descrpt),
- Argument("fitting_net", dict, [], [fitting_variant_type_args()], doc = doc_fitting),
- Argument("modifier", dict, [], [modifier_variant_type_args()], optional = True, doc = doc_modifier),
- Argument("compress", dict, [], [model_compression_type_args()], optional = True, doc = doc_compress_config)
- ])
- # print(ca.gen_doc())
- return ca
-
-
-# --- Learning rate configurations: --- #
-def learning_rate_exp():
- doc_start_lr = 'The learning rate the start of the training.'
- doc_stop_lr = 'The desired learning rate at the end of the training.'
- doc_decay_steps = 'The learning rate is decaying every this number of training steps.'
-
- args = [
- Argument("start_lr", float, optional = True, default = 1e-3, doc = doc_start_lr),
- Argument("stop_lr", float, optional = True, default = 1e-8, doc = doc_stop_lr),
- Argument("decay_steps", int, optional = True, default = 5000, doc = doc_decay_steps)
- ]
- return args
-
-
-def learning_rate_variant_type_args():
- doc_lr = 'The type of the learning rate.'
-
- return Variant("type",
- [Argument("exp", dict, learning_rate_exp())],
- optional = True,
- default_tag = 'exp',
- doc = doc_lr)
-
-
-def learning_rate_args():
- doc_scale_by_worker = 'When parallel training or batch size scaled, how to alter learning rate. Valid values are `linear`(default), `sqrt` or `none`.'
- doc_lr = "The definitio of learning rate"
- return Argument("learning_rate", dict,
- [Argument("scale_by_worker", str, optional=True, default='linear', doc=doc_scale_by_worker)],
- [learning_rate_variant_type_args()],
- doc = doc_lr)
-
-
-# --- Loss configurations: --- #
-def start_pref(item):
- return f'The prefactor of {item} loss at the start of the training. Should be larger than or equal to 0. If set to none-zero value, the {item} label should be provided by file {item}.npy in each data system. If both start_pref_{item} and limit_pref_{item} are set to 0, then the {item} will be ignored.'
-
-
-def limit_pref(item):
- return f'The prefactor of {item} loss at the limit of the training, Should be larger than or equal to 0. i.e. the training step goes to infinity.'
-
-
-def loss_ener():
- doc_start_pref_e = start_pref('energy')
- doc_limit_pref_e = limit_pref('energy')
- doc_start_pref_f = start_pref('force')
- doc_limit_pref_f = limit_pref('force')
- doc_start_pref_v = start_pref('virial')
- doc_limit_pref_v = limit_pref('virial')
- doc_start_pref_ae = start_pref('atom_ener')
- doc_limit_pref_ae = limit_pref('atom_ener')
- doc_start_pref_pf = start_pref('atom_pref')
- doc_limit_pref_pf = limit_pref('atom_pref')
- doc_relative_f = 'If provided, relative force error will be used in the loss. The difference of force will be normalized by the magnitude of the force in the label with a shift given by `relative_f`, i.e. DF_i / ( || F || + relative_f ) with DF denoting the difference between prediction and label and || F || denoting the L2 norm of the label.'
- doc_enable_atom_ener_coeff = "If true, the energy will be computed as \sum_i c_i E_i. c_i should be provided by file atom_ener_coeff.npy in each data system, otherwise it's 1."
- return [
- Argument("start_pref_e", [float,int], optional = True, default = 0.02, doc = doc_start_pref_e),
- Argument("limit_pref_e", [float,int], optional = True, default = 1.00, doc = doc_limit_pref_e),
- Argument("start_pref_f", [float,int], optional = True, default = 1000, doc = doc_start_pref_f),
- Argument("limit_pref_f", [float,int], optional = True, default = 1.00, doc = doc_limit_pref_f),
- Argument("start_pref_v", [float,int], optional = True, default = 0.00, doc = doc_start_pref_v),
- Argument("limit_pref_v", [float,int], optional = True, default = 0.00, doc = doc_limit_pref_v),
- Argument("start_pref_ae", [float,int], optional = True, default = 0.00, doc = doc_start_pref_ae),
- Argument("limit_pref_ae", [float,int], optional = True, default = 0.00, doc = doc_limit_pref_ae),
- Argument("start_pref_pf", [float,int], optional = True, default = 0.00, doc = doc_start_pref_pf),
- Argument("limit_pref_pf", [float,int], optional = True, default = 0.00, doc = doc_limit_pref_pf),
- Argument("relative_f", [float,None], optional = True, doc = doc_relative_f),
- Argument("enable_atom_ener_coeff", [bool], optional=True, default=False, doc=doc_enable_atom_ener_coeff),
- ]
-
-# YWolfeee: Modified to support tensor type of loss args.
-def loss_tensor():
- #doc_global_weight = "The prefactor of the weight of global loss. It should be larger than or equal to 0. If only `pref` is provided or both are not provided, training will be global mode, i.e. the shape of 'polarizability.npy` or `dipole.npy` should be #frams x [9 or 3]."
- #doc_local_weight = "The prefactor of the weight of atomic loss. It should be larger than or equal to 0. If only `pref_atomic` is provided, training will be atomic mode, i.e. the shape of `polarizability.npy` or `dipole.npy` should be #frames x ([9 or 3] x #selected atoms). If both `pref` and `pref_atomic` are provided, training will be combined mode, and atomic label should be provided as well."
- doc_global_weight = "The prefactor of the weight of global loss. It should be larger than or equal to 0. If controls the weight of loss corresponding to global label, i.e. 'polarizability.npy` or `dipole.npy`, whose shape should be #frames x [9 or 3]. If it's larger than 0.0, this npy should be included."
- doc_local_weight = "The prefactor of the weight of atomic loss. It should be larger than or equal to 0. If controls the weight of loss corresponding to atomic label, i.e. `atomic_polarizability.npy` or `atomic_dipole.npy`, whose shape should be #frames x ([9 or 3] x #selected atoms). If it's larger than 0.0, this npy should be included. Both `pref` and `pref_atomic` should be provided, and either can be set to 0.0."
- return [
- Argument("pref", [float,int], optional = False, default = None, doc = doc_global_weight),
- Argument("pref_atomic", [float,int], optional = False, default = None, doc = doc_local_weight),
- ]
-
-
-def loss_variant_type_args():
- doc_loss = 'The type of the loss. When the fitting type is `ener`, the loss type should be set to `ener` or left unset. When the fitting type is `dipole` or `polar`, the loss type should be set to `tensor`. \n\.'
-
-
- return Variant("type",
- [Argument("ener", dict, loss_ener()),
- Argument("tensor", dict, loss_tensor()),
- #Argument("polar", dict, loss_tensor()),
- #Argument("global_polar", dict, loss_tensor("global"))
- ],
- optional = True,
- default_tag = 'ener',
- doc = doc_loss)
-
-
-def loss_args():
- doc_loss = 'The definition of loss function. The loss type should be set to `tensor`, `ener` or left unset.\n\.'
- ca = Argument('loss', dict, [],
- [loss_variant_type_args()],
- optional = True,
- doc = doc_loss)
- return ca
-
-
-# --- Training configurations: --- #
-def training_data_args(): # ! added by Ziyao: new specification style for data systems.
- link_sys = make_link("systems", "training/training_data/systems")
- doc_systems = 'The data systems for training. ' \
- 'This key can be provided with a list that specifies the systems, or be provided with a string ' \
- 'by which the prefix of all systems are given and the list of the systems is automatically generated.'
- doc_set_prefix = f'The prefix of the sets in the {link_sys}.'
- doc_batch_size = f'This key can be \n\n\
-- list: the length of which is the same as the {link_sys}. The batch size of each system is given by the elements of the list.\n\n\
-- int: all {link_sys} use the same batch size.\n\n\
-- string "auto": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than 32.\n\n\
-- string "auto:N": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than N.'
- doc_auto_prob_style = 'Determine the probability of systems automatically. The method is assigned by this key and can be\n\n\
-- "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()\n\n\
-- "prob_sys_size" : the probability of a system is proportional to the number of batches in the system\n\n\
-- "prob_sys_size;stt_idx:end_idx:weight;stt_idx:end_idx:weight;..." : the list of systems is devided into blocks. A block is specified by `stt_idx:end_idx:weight`, where `stt_idx` is the starting index of the system, `end_idx` is then ending (not including) index of the system, the probabilities of the systems in this block sums up to `weight`, and the relatively probabilities within this block is proportional to the number of batches in the system.'
- doc_sys_probs = "A list of float if specified. " \
- "Should be of the same length as `systems`, " \
- "specifying the probability of each system."
-
-
- args = [
- Argument("systems", [list, str], optional=False, default=".", doc=doc_systems),
- Argument("set_prefix", str, optional=True, default='set', doc=doc_set_prefix),
- Argument("batch_size", [list, int, str], optional=True, default='auto', doc=doc_batch_size),
- Argument("auto_prob", str, optional=True, default="prob_sys_size",
- doc=doc_auto_prob_style, alias=["auto_prob_style",]),
- Argument("sys_probs", list, optional=True, default=None, doc=doc_sys_probs, alias=["sys_weights"]),
- ]
-
- doc_training_data = "Configurations of training data."
- return Argument("training_data", dict, optional=False,
- sub_fields=args, sub_variants=[], doc=doc_training_data)
-
-
-def validation_data_args(): # ! added by Ziyao: new specification style for data systems.
- link_sys = make_link("systems", "training/validation_data/systems")
- doc_systems = 'The data systems for validation. ' \
- 'This key can be provided with a list that specifies the systems, or be provided with a string ' \
- 'by which the prefix of all systems are given and the list of the systems is automatically generated.'
- doc_set_prefix = f'The prefix of the sets in the {link_sys}.'
- doc_batch_size = f'This key can be \n\n\
-- list: the length of which is the same as the {link_sys}. The batch size of each system is given by the elements of the list.\n\n\
-- int: all {link_sys} use the same batch size.\n\n\
-- string "auto": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than 32.\n\n\
-- string "auto:N": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than N.'
- doc_auto_prob_style = 'Determine the probability of systems automatically. The method is assigned by this key and can be\n\n\
-- "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()\n\n\
-- "prob_sys_size" : the probability of a system is proportional to the number of batches in the system\n\n\
-- "prob_sys_size;stt_idx:end_idx:weight;stt_idx:end_idx:weight;..." : the list of systems is devided into blocks. A block is specified by `stt_idx:end_idx:weight`, where `stt_idx` is the starting index of the system, `end_idx` is then ending (not including) index of the system, the probabilities of the systems in this block sums up to `weight`, and the relatively probabilities within this block is proportional to the number of batches in the system.'
- doc_sys_probs = "A list of float if specified. " \
- "Should be of the same length as `systems`, " \
- "specifying the probability of each system."
- doc_numb_btch = "An integer that specifies the number of systems to be sampled for each validation period."
-
- args = [
- Argument("systems", [list, str], optional=False, default=".", doc=doc_systems),
- Argument("set_prefix", str, optional=True, default='set', doc=doc_set_prefix),
- Argument("batch_size", [list, int, str], optional=True, default='auto', doc=doc_batch_size),
- Argument("auto_prob", str, optional=True, default="prob_sys_size",
- doc=doc_auto_prob_style, alias=["auto_prob_style", ]),
- Argument("sys_probs", list, optional=True, default=None, doc=doc_sys_probs, alias=["sys_weights"]),
- Argument("numb_btch", int, optional=True, default=1, doc=doc_numb_btch, alias=["numb_batch", ])
- ]
-
- doc_validation_data = "Configurations of validation data. Similar to that of training data, " \
- "except that a `numb_btch` argument may be configured"
- return Argument("validation_data", dict, optional=True, default=None,
- sub_fields=args, sub_variants=[], doc=doc_validation_data)
-
-
-def mixed_precision_args(): # ! added by Denghui.
- doc_output_prec = 'The precision for mixed precision params. " \
- "The trainable variables precision during the mixed precision training process, " \
- "supported options are float32 only currently.'
- doc_compute_prec = 'The precision for mixed precision compute. " \
- "The compute precision during the mixed precision training process, "" \
- "supported options are float16 only currently.'
-
- args = [
- Argument("output_prec", str, optional=True, default="float32", doc=doc_output_prec),
- Argument("compute_prec", str, optional=False, default="float16", doc=doc_compute_prec),
- ]
-
- doc_mixed_precision = "Configurations of mixed precision."
- return Argument("mixed_precision", dict, optional=True,
- sub_fields=args, sub_variants=[], doc=doc_mixed_precision)
-
-
-def training_args(): # ! modified by Ziyao: data configuration isolated.
- doc_numb_steps = 'Number of training batch. Each training uses one batch of data.'
- doc_seed = 'The random seed for getting frames from the training data set.'
- doc_disp_file = 'The file for printing learning curve.'
- doc_disp_freq = 'The frequency of printing learning curve.'
- doc_save_freq = 'The frequency of saving check point.'
- doc_save_ckpt = 'The file name of saving check point.'
- doc_disp_training = 'Displaying verbose information during training.'
- doc_time_training = 'Timing durining training.'
- doc_profiling = 'Profiling during training.'
- doc_profiling_file = 'Output file for profiling.'
- doc_enable_profiler = 'Enable TensorFlow Profiler (available in TensorFlow 2.3) to analyze performance. The log will be saved to `tensorboard_log_dir`.'
- doc_tensorboard = 'Enable tensorboard'
- doc_tensorboard_log_dir = 'The log directory of tensorboard outputs'
- doc_tensorboard_freq = 'The frequency of writing tensorboard events.'
-
- arg_training_data = training_data_args()
- arg_validation_data = validation_data_args()
- mixed_precision_data = mixed_precision_args()
-
- args = [
- arg_training_data,
- arg_validation_data,
- mixed_precision_data,
- Argument("numb_steps", int, optional=False, doc=doc_numb_steps, alias=["stop_batch"]),
- Argument("seed", [int,None], optional=True, doc=doc_seed),
- Argument("disp_file", str, optional=True, default='lcurve.out', doc=doc_disp_file),
- Argument("disp_freq", int, optional=True, default=1000, doc=doc_disp_freq),
- Argument("save_freq", int, optional=True, default=1000, doc=doc_save_freq),
- Argument("save_ckpt", str, optional=True, default='model.ckpt', doc=doc_save_ckpt),
- Argument("disp_training", bool, optional=True, default=True, doc=doc_disp_training),
- Argument("time_training", bool, optional=True, default=True, doc=doc_time_training),
- Argument("profiling", bool, optional=True, default=False, doc=doc_profiling),
- Argument("profiling_file", str, optional=True, default='timeline.json', doc=doc_profiling_file),
- Argument("enable_profiler", bool, optional=True, default=False, doc=doc_enable_profiler),
- Argument("tensorboard", bool, optional=True, default=False, doc=doc_tensorboard),
- Argument("tensorboard_log_dir", str, optional=True, default='log', doc=doc_tensorboard_log_dir),
- Argument("tensorboard_freq", int, optional=True, default=1, doc=doc_tensorboard_freq),
- ]
-
- doc_training = 'The training options.'
- return Argument("training", dict, args, [], doc = doc_training)
-
-
-def make_index(keys):
- ret = []
- for ii in keys:
- ret.append(make_link(ii, ii))
- return ', '.join(ret)
-
-
-def gen_doc(*, make_anchor=True, make_link=True, **kwargs):
- if make_link:
- make_anchor = True
- ma = model_args()
- lra = learning_rate_args()
- la = loss_args()
- ta = training_args()
- nvnmda = nvnmd_args()
- ptr = []
- ptr.append(ma.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(la.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(lra.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(ta.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(nvnmda.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
-
- key_words = []
- for ii in "\n\n".join(ptr).split('\n'):
- if 'argument path' in ii:
- key_words.append(ii.split(':')[1].replace('`','').strip())
- #ptr.insert(0, make_index(key_words))
-
- return "\n\n".join(ptr)
-
-def gen_json(**kwargs):
- return json.dumps((
- model_args(),
- learning_rate_args(),
- loss_args(),
- training_args(),
- nvnmd_args(),
- ), cls=ArgumentEncoder)
-
-def normalize_hybrid_list(hy_list):
- new_list = []
- base = Argument("base", dict, [], [descrpt_variant_type_args()], doc = "")
- for ii in range(len(hy_list)):
- data = base.normalize_value(hy_list[ii], trim_pattern="_*")
- base.check_value(data, strict=True)
- new_list.append(data)
- return new_list
-
-
-def normalize(data):
- if "hybrid" == data["model"]["descriptor"]["type"]:
- data["model"]["descriptor"]["list"] \
- = normalize_hybrid_list(data["model"]["descriptor"]["list"])
-
- ma = model_args()
- lra = learning_rate_args()
- la = loss_args()
- ta = training_args()
- nvnmda = nvnmd_args()
-
- base = Argument("base", dict, [ma, lra, la, ta, nvnmda])
- data = base.normalize_value(data, trim_pattern="_*")
- base.check_value(data, strict=True)
-
- return data
-
-
-if __name__ == '__main__':
- gen_doc()
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/batch_size.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/batch_size.py
deleted file mode 100644
index aa724decd70be812c0a44e83a859bb0c189487a3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/batch_size.py
+++ /dev/null
@@ -1,129 +0,0 @@
-import logging
-from typing import Callable, Tuple
-
-import numpy as np
-
-from deepmd.utils.errors import OutOfMemoryError
-
-class AutoBatchSize:
- """This class allows DeePMD-kit to automatically decide the maximum
- batch size that will not cause an OOM error.
-
- Notes
- -----
- We assume all OOM error will raise :class:`OutOfMemoryError`.
-
- Parameters
- ----------
- initial_batch_size : int, default: 1024
- initial batch size (number of total atoms)
- factor : float, default: 2.
- increased factor
-
- Attributes
- ----------
- current_batch_size : int
- current batch size (number of total atoms)
- maximum_working_batch_size : int
- maximum working batch size
- minimal_not_working_batch_size : int
- minimal not working batch size
- """
- def __init__(self, initial_batch_size: int = 1024, factor: float = 2.) -> None:
- # See also PyTorchLightning/pytorch-lightning#1638
- # TODO: discuss a proper initial batch size
- self.current_batch_size = initial_batch_size
- self.maximum_working_batch_size = 0
- self.minimal_not_working_batch_size = 2**31
- self.factor = factor
-
- def execute(self, callable: Callable, start_index: int, natoms: int) -> Tuple[int, tuple]:
- """Excuate a method with given batch size.
-
- Parameters
- ----------
- callable : Callable
- The method should accept the batch size and start_index as parameters,
- and returns executed batch size and data.
- start_index : int
- start index
- natoms : int
- natoms
-
- Returns
- -------
- int
- executed batch size * number of atoms
- tuple
- result from callable, None if failing to execute
-
- Raises
- ------
- OutOfMemoryError
- OOM when batch size is 1
- """
- try:
- n_batch, result = callable(max(self.current_batch_size // natoms, 1), start_index)
- except OutOfMemoryError as e:
- # TODO: it's very slow to catch OOM error; I don't know what TF is doing here
- # but luckily we only need to catch once
- self.minimal_not_working_batch_size = min(self.minimal_not_working_batch_size, self.current_batch_size)
- if self.maximum_working_batch_size >= self.minimal_not_working_batch_size:
- self.maximum_working_batch_size = int(self.minimal_not_working_batch_size / self.factor)
- if self.minimal_not_working_batch_size <= natoms:
- raise OutOfMemoryError("The callable still throws an out-of-memory (OOM) error even when batch size is 1!") from e
- # adjust the next batch size
- self._adjust_batch_size(1./self.factor)
- return 0, None
- else:
- n_tot = n_batch * natoms
- self.maximum_working_batch_size = max(self.maximum_working_batch_size, n_tot)
- # adjust the next batch size
- if n_tot + natoms > self.current_batch_size and self.current_batch_size * self.factor < self.minimal_not_working_batch_size:
- self._adjust_batch_size(self.factor)
- return n_batch, result
-
- def _adjust_batch_size(self, factor: float):
- old_batch_size = self.current_batch_size
- self.current_batch_size = int(self.current_batch_size * factor)
- logging.info("Adjust batch size from %d to %d" % (old_batch_size, self.current_batch_size))
-
- def execute_all(self, callable: Callable, total_size: int, natoms: int, *args, **kwargs) -> Tuple[np.ndarray]:
- """Excuate a method with all given data.
-
- Parameters
- ----------
- callable : Callable
- The method should accept *args and **kwargs as input and return the similiar array.
- total_size : int
- Total size
- natoms : int
- The number of atoms
- **kwargs
- If 2D np.ndarray, assume the first axis is batch; otherwise do nothing.
- """
- def execute_with_batch_size(batch_size: int, start_index: int) -> Tuple[int, Tuple[np.ndarray]]:
- end_index = start_index + batch_size
- end_index = min(end_index, total_size)
- return (end_index - start_index), callable(
- *[(vv[start_index:end_index] if isinstance(vv, np.ndarray) and vv.ndim > 1 else vv) for vv in args],
- **{kk: (vv[start_index:end_index] if isinstance(vv, np.ndarray) and vv.ndim > 1 else vv) for kk, vv in kwargs.items()},
- )
-
- index = 0
- results = []
- while index < total_size:
- n_batch, result = self.execute(execute_with_batch_size, index, natoms)
- if not isinstance(result, tuple):
- result = (result,)
- index += n_batch
- if n_batch:
- for rr in result:
- rr.reshape((n_batch, -1))
- results.append(result)
-
- r = tuple([np.concatenate(r, axis=0) for r in zip(*results)])
- if len(r) == 1:
- # avoid returning tuple if callable doesn't return tuple
- r = r[0]
- return r
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/compat.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/compat.py
deleted file mode 100644
index 1d012a7adc4815c714326d4c1cb264998243b4c3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/compat.py
+++ /dev/null
@@ -1,376 +0,0 @@
-"""Module providing compatibility between `0.x.x` and `1.x.x` input versions."""
-
-import json
-import warnings
-from pathlib import Path
-from typing import Any, Dict, Optional, Sequence, Union
-
-import numpy as np
-from deepmd.common import j_must_have
-
-
-def convert_input_v0_v1(
- jdata: Dict[str, Any], warning: bool = True, dump: Optional[Union[str, Path]] = None
-) -> Dict[str, Any]:
- """Convert input from v0 format to v1.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- loaded json/yaml file
- warning : bool, optional
- whether to show deprecation warning, by default True
- dump : Optional[Union[str, Path]], optional
- whether to dump converted file, by default None
-
- Returns
- -------
- Dict[str, Any]
- converted output
- """
-
- output = {}
- output["model"] = _model(jdata, jdata["use_smooth"])
- output["learning_rate"] = _learning_rate(jdata)
- output["loss"] = _loss(jdata)
- output["training"] = _training(jdata)
- if warning:
- _warning_input_v0_v1(dump)
- if dump is not None:
- with open(dump, "w") as fp:
- json.dump(output, fp, indent=4)
- return output
-
-
-def _warning_input_v0_v1(fname: Optional[Union[str, Path]]):
- msg = "It seems that you are using a deepmd-kit input of version 0.x.x, " \
- "which is deprecated. we have converted the input to >2.0.0 compatible"
- if fname is not None:
- msg += f", and output it to file {fname}"
- warnings.warn(msg)
-
-
-def _model(jdata: Dict[str, Any], smooth: bool) -> Dict[str, Dict[str, Any]]:
- """Convert data to v1 input for non-smooth model.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
- smooth : bool
- whether to use smooth or non-smooth descriptor version
-
- Returns
- -------
- Dict[str, Dict[str, Any]]
- dictionary with model input parameters and sub-dictionaries for descriptor and
- fitting net
- """
- model = {}
- model["descriptor"] = (
- _smth_descriptor(jdata) if smooth else _nonsmth_descriptor(jdata)
- )
- model["fitting_net"] = _fitting_net(jdata)
- return model
-
-
-def _nonsmth_descriptor(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for non-smooth descriptor.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with descriptor parameters
- """
- descriptor = {}
- descriptor["type"] = "loc_frame"
- _jcopy(jdata, descriptor, ("sel_a", "sel_r", "rcut", "axis_rule"))
- return descriptor
-
-
-def _smth_descriptor(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for smooth descriptor.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with descriptor parameters
- """
- descriptor = {}
- seed = jdata.get("seed", None)
- if seed is not None:
- descriptor["seed"] = seed
- descriptor["type"] = "se_a"
- descriptor["sel"] = jdata["sel_a"]
- _jcopy(jdata, descriptor, ("rcut", ))
- descriptor["rcut_smth"] = jdata.get("rcut_smth", descriptor["rcut"])
- descriptor["neuron"] = j_must_have(jdata, "filter_neuron")
- descriptor["axis_neuron"] = j_must_have(jdata, "axis_neuron", ["n_axis_neuron"])
- descriptor["resnet_dt"] = False
- if "resnet_dt" in jdata:
- descriptor["resnet_dt"] = jdata["filter_resnet_dt"]
-
- return descriptor
-
-
-def _fitting_net(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for fitting net.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with fitting net parameters
- """
- fitting_net = {}
-
- seed = jdata.get("seed", None)
- if seed is not None:
- fitting_net["seed"] = seed
- fitting_net["neuron"] = j_must_have(jdata, "fitting_neuron", ["n_neuron"])
- fitting_net["resnet_dt"] = True
- if "resnet_dt" in jdata:
- fitting_net["resnet_dt"] = jdata["resnet_dt"]
- if "fitting_resnet_dt" in jdata:
- fitting_net["resnet_dt"] = jdata["fitting_resnet_dt"]
- return fitting_net
-
-
-def _learning_rate(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for learning rate section.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with learning rate parameters
- """
- learning_rate = {}
- learning_rate["type"] = "exp"
- _jcopy(jdata, learning_rate, ("decay_steps", "decay_rate", "start_lr"))
- return learning_rate
-
-
-def _loss(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for loss function.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with loss function parameters
- """
- loss: Dict[str, Any] = {}
- _jcopy(
- jdata,
- loss,
- (
- "start_pref_e",
- "limit_pref_e",
- "start_pref_f",
- "limit_pref_f",
- "start_pref_v",
- "limit_pref_v",
- ),
- )
- if "start_pref_ae" in jdata:
- loss["start_pref_ae"] = jdata["start_pref_ae"]
- if "limit_pref_ae" in jdata:
- loss["limit_pref_ae"] = jdata["limit_pref_ae"]
- return loss
-
-
-def _training(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for training.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with training parameters
- """
- training = {}
- seed = jdata.get("seed", None)
- if seed is not None:
- training["seed"] = seed
-
- _jcopy(jdata, training, ("systems", "set_prefix", "stop_batch", "batch_size"))
- training["disp_file"] = "lcurve.out"
- if "disp_file" in jdata:
- training["disp_file"] = jdata["disp_file"]
- training["disp_freq"] = j_must_have(jdata, "disp_freq")
- training["numb_test"] = j_must_have(jdata, "numb_test")
- training["save_freq"] = j_must_have(jdata, "save_freq")
- training["save_ckpt"] = j_must_have(jdata, "save_ckpt")
- training["disp_training"] = j_must_have(jdata, "disp_training")
- training["time_training"] = j_must_have(jdata, "time_training")
- if "profiling" in jdata:
- training["profiling"] = jdata["profiling"]
- if training["profiling"]:
- training["profiling_file"] = j_must_have(jdata, "profiling_file")
- return training
-
-
-def _jcopy(src: Dict[str, Any], dst: Dict[str, Any], keys: Sequence[str]):
- """Copy specified keys from one dict to another.
-
- Parameters
- ----------
- src : Dict[str, Any]
- source dictionary
- dst : Dict[str, Any]
- destination dictionary, will be modified in place
- keys : Sequence[str]
- list of keys to copy
- must_have : bool
- ensure that the source dictionary contains the copyyied keys
- """
- for k in keys:
- dst[k] = src[k]
-
-
-def remove_decay_rate(jdata: Dict[str, Any]):
- """convert decay_rate to stop_lr.
-
- Parameters
- ----------
- jdata: Dict[str, Any]
- input data
- """
- lr = jdata["learning_rate"]
- if "decay_rate" in lr:
- decay_rate = lr["decay_rate"]
- start_lr = lr["start_lr"]
- stop_step = jdata["training"]["stop_batch"]
- decay_steps = lr["decay_steps"]
- stop_lr = np.exp(np.log(decay_rate) * (stop_step / decay_steps)) * start_lr
- lr["stop_lr"] = stop_lr
- lr.pop("decay_rate")
-
-
-def convert_input_v1_v2(jdata: Dict[str, Any],
- warning: bool = True,
- dump: Optional[Union[str, Path]] = None) -> Dict[str, Any]:
-
- tr_cfg = jdata["training"]
- tr_data_keys = {
- "systems",
- "set_prefix",
- "batch_size",
- "sys_prob",
- "auto_prob",
- # alias included
- "sys_weights",
- "auto_prob_style"
- }
-
- tr_data_cfg = {k: v for k, v in tr_cfg.items() if k in tr_data_keys}
- new_tr_cfg = {k: v for k, v in tr_cfg.items() if k not in tr_data_keys}
- new_tr_cfg["training_data"] = tr_data_cfg
-
- jdata["training"] = new_tr_cfg
-
- # remove deprecated arguments
- remove_decay_rate(jdata)
-
- if warning:
- _warning_input_v1_v2(dump)
- if dump is not None:
- with open(dump, "w") as fp:
- json.dump(jdata, fp, indent=4)
-
- return jdata
-
-
-def _warning_input_v1_v2(fname: Optional[Union[str, Path]]):
- msg = "It seems that you are using a deepmd-kit input of version 1.x.x, " \
- "which is deprecated. we have converted the input to >2.0.0 compatible"
- if fname is not None:
- msg += f", and output it to file {fname}"
- warnings.warn(msg)
-
-
-def deprecate_numb_test(jdata: Dict[str, Any],
- warning: bool = True,
- dump: Optional[Union[str, Path]] = None) -> Dict[str, Any]:
- """Deprecate `numb_test` since v2.1. It has taken no effect since v2.0.
-
- See `#1243 `_.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- loaded json/yaml file
- warning : bool, optional
- whether to show deprecation warning, by default True
- dump : Optional[Union[str, Path]], optional
- whether to dump converted file, by default None
-
- Returns
- -------
- Dict[str, Any]
- converted output
- """
- try:
- jdata.get("training", {}).pop("numb_test")
- except KeyError:
- pass
- else:
- if warning:
- warnings.warn(
- "The argument training->numb_test has been deprecated since v2.0.0. "
- "Use training->validation_data->batch_size instead."
- )
-
- if dump is not None:
- with open(dump, "w") as fp:
- json.dump(jdata, fp, indent=4)
- return jdata
-
-
-def update_deepmd_input(jdata: Dict[str, Any],
- warning: bool = True,
- dump: Optional[Union[str, Path]] = None) -> Dict[str, Any]:
- def is_deepmd_v0_input(jdata):
- return "model" not in jdata.keys()
-
- def is_deepmd_v1_input(jdata):
- return "systems" in j_must_have(jdata, "training").keys()
-
- if is_deepmd_v0_input(jdata):
- jdata = convert_input_v0_v1(jdata, warning, None)
- jdata = convert_input_v1_v2(jdata, False, None)
- jdata = deprecate_numb_test(jdata, False, dump)
- elif is_deepmd_v1_input(jdata):
- jdata = convert_input_v1_v2(jdata, warning, None)
- jdata = deprecate_numb_test(jdata, False, dump)
- else:
- jdata = deprecate_numb_test(jdata, warning, dump)
-
- return jdata
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/convert.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/convert.py
deleted file mode 100644
index 66887083829cb6644637219a6533d0e9207a0890..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/convert.py
+++ /dev/null
@@ -1,389 +0,0 @@
-import os
-import textwrap
-from deepmd.env import tf
-from google.protobuf import text_format
-
-
-def convert_13_to_21(input_model: str, output_model: str):
- """Convert DP 1.3 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_13_to_21(input_model: str, output_model: str):
- """Convert DP 1.3 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_12_to_21(input_model: str, output_model: str):
- """Convert DP 1.2 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp12_to_dp13('frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_10_to_21(input_model: str, output_model: str):
- """Convert DP 1.0 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp10_to_dp11('frozen_model.pbtxt')
- convert_dp12_to_dp13('frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_012_to_21(input_model: str, output_model: str):
- """Convert DP 0.12 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp012_to_dp10('frozen_model.pbtxt')
- convert_dp10_to_dp11('frozen_model.pbtxt')
- convert_dp12_to_dp13('frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_20_to_21(input_model: str, output_model: str):
- """Convert DP 2.0 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-def convert_pb_to_pbtxt(pbfile: str, pbtxtfile: str):
- """Convert DP graph to graph text.
-
- Parameters
- ----------
- pbfile : str
- filename of the input graph
- pbtxtfile : str
- filename of the output graph text
- """
- with tf.gfile.GFile(pbfile, 'rb') as f:
- graph_def = tf.GraphDef()
- graph_def.ParseFromString(f.read())
- tf.import_graph_def(graph_def, name='')
- tf.train.write_graph(graph_def, './', pbtxtfile, as_text=True)
-
-def convert_pbtxt_to_pb(pbtxtfile: str, pbfile: str):
- """Convert DP graph text to graph.
-
- Parameters
- ----------
- pbtxtfile : str
- filename of the input graph text
- pbfile : str
- filename of the output graph
- """
- with tf.gfile.GFile(pbtxtfile, 'r') as f:
- graph_def = tf.GraphDef()
- file_content = f.read()
- # Merges the human-readable string in `file_content` into `graph_def`.
- text_format.Merge(file_content, graph_def)
- tf.train.write_graph(graph_def, './', pbfile, as_text=False)
-
-
-def convert_dp012_to_dp10(file: str):
- """Convert DP 1.0 graph text to 1.1 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- with open(file) as fp:
- file_content = fp.read()
- # note: atom_energy must be put before energy,
- # otherwise atom_energy_test -> atom_o_energy
- file_content = file_content\
- .replace('DescrptNorot', 'DescrptSeA') \
- .replace('ProdForceNorot', 'ProdForceSeA') \
- .replace('ProdVirialNorot', 'ProdVirialSeA') \
- .replace('t_rcut', 'descrpt_attr/rcut') \
- .replace('t_ntypes', 'descrpt_attr/ntypes') \
- .replace('atom_energy_test', 'o_atom_energy') \
- .replace('atom_virial_test', 'o_atom_virial') \
- .replace('energy_test', 'o_energy') \
- .replace('force_test', 'o_force') \
- .replace('virial_test', 'o_virial')
- file_content += textwrap.dedent("""\
- node {
- name: "fitting_attr/dfparam"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- }
- }
- }
- """)
- file_content += textwrap.dedent("""\
- node {
- name: "model_attr/model_type"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "ener"
- }
- }
- }
- }
- """)
- with open(file, 'w') as fp:
- fp.write(file_content)
-
-
-def convert_dp10_to_dp11(file: str):
- """Convert DP 1.0 graph text to 1.1 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- with open(file, 'a') as f:
- f.write(textwrap.dedent("""\
- node {
- name: "fitting_attr/daparam"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- } }
- }
- """))
-
-
-def convert_dp12_to_dp13(file: str):
- """Convert DP 1.2 graph text to 1.3 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- file_data = ""
- with open(file, "r", encoding="utf-8") as f:
- ii = 0
- lines = f.readlines()
- while (ii < len(lines)):
- line = lines[ii]
- file_data += line
- ii+=1
- if 'name' in line and ('DescrptSeA' in line or 'ProdForceSeA' in line or 'ProdVirialSeA' in line):
- while not('attr' in lines[ii] and '{' in lines[ii]):
- file_data += lines[ii]
- ii+=1
- file_data += ' attr {\n'
- file_data += ' key: \"T\"\n'
- file_data += ' value {\n'
- file_data += ' type: DT_DOUBLE\n'
- file_data += ' }\n'
- file_data += ' }\n'
- with open(file, "w", encoding="utf-8") as f:
- f.write(file_data)
-
-
-def convert_dp13_to_dp20(fname: str):
- """Convert DP 1.3 graph text to 2.0 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- with open(fname) as fp:
- file_content = fp.read()
- file_content += textwrap.dedent("""\
- node {
- name: "model_attr/model_version"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "1.0"
- }
- }
- }
- }
- """)
- file_content = file_content\
- .replace('DescrptSeA', 'ProdEnvMatA')\
- .replace('DescrptSeR', 'ProdEnvMatR')
- with open(fname, 'w') as fp:
- fp.write(file_content)
-
-def convert_dp20_to_dp21(fname: str):
- with open(fname) as fp:
- file_content = fp.read()
- old_model_version_node = textwrap.dedent("""\
- node {
- name: "model_attr/model_version"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "1.0"
- }
- }
- }
- }
- """)
- new_model_version_node = textwrap.dedent("""\
- node {
- name: "model_attr/model_version"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "1.1"
- }
- }
- }
- }
- """)
- file_content = file_content\
- .replace(old_model_version_node, new_model_version_node)\
- .replace('TabulateFusion', 'TabulateFusionSeA')\
- .replace('TabulateFusionGrad', 'TabulateFusionSeAGrad')\
- .replace('TabulateFusionGradGrad', 'TabulateFusionSeAGradGrad')
- with open(fname, 'w') as fp:
- fp.write(file_content)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/data.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/data.py
deleted file mode 100644
index f5d2cd905e1c70c147c110d3506e822d2f99415f..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/data.py
+++ /dev/null
@@ -1,827 +0,0 @@
-#!/usr/bin/env python3
-
-import time
-import glob
-import numpy as np
-import os.path
-from typing import Tuple, List
-import logging
-
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.utils import random as dp_random
-from deepmd.utils.path import DPPath
-
-log = logging.getLogger(__name__)
-
-class DeepmdData() :
- """
- Class for a data system.
-
- It loads data from hard disk, and mantains the data as a `data_dict`
-
- Parameters
- ----------
- sys_path
- Path to the data system
- set_prefix
- Prefix for the directories of different sets
- shuffle_test
- If the test data are shuffled
- type_map
- Gives the name of different atom types
- modifier
- Data modifier that has the method `modify_data`
- trn_all_set
- Use all sets as training dataset. Otherwise, if the number of sets is more than 1, the last set is left for test.
- """
- def __init__ (self,
- sys_path : str,
- set_prefix : str = 'set',
- shuffle_test : bool = True,
- type_map : List[str] = None,
- modifier = None,
- trn_all_set : bool = False) :
- """
- Constructor
- """
- root = DPPath(sys_path)
- self.dirs = root.glob(set_prefix + ".*")
- self.dirs.sort()
- self.mixed_type = self._check_mode(self.dirs[0]) # mixed_type format only has one set
- # load atom type
- self.atom_type = self._load_type(root)
- self.natoms = len(self.atom_type)
- if self.mixed_type:
- # nframes x natoms
- self.atom_type_mix = self._load_type_mix(self.dirs[0])
- # load atom type map
- self.type_map = self._load_type_map(root)
- if self.type_map is not None:
- assert(len(self.type_map) >= max(self.atom_type)+1)
- # check pbc
- self.pbc = self._check_pbc(root)
- # enforce type_map if necessary
- if type_map is not None and self.type_map is not None:
- if not self.mixed_type:
- atom_type_ = [type_map.index(self.type_map[ii]) for ii in self.atom_type]
- self.atom_type = np.array(atom_type_, dtype = np.int32)
- else:
- sorter = np.argsort(type_map)
- type_idx_map = sorter[np.searchsorted(type_map, self.type_map, sorter=sorter)]
- try:
- atom_type_mix_ = np.array(type_idx_map)[self.atom_type_mix].astype(np.int32)
- except RuntimeError as e:
- raise RuntimeError("some types in 'real_atom_types.npy' of sys {} are not contained in {} types!"
- .format(self.dirs[0], self.get_ntypes())) from e
- self.atom_type_mix = atom_type_mix_
- self.type_map = type_map
- if type_map is None and self.type_map is None and self.mixed_type:
- raise RuntimeError('mixed_type format must have type_map!')
- # make idx map
- self.idx_map = self._make_idx_map(self.atom_type)
- # train dirs
- self.test_dir = self.dirs[-1]
- if trn_all_set:
- self.train_dirs = self.dirs
- else:
- if len(self.dirs) == 1 :
- self.train_dirs = self.dirs
- else :
- self.train_dirs = self.dirs[:-1]
- self.data_dict = {}
- # add box and coord
- self.add('box', 9, must = self.pbc)
- self.add('coord', 3, atomic = True, must = True)
- # set counters
- self.set_count = 0
- self.iterator = 0
- self.shuffle_test = shuffle_test
- # set modifier
- self.modifier = modifier
-
-
- def add(self,
- key : str,
- ndof : int,
- atomic : bool = False,
- must : bool = False,
- high_prec : bool = False,
- type_sel : List[int] = None,
- repeat : int = 1,
- default: float=0.,
- ) :
- """
- Add a data item that to be loaded
-
- Parameters
- ----------
- key
- The key of the item. The corresponding data is stored in `sys_path/set.*/key.npy`
- ndof
- The number of dof
- atomic
- The item is an atomic property.
- If False, the size of the data should be nframes x ndof
- If True, the size of data should be nframes x natoms x ndof
- must
- The data file `sys_path/set.*/key.npy` must exist.
- If must is False and the data file does not exist, the `data_dict[find_key]` is set to 0.0
- high_prec
- Load the data and store in float64, otherwise in float32
- type_sel
- Select certain type of atoms
- repeat
- The data will be repeated `repeat` times.
- default : float, default=0.
- default value of data
- """
- self.data_dict[key] = {'ndof': ndof,
- 'atomic': atomic,
- 'must': must,
- 'high_prec': high_prec,
- 'type_sel': type_sel,
- 'repeat': repeat,
- 'reduce': None,
- 'default': default,
- }
- return self
-
-
- def reduce(self,
- key_out : str,
- key_in : str
- ) :
- """
- Generate a new item from the reduction of another atom
-
- Parameters
- ----------
- key_out
- The name of the reduced item
- key_in
- The name of the data item to be reduced
- """
- assert (key_in in self.data_dict), 'cannot find input key'
- assert (self.data_dict[key_in]['atomic']), 'reduced property should be atomic'
- assert (not(key_out in self.data_dict)), 'output key should not have been added'
- assert (self.data_dict[key_in]['repeat'] == 1), 'reduced proerties should not have been repeated'
-
- self.data_dict[key_out] = {'ndof': self.data_dict[key_in]['ndof'],
- 'atomic': False,
- 'must': True,
- 'high_prec': True,
- 'type_sel': None,
- 'repeat': 1,
- 'reduce': key_in,
- }
- return self
-
- def get_data_dict(self) -> dict:
- """
- Get the `data_dict`
- """
- return self.data_dict
-
- def check_batch_size (self, batch_size) :
- """
- Check if the system can get a batch of data with `batch_size` frames.
- """
- for ii in self.train_dirs :
- if self.data_dict['coord']['high_prec'] :
- tmpe = (ii / "coord.npy").load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- tmpe = (ii / "coord.npy").load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- if tmpe.ndim == 1:
- tmpe = tmpe.reshape([1,-1])
- if tmpe.shape[0] < batch_size :
- return ii, tmpe.shape[0]
- return None
-
- def check_test_size (self, test_size) :
- """
- Check if the system can get a test dataset with `test_size` frames.
- """
- if self.data_dict['coord']['high_prec'] :
- tmpe = (self.test_dir / "coord.npy").load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- tmpe = (self.test_dir / "coord.npy").load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- if tmpe.ndim == 1:
- tmpe = tmpe.reshape([1,-1])
- if tmpe.shape[0] < test_size :
- return self.test_dir, tmpe.shape[0]
- else :
- return None
-
- def get_batch(self,
- batch_size : int
- ) -> dict :
- """
- Get a batch of data with `batch_size` frames. The frames are randomly picked from the data system.
-
- Parameters
- ----------
- batch_size
- size of the batch
- """
- if hasattr(self, 'batch_set') :
- set_size = self.batch_set["coord"].shape[0]
- else :
- set_size = 0
- if self.iterator + batch_size > set_size :
- self._load_batch_set (self.train_dirs[self.set_count % self.get_numb_set()])
- self.set_count += 1
- set_size = self.batch_set["coord"].shape[0]
- if self.modifier is not None:
- self.modifier.modify_data(self.batch_set)
- iterator_1 = self.iterator + batch_size
- if iterator_1 >= set_size :
- iterator_1 = set_size
- idx = np.arange (self.iterator, iterator_1)
- self.iterator += batch_size
- ret = self._get_subdata(self.batch_set, idx)
- return ret
-
- def get_test (self,
- ntests : int = -1
- ) -> dict:
- """
- Get the test data with `ntests` frames.
-
- Parameters
- ----------
- ntests
- Size of the test data set. If `ntests` is -1, all test data will be get.
- """
- if not hasattr(self, 'test_set') :
- self._load_test_set(self.test_dir, self.shuffle_test)
- if ntests == -1:
- idx = None
- else :
- ntests_ = ntests if ntests < self.test_set['type'].shape[0] else self.test_set['type'].shape[0]
- # print('ntest', self.test_set['type'].shape[0], ntests, ntests_)
- idx = np.arange(ntests_)
- ret = self._get_subdata(self.test_set, idx = idx)
- if self.modifier is not None:
- self.modifier.modify_data(ret)
- return ret
-
- def get_ntypes(self) -> int:
- """
- Number of atom types in the system
- """
- if self.type_map is not None:
- return len(self.type_map)
- else:
- return max(self.get_atom_type()) + 1
-
- def get_type_map(self) -> List[str]:
- """
- Get the type map
- """
- return self.type_map
-
- def get_atom_type(self) -> List[int]:
- """
- Get atom types
- """
- return self.atom_type
-
- def get_numb_set (self) -> int:
- """
- Get number of training sets
- """
- return len (self.train_dirs)
-
- def get_numb_batch (self,
- batch_size : int,
- set_idx : int
- ) -> int:
- """
- Get the number of batches in a set.
- """
- data = self._load_set(self.train_dirs[set_idx])
- ret = data["coord"].shape[0] // batch_size
- if ret == 0:
- ret = 1
- return ret
-
- def get_sys_numb_batch (self,
- batch_size : int
- ) -> int:
- """
- Get the number of batches in the data system.
- """
- ret = 0
- for ii in range(len(self.train_dirs)) :
- ret += self.get_numb_batch(batch_size, ii)
- return ret
-
- def get_natoms (self) :
- """
- Get number of atoms
- """
- return len(self.atom_type)
-
- def get_natoms_vec (self,
- ntypes : int) :
- """
- Get number of atoms and number of atoms in different types
-
- Parameters
- ----------
- ntypes
- Number of types (may be larger than the actual number of types in the system).
-
- Returns
- -------
- natoms
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- """
- natoms, natoms_vec = self._get_natoms_2 (ntypes)
- tmp = [natoms, natoms]
- tmp = np.append (tmp, natoms_vec)
- return tmp.astype(np.int32)
-
- def avg(self, key) :
- """
- Return the average value of an item.
- """
- if key not in self.data_dict.keys() :
- raise RuntimeError('key %s has not been added' % key)
- info = self.data_dict[key]
- ndof = info['ndof']
- eners = np.array([])
- for ii in self.train_dirs:
- data = self._load_set(ii)
- ei = data[key].reshape([-1, ndof])
- if eners.size == 0 :
- eners = ei
- else :
- eners = np.concatenate((eners, ei), axis = 0)
- if eners.size == 0 :
- return 0
- else :
- return np.average(eners, axis = 0)
-
- def _idx_map_sel(self, atom_type, type_sel) :
- new_types = []
- for ii in atom_type :
- if ii in type_sel:
- new_types.append(ii)
- new_types = np.array(new_types, dtype = int)
- natoms = new_types.shape[0]
- idx = np.arange(natoms)
- idx_map = np.lexsort((idx, new_types))
- return idx_map
-
- def _get_natoms_2 (self, ntypes) :
- sample_type = self.atom_type
- natoms = len(sample_type)
- natoms_vec = np.zeros (ntypes).astype(int)
- for ii in range (ntypes) :
- natoms_vec[ii] = np.count_nonzero(sample_type == ii)
- return natoms, natoms_vec
-
- def _get_subdata(self, data, idx = None) :
- new_data = {}
- for ii in data:
- dd = data[ii]
- if 'find_' in ii:
- new_data[ii] = dd
- else:
- if idx is not None:
- new_data[ii] = dd[idx]
- else :
- new_data[ii] = dd
- return new_data
-
- def _load_batch_set (self,
- set_name: DPPath) :
- self.batch_set = self._load_set(set_name)
- self.batch_set, _ = self._shuffle_data(self.batch_set)
- self.reset_get_batch()
-
- def reset_get_batch(self):
- self.iterator = 0
-
- def _load_test_set (self,
- set_name: DPPath,
- shuffle_test) :
- self.test_set = self._load_set(set_name)
- if shuffle_test :
- self.test_set, _ = self._shuffle_data(self.test_set)
-
- def _shuffle_data (self,
- data) :
- ret = {}
- nframes = data['coord'].shape[0]
- idx = np.arange (nframes)
- dp_random.shuffle(idx)
- for kk in data :
- if type(data[kk]) == np.ndarray and \
- len(data[kk].shape) == 2 and \
- data[kk].shape[0] == nframes and \
- not('find_' in kk):
- ret[kk] = data[kk][idx]
- else :
- ret[kk] = data[kk]
- return ret, idx
-
- def _load_set(self, set_name: DPPath) :
- # get nframes
- if not isinstance(set_name, DPPath):
- set_name = DPPath(set_name)
- path = set_name / "coord.npy"
- if self.data_dict['coord']['high_prec'] :
- coord = path.load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- coord = path.load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- if coord.ndim == 1:
- coord = coord.reshape([1,-1])
- nframes = coord.shape[0]
- assert(coord.shape[1] == self.data_dict['coord']['ndof'] * self.natoms)
- # load keys
- data = {}
- for kk in self.data_dict.keys():
- if self.data_dict[kk]['reduce'] is None :
- data['find_'+kk], data[kk] \
- = self._load_data(set_name,
- kk,
- nframes,
- self.data_dict[kk]['ndof'],
- atomic = self.data_dict[kk]['atomic'],
- high_prec = self.data_dict[kk]['high_prec'],
- must = self.data_dict[kk]['must'],
- type_sel = self.data_dict[kk]['type_sel'],
- repeat = self.data_dict[kk]['repeat'],
- default=self.data_dict[kk]['default'],
- )
- for kk in self.data_dict.keys():
- if self.data_dict[kk]['reduce'] is not None :
- k_in = self.data_dict[kk]['reduce']
- ndof = self.data_dict[kk]['ndof']
- data['find_'+kk] = data['find_'+k_in]
- tmp_in = data[k_in].astype(GLOBAL_ENER_FLOAT_PRECISION)
- data[kk] = np.sum(np.reshape(tmp_in, [nframes, self.natoms, ndof]), axis = 1)
-
- if self.mixed_type:
- real_type = self.atom_type_mix.reshape([nframes, self.natoms])
- data['type'] = real_type
- natoms = data['type'].shape[1]
- # nframes x ntypes
- atom_type_nums = np.array([(real_type == i).sum(axis=-1) for i in range(self.get_ntypes())],
- dtype=np.int32).T
- assert (atom_type_nums.sum(axis=-1) == natoms).all(), \
- "some types in 'real_atom_types.npy' of sys {} are not contained in {} types!" \
- .format(self.dirs[0], self.get_ntypes())
- data['real_natoms_vec'] = np.concatenate((np.tile(np.array([natoms, natoms], dtype=np.int32), (nframes, 1)),
- atom_type_nums), axis=-1)
- else:
- data['type'] = np.tile(self.atom_type[self.idx_map], (nframes, 1))
-
- return data
-
-
- def _load_data(self, set_name, key, nframes, ndof_, atomic = False, must = True, repeat = 1, high_prec = False, type_sel = None, default: float=0.):
- if atomic:
- natoms = self.natoms
- idx_map = self.idx_map
- # if type_sel, then revise natoms and idx_map
- if type_sel is not None:
- natoms = 0
- for jj in type_sel :
- natoms += np.sum(self.atom_type == jj)
- idx_map = self._idx_map_sel(self.atom_type, type_sel)
- ndof = ndof_ * natoms
- else:
- ndof = ndof_
- path = set_name / (key+".npy")
- if path.is_file() :
- if high_prec :
- data = path.load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- data = path.load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- try: # YWolfeee: deal with data shape error
- if atomic :
- data = data.reshape([nframes, natoms, -1])
- data = data[:,idx_map,:]
- data = data.reshape([nframes, -1])
- data = np.reshape(data, [nframes, ndof])
- except ValueError as err_message:
- explanation = "This error may occur when your label mismatch it's name, i.e. you might store global tensor in `atomic_tensor.npy` or atomic tensor in `tensor.npy`."
- log.error(str(err_message))
- log.error(explanation)
- raise ValueError(str(err_message) + ". " + explanation)
- if repeat != 1:
- data = np.repeat(data, repeat).reshape([nframes, -1])
- return np.float32(1.0), data
- elif must:
- raise RuntimeError("%s not found!" % path)
- else:
- if high_prec :
- data = np.full([nframes, ndof], default, dtype=GLOBAL_ENER_FLOAT_PRECISION)
- else :
- data = np.full([nframes, ndof], default, dtype=GLOBAL_NP_FLOAT_PRECISION)
- if repeat != 1:
- data = np.repeat(data, repeat).reshape([nframes, -1])
- return np.float32(0.0), data
-
-
- def _load_type (self, sys_path: DPPath) :
- atom_type = (sys_path / "type.raw").load_txt(dtype=np.int32, ndmin=1)
- return atom_type
-
- def _load_type_mix(self, set_name: DPPath):
- type_path = set_name / "real_atom_types.npy"
- real_type = type_path.load_numpy().astype(np.int32).reshape([-1, self.natoms])
- return real_type
-
- def _make_idx_map(self, atom_type):
- natoms = atom_type.shape[0]
- idx = np.arange (natoms)
- idx_map = np.lexsort ((idx, atom_type))
- return idx_map
-
- def _load_type_map(self, sys_path: DPPath) :
- fname = sys_path / 'type_map.raw'
- if fname.is_file() :
- return fname.load_txt(dtype=str, ndmin=1).tolist()
- else :
- return None
-
- def _check_pbc(self, sys_path: DPPath):
- pbc = True
- if (sys_path / 'nopbc').is_file() :
- pbc = False
- return pbc
-
- def _check_mode(self, set_path: DPPath):
- return (set_path / 'real_atom_types.npy').is_file()
-
-
-class DataSets (object):
- """
- Outdated class for one data system.
-
- .. deprecated:: 2.0.0
- This class is not maintained any more.
- """
- def __init__ (self,
- sys_path,
- set_prefix,
- seed = None,
- shuffle_test = True) :
- self.dirs = glob.glob (os.path.join(sys_path, set_prefix + ".*"))
- self.dirs.sort()
- # load atom type
- self.atom_type, self.idx_map, self.idx3_map = self.load_type (sys_path)
- # load atom type map
- self.type_map = self.load_type_map(sys_path)
- if self.type_map is not None:
- assert(len(self.type_map) >= max(self.atom_type)+1)
- # train dirs
- self.test_dir = self.dirs[-1]
- if len(self.dirs) == 1 :
- self.train_dirs = self.dirs
- else :
- self.train_dirs = self.dirs[:-1]
- # check fparam
- has_fparam = [ os.path.isfile(os.path.join(ii, 'fparam.npy')) for ii in self.dirs ]
- if any(has_fparam) and (not all(has_fparam)) :
- raise RuntimeError("system %s: if any set has frame parameter, then all sets should have frame parameter" % sys_path)
- if all(has_fparam) :
- self.has_fparam = 0
- else :
- self.has_fparam = -1
- # check aparam
- has_aparam = [ os.path.isfile(os.path.join(ii, 'aparam.npy')) for ii in self.dirs ]
- if any(has_aparam) and (not all(has_aparam)) :
- raise RuntimeError("system %s: if any set has frame parameter, then all sets should have frame parameter" % sys_path)
- if all(has_aparam) :
- self.has_aparam = 0
- else :
- self.has_aparam = -1
- # energy norm
- self.eavg = self.stats_energy()
- # load sets
- self.set_count = 0
- self.load_batch_set (self.train_dirs[self.set_count % self.get_numb_set()])
- self.load_test_set (self.test_dir, shuffle_test)
-
- def check_batch_size (self, batch_size) :
- for ii in self.train_dirs :
- tmpe = np.load(os.path.join(ii, "coord.npy"))
- if tmpe.shape[0] < batch_size :
- return ii, tmpe.shape[0]
- return None
-
- def check_test_size (self, test_size) :
- tmpe = np.load(os.path.join(self.test_dir, "coord.npy"))
- if tmpe.shape[0] < test_size :
- return self.test_dir, tmpe.shape[0]
- else :
- return None
-
- def load_type (self, sys_path) :
- atom_type = np.loadtxt (os.path.join(sys_path, "type.raw"), dtype=np.int32, ndmin=1)
- natoms = atom_type.shape[0]
- idx = np.arange (natoms)
- idx_map = np.lexsort ((idx, atom_type))
- atom_type3 = np.repeat(atom_type, 3)
- idx3 = np.arange (natoms * 3)
- idx3_map = np.lexsort ((idx3, atom_type3))
- return atom_type, idx_map, idx3_map
-
- def load_type_map(self, sys_path) :
- fname = os.path.join(sys_path, 'type_map.raw')
- if os.path.isfile(fname) :
- with open(os.path.join(sys_path, 'type_map.raw')) as fp:
- return fp.read().split()
- else :
- return None
-
- def get_type_map(self) :
- return self.type_map
-
- def get_numb_set (self) :
- return len (self.train_dirs)
-
- def stats_energy (self) :
- eners = np.array([])
- for ii in self.train_dirs:
- ener_file = os.path.join(ii, "energy.npy")
- if os.path.isfile(ener_file) :
- ei = np.load(ener_file)
- eners = np.append(eners, ei)
- if eners.size == 0 :
- return 0
- else :
- return np.average(eners)
-
- def load_energy(self,
- set_name,
- nframes,
- nvalues,
- energy_file,
- atom_energy_file) :
- """
- return : coeff_ener, ener, coeff_atom_ener, atom_ener
- """
- # load atom_energy
- coeff_atom_ener, atom_ener = self.load_data(set_name, atom_energy_file, [nframes, nvalues], False)
- # ignore energy_file
- if coeff_atom_ener == 1:
- ener = np.sum(atom_ener, axis = 1)
- coeff_ener = 1
- # load energy_file
- else:
- coeff_ener, ener = self.load_data(set_name, energy_file, [nframes], False)
- return coeff_ener, ener, coeff_atom_ener, atom_ener
-
- def load_data(self, set_name, data_name, shape, is_necessary = True):
- path = os.path.join(set_name, data_name+".npy")
- if os.path.isfile (path) :
- data = np.load(path)
- data = np.reshape(data, shape)
- if is_necessary:
- return data
- return 1, data
- elif is_necessary:
- raise OSError("%s not found!" % path)
- else:
- data = np.zeros(shape)
- return 0, data
-
- def load_set(self, set_name, shuffle = True):
- data = {}
- data["box"] = self.load_data(set_name, "box", [-1, 9])
- nframe = data["box"].shape[0]
- data["coord"] = self.load_data(set_name, "coord", [nframe, -1])
- ncoord = data["coord"].shape[1]
- if self.has_fparam >= 0:
- data["fparam"] = self.load_data(set_name, "fparam", [nframe, -1])
- if self.has_fparam == 0 :
- self.has_fparam = data["fparam"].shape[1]
- else :
- assert self.has_fparam == data["fparam"].shape[1]
- if self.has_aparam >= 0:
- data["aparam"] = self.load_data(set_name, "aparam", [nframe, -1])
- if self.has_aparam == 0 :
- self.has_aparam = data["aparam"].shape[1] // (ncoord//3)
- else :
- assert self.has_aparam == data["aparam"].shape[1] // (ncoord//3)
- data["prop_c"] = np.zeros(5)
- data["prop_c"][0], data["energy"], data["prop_c"][3], data["atom_ener"] \
- = self.load_energy (set_name, nframe, ncoord // 3, "energy", "atom_ener")
- data["prop_c"][1], data["force"] = self.load_data(set_name, "force", [nframe, ncoord], False)
- data["prop_c"][2], data["virial"] = self.load_data(set_name, "virial", [nframe, 9], False)
- data["prop_c"][4], data["atom_pref"] = self.load_data(set_name, "atom_pref", [nframe, ncoord//3], False)
- data["atom_pref"] = np.repeat(data["atom_pref"], 3, axis=1)
- # shuffle data
- if shuffle:
- idx = np.arange (nframe)
- dp_random.shuffle(idx)
- for ii in data:
- if ii != "prop_c":
- data[ii] = data[ii][idx]
- data["type"] = np.tile (self.atom_type, (nframe, 1))
- # sort according to type
- for ii in ["type", "atom_ener"]:
- data[ii] = data[ii][:, self.idx_map]
- for ii in ["coord", "force", "atom_pref"]:
- data[ii] = data[ii][:, self.idx3_map]
- return data
-
- def load_batch_set (self,
- set_name) :
- self.batch_set = self.load_set(set_name, True)
- self.reset_iter ()
-
- def load_test_set (self,
- set_name,
- shuffle_test) :
- self.test_set = self.load_set(set_name, shuffle_test)
-
- def reset_iter (self) :
- self.iterator = 0
- self.set_count += 1
-
- def get_set(self, data, idx = None) :
- new_data = {}
- for ii in data:
- dd = data[ii]
- if ii == "prop_c":
- new_data[ii] = dd.astype(np.float32)
- else:
- if idx is not None:
- dd = dd[idx]
- if ii == "type":
- new_data[ii] = dd
- else:
- new_data[ii] = dd.astype(GLOBAL_NP_FLOAT_PRECISION)
- return new_data
-
- def get_test (self) :
- """
- returned property prefector [4] in order:
- energy, force, virial, atom_ener
- """
- return self.get_set(self.test_set)
-
- def get_batch (self,
- batch_size) :
- """
- returned property prefector [4] in order:
- energy, force, virial, atom_ener
- """
- set_size = self.batch_set["energy"].shape[0]
- # assert (batch_size <= set_size), "batch size should be no more than set size"
- if self.iterator + batch_size > set_size :
- self.load_batch_set (self.train_dirs[self.set_count % self.get_numb_set()])
- set_size = self.batch_set["energy"].shape[0]
- # print ("%d %d %d" % (self.iterator, self.iterator + batch_size, set_size))
- iterator_1 = self.iterator + batch_size
- if iterator_1 >= set_size :
- iterator_1 = set_size
- idx = np.arange (self.iterator, iterator_1)
- self.iterator += batch_size
- return self.get_set(self.batch_set, idx)
-
- def get_natoms (self) :
- sample_type = self.batch_set["type"][0]
- natoms = len(sample_type)
- return natoms
-
- def get_natoms_2 (self, ntypes) :
- sample_type = self.batch_set["type"][0]
- natoms = len(sample_type)
- natoms_vec = np.zeros (ntypes).astype(int)
- for ii in range (ntypes) :
- natoms_vec[ii] = np.count_nonzero(sample_type == ii)
- return natoms, natoms_vec
-
- def get_natoms_vec (self, ntypes) :
- natoms, natoms_vec = self.get_natoms_2 (ntypes)
- tmp = [natoms, natoms]
- tmp = np.append (tmp, natoms_vec)
- return tmp.astype(np.int32)
-
- def set_numb_batch (self,
- batch_size) :
- return self.batch_set["energy"].shape[0] // batch_size
-
- def get_sys_numb_batch (self, batch_size) :
- return self.set_numb_batch(batch_size) * self.get_numb_set()
-
- def get_ener (self) :
- return self.eavg
-
- def numb_fparam(self) :
- return self.has_fparam
-
- def numb_aparam(self) :
- return self.has_aparam
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/data_system.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/data_system.py
deleted file mode 100644
index 398db547f8e833533cd7b52f611be532238d4dc4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/data_system.py
+++ /dev/null
@@ -1,745 +0,0 @@
-#!/usr/bin/env python3
-
-import logging
-import os
-import collections
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.utils import random as dp_random
-from deepmd.utils.data import DataSets
-from deepmd.utils.data import DeepmdData
-
-log = logging.getLogger(__name__)
-
-
-class DeepmdDataSystem() :
- """
- Class for manipulating many data systems.
-
- It is implemented with the help of DeepmdData
- """
- def __init__ (self,
- systems : List[str],
- batch_size : int,
- test_size : int,
- rcut : float,
- set_prefix : str = 'set',
- shuffle_test : bool = True,
- type_map : List[str] = None,
- modifier = None,
- trn_all_set = False,
- sys_probs = None,
- auto_prob_style ="prob_sys_size") :
- """
- Constructor
-
- Parameters
- ----------
- systems
- Specifying the paths to systems
- batch_size
- The batch size
- test_size
- The size of test data
- rcut
- The cut-off radius
- set_prefix
- Prefix for the directories of different sets
- shuffle_test
- If the test data are shuffled
- type_map
- Gives the name of different atom types
- modifier
- Data modifier that has the method `modify_data`
- trn_all_set
- Use all sets as training dataset. Otherwise, if the number of sets is more than 1, the last set is left for test.
- sys_probs: list of float
- The probabilitis of systems to get the batch.
- Summation of positive elements of this list should be no greater than 1.
- Element of this list can be negative, the probability of the corresponding system is determined
- automatically by the number of batches in the system.
- auto_prob_style: str
- Determine the probability of systems automatically. The method is assigned by this key and can be
- - "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()
- - "prob_sys_size" : the probability of a system is proportional to the number of batches in the system
- - "prob_sys_size;stt_idx:end_idx:weight;stt_idx:end_idx:weight;..." :
- the list of systems is devided into blocks. A block is specified by `stt_idx:end_idx:weight`,
- where `stt_idx` is the starting index of the system, `end_idx` is then ending (not including) index of the system,
- the probabilities of the systems in this block sums up to `weight`, and the relatively probabilities within this block is proportional
- to the number of batches in the system."""
- # init data
- self.rcut = rcut
- self.system_dirs = systems
- self.nsystems = len(self.system_dirs)
- self.data_systems = []
- for ii in self.system_dirs :
- self.data_systems.append(
- DeepmdData(
- ii,
- set_prefix=set_prefix,
- shuffle_test=shuffle_test,
- type_map = type_map,
- modifier = modifier,
- trn_all_set = trn_all_set
- ))
- # check mix_type format
- error_format_msg = "if one of the system is of mixed_type format, " \
- "then all of the systems should be of mixed_type format!"
- if self.data_systems[0].mixed_type:
- for data_sys in self.data_systems[1:]:
- assert data_sys.mixed_type, error_format_msg
- self.mixed_type = True
- else:
- for data_sys in self.data_systems[1:]:
- assert not data_sys.mixed_type, error_format_msg
- self.mixed_type = False
- # batch size
- self.batch_size = batch_size
- if isinstance(self.batch_size, int):
- self.batch_size = self.batch_size * np.ones(self.nsystems, dtype=int)
- elif isinstance(self.batch_size, str):
- words = self.batch_size.split(':')
- if 'auto' == words[0] :
- rule = 32
- if len(words) == 2 :
- rule = int(words[1])
- else:
- raise RuntimeError('unknown batch_size rule ' + words[0])
- self.batch_size = self._make_auto_bs(rule)
- elif isinstance(self.batch_size, list):
- pass
- else :
- raise RuntimeError('invalid batch_size')
- assert(isinstance(self.batch_size, (list,np.ndarray)))
- assert(len(self.batch_size) == self.nsystems)
-
- # natoms, nbatches
- ntypes = []
- for ii in self.data_systems :
- ntypes.append(ii.get_ntypes())
- self.sys_ntypes = max(ntypes)
- self.natoms = []
- self.natoms_vec = []
- self.nbatches = []
- type_map_list = []
- for ii in range(self.nsystems) :
- self.natoms.append(self.data_systems[ii].get_natoms())
- self.natoms_vec.append(self.data_systems[ii].get_natoms_vec(self.sys_ntypes).astype(int))
- self.nbatches.append(self.data_systems[ii].get_sys_numb_batch(self.batch_size[ii]))
- type_map_list.append(self.data_systems[ii].get_type_map())
- self.type_map = self._check_type_map_consistency(type_map_list)
-
- # ! altered by Marián Rynik
- # test size
- # now test size can be set as a percentage of systems data or test size
- # can be set for each system individualy in the same manner as batch
- # size. This enables one to use systems with diverse number of
- # structures and different number of atoms.
- self.test_size = test_size
- if isinstance(self.test_size, int):
- self.test_size = self.test_size * np.ones(self.nsystems, dtype=int)
- elif isinstance(self.test_size, str):
- words = self.test_size.split('%')
- try:
- percent = int(words[0])
- except ValueError:
- raise RuntimeError('unknown test_size rule ' + words[0])
- self.test_size = self._make_auto_ts(percent)
- elif isinstance(self.test_size, list):
- pass
- else :
- raise RuntimeError('invalid test_size')
- assert(isinstance(self.test_size, (list,np.ndarray)))
- assert(len(self.test_size) == self.nsystems)
-
- # prob of batch, init pick idx
- self.prob_nbatches = [ float(i) for i in self.nbatches] / np.sum(self.nbatches)
- self.pick_idx = 0
-
- # derive system probabilities
- self.sys_probs = None
- self.set_sys_probs(sys_probs, auto_prob_style)
-
- # check batch and test size
- for ii in range(self.nsystems) :
- chk_ret = self.data_systems[ii].check_batch_size(self.batch_size[ii])
- if chk_ret is not None :
- warnings.warn("system %s required batch size is larger than the size of the dataset %s (%d > %d)" % \
- (self.system_dirs[ii], chk_ret[0], self.batch_size[ii], chk_ret[1]))
- chk_ret = self.data_systems[ii].check_test_size(self.test_size[ii])
- if chk_ret is not None :
- warnings.warn("system %s required test size is larger than the size of the dataset %s (%d > %d)" % \
- (self.system_dirs[ii], chk_ret[0], self.test_size[ii], chk_ret[1]))
-
-
- def _load_test(self, ntests = -1):
- self.test_data = collections.defaultdict(list)
- for ii in range(self.nsystems) :
- test_system_data = self.data_systems[ii].get_test(ntests = ntests)
- for nn in test_system_data:
- self.test_data[nn].append(test_system_data[nn])
-
-
- def _make_default_mesh(self):
- self.default_mesh = []
- cell_size = np.max (self.rcut)
- for ii in range(self.nsystems) :
- if self.data_systems[ii].pbc :
- test_system_data = self.data_systems[ii].get_batch(self.batch_size[ii])
- self.data_systems[ii].reset_get_batch()
- # test_system_data = self.data_systems[ii].get_test()
- avg_box = np.average (test_system_data["box"], axis = 0)
- avg_box = np.reshape (avg_box, [3,3])
- ncell = (np.linalg.norm(avg_box, axis=1)/ cell_size).astype(np.int32)
- ncell[ncell < 2] = 2
- default_mesh = np.zeros (6, dtype = np.int32)
- default_mesh[3:6] = ncell
- self.default_mesh.append(default_mesh)
- else:
- self.default_mesh.append(np.array([], dtype = np.int32))
-
-
- def compute_energy_shift(self, rcond = 1e-3, key = 'energy') :
- sys_ener = np.array([])
- for ss in self.data_systems :
- sys_ener = np.append(sys_ener, ss.avg(key))
- sys_tynatom = np.array(self.natoms_vec, dtype = float)
- sys_tynatom = np.reshape(sys_tynatom, [self.nsystems,-1])
- sys_tynatom = sys_tynatom[:,2:]
- energy_shift,resd,rank,s_value \
- = np.linalg.lstsq(sys_tynatom, sys_ener, rcond = rcond)
- return energy_shift
-
- def add_dict(self, adict: dict) -> None:
- """
- Add items to the data system by a `dict`.
- `adict` should have items like
- .. code-block:: python
-
- adict[key] = {
- 'ndof': ndof,
- 'atomic': atomic,
- 'must': must,
- 'high_prec': high_prec,
- 'type_sel': type_sel,
- 'repeat': repeat,
- }
-
- For the explaination of the keys see `add`
- """
- for kk in adict :
- self.add(kk,
- adict[kk]['ndof'],
- atomic=adict[kk]['atomic'],
- must=adict[kk]['must'],
- high_prec=adict[kk]['high_prec'],
- type_sel=adict[kk]['type_sel'],
- repeat=adict[kk]['repeat'],
- default=adict[kk]['default'],
- )
-
- def add(self,
- key : str,
- ndof : int,
- atomic : bool = False,
- must : bool = False,
- high_prec : bool = False,
- type_sel : List[int] = None,
- repeat : int = 1,
- default: float=0.,
- ) :
- """
- Add a data item that to be loaded
-
- Parameters
- ----------
- key
- The key of the item. The corresponding data is stored in `sys_path/set.*/key.npy`
- ndof
- The number of dof
- atomic
- The item is an atomic property.
- If False, the size of the data should be nframes x ndof
- If True, the size of data should be nframes x natoms x ndof
- must
- The data file `sys_path/set.*/key.npy` must exist.
- If must is False and the data file does not exist, the `data_dict[find_key]` is set to 0.0
- high_prec
- Load the data and store in float64, otherwise in float32
- type_sel
- Select certain type of atoms
- repeat
- The data will be repeated `repeat` times.
- default, default=0.
- Default value of data
- """
- for ii in self.data_systems:
- ii.add(key, ndof, atomic=atomic, must=must, high_prec=high_prec, repeat=repeat, type_sel=type_sel, default=default)
-
- def reduce(self, key_out, key_in):
- """
- Generate a new item from the reduction of another atom
-
- Parameters
- ----------
- key_out
- The name of the reduced item
- key_in
- The name of the data item to be reduced
- """
- for ii in self.data_systems:
- ii.reduce(key_out, key_in)
-
- def get_data_dict(self, ii: int = 0) -> dict:
- return self.data_systems[ii].get_data_dict()
-
- def set_sys_probs(self, sys_probs=None,
- auto_prob_style: str = "prob_sys_size"):
- if sys_probs is None :
- if auto_prob_style == "prob_uniform":
- prob_v = 1./float(self.nsystems)
- probs = [prob_v for ii in range(self.nsystems)]
- elif auto_prob_style == "prob_sys_size":
- probs = self.prob_nbatches
- elif auto_prob_style[:14] == "prob_sys_size;":
- probs = self._prob_sys_size_ext(auto_prob_style)
- else:
- raise RuntimeError("Unknown auto prob style: " + auto_prob_style)
- else:
- probs = self._process_sys_probs(sys_probs)
- self.sys_probs = probs
-
- def _get_sys_probs(self,
- sys_probs,
- auto_prob_style) : # depreciated
- if sys_probs is None :
- if auto_prob_style == "prob_uniform" :
- prob_v = 1./float(self.nsystems)
- prob = [prob_v for ii in range(self.nsystems)]
- elif auto_prob_style == "prob_sys_size" :
- prob = self.prob_nbatches
- elif auto_prob_style[:14] == "prob_sys_size;" :
- prob = self._prob_sys_size_ext(auto_prob_style)
- else :
- raise RuntimeError("unkown style " + auto_prob_style )
- else :
- prob = self._process_sys_probs(sys_probs)
- return prob
-
- def get_batch(self, sys_idx : int = None):
- # batch generation style altered by Ziyao Li:
- # one should specify the "sys_prob" and "auto_prob_style" params
- # via set_sys_prob() function. The sys_probs this function uses is
- # defined as a private variable, self.sys_probs, initialized in __init__().
- # This is to optimize the (vain) efforts in evaluating sys_probs every batch.
- """
- Get a batch of data from the data systems
-
- Parameters
- ----------
- sys_idx: int
- The index of system from which the batch is get.
- If sys_idx is not None, `sys_probs` and `auto_prob_style` are ignored
- If sys_idx is None, automatically determine the system according to `sys_probs` or `auto_prob_style`, see the following.
- """
- if not hasattr(self, 'default_mesh') :
- self._make_default_mesh()
- if sys_idx is not None :
- self.pick_idx = sys_idx
- else :
- # prob = self._get_sys_probs(sys_probs, auto_prob_style)
- self.pick_idx = dp_random.choice(np.arange(self.nsystems), p=self.sys_probs)
- b_data = self.data_systems[self.pick_idx].get_batch(self.batch_size[self.pick_idx])
- b_data["natoms_vec"] = self.natoms_vec[self.pick_idx]
- b_data["default_mesh"] = self.default_mesh[self.pick_idx]
- return b_data
-
- # ! altered by Marián Rynik
- def get_test (self,
- sys_idx : int = None,
- n_test : int = -1) : # depreciated
- """
- Get test data from the the data systems.
-
- Parameters
- ----------
- sys_idx
- The test dat of system with index `sys_idx` will be returned.
- If is None, the currently selected system will be returned.
- n_test
- Number of test data. If set to -1 all test data will be get.
- """
- if not hasattr(self, 'default_mesh') :
- self._make_default_mesh()
- if not hasattr(self, 'test_data') :
- self._load_test(ntests = n_test)
- if sys_idx is not None :
- idx = sys_idx
- else :
- idx = self.pick_idx
-
- test_system_data = {}
- for nn in self.test_data:
- test_system_data[nn] = self.test_data[nn][idx]
- test_system_data["natoms_vec"] = self.natoms_vec[idx]
- test_system_data["default_mesh"] = self.default_mesh[idx]
- return test_system_data
-
- def get_sys_ntest(self, sys_idx=None):
- """
- Get number of tests for the currently selected system,
- or one defined by sys_idx.
- """
- if sys_idx is not None :
- return self.test_size[sys_idx]
- else :
- return self.test_size[self.pick_idx]
-
- def get_type_map(self) -> List[str]:
- """
- Get the type map
- """
- return self.type_map
-
- def get_nbatches (self) -> int:
- """
- Get the total number of batches
- """
- return self.nbatches
-
- def get_ntypes (self) -> int:
- """
- Get the number of types
- """
- return self.sys_ntypes
-
- def get_nsystems (self) -> int:
- """
- Get the number of data systems
- """
- return self.nsystems
-
- def get_sys (self, idx : int) -> DeepmdData:
- """
- Get a certain data system
- """
- return self.data_systems[idx]
-
- def get_batch_size(self) -> int:
- """
- Get the batch size
- """
- return self.batch_size
-
- def _format_name_length(self, name, width) :
- if len(name) <= width:
- return '{: >{}}'.format(name, width)
- else :
- name = name[-(width-3):]
- name = '-- ' + name
- return name
-
- def print_summary(self, name) :
- # width 65
- sys_width = 42
- log.info(f"---Summary of DataSystem: {name:13s}-----------------------------------------------")
- log.info("found %d system(s):" % self.nsystems)
- log.info(("%s " % self._format_name_length('system', sys_width)) +
- ("%6s %6s %6s %5s %3s" % ('natoms', 'bch_sz', 'n_bch', 'prob', 'pbc')))
- for ii in range(self.nsystems) :
- log.info("%s %6d %6d %6d %5.3f %3s" %
- (self._format_name_length(self.system_dirs[ii], sys_width),
- self.natoms[ii],
- # TODO batch size * nbatches = number of structures
- self.batch_size[ii],
- self.nbatches[ii],
- self.sys_probs[ii],
- "T" if self.data_systems[ii].pbc else "F"
- ) )
- log.info("--------------------------------------------------------------------------------------")
-
- def _make_auto_bs(self, rule) :
- bs = []
- for ii in self.data_systems:
- ni = ii.get_natoms()
- bsi = rule // ni
- if bsi * ni < rule:
- bsi += 1
- bs.append(bsi)
- return bs
-
- # ! added by Marián Rynik
- def _make_auto_ts(self, percent):
- ts = []
- for ii in range(self.nsystems):
- ni = self.batch_size[ii] * self.nbatches[ii]
- tsi = int(ni * percent / 100)
- ts.append(tsi)
-
- return ts
-
- def _check_type_map_consistency(self, type_map_list):
- ret = []
- for ii in type_map_list:
- if ii is not None:
- min_len = min([len(ii), len(ret)])
- for idx in range(min_len) :
- if ii[idx] != ret[idx] :
- raise RuntimeError('inconsistent type map: %s %s' % (str(ret), str(ii)))
- if len(ii) > len(ret) :
- ret = ii
- return ret
-
- def _process_sys_probs(self, sys_probs) :
- sys_probs = np.array(sys_probs)
- type_filter = sys_probs >= 0
- assigned_sum_prob = np.sum(type_filter * sys_probs)
- # 1e-8 is to handle floating point error; See #1917
- assert assigned_sum_prob <= 1. + 1e-8, "the sum of assigned probability should be less than 1"
- rest_sum_prob = 1. - assigned_sum_prob
- if not np.isclose(rest_sum_prob, 0):
- rest_nbatch = (1 - type_filter) * self.nbatches
- rest_prob = rest_sum_prob * rest_nbatch / np.sum(rest_nbatch)
- ret_prob = rest_prob + type_filter * sys_probs
- else :
- ret_prob = sys_probs
- assert np.isclose(np.sum(ret_prob), 1), "sum of probs should be 1"
- return ret_prob
-
- def _prob_sys_size_ext(self, keywords):
- block_str = keywords.split(';')[1:]
- block_stt = []
- block_end = []
- block_weights = []
- for ii in block_str:
- stt = int(ii.split(':')[0])
- end = int(ii.split(':')[1])
- weight = float(ii.split(':')[2])
- assert(weight >= 0), "the weight of a block should be no less than 0"
- block_stt.append(stt)
- block_end.append(end)
- block_weights.append(weight)
- nblocks = len(block_str)
- block_probs = np.array(block_weights) / np.sum(block_weights)
- sys_probs = np.zeros([self.get_nsystems()])
- for ii in range(nblocks):
- nbatch_block = self.nbatches[block_stt[ii]:block_end[ii]]
- tmp_prob = [float(i) for i in nbatch_block] / np.sum(nbatch_block)
- sys_probs[block_stt[ii]:block_end[ii]] = tmp_prob * block_probs[ii]
- return sys_probs
-
-
-
-class DataSystem (object) :
- """
- Outdated class for the data systems.
-
- .. deprecated:: 2.0.0
- This class is not maintained any more.
- """
- def __init__ (self,
- systems,
- set_prefix,
- batch_size,
- test_size,
- rcut,
- run_opt = None) :
- self.system_dirs = systems
- self.nsystems = len(self.system_dirs)
- self.batch_size = batch_size
- if isinstance(self.batch_size, int) :
- self.batch_size = self.batch_size * np.ones(self.nsystems, dtype=int)
- assert(isinstance(self.batch_size, (list,np.ndarray)))
- assert(len(self.batch_size) == self.nsystems)
- self.data_systems = []
- self.ntypes = []
- self.natoms = []
- self.natoms_vec = []
- self.nbatches = []
- for ii in self.system_dirs :
- self.data_systems.append(DataSets(ii, set_prefix))
- sys_all_types = np.loadtxt(os.path.join(ii, "type.raw")).astype(int)
- self.ntypes.append(np.max(sys_all_types) + 1)
- self.sys_ntypes = max(self.ntypes)
- type_map = []
- for ii in range(self.nsystems) :
- self.natoms.append(self.data_systems[ii].get_natoms())
- self.natoms_vec.append(self.data_systems[ii].get_natoms_vec(self.sys_ntypes).astype(int))
- self.nbatches.append(self.data_systems[ii].get_sys_numb_batch(self.batch_size[ii]))
- type_map.append(self.data_systems[ii].get_type_map())
- self.type_map = self.check_type_map_consistency(type_map)
-
- # check frame parameters
- has_fparam = [ii.numb_fparam() for ii in self.data_systems]
- for ii in has_fparam :
- if ii != has_fparam[0] :
- raise RuntimeError("if any system has frame parameter, then all systems should have the same number of frame parameter")
- self.has_fparam = has_fparam[0]
-
- # check the size of data if they satisfy the requirement of batch and test
- for ii in range(self.nsystems) :
- chk_ret = self.data_systems[ii].check_batch_size(self.batch_size[ii])
- if chk_ret is not None :
- raise RuntimeError ("system %s required batch size %d is larger than the size %d of the dataset %s" % \
- (self.system_dirs[ii], self.batch_size[ii], chk_ret[1], chk_ret[0]))
- chk_ret = self.data_systems[ii].check_test_size(test_size)
- if chk_ret is not None :
- print("WARNNING: system %s required test size %d is larger than the size %d of the dataset %s" % \
- (self.system_dirs[ii], test_size, chk_ret[1], chk_ret[0]))
-
- if run_opt is not None:
- self.print_summary(run_opt)
-
- self.prob_nbatches = [ float(i) for i in self.nbatches] / np.sum(self.nbatches)
-
- self.test_data = collections.defaultdict(list)
- self.default_mesh = []
- for ii in range(self.nsystems) :
- test_system_data = self.data_systems[ii].get_test ()
- for nn in test_system_data:
- self.test_data[nn].append(test_system_data[nn])
- cell_size = np.max (rcut)
- avg_box = np.average (test_system_data["box"], axis = 0)
- avg_box = np.reshape (avg_box, [3,3])
- ncell = (np.linalg.norm(avg_box, axis=1)/ cell_size).astype(np.int32)
- ncell[ncell < 2] = 2
- default_mesh = np.zeros (6, dtype = np.int32)
- default_mesh[3:6] = ncell
- self.default_mesh.append(default_mesh)
- self.pick_idx = 0
-
-
- def check_type_map_consistency(self, type_map_list):
- ret = []
- for ii in type_map_list:
- if ii is not None:
- min_len = min([len(ii), len(ret)])
- for idx in range(min_len) :
- if ii[idx] != ret[idx] :
- raise RuntimeError('inconsistent type map: %s %s' % (str(ret), str(ii)))
- if len(ii) > len(ret) :
- ret = ii
- return ret
-
-
- def get_type_map(self):
- return self.type_map
-
-
- def format_name_length(self, name, width) :
- if len(name) <= width:
- return '{: >{}}'.format(name, width)
- else :
- name = name[-(width-3):]
- name = '-- ' + name
- return name
-
- def print_summary(self) :
- tmp_msg = ""
- # width 65
- sys_width = 42
- tmp_msg += "---Summary of DataSystem-----------------------------------------\n"
- tmp_msg += "find %d system(s):\n" % self.nsystems
- tmp_msg += "%s " % self.format_name_length('system', sys_width)
- tmp_msg += "%s %s %s\n" % ('natoms', 'bch_sz', 'n_bch')
- for ii in range(self.nsystems) :
- tmp_msg += ("%s %6d %6d %5d\n" %
- (self.format_name_length(self.system_dirs[ii], sys_width),
- self.natoms[ii],
- self.batch_size[ii],
- self.nbatches[ii]) )
- tmp_msg += "-----------------------------------------------------------------\n"
- log.info(tmp_msg)
-
- def compute_energy_shift(self) :
- sys_ener = np.array([])
- for ss in self.data_systems :
- sys_ener = np.append(sys_ener, ss.get_ener())
- sys_tynatom = np.array(self.natoms_vec, dtype = float)
- sys_tynatom = np.reshape(sys_tynatom, [self.nsystems,-1])
- sys_tynatom = sys_tynatom[:,2:]
- energy_shift,resd,rank,s_value \
- = np.linalg.lstsq(sys_tynatom, sys_ener, rcond = 1e-3)
- return energy_shift
-
- def process_sys_weights(self, sys_weights) :
- sys_weights = np.array(sys_weights)
- type_filter = sys_weights >= 0
- assigned_sum_prob = np.sum(type_filter * sys_weights)
- assert assigned_sum_prob <= 1, "the sum of assigned probability should be less than 1"
- rest_sum_prob = 1. - assigned_sum_prob
- rest_nbatch = (1 - type_filter) * self.nbatches
- rest_prob = rest_sum_prob * rest_nbatch / np.sum(rest_nbatch)
- ret_prob = rest_prob + type_filter * sys_weights
- assert np.sum(ret_prob) == 1, "sum of probs should be 1"
- return ret_prob
-
- def get_batch (self,
- sys_idx = None,
- sys_weights = None,
- style = "prob_sys_size") :
- if sys_idx is not None :
- self.pick_idx = sys_idx
- else :
- if sys_weights is None :
- if style == "prob_sys_size" :
- prob = self.prob_nbatches
- elif style == "prob_uniform" :
- prob = None
- else :
- raise RuntimeError("unkown get_batch style")
- else :
- prob = self.process_sys_weights(sys_weights)
- self.pick_idx = dp_random.choice(np.arange(self.nsystems), p=prob)
- b_data = self.data_systems[self.pick_idx].get_batch(self.batch_size[self.pick_idx])
- b_data["natoms_vec"] = self.natoms_vec[self.pick_idx]
- b_data["default_mesh"] = self.default_mesh[self.pick_idx]
- return b_data
-
- def get_test (self,
- sys_idx = None) :
- if sys_idx is not None :
- idx = sys_idx
- else :
- idx = self.pick_idx
- test_system_data = {}
- for nn in self.test_data:
- test_system_data[nn] = self.test_data[nn][idx]
- test_system_data["natoms_vec"] = self.natoms_vec[idx]
- test_system_data["default_mesh"] = self.default_mesh[idx]
- return test_system_data
-
- def get_nbatches (self) :
- return self.nbatches
-
- def get_ntypes (self) :
- return self.sys_ntypes
-
- def get_nsystems (self) :
- return self.nsystems
-
- def get_sys (self, sys_idx) :
- return self.data_systems[sys_idx]
-
- def get_batch_size(self) :
- return self.batch_size
-
- def numb_fparam(self) :
- return self.has_fparam
-
-def _main () :
- sys = ['/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/20',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/30',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/38',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/MoS2',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/Pt_cluster']
- set_prefix = 'set'
- ds = DataSystem (sys, set_prefix, 4, 6)
- r = ds.get_batch()
- print(r[1][0])
-
-if __name__ == '__main__':
- _main()
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/errors.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/errors.py
deleted file mode 100644
index 231a9e620da486b35ee35759740650492feb1c77..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/errors.py
+++ /dev/null
@@ -1,8 +0,0 @@
-class GraphTooLargeError(Exception):
- """The graph is too large, exceeding protobuf's hard limit of 2GB."""
-
-class GraphWithoutTensorError(Exception):
- pass
-
-class OutOfMemoryError(Exception):
- """This error is caused by out-of-memory (OOM)."""
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/graph.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/graph.py
deleted file mode 100644
index 2cd2e59862170c1b00360dd91d1947aa8dce9147..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/graph.py
+++ /dev/null
@@ -1,453 +0,0 @@
-import re
-import numpy as np
-from typing import Tuple, Dict
-from deepmd.env import tf, EMBEDDING_NET_PATTERN, FITTING_NET_PATTERN, TYPE_EMBEDDING_PATTERN, ATTENTION_LAYER_PATTERN
-from deepmd.utils.sess import run_sess
-from deepmd.utils.errors import GraphWithoutTensorError
-
-# TODO (JZ): I think in this file we can merge some duplicated lines into one method...
-def load_graph_def(model_file: str) -> Tuple[tf.Graph, tf.GraphDef]:
- """
- Load graph as well as the graph_def from the frozen model(model_file)
-
- Parameters
- ----------
- model_file : str
- The input frozen model path
-
- Returns
- -------
- tf.Graph
- The graph loaded from the frozen model
- tf.GraphDef
- The graph_def loaded from the frozen model
- """
- graph_def = tf.GraphDef()
- with open(model_file, "rb") as f:
- graph_def.ParseFromString(f.read())
- with tf.Graph().as_default() as graph:
- tf.import_graph_def(graph_def, name = "")
- return graph, graph_def
-
-
-def get_tensor_by_name_from_graph(graph: tf.Graph,
- tensor_name: str) -> tf.Tensor:
- """
- Load tensor value from the given tf.Graph object
-
- Parameters
- ----------
- graph : tf.Graph
- The input TensorFlow graph
- tensor_name : str
- Indicates which tensor which will be loaded from the frozen model
-
- Returns
- -------
- tf.Tensor
- The tensor which was loaded from the frozen model
-
- Raises
- ------
- GraphWithoutTensorError
- Whether the tensor_name is within the frozen model
- """
- try:
- tensor = graph.get_tensor_by_name(tensor_name + ':0')
- except KeyError as e:
- raise GraphWithoutTensorError() from e
- with tf.Session(graph=graph) as sess:
- tensor = run_sess(sess, tensor)
- return tensor
-
-
-def get_tensor_by_name(model_file: str,
- tensor_name: str) -> tf.Tensor:
- """
- Load tensor value from the frozen model(model_file)
-
- Parameters
- ----------
- model_file : str
- The input frozen model path
- tensor_name : str
- Indicates which tensor which will be loaded from the frozen model
-
- Returns
- -------
- tf.Tensor
- The tensor which was loaded from the frozen model
-
- Raises
- ------
- GraphWithoutTensorError
- Whether the tensor_name is within the frozen model
- """
- graph, _ = load_graph_def(model_file)
- return get_tensor_by_name_from_graph(graph, tensor_name)
-
-
-def get_tensor_by_type(node,
- data_type : np.dtype) -> tf.Tensor:
- """
- Get the tensor value within the given node according to the input data_type
-
- Parameters
- ----------
- node
- The given tensorflow graph node
- data_type
- The data type of the node
-
- Returns
- ----------
- tf.Tensor
- The tensor value of the given node
- """
- if data_type == np.float64:
- tensor = np.array(node.double_val)
- elif data_type == np.float32:
- tensor = np.array(node.float_val)
- else:
- raise RuntimeError('model compression does not support the half precision')
- return tensor
-
-
-def get_pattern_nodes_from_graph_def(graph_def: tf.GraphDef, pattern: str) -> Dict:
- """
- Get the pattern nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- pattern
- The node pattern within the graph_def
-
- Returns
- ----------
- Dict
- The fitting net nodes within the given tf.GraphDef object
- """
- nodes = {}
- pattern = re.compile(pattern)
- for node in graph_def.node:
- if re.fullmatch(pattern, node.name) != None:
- nodes[node.name] = node.attr["value"].tensor
- return nodes
-
-
-def get_embedding_net_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the embedding net nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The scope suffix
-
- Returns
- ----------
- Dict
- The embedding net nodes within the given tf.GraphDef object
- """
- # embedding_net_pattern = f"filter_type_\d+{suffix}/matrix_\d+_\d+|filter_type_\d+{suffix}/bias_\d+_\d+|filter_type_\d+{suffix}/idt_\d+_\d+|filter_type_all{suffix}/matrix_\d+_\d+|filter_type_all{suffix}/matrix_\d+_\d+_\d+|filter_type_all{suffix}/bias_\d+_\d+|filter_type_all{suffix}/bias_\d+_\d+_\d+|filter_type_all{suffix}/idt_\d+_\d+"
- if suffix != "":
- embedding_net_pattern = EMBEDDING_NET_PATTERN\
- .replace('/idt', suffix + '/idt')\
- .replace('/bias', suffix + '/bias')\
- .replace('/matrix', suffix + '/matrix')
- else:
- embedding_net_pattern = EMBEDDING_NET_PATTERN
-
- embedding_net_nodes = get_pattern_nodes_from_graph_def(graph_def, embedding_net_pattern)
- for key in embedding_net_nodes.keys():
- assert key.find('bias') > 0 or key.find(
- 'matrix') > 0, "currently, only support weight matrix and bias matrix at the tabulation op!"
- return embedding_net_nodes
-
-
-def get_embedding_net_nodes(model_file: str, suffix: str = "") -> Dict:
- """
- Get the embedding net nodes with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net nodes with the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_embedding_net_nodes_from_graph_def(graph_def, suffix=suffix)
-
-
-def get_embedding_net_variables_from_graph_def(graph_def : tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the embedding net variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net variables within the given tf.GraphDef object
- """
- embedding_net_variables = {}
- embedding_net_nodes = get_embedding_net_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in embedding_net_nodes:
- node = embedding_net_nodes[item]
- dtype = tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype = tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- embedding_net_variables[item] = np.reshape(tensor_value, tensor_shape)
- return embedding_net_variables
-
-def get_embedding_net_variables(model_file : str, suffix: str = "") -> Dict:
- """
- Get the embedding net variables with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net variables within the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_embedding_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
-def get_fitting_net_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the fitting net nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix
- suffix of the scope
-
- Returns
- ----------
- Dict
- The fitting net nodes within the given tf.GraphDef object
- """
- if suffix != "":
- fitting_net_pattern = FITTING_NET_PATTERN\
- .replace('/idt', suffix + '/idt')\
- .replace('/bias', suffix + '/bias')\
- .replace('/matrix', suffix + '/matrix')
- else:
- fitting_net_pattern = FITTING_NET_PATTERN
- fitting_net_nodes = get_pattern_nodes_from_graph_def(graph_def, fitting_net_pattern)
- for key in fitting_net_nodes.keys():
- assert key.find('bias') > 0 or key.find('matrix') > 0 or key.find(
- 'idt') > 0, "currently, only support weight matrix, bias and idt at the model compression process!"
- return fitting_net_nodes
-
-
-def get_fitting_net_nodes(model_file : str) -> Dict:
- """
- Get the fitting net nodes with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
-
- Returns
- ----------
- Dict
- The fitting net nodes with the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_fitting_net_nodes_from_graph_def(graph_def)
-
-
-def get_fitting_net_variables_from_graph_def(graph_def : tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the fitting net variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix
- suffix of the scope
-
- Returns
- ----------
- Dict
- The fitting net variables within the given tf.GraphDef object
- """
- fitting_net_variables = {}
- fitting_net_nodes = get_fitting_net_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in fitting_net_nodes:
- node = fitting_net_nodes[item]
- dtype= tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype = tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- fitting_net_variables[item] = np.reshape(tensor_value, tensor_shape)
- return fitting_net_variables
-
-def get_fitting_net_variables(model_file : str, suffix: str = "") -> Dict:
- """
- Get the fitting net variables with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
- suffix
- suffix of the scope
-
- Returns
- ----------
- Dict
- The fitting net variables within the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
-def get_type_embedding_net_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the type embedding net nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The scope suffix
-
- Returns
- ----------
- Dict
- The type embedding net nodes within the given tf.GraphDef object
- """
- if suffix != "":
- type_embedding_net_pattern = TYPE_EMBEDDING_PATTERN\
- .replace('/idt', suffix + '/idt')\
- .replace('/bias', suffix + '/bias')\
- .replace('/matrix', suffix + '/matrix')
- else:
- type_embedding_net_pattern = TYPE_EMBEDDING_PATTERN
-
- type_embedding_net_nodes = get_pattern_nodes_from_graph_def(graph_def, type_embedding_net_pattern)
- return type_embedding_net_nodes
-
-
-def get_type_embedding_net_variables_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the type embedding net variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def : tf.GraphDef
- The input tf.GraphDef object
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net variables within the given tf.GraphDef object
- """
- type_embedding_net_variables = {}
- type_embedding_net_nodes = get_type_embedding_net_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in type_embedding_net_nodes:
- node = type_embedding_net_nodes[item]
- dtype = tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype = tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- type_embedding_net_variables[item] = np.reshape(tensor_value, tensor_shape)
- return type_embedding_net_variables
-
-
-def get_attention_layer_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the attention layer nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The scope suffix
-
- Returns
- ----------
- Dict
- The attention layer nodes within the given tf.GraphDef object
- """
- if suffix != "":
- attention_layer_pattern = ATTENTION_LAYER_PATTERN \
- .replace('/c_query', suffix + '/c_query') \
- .replace('/c_key', suffix + '/c_key') \
- .replace('/c_value', suffix + '/c_value') \
- .replace('/c_out', suffix + '/c_out') \
- .replace('/layer_normalization', suffix + '/layer_normalization')
- else:
- attention_layer_pattern = ATTENTION_LAYER_PATTERN
-
- attention_layer_nodes = get_pattern_nodes_from_graph_def(graph_def, attention_layer_pattern)
- return attention_layer_nodes
-
-
-def get_attention_layer_variables_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the attention layer variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def : tf.GraphDef
- The input tf.GraphDef object
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The attention layer variables within the given tf.GraphDef object
- """
- attention_layer_variables = {}
- attention_layer_net_nodes = get_attention_layer_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in attention_layer_net_nodes:
- node = attention_layer_net_nodes[item]
- dtype = tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype=tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- attention_layer_variables[item] = np.reshape(tensor_value, tensor_shape)
- return attention_layer_variables
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/learning_rate.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/learning_rate.py
deleted file mode 100644
index 685eb444f2ab1c8ba59a5abee56b7bfc37b6aaa9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/learning_rate.py
+++ /dev/null
@@ -1,100 +0,0 @@
-import numpy as np
-from deepmd.env import tf
-from deepmd.common import ClassArg
-
-class LearningRateExp (object) :
- r"""
- The exponentially decaying learning rate.
-
- The learning rate at step :math:`t` is given by
-
- .. math::
-
- \alpha(t) = \alpha_0 \lambda ^ { t / \tau }
-
- where :math:`\alpha` is the learning rate, :math:`\alpha_0` is the starting learning rate,
- :math:`\lambda` is the decay rate, and :math:`\tau` is the decay steps.
-
- Parameters
- ----------
- start_lr
- Starting learning rate :math:`\alpha_0`
- stop_lr
- Stop learning rate :math:`\alpha_1`
- decay_steps
- Learning rate decay every this number of steps :math:`\tau`
- decay_rate
- The decay rate :math:`\lambda`.
- If `stop_step` is provided in `build`, then it will be determined automatically and overwritten.
- """
- def __init__ (self,
- start_lr : float,
- stop_lr : float = 5e-8,
- decay_steps : int = 5000,
- decay_rate : float = 0.95
- ) -> None :
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('decay_steps', int, must = False)\
- # .add('decay_rate', float, must = False)\
- # .add('start_lr', float, must = True)\
- # .add('stop_lr', float, must = False)
- # self.cd = args.parse(jdata)
- self.cd = {}
- self.cd['start_lr'] = start_lr
- self.cd['stop_lr'] = stop_lr
- self.cd['decay_steps'] = decay_steps
- self.cd['decay_rate'] = decay_rate
- self.start_lr_ = self.cd['start_lr']
-
- def build(self,
- global_step : tf.Tensor,
- stop_step : int = None
- ) -> tf.Tensor :
- """
- Build the learning rate
-
- Parameters
- ----------
- global_step
- The tf Tensor prividing the global training step
- stop_step
- The stop step. If provided, the decay_rate will be determined automatically and overwritten.
-
- Returns
- -------
- learning_rate
- The learning rate
- """
- if stop_step is None:
- self.decay_steps_ = self.cd['decay_steps'] if self.cd['decay_steps'] is not None else 5000
- self.decay_rate_ = self.cd['decay_rate'] if self.cd['decay_rate'] is not None else 0.95
- else:
- self.stop_lr_ = self.cd['stop_lr'] if self.cd['stop_lr'] is not None else 5e-8
- default_ds = 100 if stop_step // 10 > 100 else stop_step // 100 + 1
- self.decay_steps_ = self.cd['decay_steps'] if self.cd['decay_steps'] is not None else default_ds
- if self.decay_steps_ >= stop_step:
- self.decay_steps_ = default_ds
- self.decay_rate_ = np.exp(np.log(self.stop_lr_ / self.start_lr_) / (stop_step / self.decay_steps_))
-
- return tf.train.exponential_decay(self.start_lr_,
- global_step,
- self.decay_steps_,
- self.decay_rate_,
- staircase=True)
- def start_lr(self) -> float:
- """
- Get the start lr
- """
- return self.start_lr_
-
- def value (self,
- step : int
- ) -> float:
- """
- Get the lr at a certain step
- """
- return self.start_lr_ * np.power (self.decay_rate_, (step // self.decay_steps_))
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/neighbor_stat.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/neighbor_stat.py
deleted file mode 100644
index 79a988e8db3eca65d32669d0886f6209b1d1e7ef..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/neighbor_stat.py
+++ /dev/null
@@ -1,127 +0,0 @@
-import math
-import logging
-import numpy as np
-from deepmd.env import tf
-from typing import Tuple, List
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.utils.data_system import DeepmdDataSystem
-from deepmd.utils.parallel_op import ParallelOp
-
-log = logging.getLogger(__name__)
-
-class NeighborStat():
- """
- Class for getting training data information.
-
- It loads data from DeepmdData object, and measures the data info, including neareest nbor distance between atoms, max nbor size of atoms and the output data range of the environment matrix.
-
- Parameters
- ----------
- ntypes
- The num of atom types
- rcut
- The cut-off radius
- one_type : bool, optional, default=False
- Treat all types as a single type.
- """
- def __init__(self,
- ntypes : int,
- rcut: float,
- one_type : bool = False,
- ) -> None:
- """
- Constructor
- """
- self.rcut = rcut
- self.ntypes = ntypes
- self.one_type = one_type
- sub_graph = tf.Graph()
-
- def builder():
- place_holders = {}
- for ii in ['coord', 'box']:
- place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name='t_'+ii)
- place_holders['type'] = tf.placeholder(tf.int32, [None, None], name='t_type')
- place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name='t_natoms')
- place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name='t_mesh')
- t_type = place_holders['type']
- t_natoms = place_holders['natoms_vec']
- if self.one_type:
- # all types = 0, natoms_vec = [natoms, natoms, natoms]
- t_type = tf.zeros_like(t_type, dtype=tf.int32)
- t_natoms = tf.repeat(t_natoms[0], 3)
-
- _max_nbor_size, _min_nbor_dist \
- = op_module.neighbor_stat(place_holders['coord'],
- t_type,
- t_natoms,
- place_holders['box'],
- place_holders['default_mesh'],
- rcut = self.rcut)
- place_holders['dir'] = tf.placeholder(tf.string)
- return place_holders, (_max_nbor_size, _min_nbor_dist, place_holders['dir'])
-
- with sub_graph.as_default():
- self.p = ParallelOp(builder, config=default_tf_session_config)
-
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
- def get_stat(self,
- data : DeepmdDataSystem) -> Tuple[float, List[int]]:
- """
- get the data statistics of the training data, including nearest nbor distance between atoms, max nbor size of atoms
-
- Parameters
- ----------
- data
- Class for manipulating many data systems. It is implemented with the help of DeepmdData.
-
- Returns
- -------
- min_nbor_dist
- The nearest distance between neighbor atoms
- max_nbor_size
- A list with ntypes integers, denotes the actual achieved max sel
- """
- self.min_nbor_dist = 100.0
- self.max_nbor_size = [0]
- if not self.one_type:
- self.max_nbor_size *= self.ntypes
-
- def feed():
- for ii in range(len(data.system_dirs)):
- for jj in data.data_systems[ii].dirs:
- data_set = data.data_systems[ii]._load_set(jj)
- for kk in range(np.array(data_set['type']).shape[0]):
- yield {
- 'coord': np.array(data_set['coord'])[kk].reshape([-1, data.natoms[ii] * 3]),
- 'type': np.array(data_set['type'])[kk].reshape([-1, data.natoms[ii]]),
- 'natoms_vec': np.array(data.natoms_vec[ii]),
- 'box': np.array(data_set['box'])[kk].reshape([-1, 9]),
- 'default_mesh': np.array(data.default_mesh[ii]),
- 'dir': str(jj),
- }
-
- for mn, dt, jj in self.p.generate(self.sub_sess, feed()):
- if dt.size != 0:
- dt = np.min(dt)
- else:
- dt = self.rcut
- log.warning("Atoms with no neighbors found in %s. Please make sure it's what you expected." % jj)
- if dt < self.min_nbor_dist:
- if math.isclose(dt, 0., rel_tol=1e-6):
- # it's unexpected that the distance between two atoms is zero
- # zero distance will cause nan (#874)
- raise RuntimeError(
- "Some atoms are overlapping in %s. Please check your"
- " training data to remove duplicated atoms." % jj
- )
- self.min_nbor_dist = dt
- var = np.max(mn, axis=0)
- self.max_nbor_size = np.maximum(var, self.max_nbor_size)
-
- log.info('training data with min nbor dist: ' + str(self.min_nbor_dist))
- log.info('training data with max nbor size: ' + str(self.max_nbor_size))
- return self.min_nbor_dist, self.max_nbor_size
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/network.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/network.py
deleted file mode 100644
index aa3dabb225643c657ccf1a6f8946603c9a88d08a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/network.py
+++ /dev/null
@@ -1,265 +0,0 @@
-import numpy as np
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.common import get_precision
-
-def one_layer_rand_seed_shift():
- return 3
-
-def one_layer(inputs,
- outputs_size,
- activation_fn=tf.nn.tanh,
- precision = GLOBAL_TF_FLOAT_PRECISION,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- scope='',
- reuse=None,
- seed=None,
- use_timestep = False,
- trainable = True,
- useBN = False,
- uniform_seed = False,
- initial_variables = None,
- mixed_prec = None,
- final_layer = False):
- # For good accuracy, the last layer of the fitting network uses a higher precision neuron network.
- if mixed_prec is not None and final_layer:
- inputs = tf.cast(inputs, get_precision(mixed_prec['output_prec']))
- with tf.variable_scope(name, reuse=reuse):
- shape = inputs.get_shape().as_list()
- w_initializer = tf.random_normal_initializer(
- stddev=stddev / np.sqrt(shape[1] + outputs_size),
- seed=seed if (seed is None or uniform_seed) else seed + 0)
- b_initializer = tf.random_normal_initializer(
- stddev=stddev,
- mean=bavg,
- seed=seed if (seed is None or uniform_seed) else seed + 1)
- if initial_variables is not None:
- w_initializer = tf.constant_initializer(initial_variables[scope + name + '/matrix'])
- b_initializer = tf.constant_initializer(initial_variables[scope + name + '/bias'])
- w = tf.get_variable('matrix',
- [shape[1], outputs_size],
- precision,
- w_initializer,
- trainable = trainable)
- variable_summaries(w, 'matrix')
- b = tf.get_variable('bias',
- [outputs_size],
- precision,
- b_initializer,
- trainable = trainable)
- variable_summaries(b, 'bias')
-
- if mixed_prec is not None and not final_layer:
- inputs = tf.cast(inputs, get_precision(mixed_prec['compute_prec']))
- w = tf.cast(w, get_precision(mixed_prec['compute_prec']))
- b = tf.cast(b, get_precision(mixed_prec['compute_prec']))
-
- hidden = tf.nn.bias_add(tf.matmul(inputs, w), b)
- if activation_fn != None and use_timestep :
- idt_initializer = tf.random_normal_initializer(
- stddev=0.001,
- mean=0.1,
- seed=seed if (seed is None or uniform_seed) else seed + 2)
- if initial_variables is not None:
- idt_initializer = tf.constant_initializer(initial_variables[scope + name + '/idt'])
- idt = tf.get_variable('idt',
- [outputs_size],
- precision,
- idt_initializer,
- trainable = trainable)
- variable_summaries(idt, 'idt')
- if activation_fn != None:
- if useBN:
- None
- # hidden_bn = self._batch_norm(hidden, name=name+'_normalization', reuse=reuse)
- # return activation_fn(hidden_bn)
- else:
- if use_timestep :
- if mixed_prec is not None and not final_layer:
- idt = tf.cast(idt, get_precision(mixed_prec['compute_prec']))
- hidden = tf.reshape(activation_fn(hidden), [-1, outputs_size]) * idt
- else :
- hidden = tf.reshape(activation_fn(hidden), [-1, outputs_size])
-
- if mixed_prec is not None:
- hidden = tf.cast(hidden, get_precision(mixed_prec['output_prec']))
- return hidden
-
-
-def embedding_net_rand_seed_shift(
- network_size
-):
- shift = 3 * (len(network_size) + 1)
- return shift
-
-def embedding_net(xx,
- network_size,
- precision,
- activation_fn = tf.nn.tanh,
- resnet_dt = False,
- name_suffix = '',
- stddev = 1.0,
- bavg = 0.0,
- seed = None,
- trainable = True,
- uniform_seed = False,
- initial_variables = None,
- mixed_prec = None):
- r"""The embedding network.
-
- The embedding network function :math:`\mathcal{N}` is constructed by is the
- composition of multiple layers :math:`\mathcal{L}^{(i)}`:
-
- .. math::
- \mathcal{N} = \mathcal{L}^{(n)} \circ \mathcal{L}^{(n-1)}
- \circ \cdots \circ \mathcal{L}^{(1)}
-
- A layer :math:`\mathcal{L}` is given by one of the following forms,
- depending on the number of nodes: [1]_
-
- .. math::
- \mathbf{y}=\mathcal{L}(\mathbf{x};\mathbf{w},\mathbf{b})=
- \begin{cases}
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b}) + \mathbf{x}, & N_2=N_1 \\
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b}) + (\mathbf{x}, \mathbf{x}), & N_2 = 2N_1\\
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b}), & \text{otherwise} \\
- \end{cases}
-
- where :math:`\mathbf{x} \in \mathbb{R}^{N_1}`$` is the input vector and :math:`\mathbf{y} \in \mathbb{R}^{N_2}`
- is the output vector. :math:`\mathbf{w} \in \mathbb{R}^{N_1 \times N_2}` and
- :math:`\mathbf{b} \in \mathbb{R}^{N_2}`$` are weights and biases, respectively,
- both of which are trainable if `trainable` is `True`. :math:`\boldsymbol{\phi}`
- is the activation function.
-
- Parameters
- ----------
- xx : Tensor
- Input tensor :math:`\mathbf{x}` of shape [-1,1]
- network_size: list of int
- Size of the embedding network. For example [16,32,64]
- precision:
- Precision of network weights. For example, tf.float64
- activation_fn:
- Activation function :math:`\boldsymbol{\phi}`
- resnet_dt: boolean
- Using time-step in the ResNet construction
- name_suffix: str
- The name suffix append to each variable.
- stddev: float
- Standard deviation of initializing network parameters
- bavg: float
- Mean of network intial bias
- seed: int
- Random seed for initializing network parameters
- trainable: boolean
- If the network is trainable
- uniform_seed : boolean
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- initial_variables : dict
- The input dict which stores the embedding net variables
- mixed_prec
- The input dict which stores the mixed precision setting for the embedding net
-
-
- References
- ----------
- .. [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identitymappings
- in deep residual networks. InComputer Vision – ECCV 2016,pages 630–645. Springer
- International Publishing, 2016.
- """
- input_shape = xx.get_shape().as_list()
- outputs_size = [input_shape[1]] + network_size
-
- for ii in range(1, len(outputs_size)):
- w_initializer = tf.random_normal_initializer(
- stddev=stddev/np.sqrt(outputs_size[ii]+outputs_size[ii-1]),
- seed = seed if (seed is None or uniform_seed) else seed + ii*3+0
- )
- b_initializer = tf.random_normal_initializer(
- stddev=stddev,
- mean = bavg,
- seed = seed if (seed is None or uniform_seed) else seed + 3*ii+1
- )
- if initial_variables is not None:
- scope = tf.get_variable_scope().name
- w_initializer = tf.constant_initializer(initial_variables[scope+'/matrix_'+str(ii)+name_suffix])
- b_initializer = tf.constant_initializer(initial_variables[scope+'/bias_'+str(ii)+name_suffix])
- w = tf.get_variable('matrix_'+str(ii)+name_suffix,
- [outputs_size[ii - 1], outputs_size[ii]],
- precision,
- w_initializer,
- trainable = trainable)
- variable_summaries(w, 'matrix_'+str(ii)+name_suffix)
-
- b = tf.get_variable('bias_'+str(ii)+name_suffix,
- [outputs_size[ii]],
- precision,
- b_initializer,
- trainable = trainable)
- variable_summaries(b, 'bias_'+str(ii)+name_suffix)
-
- if mixed_prec is not None:
- xx = tf.cast(xx, get_precision(mixed_prec['compute_prec']))
- w = tf.cast(w, get_precision(mixed_prec['compute_prec']))
- b = tf.cast(b, get_precision(mixed_prec['compute_prec']))
- if activation_fn is not None:
- hidden = tf.reshape(activation_fn(tf.nn.bias_add(tf.matmul(xx, w), b)), [-1, outputs_size[ii]])
- else:
- hidden = tf.reshape(tf.nn.bias_add(tf.matmul(xx, w), b), [-1, outputs_size[ii]])
- if resnet_dt :
- idt_initializer = tf.random_normal_initializer(
- stddev=0.001,
- mean = 1.0,
- seed = seed if (seed is None or uniform_seed) else seed + 3*ii+2
- )
- if initial_variables is not None:
- scope = tf.get_variable_scope().name
- idt_initializer = tf.constant_initializer(initial_variables[scope+'/idt_'+str(ii)+name_suffix])
- idt = tf.get_variable('idt_'+str(ii)+name_suffix,
- [1, outputs_size[ii]],
- precision,
- idt_initializer,
- trainable = trainable)
- variable_summaries(idt, 'idt_'+str(ii)+name_suffix)
- if mixed_prec is not None:
- idt = tf.cast(idt, get_precision(mixed_prec['compute_prec']))
-
- if outputs_size[ii] == outputs_size[ii-1]:
- if resnet_dt :
- xx += hidden * idt
- else :
- xx += hidden
- elif outputs_size[ii] == outputs_size[ii-1] * 2:
- if resnet_dt :
- xx = tf.concat([xx,xx], 1) + hidden * idt
- else :
- xx = tf.concat([xx,xx], 1) + hidden
- else:
- xx = hidden
- if mixed_prec is not None:
- xx = tf.cast(xx, get_precision(mixed_prec['output_prec']))
- return xx
-
-def variable_summaries(var: tf.Variable, name: str):
- """Attach a lot of summaries to a Tensor (for TensorBoard visualization).
-
- Parameters
- ----------
- var : tf.Variable
- [description]
- name : str
- variable name
- """
- with tf.name_scope(name):
- mean = tf.reduce_mean(var)
- tf.summary.scalar('mean', mean)
-
- with tf.name_scope('stddev'):
- stddev = tf.sqrt(tf.reduce_mean(tf.square(var - mean)))
- tf.summary.scalar('stddev', stddev)
- tf.summary.scalar('max', tf.reduce_max(var))
- tf.summary.scalar('min', tf.reduce_min(var))
- tf.summary.histogram('histogram', var)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/pair_tab.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/pair_tab.py
deleted file mode 100644
index d9919bd369391fb36428a4df20aad2442760655c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/pair_tab.py
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/usr/bin/env python3
-
-import numpy as np
-from typing import Tuple, List
-
-from scipy.interpolate import CubicSpline
-
-class PairTab (object):
- """
-
- Parameters
- ----------
- filename
- File name for the short-range tabulated potential.
- The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes.
- The first colume is the distance between atoms.
- The second to the last columes are energies for pairs of certain types.
- For example we have two atom types, 0 and 1.
- The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.
- """
- def __init__(self,
- filename : str
- ) -> None:
- """
- Constructor
- """
- self.reinit(filename)
-
- def reinit(self,
- filename : str
- ) -> None:
- """
- Initialize the tabulated interaction
-
- Parameters
- ----------
- filename
- File name for the short-range tabulated potential.
- The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes.
- The first colume is the distance between atoms.
- The second to the last columes are energies for pairs of certain types.
- For example we have two atom types, 0 and 1.
- The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.
- """
- self.vdata = np.loadtxt(filename)
- self.rmin = self.vdata[0][0]
- self.hh = self.vdata[1][0] - self.vdata[0][0]
- self.nspline = self.vdata.shape[0] - 1
- ncol = self.vdata.shape[1] - 1
- n0 = (-1 + np.sqrt(1 + 8 * ncol)) * 0.5
- self.ntypes = int(n0 + 0.1)
- assert(self.ntypes * (self.ntypes+1) // 2 == ncol),\
- "number of volumes provided in %s does not match guessed number of types %d" % (filename, self.ntypes)
- self.tab_info = np.array([self.rmin, self.hh, self.nspline, self.ntypes])
- self.tab_data = self._make_data()
-
- def get(self) -> Tuple[np.array, np.array]:
- """
- Get the serialized table.
- """
- return self.tab_info, self.tab_data
-
- def _make_data(self) :
- data = np.zeros([self.ntypes * self.ntypes * 4 * self.nspline])
- stride = 4 * self.nspline
- idx_iter = 0
- xx = self.vdata[:,0]
- for t0 in range(self.ntypes) :
- for t1 in range(t0, self.ntypes) :
- vv = self.vdata[:,1+idx_iter]
- cs = CubicSpline(xx, vv)
- dd = cs(xx, 1)
- dd *= self.hh
- dtmp = np.zeros(stride)
- for ii in range(self.nspline) :
- dtmp[ii*4+0] = 2 * vv[ii] - 2 * vv[ii+1] + dd[ii] + dd[ii+1]
- dtmp[ii*4+1] =-3 * vv[ii] + 3 * vv[ii+1] - 2 * dd[ii] - dd[ii+1]
- dtmp[ii*4+2] = dd[ii]
- dtmp[ii*4+3] = vv[ii]
- data[(t0 * self.ntypes + t1) * stride : (t0 * self.ntypes + t1) * stride + stride] \
- = dtmp
- data[(t1 * self.ntypes + t0) * stride : (t1 * self.ntypes + t0) * stride + stride] \
- = dtmp
- idx_iter += 1
- return data
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/parallel_op.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/parallel_op.py
deleted file mode 100644
index 675272417a9d4a58c719b2dafde6644595f130e5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/parallel_op.py
+++ /dev/null
@@ -1,80 +0,0 @@
-from typing import Callable, Generator, Tuple, Dict, Any
-
-from deepmd.env import tf
-from deepmd.utils.sess import run_sess
-
-
-class ParallelOp:
- """Run an op with data parallelism.
-
- Parameters
- ----------
- builder : Callable[..., Tuple[Dict[str, tf.Tensor], Tuple[tf.Tensor]]]
- returns two objects: a dict which stores placeholders by key, and a tuple with the final op(s)
- nthreads : int, optional
- the number of threads
- config : tf.ConfigProto, optional
- tf.ConfigProto
-
- Examples
- --------
- >>> from deepmd.env import tf
- >>> from deepmd.utils.parallel_op import ParallelOp
- >>> def builder():
- ... x = tf.placeholder(tf.int32, [1])
- ... return {"x": x}, (x + 1)
- ...
- >>> p = ParallelOp(builder, nthreads=4)
- >>> def feed():
- ... for ii in range(10):
- ... yield {"x": [ii]}
- ...
- >>> print(*p.generate(tf.Session(), feed()))
- [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
- """
- def __init__(self, builder: Callable[..., Tuple[Dict[str, tf.Tensor], Tuple[tf.Tensor]]], nthreads: int = None, config: tf.ConfigProto = None) -> None:
- if nthreads is not None:
- self.nthreads = nthreads
- elif config is not None:
- self.nthreads = max(config.inter_op_parallelism_threads, 1)
- else:
- self.nthreads = 1
-
- self.placeholders = []
- self.ops = []
- for ii in range(self.nthreads):
- with tf.name_scope("task_%d" % ii) as scope:
- placeholder, op = builder()
- self.placeholders.append(placeholder)
- self.ops.append(op)
-
- def generate(self, sess: tf.Session, feed: Generator[Dict[str, Any], None, None]) -> Generator[Tuple, None, None]:
- """Returns a generator.
-
- Parameters
- ----------
- feed : Generator[dict, None, None]
- generator which yields feed_dict
-
- Yields
- ------
- Generator[Tuple, None, None]
- generator which yields session returns
- """
- nn = self.nthreads
- while True:
- feed_dict = {}
- for ii in range(self.nthreads):
- try:
- fd = next(feed)
- except StopIteration:
- if ii == 0:
- return
- nn = ii
- break
- for kk, vv in fd.items():
- feed_dict[self.placeholders[ii][kk]] = vv
- ops = self.ops[:nn]
- for yy in run_sess(sess, ops, feed_dict=feed_dict):
- yield yy
-
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/path.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/path.py
deleted file mode 100644
index 30f3e9b7247a731697e58d8274e2f52a2da4b177..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/path.py
+++ /dev/null
@@ -1,338 +0,0 @@
-import os
-from abc import ABC, abstractmethod
-from typing import List
-from pathlib import Path
-from functools import lru_cache
-
-import numpy as np
-import h5py
-from wcmatch.glob import globfilter
-
-class DPPath(ABC):
- """The path class to data system (DeepmdData).
-
- Parameters
- ----------
- path : str
- path
- """
- def __new__(cls, path: str):
- if cls is DPPath:
- if os.path.isdir(path):
- return super().__new__(DPOSPath)
- elif os.path.isfile(path.split("#")[0]):
- # assume h5 if it is not dir
- # TODO: check if it is a real h5? or just check suffix?
- return super().__new__(DPH5Path)
- raise FileNotFoundError("%s not found" % path)
- return super().__new__(cls)
-
- @abstractmethod
- def load_numpy(self) -> np.ndarray:
- """Load NumPy array.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
-
- @abstractmethod
- def load_txt(self, **kwargs) -> np.ndarray:
- """Load NumPy array from text.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
-
- @abstractmethod
- def glob(self, pattern: str) -> List["DPPath"]:
- """Search path using the glob pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
-
- @abstractmethod
- def rglob(self, pattern: str) -> List["DPPath"]:
- """This is like calling :meth:`DPPath.glob()` with `**/` added in front
- of the given relative pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
-
- @abstractmethod
- def is_file(self) -> bool:
- """Check if self is file."""
-
- @abstractmethod
- def is_dir(self) -> bool:
- """Check if self is directory."""
-
- @abstractmethod
- def __truediv__(self, key: str) -> "DPPath":
- """Used for / operator."""
-
- @abstractmethod
- def __lt__(self, other: "DPPath") -> bool:
- """whether this DPPath is less than other for sorting"""
-
- @abstractmethod
- def __str__(self) -> str:
- """Represent string"""
-
- def __repr__(self) -> str:
- return "%s (%s)" % (type(self), str(self))
-
- def __eq__(self, other) -> bool:
- return str(self) == str(other)
-
- def __hash__(self):
- return hash(str(self))
-
-
-class DPOSPath(DPPath):
- """The OS path class to data system (DeepmdData) for real directories.
-
- Parameters
- ----------
- path : str
- path
- """
- def __init__(self, path: str) -> None:
- super().__init__()
- if isinstance(path, Path):
- self.path = path
- else:
- self.path = Path(path)
-
- def load_numpy(self) -> np.ndarray:
- """Load NumPy array.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- return np.load(str(self.path))
-
- def load_txt(self, **kwargs) -> np.ndarray:
- """Load NumPy array from text.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- return np.loadtxt(str(self.path), **kwargs)
-
- def glob(self, pattern: str) -> List["DPPath"]:
- """Search path using the glob pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- # currently DPOSPath will only derivative DPOSPath
- # TODO: discuss if we want to mix DPOSPath and DPH5Path?
- return list([type(self)(p) for p in self.path.glob(pattern)])
-
- def rglob(self, pattern: str) -> List["DPPath"]:
- """This is like calling :meth:`DPPath.glob()` with `**/` added in front
- of the given relative pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- return list([type(self)(p) for p in self.path.rglob(pattern)])
-
- def is_file(self) -> bool:
- """Check if self is file."""
- return self.path.is_file()
-
- def is_dir(self) -> bool:
- """Check if self is directory."""
- return self.path.is_dir()
-
- def __truediv__(self, key: str) -> "DPPath":
- """Used for / operator."""
- return type(self)(self.path / key)
-
- def __lt__(self, other: "DPOSPath") -> bool:
- """whether this DPPath is less than other for sorting"""
- return self.path < other.path
-
- def __str__(self) -> str:
- """Represent string"""
- return str(self.path)
-
-
-class DPH5Path(DPPath):
- """The path class to data system (DeepmdData) for HDF5 files.
-
- Notes
- -----
- OS - HDF5 relationship:
- directory - Group
- file - Dataset
-
- Parameters
- ----------
- path : str
- path
- """
- def __init__(self, path: str) -> None:
- super().__init__()
- # we use "#" to split path
- # so we do not support file names containing #...
- s = path.split("#")
- self.root_path = s[0]
- self.root = self._load_h5py(s[0])
- # h5 path: default is the root path
- self.name = s[1] if len(s) > 1 else "/"
-
- @classmethod
- @lru_cache(None)
- def _load_h5py(cls, path: str) -> h5py.File:
- """Load hdf5 file.
-
- Parameters
- ----------
- path : str
- path to hdf5 file
- """
- # this method has cache to avoid duplicated
- # loading from different DPH5Path
- # However the file will be never closed?
- return h5py.File(path, 'r')
-
- def load_numpy(self) -> np.ndarray:
- """Load NumPy array.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- return self.root[self.name][:]
-
- def load_txt(self, dtype: np.dtype = None, **kwargs) -> np.ndarray:
- """Load NumPy array from text.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- arr = self.load_numpy()
- if dtype:
- arr = arr.astype(dtype)
- return arr
-
- def glob(self, pattern: str) -> List["DPPath"]:
- """Search path using the glob pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- # got paths starts with current path first, which is faster
- subpaths = [ii for ii in self._keys if ii.startswith(self.name)]
- return list([type(self)("%s#%s"%(self.root_path, pp)) for pp in globfilter(subpaths, self._connect_path(pattern))])
-
- def rglob(self, pattern: str) -> List["DPPath"]:
- """This is like calling :meth:`DPPath.glob()` with `**/` added in front
- of the given relative pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- return self.glob("**" + pattern)
-
- @property
- def _keys(self) -> List[str]:
- """Walk all groups and dataset"""
- return self._file_keys(self.root)
-
- @classmethod
- @lru_cache(None)
- def _file_keys(cls, file: h5py.File) -> List[str]:
- """Walk all groups and dataset"""
- l = []
- file.visit(lambda x: l.append("/" + x))
- return l
-
- def is_file(self) -> bool:
- """Check if self is file."""
- if self.name not in self._keys:
- return False
- return isinstance(self.root[self.name], h5py.Dataset)
-
- def is_dir(self) -> bool:
- """Check if self is directory."""
- if self.name not in self._keys:
- return False
- return isinstance(self.root[self.name], h5py.Group)
-
- def __truediv__(self, key: str) -> "DPPath":
- """Used for / operator."""
- return type(self)("%s#%s" % (self.root_path, self._connect_path(key)))
-
- def _connect_path(self, path: str) -> str:
- """Connect self with path"""
- if self.name.endswith("/"):
- return "%s%s" % (self.name, path)
- return "%s/%s" % (self.name, path)
-
- def __lt__(self, other: "DPH5Path") -> bool:
- """whether this DPPath is less than other for sorting"""
- if self.root_path == other.root_path:
- return self.name < other.name
- return self.root_path < other.root_path
-
- def __str__(self) -> str:
- """returns path of self"""
- return "%s#%s" % (self.root_path, self.name)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/plugin.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/plugin.py
deleted file mode 100644
index a0799f8eae78f35386e4bb3bc1cd3c20f20b8dff..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/plugin.py
+++ /dev/null
@@ -1,84 +0,0 @@
-
-"""Base of plugin systems."""
-# copied from https://github.com/deepmodeling/dpdata/blob/a3e76d75de53f6076254de82d18605a010dc3b00/dpdata/plugin.py
-
-from abc import ABCMeta
-from typing import Callable
-
-
-class Plugin:
- """A class to register and restore plugins.
-
- Attributes
- ----------
- plugins : Dict[str, object]
- plugins
-
- Examples
- --------
- >>> plugin = Plugin()
- >>> @plugin.register("xx")
- def xxx():
- pass
- >>> print(plugin.plugins['xx'])
- """
- def __init__(self):
- self.plugins = {}
-
- def __add__(self, other) -> "Plugin":
- self.plugins.update(other.plugins)
- return self
-
- def register(self, key : str) -> Callable[[object], object]:
- """Register a plugin.
-
- Parameters
- ----------
- key : str
- key of the plugin
-
- Returns
- -------
- Callable[[object], object]
- decorator
- """
- def decorator(object : object) -> object:
- self.plugins[key] = object
- return object
- return decorator
-
- def get_plugin(self, key) -> object:
- """Visit a plugin by key.
-
- Parameters
- ----------
- key : str
- key of the plugin
-
- Returns
- -------
- object
- the plugin
- """
- return self.plugins[key]
-
-class VariantMeta:
- def __call__(cls, *args, **kwargs):
- """Remove `type` and keys that starts with underline."""
- obj = cls.__new__(cls, *args, **kwargs)
- kwargs.pop('type', None)
- to_pop = []
- for kk in kwargs:
- if kk[0] == '_':
- to_pop.append(kk)
- for kk in to_pop:
- kwargs.pop(kk, None)
- obj.__init__(*args, **kwargs)
- return obj
-
-class VariantABCMeta(VariantMeta, ABCMeta):
- pass
-
-class PluginVariant(metaclass=VariantABCMeta):
- """A class to remove `type` from input arguments."""
- pass
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/random.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/random.py
deleted file mode 100644
index 565f28c74124ba35d6b71a4ed4da5544c5fd9b16..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/random.py
+++ /dev/null
@@ -1,63 +0,0 @@
-import numpy as np
-
-
-_RANDOM_GENERATOR = np.random.RandomState()
-
-
-def choice(a: np.ndarray, p: np.ndarray = None):
- """Generates a random sample from a given 1-D array.
-
- Parameters
- ----------
- a : np.ndarray
- A random sample is generated from its elements.
- p : np.ndarray
- The probabilities associated with each entry in a.
-
- Returns
- -------
- np.ndarray
- arrays with results and their shapes
- """
- return _RANDOM_GENERATOR.choice(a, p=p)
-
-
-def random(size=None):
- """Return random floats in the half-open interval [0.0, 1.0).
-
- Parameters
- ----------
- size
- Output shape.
-
- Returns
- -------
- np.ndarray
- Arrays with results and their shapes.
- """
- return _RANDOM_GENERATOR.random_sample(size)
-
-
-def seed(val: int = None):
- """Seed the generator.
-
- Parameters
- ----------
- val : int
- Seed.
- """
- _RANDOM_GENERATOR.seed(val)
-
-
-def shuffle(x: np.ndarray):
- """Modify a sequence in-place by shuffling its contents.
-
- Parameters
- ----------
- x : np.ndarray
- The array or list to be shuffled.
- """
- _RANDOM_GENERATOR.shuffle(x)
-
-
-__all__ = ['choice', 'random', 'seed', 'shuffle']
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/sess.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/sess.py
deleted file mode 100644
index 829ba741e70d5b72319fed201d6eccdeb06f0c79..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/sess.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import os
-
-from deepmd.env import tf
-from deepmd.utils.errors import OutOfMemoryError
-
-
-def run_sess(sess: tf.Session, *args, **kwargs):
- """Run session with erorrs caught.
-
- Parameters
- ----------
- sess: tf.Session
- TensorFlow Session
-
- Returns
- -------
- the result of sess.run()
- """
- try:
- # https://www.tensorflow.org/api_docs/python/tf/compat/v1/Session#run
- return sess.run(*args, **kwargs)
- except tf.errors.ResourceExhaustedError as e:
- MESSAGE = (
- "Your memory may be not enough, thus an error has been raised "
- "above. You need to take the following actions:\n"
- "1. Check if the network size of the model is too large.\n"
- "2. Check if the batch size of training or testing is too large."
- " You can set the training batch size to `auto`.\n"
- "3. Check if the number of atoms is too large.\n"
- )
- if tf.test.is_built_with_cuda():
- MESSAGE += (
- "4. Check if another program is using the same GPU by "
- "execuating `nvidia-smi`. The usage of GPUs is "
- "controlled by `CUDA_VISIBLE_DEVICES` environment "
- "variable (current value: %s).\n" % (
- os.getenv("CUDA_VISIBLE_DEVICES", None),
- ))
- raise OutOfMemoryError(MESSAGE) from e
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/tabulate.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/tabulate.py
deleted file mode 100644
index 8c9159efd8fbdc5d86e3c80db9929b6b48ee8c65..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/tabulate.py
+++ /dev/null
@@ -1,496 +0,0 @@
-import logging
-import numpy as np
-import deepmd
-from typing import Callable
-from typing import Tuple, List, Dict
-from functools import lru_cache
-from scipy.special import comb
-from deepmd.env import tf
-from deepmd.env import op_module
-from deepmd.common import ACTIVATION_FN_DICT
-from deepmd.utils.graph import get_tensor_by_name_from_graph, load_graph_def
-from deepmd.utils.graph import get_embedding_net_nodes_from_graph_def
-from deepmd.descriptor import Descriptor
-
-log = logging.getLogger(__name__)
-
-class DPTabulate():
- """
- Class for tabulation.
-
- Compress a model, which including tabulating the embedding-net.
- The table is composed of fifth-order polynomial coefficients and is assembled from two sub-tables. The first table takes the stride(parameter) as it\'s uniform stride, while the second table takes 10 * stride as it\s uniform stride
- The range of the first table is automatically detected by deepmd-kit, while the second table ranges from the first table\'s upper boundary(upper) to the extrapolate(parameter) * upper.
-
- Parameters
- ----------
- descrpt
- Descriptor of the original model
- neuron
- Number of neurons in each hidden layers of the embedding net :math:`\mathcal{N}`
- model_file
- The frozen model
- type_one_side
- Try to build N_types tables. Otherwise, building N_types^2 tables
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- activation_function
- The activation function in the embedding net. Supported options are {"tanh","gelu"} in common.ACTIVATION_FN_DICT.
- suffix : str, optional
- The suffix of the scope
- """
- def __init__(self,
- descrpt : Descriptor,
- neuron : List[int],
- model_file : str,
- type_one_side : bool = False,
- exclude_types : List[List[int]] = [],
- activation_fn : Callable[[tf.Tensor], tf.Tensor] = tf.nn.tanh,
- suffix : str = "",
- ) -> None:
- """
- Constructor
- """
- self.descrpt = descrpt
- self.neuron = neuron
- self.model_file = model_file
- self.type_one_side = type_one_side
- self.exclude_types = exclude_types
- self.suffix = suffix
-
- # functype
- if activation_fn == ACTIVATION_FN_DICT["tanh"]:
- self.functype = 1
- elif activation_fn == ACTIVATION_FN_DICT["gelu"]:
- self.functype = 2
- elif activation_fn == ACTIVATION_FN_DICT["relu"]:
- self.functype = 3
- elif activation_fn == ACTIVATION_FN_DICT["relu6"]:
- self.functype = 4
- elif activation_fn == ACTIVATION_FN_DICT["softplus"]:
- self.functype = 5
- elif activation_fn == ACTIVATION_FN_DICT["sigmoid"]:
- self.functype = 6
- else:
- raise RuntimeError("Unknown actication function type!")
- self.activation_fn = activation_fn
-
- self.graph, self.graph_def = load_graph_def(self.model_file)
- #self.sess = tf.Session(graph = self.graph)
-
- self.sub_graph, self.sub_graph_def = self._load_sub_graph()
- self.sub_sess = tf.Session(graph = self.sub_graph)
-
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- self.sel_a = self.descrpt.sel_r
- self.rcut = self.descrpt.rcut
- self.rcut_smth = self.descrpt.rcut_smth
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- self.sel_a = self.descrpt.sel_a
- self.rcut = self.descrpt.rcut_r
- self.rcut_smth = self.descrpt.rcut_r_smth
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- self.sel_a = self.descrpt.sel_a
- self.rcut = self.descrpt.rcut_r
- self.rcut_smth = self.descrpt.rcut_r_smth
- else:
- raise RuntimeError("Unsupported descriptor")
-
- self.davg = get_tensor_by_name_from_graph(self.graph, f'descrpt_attr{self.suffix}/t_avg')
- self.dstd = get_tensor_by_name_from_graph(self.graph, f'descrpt_attr{self.suffix}/t_std')
- self.ntypes = get_tensor_by_name_from_graph(self.graph, 'descrpt_attr/ntypes')
-
- self.embedding_net_nodes = get_embedding_net_nodes_from_graph_def(self.graph_def, suffix=self.suffix)
-
- # move it to the descriptor class
- # for tt in self.exclude_types:
- # if (tt[0] not in range(self.ntypes)) or (tt[1] not in range(self.ntypes)):
- # raise RuntimeError("exclude types" + str(tt) + " must within the number of atomic types " + str(self.ntypes) + "!")
- # if (self.ntypes * self.ntypes - len(self.exclude_types) == 0):
- # raise RuntimeError("empty embedding-net are not supported in model compression!")
- self.layer_size = self._get_layer_size()
- self.table_size = self._get_table_size()
-
- self.bias = self._get_bias()
- self.matrix = self._get_matrix()
-
- self.data_type = self._get_data_type()
- self.last_layer_size = self._get_last_layer_size()
-
- self.data = {}
-
- self.upper = {}
- self.lower = {}
-
-
- def build(self,
- min_nbor_dist : float,
- extrapolate : float,
- stride0 : float,
- stride1 : float) -> Tuple[Dict[str, int], Dict[str, int]]:
- """
- Build the tables for model compression
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between neighbor atoms
- extrapolate
- The scale of model extrapolation
- stride0
- The uniform stride of the first table
- stride1
- The uniform stride of the second table
- neuron
- Number of neurons in each hidden layers of the embedding net :math:`\mathcal{N}`
-
- Returns
- ----------
- lower : dict[str, int]
- The lower boundary of environment matrix by net
- upper : dict[str, int]
- The upper boundary of environment matrix by net
- """
- # tabulate range [lower, upper] with stride0 'stride0'
- lower, upper = self._get_env_mat_range(min_nbor_dist)
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- for ii in range(self.table_size):
- if (self.type_one_side and not self._all_excluded(ii)) or (not self.type_one_side and (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types):
- if self.type_one_side:
- net = "filter_-1_net_" + str(ii)
- # upper and lower should consider all types which are not excluded and sel>0
- idx = [(type_i, ii) not in self.exclude_types and self.sel_a[type_i] > 0 for type_i in range(self.ntypes)]
- uu = np.max(upper[idx])
- ll = np.min(lower[idx])
- else:
- ielement = ii // self.ntypes
- net = "filter_" + str(ielement) + "_net_" + str(ii % self.ntypes)
- uu = upper[ielement]
- ll = lower[ielement]
- xx = np.arange(ll, uu, stride0, dtype = self.data_type)
- xx = np.append(xx, np.arange(uu, extrapolate * uu, stride1, dtype = self.data_type))
- xx = np.append(xx, np.array([extrapolate * uu], dtype = self.data_type))
- nspline = ((uu - ll) / stride0 + (extrapolate * uu - uu) / stride1).astype(int)
- self._build_lower(net, xx, ii, uu, ll, stride0, stride1, extrapolate, nspline)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- xx_all = []
- for ii in range(self.ntypes):
- xx = np.arange(extrapolate * lower[ii], lower[ii], stride1, dtype = self.data_type)
- xx = np.append(xx, np.arange(lower[ii], upper[ii], stride0, dtype = self.data_type))
- xx = np.append(xx, np.arange(upper[ii], extrapolate * upper[ii], stride1, dtype = self.data_type))
- xx = np.append(xx, np.array([extrapolate * upper[ii]], dtype = self.data_type))
- xx_all.append(xx)
- nspline = ((upper - lower) / stride0 + 2 * ((extrapolate * upper - upper) / stride1)).astype(int)
- idx = 0
- for ii in range(self.ntypes):
- for jj in range(ii, self.ntypes):
- net = "filter_" + str(ii) + "_net_" + str(jj)
- self._build_lower(net, xx_all[ii], idx, upper[ii], lower[ii], stride0, stride1, extrapolate, nspline[ii])
- idx += 1
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- for ii in range(self.table_size):
- if (self.type_one_side and not self._all_excluded(ii)) or (not self.type_one_side and (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types):
- if self.type_one_side:
- net = "filter_-1_net_" + str(ii)
- # upper and lower should consider all types which are not excluded and sel>0
- idx = [(type_i, ii) not in self.exclude_types and self.sel_a[type_i] > 0 for type_i in range(self.ntypes)]
- uu = np.max(upper[idx])
- ll = np.min(lower[idx])
- else:
- ielement = ii // self.ntypes
- net = "filter_" + str(ielement) + "_net_" + str(ii % self.ntypes)
- uu = upper[ielement]
- ll = lower[ielement]
- xx = np.arange(ll, uu, stride0, dtype = self.data_type)
- xx = np.append(xx, np.arange(uu, extrapolate * uu, stride1, dtype = self.data_type))
- xx = np.append(xx, np.array([extrapolate * uu], dtype = self.data_type))
- nspline = ((uu - ll) / stride0 + (extrapolate * uu - uu) / stride1).astype(int)
- self._build_lower(net, xx, ii, uu, ll, stride0, stride1, extrapolate, nspline)
- else:
- raise RuntimeError("Unsupported descriptor")
- self._convert_numpy_to_tensor()
-
- return self.lower, self.upper
-
- def _build_lower(self, net, xx, idx, upper, lower, stride0, stride1, extrapolate, nspline):
- vv, dd, d2 = self._make_data(xx, idx)
- self.data[net] = np.zeros([nspline, 6 * self.last_layer_size], dtype = self.data_type)
-
- # tt.shape: [nspline, self.last_layer_size]
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- tt = np.full((nspline, self.last_layer_size), stride1)
- tt[:int((upper - lower) / stride0), :] = stride0
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- tt = np.full((nspline, self.last_layer_size), stride1)
- tt[int((lower - extrapolate * lower) / stride1) + 1:(int((lower - extrapolate * lower) / stride1) + int((upper - lower) / stride0)), :] = stride0
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- tt = np.full((nspline, self.last_layer_size), stride1)
- tt[:int((upper - lower) / stride0), :] = stride0
- else:
- raise RuntimeError("Unsupported descriptor")
-
- # hh.shape: [nspline, self.last_layer_size]
- hh = vv[1:nspline+1, :self.last_layer_size] - vv[:nspline, :self.last_layer_size]
-
- self.data[net][:, :6 * self.last_layer_size:6] = vv[:nspline, :self.last_layer_size]
- self.data[net][:, 1:6 * self.last_layer_size:6] = dd[:nspline, :self.last_layer_size]
- self.data[net][:, 2:6 * self.last_layer_size:6] = 0.5 * d2[:nspline, :self.last_layer_size]
- self.data[net][:, 3:6 * self.last_layer_size:6] = (1 / (2 * tt * tt * tt)) * (20 * hh - (8 * dd[1:nspline+1, :self.last_layer_size] + 12 * dd[:nspline, :self.last_layer_size]) * tt - (3 * d2[:nspline, :self.last_layer_size] - d2[1:nspline+1, :self.last_layer_size]) * tt * tt)
- self.data[net][:, 4:6 * self.last_layer_size:6] = (1 / (2 * tt * tt * tt * tt)) * (-30 * hh + (14 * dd[1:nspline+1, :self.last_layer_size] + 16 * dd[:nspline, :self.last_layer_size]) * tt + (3 * d2[:nspline, :self.last_layer_size] - 2 * d2[1:nspline+1, :self.last_layer_size]) * tt * tt)
- self.data[net][:, 5:6 * self.last_layer_size:6] = (1 / (2 * tt * tt * tt * tt * tt)) * (12 * hh - 6 * (dd[1:nspline+1, :self.last_layer_size] + dd[:nspline, :self.last_layer_size]) * tt + (d2[1:nspline+1, :self.last_layer_size] - d2[:nspline, :self.last_layer_size]) * tt * tt)
-
- self.upper[net] = upper
- self.lower[net] = lower
-
- def _load_sub_graph(self):
- sub_graph_def = tf.GraphDef()
- with tf.Graph().as_default() as sub_graph:
- tf.import_graph_def(sub_graph_def, name = "")
- return sub_graph, sub_graph_def
-
- def _get_bias(self):
- bias = {}
- for layer in range(1, self.layer_size + 1):
- bias["layer_" + str(layer)] = []
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/bias_{layer}_{ii}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/bias_{layer}_{ii % self.ntypes}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- for ii in range(self.ntypes):
- for jj in range(ii, self.ntypes):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/bias_{layer}_{ii}_{jj}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/bias_{layer}_{ii}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/bias_{layer}_{ii % self.ntypes}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- else:
- raise RuntimeError("Unsupported descriptor")
- return bias
-
- def _get_matrix(self):
- matrix = {}
- for layer in range(1, self.layer_size + 1):
- matrix["layer_" + str(layer)] = []
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/matrix_{layer}_{ii}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/matrix_{layer}_{ii % self.ntypes}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- for ii in range(self.ntypes):
- for jj in range(ii, self.ntypes):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/matrix_{layer}_{ii}_{jj}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/matrix_{layer}_{ii}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/matrix_{layer}_{ii % self.ntypes}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- else:
- raise RuntimeError("Unsupported descriptor")
-
- return matrix
-
- # one-by-one executions
- def _make_data(self, xx, idx):
- with self.sub_graph.as_default():
- with self.sub_sess.as_default():
- xx = tf.reshape(xx, [xx.size, -1])
- for layer in range(self.layer_size):
- if layer == 0:
- xbar = tf.matmul(
- xx, self.matrix["layer_" + str(layer + 1)][idx]) + self.bias["layer_" + str(layer + 1)][idx]
- if self.neuron[0] == 1:
- yy = self._layer_0(
- xx, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx]) + xx
- dy = op_module.unaggregated_dy_dx_s(
- yy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype)) + tf.ones([1, 1], yy.dtype)
- dy2 = op_module.unaggregated_dy2_dx_s(
- yy, dy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- elif self.neuron[0] == 2:
- tt, yy = self._layer_1(
- xx, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx])
- dy = op_module.unaggregated_dy_dx_s(
- yy - tt, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype)) + tf.ones([1, 2], yy.dtype)
- dy2 = op_module.unaggregated_dy2_dx_s(
- yy - tt, dy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- else:
- yy = self._layer_0(
- xx, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx])
- dy = op_module.unaggregated_dy_dx_s(
- yy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- dy2 = op_module.unaggregated_dy2_dx_s(
- yy, dy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- else:
- ybar = tf.matmul(
- yy, self.matrix["layer_" + str(layer + 1)][idx]) + self.bias["layer_" + str(layer + 1)][idx]
- tt, zz = self._layer_1(
- yy, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx])
- dz = op_module.unaggregated_dy_dx(
- zz - tt, self.matrix["layer_" + str(layer + 1)][idx], dy, ybar, tf.constant(self.functype))
- dy2 = op_module.unaggregated_dy2_dx(
- zz - tt, self.matrix["layer_" + str(layer + 1)][idx], dy, dy2, ybar, tf.constant(self.functype))
- dy = dz
- yy = zz
-
- vv = zz.eval()
- dd = dy.eval()
- d2 = dy2.eval()
- return vv, dd, d2
-
- def _layer_0(self, x, w, b):
- return self.activation_fn(tf.matmul(x, w) + b)
-
- def _layer_1(self, x, w, b):
- t = tf.concat([x, x], axis=1)
- return t, self.activation_fn(tf.matmul(x, w) + b) + t
-
- # Change the embedding net range to sw / min_nbor_dist
- def _get_env_mat_range(self,
- min_nbor_dist):
- sw = self._spline5_switch(min_nbor_dist, self.rcut_smth, self.rcut)
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- lower = -self.davg[:, 0] / self.dstd[:, 0]
- upper = ((1 / min_nbor_dist) * sw - self.davg[:, 0]) / self.dstd[:, 0]
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- var = np.square(sw / (min_nbor_dist * self.dstd[:, 1:4]))
- lower = np.min(-var, axis=1)
- upper = np.max(var, axis=1)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- lower = -self.davg[:, 0] / self.dstd[:, 0]
- upper = ((1 / min_nbor_dist) * sw - self.davg[:, 0]) / self.dstd[:, 0]
- else:
- raise RuntimeError("Unsupported descriptor")
- log.info('training data with lower boundary: ' + str(lower))
- log.info('training data with upper boundary: ' + str(upper))
- # returns element-wise lower and upper
- return np.floor(lower), np.ceil(upper)
-
- def _spline5_switch(self,
- xx,
- rmin,
- rmax):
- if xx < rmin:
- vv = 1
- elif xx < rmax:
- uu = (xx - rmin) / (rmax - rmin)
- vv = uu*uu*uu * (-6 * uu*uu + 15 * uu - 10) + 1
- else:
- vv = 0
- return vv
-
- def _get_layer_size(self):
- layer_size = 0
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes * self.ntypes - len(self.exclude_types)) * 2)
- if self.type_one_side :
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes - self._n_all_excluded) * 2)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- layer_size = len(self.embedding_net_nodes) // int(comb(self.ntypes + 1, 2) * 2)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes * self.ntypes - len(self.exclude_types)) * 2)
- if self.type_one_side :
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes - self._n_all_excluded) * 2)
- else:
- raise RuntimeError("Unsupported descriptor")
- return layer_size
-
- @property
- @lru_cache()
- def _n_all_excluded(self) -> int:
- """Then number of types excluding all types."""
- return sum((int(self._all_excluded(ii)) for ii in range(0, self.ntypes)))
-
- @lru_cache()
- def _all_excluded(self, ii: int) -> bool:
- """Check if type ii excluds all types.
-
- Parameters
- ----------
- ii : int
- type index
-
- Returns
- -------
- bool
- if type ii excluds all types
- """
- return all([(ii, type_i) in self.exclude_types for type_i in range(self.ntypes)])
-
- def _get_table_size(self):
- table_size = 0
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- table_size = self.ntypes * self.ntypes
- if self.type_one_side :
- table_size = self.ntypes
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- table_size = int(comb(self.ntypes + 1, 2))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- table_size = self.ntypes * self.ntypes
- if self.type_one_side :
- table_size = self.ntypes
- else:
- raise RuntimeError("Unsupported descriptor")
- return table_size
-
- def _get_data_type(self):
- for item in self.matrix["layer_" + str(self.layer_size)]:
- if len(item) != 0:
- return type(item[0][0])
- return None
-
- def _get_last_layer_size(self):
- for item in self.matrix["layer_" + str(self.layer_size)]:
- if len(item) != 0:
- return item.shape[1]
- return 0
-
- def _convert_numpy_to_tensor(self):
- """Convert self.data from np.ndarray to tf.Tensor."""
- for ii in self.data:
- self.data[ii] = tf.constant(self.data[ii])
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/type_embed.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/type_embed.py
deleted file mode 100644
index c2712bc85a88a4eb505dafb395e7be66bae9481d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/type_embed.py
+++ /dev/null
@@ -1,168 +0,0 @@
-import numpy as np
-from typing import Tuple, List, Union
-
-from deepmd.env import tf
-from deepmd.utils.network import one_layer
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net
-
-from deepmd.utils.graph import get_type_embedding_net_variables_from_graph_def
-from deepmd.common import get_activation_func, get_precision
-
-
-def embed_atom_type(
- ntypes : int,
- natoms : tf.Tensor,
- type_embedding : tf.Tensor,
-):
- """
- Make the embedded type for the atoms in system.
- The atoms are assumed to be sorted according to the type,
- thus their types are described by a `tf.Tensor` natoms, see explanation below.
-
- Parameters
- ----------
- ntypes:
- Number of types.
- natoms:
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- type_embedding:
- The type embedding.
- It has the shape of [ntypes, embedding_dim]
-
- Returns
- -------
- atom_embedding
- The embedded type of each atom.
- It has the shape of [numb_atoms, embedding_dim]
- """
- te_out_dim = type_embedding.get_shape().as_list()[-1]
- atype = []
- for ii in range(ntypes):
- atype.append(tf.tile([ii], [natoms[2+ii]]))
- atype = tf.concat(atype, axis = 0)
- atm_embed = tf.nn.embedding_lookup(type_embedding,tf.cast(atype,dtype=tf.int32)) #(nf*natom)*nchnl
- atm_embed = tf.reshape(atm_embed,[-1,te_out_dim])
- return atm_embed
-
-
-class TypeEmbedNet():
- """
-
- Parameters
- ----------
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- padding
- Concat the zero padding to the output, as the default embedding of empty type.
- """
- def __init__(
- self,
- neuron: List[int]=[],
- resnet_dt: bool = False,
- activation_function: Union[str, None] = 'tanh',
- precision: str = 'default',
- trainable: bool = True,
- seed: int = None,
- uniform_seed: bool = False,
- padding: bool = False,
- )->None:
- """
- Constructor
- """
- self.neuron = neuron
- self.seed = seed
- self.filter_resnet_dt = resnet_dt
- self.filter_precision = get_precision(precision)
- self.filter_activation_fn = get_activation_func(activation_function)
- self.trainable = trainable
- self.uniform_seed = uniform_seed
- self.type_embedding_net_variables = None
- self.padding = padding
-
-
- def build(
- self,
- ntypes: int,
- reuse = None,
- suffix = '',
- ):
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- ntypes
- Number of atom types.
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- embedded_types
- The computational graph for embedded types
- """
- types = tf.convert_to_tensor(
- [ii for ii in range(ntypes)],
- dtype = tf.int32
- )
- ebd_type = tf.cast(tf.one_hot(tf.cast(types,dtype=tf.int32),int(ntypes)), self.filter_precision)
- ebd_type = tf.reshape(ebd_type, [-1, ntypes])
- name = 'type_embed_net' + suffix
- with tf.variable_scope(name, reuse=reuse):
- ebd_type = embedding_net(
- ebd_type,
- self.neuron,
- activation_fn = self.filter_activation_fn,
- precision = self.filter_precision,
- resnet_dt = self.filter_resnet_dt,
- seed = self.seed,
- trainable = self.trainable,
- initial_variables = self.type_embedding_net_variables,
- uniform_seed = self.uniform_seed)
- ebd_type = tf.reshape(ebd_type, [-1, self.neuron[-1]]) # ntypes * neuron[-1]
- if self.padding:
- last_type = tf.cast(tf.zeros([1, self.neuron[-1]]), self.filter_precision)
- ebd_type = tf.concat([ebd_type, last_type], 0) # (ntypes + 1) * neuron[-1]
- self.ebd_type = tf.identity(ebd_type, name ='t_typeebd')
- return self.ebd_type
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix = '',
- ) -> None:
- """
- Init the type embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix
- Name suffix to identify this descriptor
- """
- self.type_embedding_net_variables = get_type_embedding_net_variables_from_graph_def(graph_def, suffix = suffix)
diff --git a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/weight_avg.py b/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/weight_avg.py
deleted file mode 100644
index c58c72d0fedc1885d9e80376a1e92bce4018a088..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/cmake-install/deepmd/utils/weight_avg.py
+++ /dev/null
@@ -1,34 +0,0 @@
-from typing import TYPE_CHECKING, List, Dict, Optional, Tuple
-import numpy as np
-
-
-def weighted_average(
- errors: List[Dict[str, Tuple[float, float]]]
-) -> Dict:
- """Compute wighted average of prediction errors for model.
-
- Parameters
- ----------
- errors : List[Dict[str, Tuple[float, float]]]
- List: the error of systems
- Dict: the error of quantities, name given by the key
- Tuple: (error, weight)
-
- Returns
- -------
- Dict
- weighted averages
- """
- sum_err = {}
- sum_siz = {}
- for err in errors:
- for kk, (ee, ss) in err.items():
- if kk in sum_err:
- sum_err[kk] += ee * ee * ss
- sum_siz[kk] += ss
- else :
- sum_err[kk] = ee * ee * ss
- sum_siz[kk] = ss
- for kk in sum_err.keys():
- sum_err[kk] = np.sqrt(sum_err[kk] / sum_siz[kk])
- return sum_err
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__about__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__about__.py
deleted file mode 100644
index 840624bec554d26de81a37b9df46ecc95361c0e5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__about__.py
+++ /dev/null
@@ -1 +0,0 @@
-__version__ = 'unknown'
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__init__.py
deleted file mode 100644
index c9e4149517159e206add8fb4936ee455493b1cd6..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__init__.py
+++ /dev/null
@@ -1,36 +0,0 @@
-"""Root of the deepmd package, exposes all public classes and submodules."""
-
-try:
- from importlib import metadata
-except ImportError: # for Python<3.8
- import importlib_metadata as metadata
-import deepmd.utils.network as network
-
-from . import cluster, descriptor, fit, loss, utils, nvnmd
-from .env import set_mkl
-from .infer import DeepEval, DeepPotential
-from .infer.data_modifier import DipoleChargeModifier
-
-set_mkl()
-
-try:
- from ._version import version as __version__
-except ImportError:
- from .__about__ import __version__
-
-# load third-party plugins
-for ep in metadata.entry_points().get('deepmd', []):
- ep.load()
-
-__all__ = [
- "descriptor",
- "fit",
- "loss",
- "utils",
- "cluster",
- "network",
- "DeepEval",
- "DeepPotential",
- "DipoleChargeModifier",
- "nvnmd",
-]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__main__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__main__.py
deleted file mode 100644
index ca814493674c4fcc14d1868e28f832e0ca41c857..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/__main__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-"""Package dp entry point."""
-
-from .entrypoints.main import main
-
-if __name__ == '__main__':
- main()
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/_version.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/_version.py
deleted file mode 100644
index b095e94640c21cb94a6e0e74d6160144c855a92c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/_version.py
+++ /dev/null
@@ -1,4 +0,0 @@
-# coding: utf-8
-# file generated by setuptools_scm
-# don't change, don't track in version control
-version = '2.1.6.dev0+ng6e3d4a62.d20230313'
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/calculator.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/calculator.py
deleted file mode 100644
index 38c56b72b261ff2ac9d974aefbfa604331db8e46..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/calculator.py
+++ /dev/null
@@ -1,119 +0,0 @@
-"""ASE calculator interface module."""
-
-from pathlib import Path
-from typing import TYPE_CHECKING, Dict, List, Optional, Union
-
-from ase.calculators.calculator import (
- Calculator, all_changes, PropertyNotImplementedError
-)
-
-from deepmd import DeepPotential
-
-if TYPE_CHECKING:
- from ase import Atoms
-
-__all__ = ["DP"]
-
-
-class DP(Calculator):
- """Implementation of ASE deepmd calculator.
-
- Implemented propertie are `energy`, `forces` and `stress`
-
- Parameters
- ----------
- model : Union[str, Path]
- path to the model
- label : str, optional
- calculator label, by default "DP"
- type_dict : Dict[str, int], optional
- mapping of element types and their numbers, best left None and the calculator
- will infer this information from model, by default None
-
- Examples
- --------
- Compute potential energy
-
- >>> from ase import Atoms
- >>> from deepmd.calculator import DP
- >>> water = Atoms('H2O',
- >>> positions=[(0.7601, 1.9270, 1),
- >>> (1.9575, 1, 1),
- >>> (1., 1., 1.)],
- >>> cell=[100, 100, 100],
- >>> calculator=DP(model="frozen_model.pb"))
- >>> print(water.get_potential_energy())
- >>> print(water.get_forces())
-
- Run BFGS structure optimization
-
- >>> from ase.optimize import BFGS
- >>> dyn = BFGS(water)
- >>> dyn.run(fmax=1e-6)
- >>> print(water.get_positions())
- """
-
- name = "DP"
- implemented_properties = ["energy", "free_energy", "forces", "virial", "stress"]
-
- def __init__(
- self,
- model: Union[str, "Path"],
- label: str = "DP",
- type_dict: Dict[str, int] = None,
- **kwargs
- ) -> None:
- Calculator.__init__(self, label=label, **kwargs)
- self.dp = DeepPotential(str(Path(model).resolve()))
- if type_dict:
- self.type_dict = type_dict
- else:
- self.type_dict = dict(
- zip(self.dp.get_type_map(), range(self.dp.get_ntypes()))
- )
-
- def calculate(
- self,
- atoms: Optional["Atoms"] = None,
- properties: List[str] = ["energy", "forces", "virial"],
- system_changes: List[str] = all_changes,
- ):
- """Run calculation with deepmd model.
-
- Parameters
- ----------
- atoms : Optional[Atoms], optional
- atoms object to run the calculation on, by default None
- properties : List[str], optional
- unused, only for function signature compatibility,
- by default ["energy", "forces", "stress"]
- system_changes : List[str], optional
- unused, only for function signature compatibility, by default all_changes
- """
- if atoms is not None:
- self.atoms = atoms.copy()
-
- coord = self.atoms.get_positions().reshape([1, -1])
- if sum(self.atoms.get_pbc()) > 0:
- cell = self.atoms.get_cell().reshape([1, -1])
- else:
- cell = None
- symbols = self.atoms.get_chemical_symbols()
- atype = [self.type_dict[k] for k in symbols]
- e, f, v = self.dp.eval(coords=coord, cells=cell, atom_types=atype)
- self.results['energy'] = e[0][0]
- # see https://gitlab.com/ase/ase/-/merge_requests/2485
- self.results['free_energy'] = e[0][0]
- self.results['forces'] = f[0]
- self.results['virial'] = v[0].reshape(3, 3)
-
- # convert virial into stress for lattice relaxation
- if "stress" in properties:
- if sum(atoms.get_pbc()) > 0:
- # the usual convention (tensile stress is positive)
- # stress = -virial / volume
- stress = -0.5 * (v[0].copy() + v[0].copy().T) / atoms.get_volume()
- # Voigt notation
- self.results['stress'] = stress.flat[[0, 4, 8, 5, 2, 1]]
- else:
- raise PropertyNotImplementedError
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/__init__.py
deleted file mode 100644
index 7007208d4b7dec61dd4ec7651c5f9d5e362d8a2e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/__init__.py
+++ /dev/null
@@ -1,22 +0,0 @@
-"""Module that reads node resources, auto detects if running local or on SLURM."""
-
-from .local import get_resource as get_local_res
-from .slurm import get_resource as get_slurm_res
-import os
-from typing import List, Tuple, Optional
-
-__all__ = ["get_resource"]
-
-
-def get_resource() -> Tuple[str, List[str], Optional[List[int]]]:
- """Get local or slurm resources: nodename, nodelist, and gpus.
-
- Returns
- -------
- Tuple[str, List[str], Optional[List[int]]]
- nodename, nodelist, and gpus
- """
- if "SLURM_JOB_NODELIST" in os.environ:
- return get_slurm_res()
- else:
- return get_local_res()
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/local.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/local.py
deleted file mode 100644
index 9b7f622975881aa0b514dc4d708581cd42e92fc5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/local.py
+++ /dev/null
@@ -1,49 +0,0 @@
-"""Get local GPU resources."""
-
-import os
-import socket
-import subprocess as sp
-import sys
-
-from deepmd.env import tf
-from typing import List, Tuple, Optional
-
-
-__all__ = ["get_gpus", "get_resource"]
-
-
-def get_gpus():
- """Get available IDs of GPU cards at local.
- These IDs are valid when used as the TensorFlow device ID.
-
- Returns
- -------
- Optional[List[int]]
- List of available GPU IDs. Otherwise, None.
- """
- test_cmd = 'from tensorflow.python.client import device_lib; ' \
- 'devices = device_lib.list_local_devices(); ' \
- 'gpus = [d.name for d in devices if d.device_type == "GPU"]; ' \
- 'print(len(gpus))'
- with sp.Popen([sys.executable, "-c", test_cmd], stderr=sp.PIPE, stdout=sp.PIPE) as p:
- stdout, stderr = p.communicate()
- if p.returncode != 0:
- decoded = stderr.decode('UTF-8')
- raise RuntimeError('Failed to detect availbe GPUs due to:\n%s' % decoded)
- decoded = stdout.decode('UTF-8').strip()
- num_gpus = int(decoded)
- return list(range(num_gpus)) if num_gpus > 0 else None
-
-
-def get_resource() -> Tuple[str, List[str], Optional[List[int]]]:
- """Get local resources: nodename, nodelist, and gpus.
-
- Returns
- -------
- Tuple[str, List[str], Optional[List[int]]]
- nodename, nodelist, and gpus
- """
- nodename = socket.gethostname()
- nodelist = [nodename]
- gpus = get_gpus()
- return nodename, nodelist, gpus
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/slurm.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/slurm.py
deleted file mode 100644
index 6334f4a8f6ef2936bed8b705bd5cc0282948c419..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/cluster/slurm.py
+++ /dev/null
@@ -1,51 +0,0 @@
-"""MOdule to get resources on SLURM cluster.
-
-References
-----------
-https://github.com/deepsense-ai/tensorflow_on_slurm ####
-"""
-
-import hostlist
-import os
-
-from deepmd.cluster import local
-from typing import List, Tuple, Optional
-
-__all__ = ["get_resource"]
-
-
-def get_resource() -> Tuple[str, List[str], Optional[List[int]]]:
- """Get SLURM resources: nodename, nodelist, and gpus.
-
- Returns
- -------
- Tuple[str, List[str], Optional[List[int]]]
- nodename, nodelist, and gpus
-
- Raises
- ------
- RuntimeError
- if number of nodes could not be retrieved
- ValueError
- list of nodes is not of the same length sa number of nodes
- ValueError
- if current nodename is not found in node list
- """
- nodelist = hostlist.expand_hostlist(os.environ["SLURM_JOB_NODELIST"])
- nodename = os.environ["SLURMD_NODENAME"]
- num_nodes_env = os.getenv("SLURM_JOB_NUM_NODES")
- if num_nodes_env:
- num_nodes = int(num_nodes_env)
- else:
- raise RuntimeError("Could not get SLURM number of nodes")
-
- if len(nodelist) != num_nodes:
- raise ValueError(
- f"Number of slurm nodes {len(nodelist)} not equal to {num_nodes}"
- )
- if nodename not in nodelist:
- raise ValueError(
- f"Nodename({nodename}) not in nodelist({nodelist}). This should not happen!"
- )
- gpus = local.get_gpus()
- return nodename, nodelist, gpus
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/common.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/common.py
deleted file mode 100644
index b868038b3d346ea716e336741e7ade531848ac6a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/common.py
+++ /dev/null
@@ -1,579 +0,0 @@
-"""Collection of functions and classes used throughout the whole package."""
-
-import json
-import warnings
-import tensorflow
-from functools import wraps
-from pathlib import Path
-from typing import (
- TYPE_CHECKING,
- Any,
- Callable,
- Dict,
- List,
- Optional,
- Tuple,
- TypeVar,
- Union,
-)
-
-import numpy as np
-import yaml
-
-from deepmd.env import op_module, tf
-from tensorflow.python.framework import tensor_util
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION, GLOBAL_NP_FLOAT_PRECISION
-from deepmd.utils.sess import run_sess
-from deepmd.utils.errors import GraphWithoutTensorError
-from deepmd.utils.path import DPPath
-
-if TYPE_CHECKING:
- _DICT_VAL = TypeVar("_DICT_VAL")
- _OBJ = TypeVar("_OBJ")
- try:
- from typing import Literal # python >3.6
- except ImportError:
- from typing_extensions import Literal # type: ignore
- _ACTIVATION = Literal["relu", "relu6", "softplus", "sigmoid", "tanh", "gelu", "gelu_tf"]
- _PRECISION = Literal["default", "float16", "float32", "float64"]
-
-# define constants
-PRECISION_DICT = {
- "default": GLOBAL_TF_FLOAT_PRECISION,
- "float16": tf.float16,
- "float32": tf.float32,
- "float64": tf.float64,
-}
-
-
-def gelu(x: tf.Tensor) -> tf.Tensor:
- """Gaussian Error Linear Unit.
-
- This is a smoother version of the RELU, implemented by custom operator.
-
- Parameters
- ----------
- x : tf.Tensor
- float Tensor to perform activation
-
- Returns
- -------
- tf.Tensor
- `x` with the GELU activation applied
-
- References
- ----------
- Original paper
- https://arxiv.org/abs/1606.08415
- """
- return op_module.gelu_custom(x)
-
-
-def gelu_tf(x: tf.Tensor) -> tf.Tensor:
- """Gaussian Error Linear Unit.
-
- This is a smoother version of the RELU, implemented by TF.
-
- Parameters
- ----------
- x : tf.Tensor
- float Tensor to perform activation
-
- Returns
- -------
- tf.Tensor
- `x` with the GELU activation applied
-
- References
- ----------
- Original paper
- https://arxiv.org/abs/1606.08415
- """
- def gelu_wrapper(x):
- try:
- return tensorflow.nn.gelu(x, approximate=True)
- except AttributeError:
- warnings.warn("TensorFlow does not provide an implementation of gelu, please upgrade your TensorFlow version. Fallback to the custom gelu operator.")
- return op_module.gelu_custom(x)
- return (lambda x: gelu_wrapper(x))(x)
-
-# TODO this is not a good way to do things. This is some global variable to which
-# TODO anyone can write and there is no good way to keep track of the changes
-data_requirement = {}
-
-ACTIVATION_FN_DICT = {
- "relu": tf.nn.relu,
- "relu6": tf.nn.relu6,
- "softplus": tf.nn.softplus,
- "sigmoid": tf.sigmoid,
- "tanh": tf.nn.tanh,
- "gelu": gelu,
- "gelu_tf": gelu_tf,
-}
-
-
-def add_data_requirement(
- key: str,
- ndof: int,
- atomic: bool = False,
- must: bool = False,
- high_prec: bool = False,
- type_sel: bool = None,
- repeat: int = 1,
- default: float = 0.,
-):
- """Specify data requirements for training.
-
- Parameters
- ----------
- key : str
- type of data stored in corresponding `*.npy` file e.g. `forces` or `energy`
- ndof : int
- number of the degrees of freedom, this is tied to `atomic` parameter e.g. forces
- have `atomic=True` and `ndof=3`
- atomic : bool, optional
- specifies whwther the `ndof` keyworrd applies to per atom quantity or not,
- by default False
- must : bool, optional
- specifi if the `*.npy` data file must exist, by default False
- high_prec : bool, optional
- if tru load data to `np.float64` else `np.float32`, by default False
- type_sel : bool, optional
- select only certain type of atoms, by default None
- repeat : int, optional
- if specify repaeat data `repeat` times, by default 1
- default : float, optional, default=0.
- default value of data
- """
- data_requirement[key] = {
- "ndof": ndof,
- "atomic": atomic,
- "must": must,
- "high_prec": high_prec,
- "type_sel": type_sel,
- "repeat": repeat,
- "default": default,
- }
-
-
-def select_idx_map(
- atom_types: np.ndarray, select_types: np.ndarray
-) -> np.ndarray:
- """Build map of indices for element supplied element types from all atoms list.
-
- Parameters
- ----------
- atom_types : np.ndarray
- array specifing type for each atoms as integer
- select_types : np.ndarray
- types of atoms you want to find indices for
-
- Returns
- -------
- np.ndarray
- indices of types of atoms defined by `select_types` in `atom_types` array
-
- Warnings
- --------
- `select_types` array will be sorted before finding indices in `atom_types`
- """
- sort_select_types = np.sort(select_types)
- idx_map = np.array([], dtype=int)
- for ii in sort_select_types:
- idx_map = np.append(idx_map, np.where(atom_types == ii))
- return idx_map
-
-
-# TODO not really sure if the docstring is right the purpose of this is a bit unclear
-def make_default_mesh(
- test_box: np.ndarray, cell_size: float = 3.0
-) -> np.ndarray:
- """Get number of cells of size=`cell_size` fit into average box.
-
- Parameters
- ----------
- test_box : np.ndarray
- numpy array with cells of shape Nx9
- cell_size : float, optional
- length of one cell, by default 3.0
-
- Returns
- -------
- np.ndarray
- mesh for supplied boxes, how many cells fit in each direction
- """
- cell_lengths = np.linalg.norm(test_box.reshape([-1, 3, 3]), axis=2)
- avg_cell_lengths = np.average(cell_lengths, axis=0)
- ncell = (avg_cell_lengths / cell_size).astype(np.int32)
- ncell[ncell < 2] = 2
- default_mesh = np.zeros(6, dtype=np.int32)
- default_mesh[3:6] = ncell
- return default_mesh
-
-
-# TODO not an ideal approach, every class uses this to parse arguments on its own, json
-# TODO should be parsed once and the parsed result passed to all objects that need it
-class ClassArg:
- """Class that take care of input json/yaml parsing.
-
- The rules for parsing are defined by the `add` method, than `parse` is called to
- process the supplied dict
-
- Attributes
- ----------
- arg_dict: Dict[str, Any]
- dictionary containing parsing rules
- alias_map: Dict[str, Any]
- dictionary with keyword aliases
- """
-
- def __init__(self) -> None:
- self.arg_dict = {}
- self.alias_map = {}
-
- def add(
- self,
- key: str,
- types_: Union[type, List[type]],
- alias: Optional[Union[str, List[str]]] = None,
- default: Any = None,
- must: bool = False,
- ) -> "ClassArg":
- """Add key to be parsed.
-
- Parameters
- ----------
- key : str
- key name
- types_ : Union[type, List[type]]
- list of allowed key types
- alias : Optional[Union[str, List[str]]], optional
- alias for the key, by default None
- default : Any, optional
- default value for the key, by default None
- must : bool, optional
- if the key is mandatory, by default False
-
- Returns
- -------
- ClassArg
- instance with added key
- """
- if not isinstance(types_, list):
- types = [types_]
- else:
- types = types_
- if alias is not None:
- if not isinstance(alias, list):
- alias_ = [alias]
- else:
- alias_ = alias
- else:
- alias_ = []
-
- self.arg_dict[key] = {
- "types": types,
- "alias": alias_,
- "value": default,
- "must": must,
- }
- for ii in alias_:
- self.alias_map[ii] = key
-
- return self
-
- def _add_single(self, key: str, data: Any):
- vtype = type(data)
- if data is None:
- return data
- if not (vtype in self.arg_dict[key]["types"]):
- for tp in self.arg_dict[key]["types"]:
- try:
- vv = tp(data)
- except TypeError:
- pass
- else:
- break
- else:
- raise TypeError(
- f"cannot convert provided key {key} to type(s) "
- f'{self.arg_dict[key]["types"]} '
- )
- else:
- vv = data
- self.arg_dict[key]["value"] = vv
-
- def _check_must(self):
- for kk in self.arg_dict:
- if self.arg_dict[kk]["must"] and self.arg_dict[kk]["value"] is None:
- raise RuntimeError(f"key {kk} must be provided")
-
- def parse(self, jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Parse input dictionary, use the rules defined by add method.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- loaded json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- parsed dictionary
- """
- for kk in jdata.keys():
- if kk in self.arg_dict:
- key = kk
- self._add_single(key, jdata[kk])
- else:
- if kk in self.alias_map:
- key = self.alias_map[kk]
- self._add_single(key, jdata[kk])
- self._check_must()
- return self.get_dict()
-
- def get_dict(self) -> Dict[str, Any]:
- """Get dictionary built from rules defined by add method.
-
- Returns
- -------
- Dict[str, Any]
- settings dictionary with default values
- """
- ret = {}
- for kk in self.arg_dict.keys():
- ret[kk] = self.arg_dict[kk]["value"]
- return ret
-
-
-# TODO maybe rename this to j_deprecated and only warn about deprecated keys,
-# TODO if the deprecated_key argument is left empty function puppose is only custom
-# TODO error since dict[key] already raises KeyError when the key is missing
-def j_must_have(
- jdata: Dict[str, "_DICT_VAL"], key: str, deprecated_key: List[str] = []
-) -> "_DICT_VAL":
- """Assert that supplied dictionary conaines specified key.
-
- Returns
- -------
- _DICT_VAL
- value that was store unde supplied key
-
- Raises
- ------
- RuntimeError
- if the key is not present
- """
- if key not in jdata.keys():
- for ii in deprecated_key:
- if ii in jdata.keys():
- warnings.warn(f"the key {ii} is deprecated, please use {key} instead")
- return jdata[ii]
- else:
- raise RuntimeError(f"json database must provide key {key}")
- else:
- return jdata[key]
-
-
-def j_loader(filename: Union[str, Path]) -> Dict[str, Any]:
- """Load yaml or json settings file.
-
- Parameters
- ----------
- filename : Union[str, Path]
- path to file
-
- Returns
- -------
- Dict[str, Any]
- loaded dictionary
-
- Raises
- ------
- TypeError
- if the supplied file is of unsupported type
- """
- filepath = Path(filename)
- if filepath.suffix.endswith("json"):
- with filepath.open() as fp:
- return json.load(fp)
- elif filepath.suffix.endswith(("yml", "yaml")):
- with filepath.open() as fp:
- return yaml.safe_load(fp)
- else:
- raise TypeError("config file must be json, or yaml/yml")
-
-
-def get_activation_func(
- activation_fn: Union["_ACTIVATION", None],
-) -> Union[Callable[[tf.Tensor], tf.Tensor], None]:
- """Get activation function callable based on string name.
-
- Parameters
- ----------
- activation_fn : _ACTIVATION
- one of the defined activation functions
-
- Returns
- -------
- Callable[[tf.Tensor], tf.Tensor]
- correspondingg TF callable
-
- Raises
- ------
- RuntimeError
- if unknown activation function is specified
- """
- if activation_fn is None or activation_fn in ['none', 'None']:
- return None
- if activation_fn not in ACTIVATION_FN_DICT:
- raise RuntimeError(f"{activation_fn} is not a valid activation function")
- return ACTIVATION_FN_DICT[activation_fn]
-
-
-def get_precision(precision: "_PRECISION") -> Any:
- """Convert str to TF DType constant.
-
- Parameters
- ----------
- precision : _PRECISION
- one of the allowed precisions
-
- Returns
- -------
- tf.python.framework.dtypes.DType
- appropriate TF constant
-
- Raises
- ------
- RuntimeError
- if supplied precision string does not have acorresponding TF constant
- """
- if precision not in PRECISION_DICT:
- raise RuntimeError(f"{precision} is not a valid precision")
- return PRECISION_DICT[precision]
-
-
-# TODO port completely to pathlib when all callers are ported
-def expand_sys_str(root_dir: Union[str, Path]) -> List[str]:
- """Recursively iterate over directories taking those that contain `type.raw` file.
-
- Parameters
- ----------
- root_dir : Union[str, Path]
- starting directory
-
- Returns
- -------
- List[str]
- list of string pointing to system directories
- """
- root_dir = DPPath(root_dir)
- matches = [str(d) for d in root_dir.rglob("*") if (d / "type.raw").is_file()]
- if (root_dir / "type.raw").is_file():
- matches.append(str(root_dir))
- return matches
-
-
-def get_np_precision(precision: "_PRECISION") -> np.dtype:
- """Get numpy precision constant from string.
-
- Parameters
- ----------
- precision : _PRECISION
- string name of numpy constant or default
-
- Returns
- -------
- np.dtype
- numpy presicion constant
-
- Raises
- ------
- RuntimeError
- if string is invalid
- """
- if precision == "default":
- return GLOBAL_NP_FLOAT_PRECISION
- elif precision == "float16":
- return np.float16
- elif precision == "float32":
- return np.float32
- elif precision == "float64":
- return np.float64
- else:
- raise RuntimeError(f"{precision} is not a valid precision")
-
-
-def safe_cast_tensor(input: tf.Tensor,
- from_precision: tf.DType,
- to_precision: tf.DType) -> tf.Tensor:
- """Convert a Tensor from a precision to another precision.
-
- If input is not a Tensor or without the specific precision, the method will not
- cast it.
-
- Parameters
- ----------
- input: tf.Tensor
- input tensor
- precision : tf.DType
- Tensor data type that casts to
-
- Returns
- -------
- tf.Tensor
- casted Tensor
- """
- if tensor_util.is_tensor(input) and input.dtype == from_precision:
- return tf.cast(input, to_precision)
- return input
-
-
-def cast_precision(func: Callable) -> Callable:
- """A decorator that casts and casts back the input
- and output tensor of a method.
-
- The decorator should be used in a classmethod.
-
- The decorator will do the following thing:
- (1) It casts input Tensors from `GLOBAL_TF_FLOAT_PRECISION`
- to precision defined by property `precision`.
- (2) It casts output Tensors from `precision` to
- `GLOBAL_TF_FLOAT_PRECISION`.
- (3) It checks inputs and outputs and only casts when
- input or output is a Tensor and its dtype matches
- `GLOBAL_TF_FLOAT_PRECISION` and `precision`, respectively.
- If it does not match (e.g. it is an integer), the decorator
- will do nothing on it.
-
- Returns
- -------
- Callable
- a decorator that casts and casts back the input and
- output tensor of a method
-
- Examples
- --------
- >>> class A:
- ... @property
- ... def precision(self):
- ... return tf.float32
- ...
- ... @cast_precision
- ... def f(x: tf.Tensor, y: tf.Tensor) -> tf.Tensor:
- ... return x ** 2 + y
- """
- @wraps(func)
- def wrapper(self, *args, **kwargs):
- # only convert tensors
- returned_tensor = func(
- self,
- *[safe_cast_tensor(vv, GLOBAL_TF_FLOAT_PRECISION, self.precision) for vv in args],
- **{kk: safe_cast_tensor(vv, GLOBAL_TF_FLOAT_PRECISION, self.precision) for kk, vv in kwargs.items()},
- )
- if isinstance(returned_tensor, tuple):
- return tuple((safe_cast_tensor(vv, self.precision, GLOBAL_TF_FLOAT_PRECISION) for vv in returned_tensor))
- else:
- return safe_cast_tensor(returned_tensor, self.precision, GLOBAL_TF_FLOAT_PRECISION)
- return wrapper
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/__init__.py
deleted file mode 100644
index c5025a74831deee1573a0e6a794b5ba2cfb1e69e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-from .descriptor import Descriptor
-from .hybrid import DescrptHybrid
-from .se_a import DescrptSeA
-from .se_r import DescrptSeR
-from .se_t import DescrptSeT
-from .se_a_ebd import DescrptSeAEbd
-from .se_a_ef import DescrptSeAEf
-from .se_a_ef import DescrptSeAEfLower
-from .loc_frame import DescrptLocFrame
-from .se_atten import DescrptSeAtten
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/descriptor.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/descriptor.py
deleted file mode 100644
index 0c40013f884d15915a90501865e4537b7053a210..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/descriptor.py
+++ /dev/null
@@ -1,408 +0,0 @@
-from abc import ABC, abstractmethod
-from typing import Any, Dict, List, Tuple
-
-import numpy as np
-from deepmd.env import tf
-from deepmd.utils import Plugin, PluginVariant
-
-
-class Descriptor(PluginVariant):
- r"""The abstract class for descriptors. All specific descriptors should
- be based on this class.
-
- The descriptor :math:`\mathcal{D}` describes the environment of an atom,
- which should be a function of coordinates and types of its neighbour atoms.
-
- Examples
- --------
- >>> descript = Descriptor(type="se_e2_a", rcut=6., rcut_smth=0.5, sel=[50])
- >>> type(descript)
-
-
- Notes
- -----
- Only methods and attributes defined in this class are generally public,
- that can be called by other classes.
- """
-
- __plugins = Plugin()
-
- @staticmethod
- def register(key: str) -> "Descriptor":
- """Regiester a descriptor plugin.
-
- Parameters
- ----------
- key : str
- the key of a descriptor
-
- Returns
- -------
- Descriptor
- the regiestered descriptor
-
- Examples
- --------
- >>> @Descriptor.register("some_descrpt")
- class SomeDescript(Descriptor):
- pass
- """
- return Descriptor.__plugins.register(key)
-
- def __new__(cls, *args, **kwargs):
- if cls is Descriptor:
- try:
- descrpt_type = kwargs['type']
- except KeyError:
- raise KeyError('the type of descriptor should be set by `type`')
- if descrpt_type in Descriptor.__plugins.plugins:
- cls = Descriptor.__plugins.plugins[descrpt_type]
- else:
- raise RuntimeError('Unknown descriptor type: ' + descrpt_type)
- return super().__new__(cls)
-
- @abstractmethod
- def get_rcut(self) -> float:
- """
- Returns the cut-off radius.
-
- Returns
- -------
- float
- the cut-off radius
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- @abstractmethod
- def get_ntypes(self) -> int:
- """
- Returns the number of atom types.
-
- Returns
- -------
- int
- the number of atom types
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- @abstractmethod
- def get_dim_out(self) -> int:
- """
- Returns the output dimension of this descriptor.
-
- Returns
- -------
- int
- the output dimension of this descriptor
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- def get_dim_rot_mat_1(self) -> int:
- """
- Returns the first dimension of the rotation matrix. The rotation is of shape
- dim_1 x 3
-
- Returns
- -------
- int
- the first dimension of the rotation matrix
- """
- # TODO: I think this method should be implemented as it's called by dipole and
- # polar fitting network. However, currently not all descriptors have this
- # method.
- raise NotImplementedError
-
- def get_nlist(self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns neighbor information.
-
- Returns
- -------
- nlist : tf.Tensor
- Neighbor list
- rij : tf.Tensor
- The relative distance between the neighbor and the center atom.
- sel_a : list[int]
- The number of neighbors with full information
- sel_r : list[int]
- The number of neighbors with only radial information
- """
- # TODO: I think this method should be implemented as it's called by energy
- # model. However, se_ar and hybrid doesn't have this method.
- raise NotImplementedError
-
- @abstractmethod
- def compute_input_stats(self,
- data_coord: List[np.ndarray],
- data_box: List[np.ndarray],
- data_atype: List[np.ndarray],
- natoms_vec: List[np.ndarray],
- mesh: List[np.ndarray],
- input_dict: Dict[str, List[np.ndarray]]
- ) -> None:
- """
- Compute the statisitcs (avg and std) of the training data. The input will be
- normalized by the statistics.
-
- Parameters
- ----------
- data_coord : list[np.ndarray]
- The coordinates. Can be generated by
- :meth:`deepmd.model.model_stat.make_stat_input`
- data_box : list[np.ndarray]
- The box. Can be generated by
- :meth:`deepmd.model.model_stat.make_stat_input`
- data_atype : list[np.ndarray]
- The atom types. Can be generated by :meth:`deepmd.model.model_stat.make_stat_input`
- natoms_vec : list[np.ndarray]
- The vector for the number of atoms of the system and different types of
- atoms. Can be generated by :meth:`deepmd.model.model_stat.make_stat_input`
- mesh : list[np.ndarray]
- The mesh for neighbor searching. Can be generated by
- :meth:`deepmd.model.model_stat.make_stat_input`
- input_dict : dict[str, list[np.ndarray]]
- Dictionary for additional input
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- @abstractmethod
- def build(self,
- coord_: tf.Tensor,
- atype_: tf.Tensor,
- natoms: tf.Tensor,
- box_: tf.Tensor,
- mesh: tf.Tensor,
- input_dict: Dict[str, Any],
- reuse: bool = None,
- suffix: str = '',
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor.
-
- Parameters
- ----------
- coord_ : tf.Tensor
- The coordinate of atoms
- atype_ : tf.Tensor
- The type of atoms
- natoms : tf.Tensor
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- box : tf.Tensor
- The box of frames
- mesh : tf.Tensor
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict : dict[str, Any]
- Dictionary for additional inputs
- reuse : bool, optional
- The weights in the networks should be reused when get the variable.
- suffix : str, optional
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor: tf.Tensor
- The output descriptor
-
- Notes
- -----
- This method must be implemented, as it's called by other classes.
- """
-
- def enable_compression(self,
- min_nbor_dist: float,
- model_file: str = 'frozon_model.pb',
- table_extrapolate: float = 5.,
- table_stride_1: float = 0.01,
- table_stride_2: float = 0.1,
- check_frequency: int = -1,
- suffix: str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the
- training data.
-
- Parameters
- ----------
- min_nbor_dist : float
- The nearest distance between atoms
- model_file : str, default: 'frozon_model.pb'
- The original frozen model, which will be compressed by the program
- table_extrapolate : float, default: 5.
- The scale of model extrapolation
- table_stride_1 : float, default: 0.01
- The uniform stride of the first table
- table_stride_2 : float, default: 0.1
- The uniform stride of the second table
- check_frequency : int, default: -1
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
-
- Notes
- -----
- This method is called by others when the descriptor supported compression.
- """
- raise NotImplementedError(
- "Descriptor %s doesn't support compression!" % type(self).__name__)
-
- def enable_mixed_precision(self, mixed_prec: dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
-
- Notes
- -----
- This method is called by others when the descriptor supported compression.
- """
- raise NotImplementedError(
- "Descriptor %s doesn't support mixed precision training!"
- % type(self).__name__
- )
-
- @abstractmethod
- def prod_force_virial(self,
- atom_ener: tf.Tensor,
- natoms: tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial.
-
- Parameters
- ----------
- atom_ener : tf.Tensor
- The atomic energy
- natoms : tf.Tensor
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force : tf.Tensor
- The force on atoms
- virial : tf.Tensor
- The total virial
- atom_virial : tf.Tensor
- The atomic virial
- """
-
- def get_feed_dict(self,
- coord_: tf.Tensor,
- atype_: tf.Tensor,
- natoms: tf.Tensor,
- box: tf.Tensor,
- mesh: tf.Tensor
- ) -> Dict[str, tf.Tensor]:
- """
- Generate the feed_dict for current descriptor
-
- Parameters
- ----------
- coord_ : tf.Tensor
- The coordinate of atoms
- atype_ : tf.Tensor
- The type of atoms
- natoms : tf.Tensor
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- box : tf.Tensor
- The box. Can be generated by deepmd.model.make_stat_input
- mesh : tf.Tensor
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
-
- Returns
- -------
- feed_dict : dict[str, tf.Tensor]
- The output feed_dict of current descriptor
- """
- feed_dict = {
- 't_coord:0' :coord_,
- 't_type:0' :atype_,
- 't_natoms:0' :natoms,
- 't_box:0' :box,
- 't_mesh:0' :mesh
- }
- return feed_dict
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
-
- Notes
- -----
- This method is called by others when the descriptor supported initialization from the given variables.
- """
- raise NotImplementedError(
- "Descriptor %s doesn't support initialization from the given variables!" % type(self).__name__)
-
- def get_tensor_names(self, suffix : str = "") -> Tuple[str]:
- """Get names of tensors.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
-
- Returns
- -------
- Tuple[str]
- Names of tensors
- """
- raise NotImplementedError("Descriptor %s doesn't support this property!" % type(self).__name__)
-
- def pass_tensors_from_frz_model(self,
- *tensors : tf.Tensor,
- ) -> None:
- """
- Pass the descrpt_reshape tensor as well as descrpt_deriv tensor from the frz graph_def
-
- Parameters
- ----------
- *tensors : tf.Tensor
- passed tensors
-
- Notes
- -----
- The number of parameters in the method must be equal to the numbers of returns in
- :meth:`get_tensor_names`.
- """
- raise NotImplementedError("Descriptor %s doesn't support this method!" % type(self).__name__)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/hybrid.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/hybrid.py
deleted file mode 100644
index e577b2ef17040a891a8e44cfe0cce5f0b9d9ca82..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/hybrid.py
+++ /dev/null
@@ -1,334 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg
-from deepmd.env import op_module
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-# from deepmd.descriptor import DescrptLocFrame
-# from deepmd.descriptor import DescrptSeA
-# from deepmd.descriptor import DescrptSeT
-# from deepmd.descriptor import DescrptSeAEbd
-# from deepmd.descriptor import DescrptSeAEf
-# from deepmd.descriptor import DescrptSeR
-from .descriptor import Descriptor
-from .se_a import DescrptSeA
-from .se_r import DescrptSeR
-from .se_t import DescrptSeT
-from .se_a_ebd import DescrptSeAEbd
-from .se_a_ef import DescrptSeAEf
-from .loc_frame import DescrptLocFrame
-
-@Descriptor.register("hybrid")
-class DescrptHybrid (Descriptor):
- """Concate a list of descriptors to form a new descriptor.
-
- Parameters
- ----------
- list : list
- Build a descriptor from the concatenation of the list of descriptors.
- """
- def __init__ (self,
- list : list
- ) -> None :
- """
- Constructor
- """
- # warning: list is conflict with built-in list
- descrpt_list = list
- if descrpt_list == [] or descrpt_list is None:
- raise RuntimeError('cannot build descriptor from an empty list of descriptors.')
- formatted_descript_list = []
- for ii in descrpt_list:
- if isinstance(ii, Descriptor):
- formatted_descript_list.append(ii)
- elif isinstance(ii, dict):
- formatted_descript_list.append(Descriptor(**ii))
- else:
- raise NotImplementedError
- # args = ClassArg()\
- # .add('list', list, must = True)
- # class_data = args.parse(jdata)
- # dict_list = class_data['list']
- self.descrpt_list = formatted_descript_list
- self.numb_descrpt = len(self.descrpt_list)
- for ii in range(1, self.numb_descrpt):
- assert(self.descrpt_list[ii].get_ntypes() ==
- self.descrpt_list[ 0].get_ntypes()), \
- f'number of atom types in {ii}th descrptor does not match others'
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radius
- """
- all_rcut = [ii.get_rcut() for ii in self.descrpt_list]
- return np.max(all_rcut)
-
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.descrpt_list[0].get_ntypes()
-
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- all_dim_out = [ii.get_dim_out() for ii in self.descrpt_list]
- return sum(all_dim_out)
-
-
- def get_nlist_i(self,
- ii : int
- ) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """Get the neighbor information of the ii-th descriptor
-
- Parameters
- ----------
- ii : int
- The index of the descriptor
-
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.descrpt_list[ii].nlist, self.descrpt_list[ii].rij, self.descrpt_list[ii].sel_a, self.descrpt_list[ii].sel_r
-
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- for ii in self.descrpt_list:
- ii.compute_input_stats(data_coord, data_box, data_atype, natoms_vec, mesh, input_dict)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- t_rcut = tf.constant(self.get_rcut(),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.get_ntypes(),
- name = 'ntypes',
- dtype = tf.int32)
- all_dout = []
- for idx,ii in enumerate(self.descrpt_list):
- dout = ii.build(coord_, atype_, natoms, box_, mesh, input_dict, suffix=suffix+f'_{idx}', reuse=reuse)
- dout = tf.reshape(dout, [-1, ii.get_dim_out()])
- all_dout.append(dout)
- dout = tf.concat(all_dout, axis = 1)
- dout = tf.reshape(dout, [-1, natoms[0], self.get_dim_out()])
- return dout
-
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- for idx,ii in enumerate(self.descrpt_list):
- ff, vv, av = ii.prod_force_virial(atom_ener, natoms)
- if idx == 0:
- force = ff
- virial = vv
- atom_virial = av
- else:
- force += ff
- virial += vv
- atom_virial += av
- return force, virial, atom_virial
-
- def enable_compression(self,
- min_nbor_dist: float,
- model_file: str = 'frozon_model.pb',
- table_extrapolate: float = 5.,
- table_stride_1: float = 0.01,
- table_stride_2: float = 0.1,
- check_frequency: int = -1,
- suffix: str = ""
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the
- training data.
-
- Parameters
- ----------
- min_nbor_dist : float
- The nearest distance between atoms
- model_file : str, default: 'frozon_model.pb'
- The original frozen model, which will be compressed by the program
- table_extrapolate : float, default: 5.
- The scale of model extrapolation
- table_stride_1 : float, default: 0.01
- The uniform stride of the first table
- table_stride_2 : float, default: 0.1
- The uniform stride of the second table
- check_frequency : int, default: -1
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- for idx, ii in enumerate(self.descrpt_list):
- ii.enable_compression(min_nbor_dist, model_file, table_extrapolate, table_stride_1, table_stride_2, check_frequency, suffix=f"{suffix}_{idx}")
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- for idx, ii in enumerate(self.descrpt_list):
- ii.enable_mixed_precision(mixed_prec)
-
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- for idx, ii in enumerate(self.descrpt_list):
- ii.init_variables(graph, graph_def, suffix=f"{suffix}_{idx}")
-
- def get_tensor_names(self, suffix : str = "") -> Tuple[str]:
- """Get names of tensors.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
-
- Returns
- -------
- Tuple[str]
- Names of tensors
- """
- tensor_names = []
- for idx, ii in enumerate(self.descrpt_list):
- tensor_names.extend(ii.get_tensor_names(suffix=f"{suffix}_{idx}"))
- return tuple(tensor_names)
-
- def pass_tensors_from_frz_model(self,
- *tensors : tf.Tensor,
- ) -> None:
- """
- Pass the descrpt_reshape tensor as well as descrpt_deriv tensor from the frz graph_def
-
- Parameters
- ----------
- *tensors : tf.Tensor
- passed tensors
- """
- jj = 0
- for ii in self.descrpt_list:
- n_tensors = len(ii.get_tensor_names())
- ii.pass_tensors_from_frz_model(*tensors[jj:jj+n_tensors])
- jj += n_tensors
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/loc_frame.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/loc_frame.py
deleted file mode 100644
index 81a8f684e948d9ac741fcc56126343cc7f641969..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/loc_frame.py
+++ /dev/null
@@ -1,389 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.sess import run_sess
-from .descriptor import Descriptor
-from deepmd.utils.graph import get_tensor_by_name_from_graph
-
-@Descriptor.register("loc_frame")
-class DescrptLocFrame (Descriptor) :
- """Defines a local frame at each atom, and the compute the descriptor as local
- coordinates under this frame.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- sel_a : list[str]
- The length of the list should be the same as the number of atom types in the system.
- `sel_a[i]` gives the selected number of type-i neighbors.
- The full relative coordinates of the neighbors are used by the descriptor.
- sel_r : list[str]
- The length of the list should be the same as the number of atom types in the system.
- `sel_r[i]` gives the selected number of type-i neighbors.
- Only relative distance of the neighbors are used by the descriptor.
- sel_a[i] + sel_r[i] is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius.
- axis_rule: list[int]
- The length should be 6 times of the number of types.
- - axis_rule[i*6+0]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
- - axis_rule[i*6+1]: type of the atom defining the first axis of type-i atom.\n\n\
- - axis_rule[i*6+2]: index of the axis atom defining the first axis. Note that the neighbors with the same class and type are sorted according to their relative distance.\n\n\
- - axis_rule[i*6+3]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
- - axis_rule[i*6+4]: type of the atom defining the second axis of type-i atom.\n\n\
- - axis_rule[i*6+5]: class of the atom defining the second axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.
- """
- def __init__(self,
- rcut: float,
- sel_a : List[int],
- sel_r : List[int],
- axis_rule : List[int]
- ) -> None:
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('sel_a', list, must = True) \
- # .add('sel_r', list, must = True) \
- # .add('rcut', float, default = 6.0) \
- # .add('axis_rule',list, must = True)
- # class_data = args.parse(jdata)
- self.sel_a = sel_a
- self.sel_r = sel_r
- self.axis_rule = axis_rule
- self.rcut_r = rcut
- # ntypes and rcut_a === -1
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.davg = None
- self.dstd = None
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_lf_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist, axis, rot_mat \
- = op_module.descrpt (self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- sel_a = self.sel_a,
- sel_r = self.sel_r,
- axis_rule = self.axis_rule)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radisu
- """
- return self.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.ndescrpt
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- if True:
- sumv = []
- sumn = []
- sumv2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysv,sysv2,sysn \
- = self._compute_dstats_sys_nonsmth(cc,bb,tt,nn,mm)
- sumv.append(sysv)
- sumn.append(sysn)
- sumv2.append(sysv2)
- sumv = np.sum(sumv, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumv2 = np.sum(sumv2, axis = 0)
- for type_i in range(self.ntypes) :
- davg = sumv[type_i] / sumn[type_i]
- dstd = self._compute_std(sumv2[type_i], sumv[type_i], sumn[type_i])
- for ii in range (len(dstd)) :
- if (np.abs(dstd[ii]) < 1e-2) :
- dstd[ii] = 1e-2
- all_davg.append(davg)
- all_dstd.append(dstd)
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist, self.axis, self.rot_mat \
- = op_module.descrpt (coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- sel_a = self.sel_a,
- sel_r = self.sel_r,
- axis_rule = self.axis_rule)
- self.descrpt = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- return self.descrpt
-
- def get_rot_mat(self) -> tf.Tensor:
- """
- Get rotational matrix
- """
- return self.rot_mat
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt)
- tf.summary.histogram('net_derivative', net_deriv)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force = op_module.prod_force (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- self.axis,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- self.axis,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- tf.summary.histogram('force', force)
- tf.summary.histogram('virial', virial)
- tf.summary.histogram('atom_virial', atom_virial)
-
- return force, virial, atom_virial
-
-
- def _compute_dstats_sys_nonsmth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysv = []
- sysn = []
- sysv2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- sumv = np.sum(dd, axis = 0)
- sumn = dd.shape[0]
- sumv2 = np.sum(np.multiply(dd,dd), axis = 0)
- sysv.append(sumv)
- sysn.append(sumn)
- sysv2.append(sumv2)
- return sysv, sysv2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- return np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se.py
deleted file mode 100644
index 09bb57137cf2c3d7b5b87cce1c4aa6651c29b2b0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se.py
+++ /dev/null
@@ -1,118 +0,0 @@
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.utils.graph import get_embedding_net_variables_from_graph_def, get_tensor_by_name_from_graph
-from .descriptor import Descriptor
-
-
-class DescrptSe (Descriptor):
- """A base class for smooth version of descriptors.
-
- Notes
- -----
- All of these descriptors have an environmental matrix and an
- embedding network (:meth:`deepmd.utils.network.embedding_net`), so
- they can share some similiar methods without defining them twice.
-
- Attributes
- ----------
- embedding_net_variables : dict
- initial embedding network variables
- descrpt_reshape : tf.Tensor
- the reshaped descriptor
- descrpt_deriv : tf.Tensor
- the descriptor derivative
- rij : tf.Tensor
- distances between two atoms
- nlist : tf.Tensor
- the neighbor list
-
- """
- def _identity_tensors(self, suffix : str = "") -> None:
- """Identify tensors which are expected to be stored and restored.
-
- Notes
- -----
- These tensors will be indentitied:
- self.descrpt_reshape : o_rmat
- self.descrpt_deriv : o_rmat_deriv
- self.rij : o_rij
- self.nlist : o_nlist
- Thus, this method should be called during building the descriptor and
- after these tensors are initialized.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
- """
- self.descrpt_reshape = tf.identity(self.descrpt_reshape, name = 'o_rmat' + suffix)
- self.descrpt_deriv = tf.identity(self.descrpt_deriv, name = 'o_rmat_deriv' + suffix)
- self.rij = tf.identity(self.rij, name = 'o_rij' + suffix)
- self.nlist = tf.identity(self.nlist, name = 'o_nlist' + suffix)
-
- def get_tensor_names(self, suffix : str = "") -> Tuple[str]:
- """Get names of tensors.
-
- Parameters
- ----------
- suffix : str
- The suffix of the scope
-
- Returns
- -------
- Tuple[str]
- Names of tensors
- """
- return (f'o_rmat{suffix}:0', f'o_rmat_deriv{suffix}:0', f'o_rij{suffix}:0', f'o_nlist{suffix}:0')
-
- def pass_tensors_from_frz_model(self,
- descrpt_reshape : tf.Tensor,
- descrpt_deriv : tf.Tensor,
- rij : tf.Tensor,
- nlist : tf.Tensor
- ):
- """
- Pass the descrpt_reshape tensor as well as descrpt_deriv tensor from the frz graph_def
-
- Parameters
- ----------
- descrpt_reshape
- The passed descrpt_reshape tensor
- descrpt_deriv
- The passed descrpt_deriv tensor
- rij
- The passed rij tensor
- nlist
- The passed nlist tensor
- """
- self.rij = rij
- self.nlist = nlist
- self.descrpt_deriv = descrpt_deriv
- self.descrpt_reshape = descrpt_reshape
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- self.embedding_net_variables = get_embedding_net_variables_from_graph_def(graph_def, suffix = suffix)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
- @property
- def precision(self) -> tf.DType:
- """Precision of filter network."""
- return self.filter_precision
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a.py
deleted file mode 100644
index de83f5926e7cc9e3252d37b85579caae9fea617e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a.py
+++ /dev/null
@@ -1,924 +0,0 @@
-import math
-import numpy as np
-from typing import Tuple, List, Dict, Any
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.tabulate import DPTabulate
-from deepmd.utils.type_embed import embed_atom_type
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph, get_tensor_by_name
-from deepmd.utils.errors import GraphWithoutTensorError
-from .descriptor import Descriptor
-from .se import DescrptSe
-
-from deepmd.nvnmd.descriptor.se_a import descrpt2r4, build_davg_dstd, build_op_descriptor, filter_lower_R42GR, filter_GR2D
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-
-@Descriptor.register("se_e2_a")
-@Descriptor.register("se_a")
-class DescrptSeA (DescrptSe):
- r"""DeepPot-SE constructed from all information (both angular and radial) of
- atomic configurations. The embedding takes the distance between atoms as input.
-
- The descriptor :math:`\mathcal{D}^i \in \mathcal{R}^{M_1 \times M_2}` is given by [1]_
-
- .. math::
- \mathcal{D}^i = (\mathcal{G}^i)^T \mathcal{R}^i (\mathcal{R}^i)^T \mathcal{G}^i_<
-
- where :math:`\mathcal{R}^i \in \mathbb{R}^{N \times 4}` is the coordinate
- matrix, and each row of :math:`\mathcal{R}^i` can be constructed as follows
-
- .. math::
- (\mathcal{R}^i)_j = [
- \begin{array}{c}
- s(r_{ji}) & \frac{s(r_{ji})x_{ji}}{r_{ji}} & \frac{s(r_{ji})y_{ji}}{r_{ji}} & \frac{s(r_{ji})z_{ji}}{r_{ji}}
- \end{array}
- ]
-
- where :math:`\mathbf{R}_{ji}=\mathbf{R}_j-\mathbf{R}_i = (x_{ji}, y_{ji}, z_{ji})` is
- the relative coordinate and :math:`r_{ji}=\lVert \mathbf{R}_{ji} \lVert` is its norm.
- The switching function :math:`s(r)` is defined as:
-
- .. math::
- s(r)=
- \begin{cases}
- \frac{1}{r}, & r None:
- """
- Constructor
- """
- if rcut < rcut_smth:
- raise RuntimeError("rcut_smth (%f) should be no more than rcut (%f)!" % (rcut_smth, rcut))
- self.sel_a = sel
- self.rcut_r = rcut
- self.rcut_r_smth = rcut_smth
- self.filter_neuron = neuron
- self.n_axis_neuron = axis_neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = embedding_net_rand_seed_shift(self.filter_neuron)
- self.trainable = trainable
- self.compress_activation_fn = get_activation_func(activation_function)
- self.filter_activation_fn = get_activation_func(activation_function)
- self.filter_precision = get_precision(precision)
- self.exclude_types = set()
- for tt in exclude_types:
- assert(len(tt) == 2)
- self.exclude_types.add((tt[0], tt[1]))
- self.exclude_types.add((tt[1], tt[0]))
- self.set_davg_zero = set_davg_zero
- self.type_one_side = type_one_side
-
- # descrpt config
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.useBN = False
- self.dstd = None
- self.davg = None
- self.compress = False
- self.embedding_net_variables = None
- self.mixed_prec = None
- self.place_holders = {}
- self.nei_type = np.repeat(np.arange(self.ntypes), self.sel_a) # like a mask
-
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = op_module.prod_env_mat_a(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
- self.original_sel = None
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radius
- """
- return self.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.filter_neuron[-1] * self.n_axis_neuron
-
- def get_dim_rot_mat_1 (self) -> int:
- """
- Returns the first dimension of the rotation matrix. The rotation is of shape dim_1 x 3
- """
- return self.filter_neuron[-1]
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysr,sysr2,sysa,sysa2,sysn \
- = self._compute_dstats_sys_smth(cc,bb,tt,nn,mm)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis = 0)
- suma = np.sum(suma, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- suma2 = np.sum(suma2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/(sumn[type_i]+1e-15), 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def enable_compression(self,
- min_nbor_dist : float,
- model_file : str = 'frozon_model.pb',
- table_extrapolate : float = 5,
- table_stride_1 : float = 0.01,
- table_stride_2 : float = 0.1,
- check_frequency : int = -1,
- suffix : str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between atoms
- model_file
- The original frozen model, which will be compressed by the program
- table_extrapolate
- The scale of model extrapolation
- table_stride_1
- The uniform stride of the first table
- table_stride_2
- The uniform stride of the second table
- check_frequency
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- # do some checks before the mocel compression process
- assert (
- not self.filter_resnet_dt
- ), "Model compression error: descriptor resnet_dt must be false!"
- for tt in self.exclude_types:
- if (tt[0] not in range(self.ntypes)) or (tt[1] not in range(self.ntypes)):
- raise RuntimeError("exclude types" + str(tt) + " must within the number of atomic types " + str(self.ntypes) + "!")
- if (self.ntypes * self.ntypes - len(self.exclude_types) == 0):
- raise RuntimeError("empty embedding-net are not supported in model compression!")
-
- for ii in range(len(self.filter_neuron) - 1):
- if self.filter_neuron[ii] * 2 != self.filter_neuron[ii + 1]:
- raise NotImplementedError(
- "Model Compression error: descriptor neuron [%s] is not supported by model compression! "
- "The size of the next layer of the neural network must be twice the size of the previous layer."
- % ','.join([str(item) for item in self.filter_neuron])
- )
-
- self.compress = True
- self.table = DPTabulate(
- self, self.filter_neuron, model_file, self.type_one_side, self.exclude_types, self.compress_activation_fn, suffix=suffix)
- self.table_config = [table_extrapolate, table_stride_1, table_stride_2, check_frequency]
- self.lower, self.upper \
- = self.table.build(min_nbor_dist,
- table_extrapolate,
- table_stride_1,
- table_stride_2)
-
- graph, _ = load_graph_def(model_file)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.filter_precision = get_precision(mixed_prec['output_prec'])
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- if nvnmd_cfg.enable and nvnmd_cfg.restore_descriptor: davg, dstd = build_davg_dstd()
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- t_original_sel = tf.constant(self.original_sel if self.original_sel is not None else self.sel_a,
- name = 'original_sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- with tf.control_dependencies([t_sel, t_original_sel]):
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- op_descriptor = build_op_descriptor() if nvnmd_cfg.enable else op_module.prod_env_mat_a
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = op_descriptor (coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self._identity_tensors(suffix=suffix)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape,
- atype,
- natoms,
- input_dict,
- suffix = suffix,
- reuse = reuse,
- trainable = self.trainable)
-
- # only used when tensorboard was set as true
- tf.summary.histogram('embedding_net_output', self.dout)
- return self.dout
-
- def get_rot_mat(self) -> tf.Tensor:
- """
- Get rotational matrix
- """
- return self.qmat
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt_reshape)
- tf.summary.histogram('net_derivative', net_deriv)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force \
- = op_module.prod_force_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- tf.summary.histogram('force', force)
- tf.summary.histogram('virial', virial)
- tf.summary.histogram('atom_virial', atom_virial)
-
- return force, virial, atom_virial
-
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse = None,
- suffix = '',
- trainable = True) :
- if input_dict is not None:
- type_embedding = input_dict.get('type_embedding', None)
- else:
- type_embedding = None
- start_index = 0
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- output_qmat = []
- if not (self.type_one_side and len(self.exclude_types) == 0) and type_embedding is None:
- for type_i in range(self.ntypes):
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- if self.type_one_side:
- # reuse NN parameters for all types to support type_one_side along with exclude_types
- reuse = tf.AUTO_REUSE
- filter_name = 'filter_type_all'+suffix
- else:
- filter_name = 'filter_type_'+str(type_i)+suffix
- layer, qmat = self._filter(inputs_i, type_i, name=filter_name, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[2+type_i], self.get_dim_out()])
- qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[2+type_i], self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- output_qmat.append(qmat)
- start_index += natoms[2+type_i]
- else :
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- if nvnmd_cfg.enable and nvnmd_cfg.quantize_descriptor:
- inputs_i = descrpt2r4(inputs_i, natoms)
- layer, qmat = self._filter(inputs_i, type_i, name='filter_type_all'+suffix, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn, type_embedding=type_embedding)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0], self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- output_qmat.append(qmat)
- output = tf.concat(output, axis = 1)
- output_qmat = tf.concat(output_qmat, axis = 1)
- return output, output_qmat
-
-
- def _compute_dstats_sys_smth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 4])
- ddr = dd[:,:1]
- dda = dd[:,1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- if sumn == 0:
- return 1. / self.rcut_r
- val = np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
- if np.abs(val) < 1e-2:
- val = 1e-2
- return val
-
-
- def _concat_type_embedding(
- self,
- xyz_scatter,
- nframes,
- natoms,
- type_embedding,
- ):
- '''Concatenate `type_embedding` of neighbors and `xyz_scatter`.
- If not self.type_one_side, concatenate `type_embedding` of center atoms as well.
-
- Parameters
- ----------
- xyz_scatter:
- shape is [nframes*natoms[0]*self.nnei, 1]
- nframes:
- shape is []
- natoms:
- shape is [1+1+self.ntypes]
- type_embedding:
- shape is [self.ntypes, Y] where Y=jdata['type_embedding']['neuron'][-1]
-
- Returns
- -------
- embedding:
- environment of each atom represented by embedding.
- '''
- te_out_dim = type_embedding.get_shape().as_list()[-1]
- self.t_nei_type = tf.constant(self.nei_type, dtype=tf.int32)
- nei_embed = tf.nn.embedding_lookup(type_embedding,tf.cast(self.t_nei_type,dtype=tf.int32)) # shape is [self.nnei, 1+te_out_dim]
- nei_embed = tf.tile(nei_embed,(nframes*natoms[0],1)) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- nei_embed = tf.reshape(nei_embed,[-1,te_out_dim])
- embedding_input = tf.concat([xyz_scatter,nei_embed],1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim]
- if not self.type_one_side:
- atm_embed = embed_atom_type(self.ntypes, natoms, type_embedding) # shape is [natoms[0], te_out_dim]
- atm_embed = tf.tile(atm_embed,(nframes,self.nnei)) # shape is [nframes*natoms[0], self.nnei*te_out_dim]
- atm_embed = tf.reshape(atm_embed,[-1,te_out_dim]) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- embedding_input = tf.concat([embedding_input,atm_embed],1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim+te_out_dim]
- return embedding_input
-
-
- def _filter_lower(
- self,
- type_i,
- type_input,
- start_index,
- incrs_index,
- inputs,
- nframes,
- natoms,
- type_embedding=None,
- is_exclude = False,
- activation_fn = None,
- bavg = 0.0,
- stddev = 1.0,
- trainable = True,
- suffix = '',
- ):
- """
- input env matrix, returns R.G
- """
- outputs_size = [1] + self.filter_neuron
- # cut-out inputs
- # with natom x (nei_type_i x 4)
- inputs_i = tf.slice (inputs,
- [ 0, start_index* 4],
- [-1, incrs_index* 4] )
- shape_i = inputs_i.get_shape().as_list()
- natom = tf.shape(inputs_i)[0]
- # with (natom x nei_type_i) x 4
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- # with (natom x nei_type_i) x 1
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0,0],[-1,1]),[-1,1])
- if type_embedding is not None:
- xyz_scatter = self._concat_type_embedding(
- xyz_scatter, nframes, natoms, type_embedding)
- if self.compress:
- raise RuntimeError('compression of type embedded descriptor is not supported at the moment')
- # natom x 4 x outputs_size
- if nvnmd_cfg.enable:
- return filter_lower_R42GR(
- type_i, type_input, inputs_i, is_exclude,
- activation_fn, bavg, stddev, trainable,
- suffix, self.seed, self.seed_shift, self.uniform_seed,
- self.filter_neuron, self.filter_precision, self.filter_resnet_dt,
- self.embedding_net_variables
- )
- if self.compress and (not is_exclude):
- if self.type_one_side:
- net = 'filter_-1_net_' + str(type_i)
- else:
- net = 'filter_' + str(type_input) + '_net_' + str(type_i)
- info = [self.lower[net], self.upper[net], self.upper[net] * self.table_config[0], self.table_config[1], self.table_config[2], self.table_config[3]]
- return op_module.tabulate_fusion_se_a(tf.cast(self.table.data[net], self.filter_precision), info, xyz_scatter, tf.reshape(inputs_i, [natom, shape_i[1]//4, 4]), last_layer_size = outputs_size[-1])
- else:
- if (not is_exclude):
- # with (natom x nei_type_i) x out_size
- xyz_scatter = embedding_net(
- xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- name_suffix = suffix,
- stddev = stddev,
- bavg = bavg,
- seed = self.seed,
- trainable = trainable,
- uniform_seed = self.uniform_seed,
- initial_variables = self.embedding_net_variables,
- mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- else:
- # we can safely return the final xyz_scatter filled with zero directly
- return tf.cast(tf.fill((natom, 4, outputs_size[-1]), 0.), self.filter_precision)
- # natom x nei_type_i x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1]//4, outputs_size[-1]))
- # When using tf.reshape(inputs_i, [-1, shape_i[1]//4, 4]) below
- # [588 24] -> [588 6 4] correct
- # but if sel is zero
- # [588 0] -> [147 0 4] incorrect; the correct one is [588 0 4]
- # So we need to explicitly assign the shape to tf.shape(inputs_i)[0] instead of -1
- # natom x 4 x outputs_size
- return tf.matmul(tf.reshape(inputs_i, [natom, shape_i[1]//4, 4]), xyz_scatter, transpose_a = True)
-
-
- @cast_precision
- def _filter(
- self,
- inputs,
- type_input,
- natoms,
- type_embedding = None,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- trainable = True):
- nframes = tf.shape(tf.reshape(inputs, [-1, natoms[0], self.ndescrpt]))[0]
- # natom x (nei x 4)
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + self.filter_neuron
- outputs_size_2 = self.n_axis_neuron
- all_excluded = all([(type_input, type_i) in self.exclude_types for type_i in range(self.ntypes)])
- if all_excluded:
- # all types are excluded so result and qmat should be zeros
- # we can safaly return a zero matrix...
- # See also https://stackoverflow.com/a/34725458/9567349
- # result: natom x outputs_size x outputs_size_2
- # qmat: natom x outputs_size x 3
- natom = tf.shape(inputs)[0]
- result = tf.cast(tf.fill((natom, outputs_size_2, outputs_size[-1]), 0.), GLOBAL_TF_FLOAT_PRECISION)
- qmat = tf.cast(tf.fill((natom, outputs_size[-1], 3), 0.), GLOBAL_TF_FLOAT_PRECISION)
- return result, qmat
-
- with tf.variable_scope(name, reuse=reuse):
- start_index = 0
- type_i = 0
- # natom x 4 x outputs_size
- if type_embedding is None:
- rets = []
- for type_i in range(self.ntypes):
- ret = self._filter_lower(
- type_i, type_input,
- start_index, self.sel_a[type_i],
- inputs,
- nframes,
- natoms,
- type_embedding = type_embedding,
- is_exclude = (type_input, type_i) in self.exclude_types,
- activation_fn = activation_fn,
- stddev = stddev,
- bavg = bavg,
- trainable = trainable,
- suffix = "_"+str(type_i))
- if (type_input, type_i) not in self.exclude_types:
- # add zero is meaningless; skip
- rets.append(ret)
- start_index += self.sel_a[type_i]
- # faster to use accumulate_n than multiple add
- xyz_scatter_1 = tf.accumulate_n(rets)
- else :
- xyz_scatter_1 = self._filter_lower(
- type_i, type_input,
- start_index, np.cumsum(self.sel_a)[-1],
- inputs,
- nframes,
- natoms,
- type_embedding = type_embedding,
- is_exclude = False,
- activation_fn = activation_fn,
- stddev = stddev,
- bavg = bavg,
- trainable = trainable)
- if nvnmd_cfg.enable: return filter_GR2D(xyz_scatter_1)
- # natom x nei x outputs_size
- # xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # natom x nei x 4
- # inputs_reshape = tf.reshape(inputs, [-1, shape[1]//4, 4])
- # natom x 4 x outputs_size
- # xyz_scatter_1 = tf.matmul(inputs_reshape, xyz_scatter, transpose_a = True)
- if self.original_sel is None:
- # shape[1] = nnei * 4
- nnei = shape[1] / 4
- else:
- nnei = tf.cast(tf.Variable(np.sum(self.original_sel), dtype=tf.int32, trainable=False, name="nnei"), self.filter_precision)
- xyz_scatter_1 = xyz_scatter_1 / nnei
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = tf.slice(xyz_scatter_1, [0,0,0],[-1,-1,outputs_size_2])
- # # natom x 3 x outputs_size_2
- # qmat = tf.slice(xyz_scatter_2, [0,1,0], [-1, 3, -1])
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0,1,0], [-1, 3, -1])
- # natom x outputs_size_1 x 3
- qmat = tf.transpose(qmat, perm = [0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a = True)
- # natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, outputs_size_2 * outputs_size[-1]])
-
- return result, qmat
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- super().init_variables(graph=graph, graph_def=graph_def, suffix=suffix)
- try:
- self.original_sel = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/original_sel' % suffix)
- except GraphWithoutTensorError:
- # original_sel is not restored in old graphs, assume sel never changed before
- pass
- # check sel == original sel?
- try:
- sel = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/sel' % suffix)
- except GraphWithoutTensorError:
- # sel is not restored in old graphs
- pass
- else:
- if not np.array_equal(np.array(self.sel_a), sel):
- if not self.set_davg_zero:
- raise RuntimeError("Adjusting sel is only supported when `set_davg_zero` is true!")
- # as set_davg_zero, self.davg is safely zero
- self.davg = np.zeros([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- new_dstd = np.ones([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- # shape of davg and dstd is (ntypes, ndescrpt), ndescrpt = 4*sel
- n_descpt = np.array(self.sel_a) * 4
- n_descpt_old = np.array(sel) * 4
- end_index = np.cumsum(n_descpt)
- end_index_old = np.cumsum(n_descpt_old)
- start_index = np.roll(end_index, 1)
- start_index[0] = 0
- start_index_old = np.roll(end_index_old, 1)
- start_index_old[0] = 0
-
- for nn, oo, ii, jj in zip(n_descpt, n_descpt_old, start_index, start_index_old):
- if nn < oo:
- # new size is smaller, copy part of std
- new_dstd[:, ii:ii+nn] = self.dstd[:, jj:jj+nn]
- else:
- # new size is larger, copy all, the rest remains 1
- new_dstd[:, ii:ii+oo] = self.dstd[:, jj:jj+oo]
- self.dstd = new_dstd
- if self.original_sel is None:
- self.original_sel = sel
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a_ebd.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a_ebd.py
deleted file mode 100644
index b169e2fb8b9605e66e60b1df565fc3aeea9ea76f..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a_ebd.py
+++ /dev/null
@@ -1,524 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg, get_activation_func, get_precision, add_data_requirement
-from deepmd.utils.network import one_layer
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net
-from .se_a import DescrptSeA
-from .descriptor import Descriptor
-
-@Descriptor.register("se_a_tpe")
-@Descriptor.register("se_a_ebd")
-class DescrptSeAEbd (DescrptSeA):
- """DeepPot-SE descriptor with type embedding approach.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- axis_neuron
- Number of the axis neuron (number of columns of the sub-matrix of the embedding matrix)
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- type_nchanl
- Number of channels for type representation
- type_nlayer
- Number of hidden layers for the type embedding net (skip connected).
- numb_aparam
- Number of atomic parameters. If >0 it will be embedded with atom types.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are {0}
- precision
- The precision of the embedding net parameters. Supported options are {1}
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- """
- def __init__ (self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- type_nchanl : int = 2,
- type_nlayer : int = 1,
- numb_aparam : int = 0,
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- exclude_types: List[List[int]] = [],
- ) -> None:
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('type_nchanl', int, default = 4) \
- # .add('type_nlayer', int, default = 2) \
- # .add('type_one_side', bool, default = True) \
- # .add('numb_aparam', int, default = 0)
- # class_data = args.parse(jdata)
- DescrptSeA.__init__(self,
- rcut,
- rcut_smth,
- sel,
- neuron = neuron,
- axis_neuron = axis_neuron,
- resnet_dt = resnet_dt,
- trainable = trainable,
- seed = seed,
- type_one_side = type_one_side,
- set_davg_zero = set_davg_zero,
- activation_function = activation_function,
- precision = precision
- )
- self.type_nchanl = type_nchanl
- self.type_nlayer = type_nlayer
- self.type_one_side = type_one_side
- self.numb_aparam = numb_aparam
- if self.numb_aparam > 0:
- add_data_requirement('aparam', 3, atomic=True, must=True, high_prec=False)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- nei_type = np.array([])
- for ii in range(self.ntypes):
- nei_type = np.append(nei_type, ii * np.ones(self.sel_a[ii]))
- self.nei_type = tf.get_variable('t_nei_type',
- [self.nnei],
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(nei_type))
- self.dout = DescrptSeA.build(self, coord_, atype_, natoms, box_, mesh, input_dict, suffix = suffix, reuse = reuse)
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
-
- def _type_embed(self,
- atype,
- ndim = 1,
- reuse = None,
- suffix = '',
- trainable = True):
- ebd_type = tf.cast(atype, self.filter_precision)
- ebd_type = ebd_type / float(self.ntypes)
- ebd_type = tf.reshape(ebd_type, [-1, ndim])
- for ii in range(self.type_nlayer):
- name = 'type_embed_layer_' + str(ii)
- ebd_type = one_layer(ebd_type,
- self.type_nchanl,
- activation_fn = self.filter_activation_fn,
- precision = self.filter_precision,
- name = name,
- reuse = reuse,
- seed = self.seed + ii,
- trainable = trainable)
- name = 'type_embed_layer_' + str(self.type_nlayer)
- ebd_type = one_layer(ebd_type,
- self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name,
- reuse = reuse,
- seed = self.seed + ii,
- trainable = trainable)
- ebd_type = tf.reshape(ebd_type, [tf.shape(atype)[0], self.type_nchanl])
- return ebd_type
-
-
- def _embedding_net(self,
- inputs,
- natoms,
- filter_neuron,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- seed=None,
- trainable = True):
- '''
- inputs: nf x na x (nei x 4)
- outputs: nf x na x nei x output_size
- '''
- # natom x (nei x 4)
- inputs = tf.reshape(inputs, [-1, self.ndescrpt])
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + filter_neuron
- with tf.variable_scope(name, reuse=reuse):
- xyz_scatter_total = []
- # with natom x (nei x 4)
- inputs_i = inputs
- shape_i = inputs_i.get_shape().as_list()
- # with (natom x nei) x 4
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- # with (natom x nei) x 1
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0,0],[-1,1]),[-1,1])
- # with (natom x nei) x out_size
- xyz_scatter = embedding_net(xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- stddev = stddev,
- bavg = bavg,
- seed = seed,
- trainable = trainable)
- # natom x nei x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1]//4, outputs_size[-1]))
- xyz_scatter_total.append(xyz_scatter)
- # natom x nei x outputs_size
- xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # nf x natom x nei x outputs_size
- xyz_scatter = tf.reshape(xyz_scatter, [tf.shape(inputs)[0], natoms[0], self.nnei, outputs_size[-1]])
- return xyz_scatter
-
-
- def _type_embedding_net_two_sides(self,
- mat_g,
- atype,
- natoms,
- name = '',
- reuse = None,
- seed = None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- nframes = tf.shape(mat_g)[0]
- # (nf x natom x nei) x (outputs_size x chnl x chnl)
- mat_g = tf.reshape(mat_g, [nframes * natoms[0] * self.nnei, outputs_size])
- mat_g = one_layer(mat_g,
- outputs_size * self.type_nchanl * self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name+'_amplify',
- reuse = reuse,
- seed = self.seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size x chnl x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size, self.type_nchanl, self.type_nchanl])
- # nf x natom x outputs_size x chnl x nei x chnl
- mat_g = tf.transpose(mat_g, perm = [0, 1, 3, 4, 2, 5])
- # nf x natom x outputs_size x chnl x (nei x chnl)
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.type_nchanl, self.nnei * self.type_nchanl])
-
- # nei x nchnl
- ebd_nei_type = self._type_embed(self.nei_type,
- reuse = reuse,
- trainable = True,
- suffix = '')
- # (nei x nchnl)
- ebd_nei_type = tf.reshape(ebd_nei_type, [self.nnei * self.type_nchanl])
- # (nframes x natom) x nchnl
- ebd_atm_type = self._type_embed(atype,
- reuse = True,
- trainable = True,
- suffix = '')
- # (nframes x natom x nchnl)
- ebd_atm_type = tf.reshape(ebd_atm_type, [nframes * natoms[0] * self.type_nchanl])
-
- # nf x natom x outputs_size x chnl x (nei x chnl)
- mat_g = tf.multiply(mat_g, ebd_nei_type)
- # nf x natom x outputs_size x chnl x nei x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.type_nchanl, self.nnei, self.type_nchanl])
- # nf x natom x outputs_size x chnl x nei
- mat_g = tf.reduce_mean(mat_g, axis = 5)
- # outputs_size x nei x nf x natom x chnl
- mat_g = tf.transpose(mat_g, perm = [2, 4, 0, 1, 3])
- # outputs_size x nei x (nf x natom x chnl)
- mat_g = tf.reshape(mat_g, [outputs_size, self.nnei, nframes * natoms[0] * self.type_nchanl])
- # outputs_size x nei x (nf x natom x chnl)
- mat_g = tf.multiply(mat_g, ebd_atm_type)
- # outputs_size x nei x nf x natom x chnl
- mat_g = tf.reshape(mat_g, [outputs_size, self.nnei, nframes, natoms[0], self.type_nchanl])
- # outputs_size x nei x nf x natom
- mat_g = tf.reduce_mean(mat_g, axis = 4)
- # nf x natom x nei x outputs_size
- mat_g = tf.transpose(mat_g, perm = [2, 3, 1, 0])
- # (nf x natom) x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes * natoms[0], self.nnei, outputs_size])
- return mat_g
-
-
- def _type_embedding_net_one_side(self,
- mat_g,
- atype,
- natoms,
- name = '',
- reuse = None,
- seed = None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- nframes = tf.shape(mat_g)[0]
- # (nf x natom x nei) x (outputs_size x chnl x chnl)
- mat_g = tf.reshape(mat_g, [nframes * natoms[0] * self.nnei, outputs_size])
- mat_g = one_layer(mat_g,
- outputs_size * self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name+'_amplify',
- reuse = reuse,
- seed = self.seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size, self.type_nchanl])
- # nf x natom x outputs_size x nei x chnl
- mat_g = tf.transpose(mat_g, perm = [0, 1, 3, 2, 4])
- # nf x natom x outputs_size x (nei x chnl)
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.nnei * self.type_nchanl])
-
- # nei x nchnl
- ebd_nei_type = self._type_embed(self.nei_type,
- reuse = reuse,
- trainable = True,
- suffix = '')
- # (nei x nchnl)
- ebd_nei_type = tf.reshape(ebd_nei_type, [self.nnei * self.type_nchanl])
-
- # nf x natom x outputs_size x (nei x chnl)
- mat_g = tf.multiply(mat_g, ebd_nei_type)
- # nf x natom x outputs_size x nei x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], outputs_size, self.nnei, self.type_nchanl])
- # nf x natom x outputs_size x nei
- mat_g = tf.reduce_mean(mat_g, axis = 4)
- # nf x natom x nei x outputs_size
- mat_g = tf.transpose(mat_g, perm = [0, 1, 3, 2])
- # (nf x natom) x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes * natoms[0], self.nnei, outputs_size])
- return mat_g
-
-
- def _type_embedding_net_one_side_aparam(self,
- mat_g,
- atype,
- natoms,
- aparam,
- name = '',
- reuse = None,
- seed = None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- nframes = tf.shape(mat_g)[0]
- # (nf x natom x nei) x (outputs_size x chnl x chnl)
- mat_g = tf.reshape(mat_g, [nframes * natoms[0] * self.nnei, outputs_size])
- mat_g = one_layer(mat_g,
- outputs_size * self.type_nchanl,
- activation_fn = None,
- precision = self.filter_precision,
- name = name+'_amplify',
- reuse = reuse,
- seed = self.seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size x chnl
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size, self.type_nchanl])
- # outputs_size x nf x natom x nei x chnl
- mat_g = tf.transpose(mat_g, perm = [3, 0, 1, 2, 4])
- # outputs_size x (nf x natom x nei x chnl)
- mat_g = tf.reshape(mat_g, [outputs_size, nframes * natoms[0] * self.nnei * self.type_nchanl])
- # nf x natom x nnei
- embed_type = tf.tile(tf.reshape(self.nei_type, [1, self.nnei]),
- [nframes * natoms[0], 1])
- # (nf x natom x nnei) x 1
- embed_type = tf.reshape(embed_type, [nframes * natoms[0] * self.nnei, 1])
- # nf x (natom x naparam)
- aparam = tf.reshape(aparam, [nframes, -1])
- # nf x natom x nnei x naparam
- embed_aparam = op_module.map_aparam(aparam, self.nlist, natoms, n_a_sel = self.nnei_a, n_r_sel = self.nnei_r)
- # (nf x natom x nnei) x naparam
- embed_aparam = tf.reshape(embed_aparam, [nframes * natoms[0] * self.nnei, self.numb_aparam])
- # (nf x natom x nnei) x (naparam+1)
- embed_input = tf.concat((embed_type, embed_aparam), axis = 1)
-
- # (nf x natom x nnei) x nchnl
- ebd_nei_type = self._type_embed(embed_input,
- ndim = self.numb_aparam + 1,
- reuse = reuse,
- trainable = True,
- suffix = '')
- # (nf x natom x nei x nchnl)
- ebd_nei_type = tf.reshape(ebd_nei_type, [nframes * natoms[0] * self.nnei * self.type_nchanl])
-
- # outputs_size x (nf x natom x nei x chnl)
- mat_g = tf.multiply(mat_g, ebd_nei_type)
- # outputs_size x nf x natom x nei x chnl
- mat_g = tf.reshape(mat_g, [outputs_size, nframes, natoms[0], self.nnei, self.type_nchanl])
- # outputs_size x nf x natom x nei
- mat_g = tf.reduce_mean(mat_g, axis = 4)
- # nf x natom x nei x outputs_size
- mat_g = tf.transpose(mat_g, perm = [1, 2, 3, 0])
- # (nf x natom) x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes * natoms[0], self.nnei, outputs_size])
- return mat_g
-
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse = None,
- suffix = '',
- trainable = True) :
- # nf x na x ndescrpt
- # nf x na x (nnei x 4)
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- layer, qmat = self._ebd_filter(tf.cast(inputs, self.filter_precision),
- atype,
- natoms,
- input_dict,
- name='filter_type_all'+suffix,
- reuse=reuse,
- seed = self.seed,
- trainable = trainable,
- activation_fn = self.filter_activation_fn)
- output = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- output_qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0], self.get_dim_rot_mat_1() * 3])
- return output, output_qmat
-
-
- def _ebd_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- seed=None,
- trainable = True):
- outputs_size = self.filter_neuron[-1]
- outputs_size_2 = self.n_axis_neuron
- # nf x natom x (nei x 4)
- nframes = tf.shape(inputs)[0]
- shape = tf.reshape(inputs, [-1, self.ndescrpt]).get_shape().as_list()
-
- # nf x natom x nei x outputs_size
- mat_g = self._embedding_net(inputs,
- natoms,
- self.filter_neuron,
- activation_fn = activation_fn,
- stddev = stddev,
- bavg = bavg,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
- # nf x natom x nei x outputs_size
- mat_g = tf.reshape(mat_g, [nframes, natoms[0], self.nnei, outputs_size])
-
- # (nf x natom) x nei x outputs_size
- if self.type_one_side:
- if self.numb_aparam > 0:
- aparam = input_dict['aparam']
- xyz_scatter \
- = self._type_embedding_net_one_side_aparam(mat_g,
- atype,
- natoms,
- aparam,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
- else:
- xyz_scatter \
- = self._type_embedding_net_one_side(mat_g,
- atype,
- natoms,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
- else:
- xyz_scatter \
- = self._type_embedding_net_two_sides(mat_g,
- atype,
- natoms,
- name = name,
- reuse = reuse,
- seed = seed,
- trainable = trainable)
-
- # natom x nei x 4
- inputs_reshape = tf.reshape(inputs, [-1, shape[1]//4, 4])
- # natom x 4 x outputs_size
- xyz_scatter_1 = tf.matmul(inputs_reshape, xyz_scatter, transpose_a = True)
- xyz_scatter_1 = xyz_scatter_1 * (4.0 / shape[1])
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = tf.slice(xyz_scatter_1, [0,0,0],[-1,-1,outputs_size_2])
- # # natom x 3 x outputs_size_2
- # qmat = tf.slice(xyz_scatter_2, [0,1,0], [-1, 3, -1])
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0,1,0], [-1, 3, -1])
- # natom x outputs_size_2 x 3
- qmat = tf.transpose(qmat, perm = [0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a = True)
- # natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, outputs_size_2 * outputs_size])
-
- return result, qmat
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a_ef.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a_ef.py
deleted file mode 100644
index 5ecb9dcb09a03995041e4f35cc17855c087951b7..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_a_ef.py
+++ /dev/null
@@ -1,564 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement
-from deepmd.utils.sess import run_sess
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from .se_a import DescrptSeA
-from .descriptor import Descriptor
-
-@Descriptor.register("se_a_ef")
-class DescrptSeAEf (Descriptor):
- """
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- axis_neuron
- Number of the axis neuron (number of columns of the sub-matrix of the embedding matrix)
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__(self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed = False
- ) -> None:
- """
- Constructor
- """
- self.descrpt_para = DescrptSeAEfLower(
- op_module.descrpt_se_a_ef_para,
- rcut,
- rcut_smth,
- sel,
- neuron,
- axis_neuron,
- resnet_dt,
- trainable,
- seed,
- type_one_side,
- exclude_types,
- set_davg_zero,
- activation_function,
- precision,
- uniform_seed,
- )
- self.descrpt_vert = DescrptSeAEfLower(
- op_module.descrpt_se_a_ef_vert,
- rcut,
- rcut_smth,
- sel,
- neuron,
- axis_neuron,
- resnet_dt,
- trainable,
- seed,
- type_one_side,
- exclude_types,
- set_davg_zero,
- activation_function,
- precision,
- uniform_seed,
- )
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radisu
- """
- return self.descrpt_vert.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.descrpt_vert.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.descrpt_vert.get_dim_out() + self.descrpt_para.get_dim_out()
-
- def get_dim_rot_mat_1 (self) -> int:
- """
- Returns the first dimension of the rotation matrix. The rotation is of shape dim_1 x 3
- """
- return self.descrpt_vert.filter_neuron[-1]
-
- def get_rot_mat(self) -> tf.Tensor:
- """
- Get rotational matrix
- """
- return self.qmat
-
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return \
- self.descrpt_vert.nlist, \
- self.descrpt_vert.rij, \
- self.descrpt_vert.sel_a, \
- self.descrpt_vert.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- self.descrpt_vert.compute_input_stats(data_coord, data_box, data_atype, natoms_vec, mesh, input_dict)
- self.descrpt_para.compute_input_stats(data_coord, data_box, data_atype, natoms_vec, mesh, input_dict)
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs. Should have 'efield'.
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- self.dout_vert = self.descrpt_vert.build(coord_, atype_, natoms, box_, mesh, input_dict)
- self.dout_para = self.descrpt_para.build(coord_, atype_, natoms, box_, mesh, input_dict, reuse = True)
- coord = tf.reshape(coord_, [-1, natoms[1] * 3])
- nframes = tf.shape(coord)[0]
- self.dout_vert = tf.reshape(self.dout_vert, [nframes * natoms[0], self.descrpt_vert.get_dim_out()])
- self.dout_para = tf.reshape(self.dout_para, [nframes * natoms[0], self.descrpt_para.get_dim_out()])
- self.dout = tf.concat([self.dout_vert, self.dout_para], axis = 1)
- self.dout = tf.reshape(self.dout, [nframes, natoms[0], self.get_dim_out()])
- self.qmat = self.descrpt_vert.qmat + self.descrpt_para.qmat
-
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- f_vert, v_vert, av_vert \
- = self.descrpt_vert.prod_force_virial(atom_ener, natoms)
- f_para, v_para, av_para \
- = self.descrpt_para.prod_force_virial(atom_ener, natoms)
- force = f_vert + f_para
- virial = v_vert + v_para
- atom_vir = av_vert + av_para
- return force, virial, atom_vir
-
-
-class DescrptSeAEfLower (DescrptSeA):
- """
- Helper class for implementing DescrptSeAEf
- """
- def __init__ (self,
- op,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed : bool = False,
- ) -> None:
- DescrptSeA.__init__(
- self,
- rcut,
- rcut_smth,
- sel,
- neuron,
- axis_neuron,
- resnet_dt,
- trainable,
- seed,
- type_one_side,
- exclude_types,
- set_davg_zero,
- activation_function,
- precision,
- uniform_seed
- )
- # DescrptSeA.__init__(self, **jdata)
- # args = ClassArg()\
- # .add('sel', list, must = True) \
- # .add('rcut', float, default = 6.0) \
- # .add('rcut_smth',float, default = 5.5) \
- # .add('neuron', list, default = [10, 20, 40]) \
- # .add('axis_neuron', int, default = 4, alias = 'n_axis_neuron') \
- # .add('resnet_dt',bool, default = False) \
- # .add('trainable',bool, default = True) \
- # .add('seed', int)
- # class_data = args.parse(jdata)
- # self.sel_a = class_data['sel']
- # self.rcut_r = class_data['rcut']
- # self.rcut_r_smth = class_data['rcut_smth']
- # self.filter_neuron = class_data['neuron']
- # self.n_axis_neuron = class_data['axis_neuron']
- # self.filter_resnet_dt = class_data['resnet_dt']
- # self.seed = class_data['seed']
- # self.trainable = class_data['trainable']
- self.sel_a = sel
- self.rcut_r = rcut
- self.rcut_r_smth = rcut_smth
- self.filter_neuron = neuron
- self.n_axis_neuron = axis_neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.trainable = trainable
- self.op = op
-
- # descrpt config
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.useBN = False
- self.dstd = None
- self.davg = None
-
- add_data_requirement('efield', 3, atomic=True, must=True, high_prec=False)
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_ef_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.place_holders['efield'] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name=name_pfx+'t_efield')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = self.op(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- self.place_holders['efield'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
-
- def compute_input_stats (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- input_dict) :
- data_efield = input_dict['efield']
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- for cc,bb,tt,nn,mm,ee in zip(data_coord,data_box,data_atype,natoms_vec,mesh,data_efield) :
- sysr,sysr2,sysa,sysa2,sysn \
- = self._compute_dstats_sys_smth(cc,bb,tt,nn,mm,ee)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis = 0)
- suma = np.sum(suma, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- suma2 = np.sum(suma2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/sumn[type_i], 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def _normalize_3d(self, a):
- na = tf.norm(a, axis = 1)
- na = tf.tile(tf.reshape(na, [-1,1]), tf.constant([1, 3]))
- return tf.divide(a, na)
-
- def build (self,
- coord_,
- atype_,
- natoms,
- box_,
- mesh,
- input_dict,
- suffix = '',
- reuse = None):
- efield = input_dict['efield']
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
- efield = tf.reshape(efield, [-1, 3])
- efield = self._normalize_3d(efield)
- efield = tf.reshape(efield, [-1, natoms[0] * 3])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = self.op (coord,
- atype,
- natoms,
- box,
- mesh,
- efield,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self.descrpt_reshape = tf.identity(self.descrpt_reshape, name = 'o_rmat')
- self.descrpt_deriv = tf.identity(self.descrpt_deriv, name = 'o_rmat_deriv')
- self.rij = tf.identity(self.rij, name = 'o_rij')
- self.nlist = tf.identity(self.nlist, name = 'o_nlist')
-
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape, atype, natoms, input_dict, suffix = suffix, reuse = reuse, trainable = self.trainable)
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
-
-
- def _compute_dstats_sys_smth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- data_efield) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- self.place_holders['efield']: data_efield,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 4])
- ddr = dd[:,:1]
- dda = dd[:,1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_atten.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_atten.py
deleted file mode 100644
index 20401ecec119a723ac299b5087a04dd6795b30bd..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_atten.py
+++ /dev/null
@@ -1,809 +0,0 @@
-import math
-import numpy as np
-from typing import Tuple, List, Dict, Any
-from packaging.version import Version
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import TF_VERSION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import one_layer, embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.tabulate import DPTabulate
-from deepmd.utils.type_embed import embed_atom_type
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph, get_tensor_by_name
-from deepmd.utils.graph import get_attention_layer_variables_from_graph_def
-from deepmd.utils.errors import GraphWithoutTensorError
-from .descriptor import Descriptor
-from .se_a import DescrptSeA
-
-
-@Descriptor.register("se_atten")
-class DescrptSeAtten(DescrptSeA):
- """
- Parameters
- ----------
- rcut
- The cut-off radius :math:`r_c`
- rcut_smth
- From where the environment matrix should be smoothed :math:`r_s`
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net :math:`\mathcal{N}`
- axis_neuron
- Number of the axis neuron :math:`M_2` (number of columns of the sub-matrix of the embedding matrix)
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- attn
- The length of hidden vector during scale-dot attention computation.
- attn_layer
- The number of layers in attention mechanism.
- attn_dotr
- Whether to dot the relative coordinates on the attention weights as a gated scheme.
- attn_mask
- Whether to mask the diagonal in the attention weights.
- """
-
- def __init__(self,
- rcut: float,
- rcut_smth: float,
- sel: int,
- ntypes: int,
- neuron: List[int] = [24, 48, 96],
- axis_neuron: int = 8,
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed: bool = False,
- attn: int = 128,
- attn_layer: int = 2,
- attn_dotr: bool = True,
- attn_mask: bool = False
- ) -> None:
- DescrptSeA.__init__(self,
- rcut,
- rcut_smth,
- [sel],
- neuron=neuron,
- axis_neuron=axis_neuron,
- resnet_dt=resnet_dt,
- trainable=trainable,
- seed=seed,
- type_one_side=type_one_side,
- exclude_types=exclude_types,
- set_davg_zero=set_davg_zero,
- activation_function=activation_function,
- precision=precision,
- uniform_seed=uniform_seed
- )
- """
- Constructor
- """
- assert (Version(TF_VERSION) > Version('2')), "se_atten only support tensorflow version 2.0 or higher."
- self.ntypes = ntypes
- self.att_n = attn
- self.attn_layer = attn_layer
- self.attn_mask = attn_mask
- self.attn_dotr = attn_dotr
-
- # descrpt config
- self.sel_all_a = [sel]
- self.sel_all_r = [0]
- avg_zero = np.zeros([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones([self.ntypes, self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- self.beta = np.zeros([self.attn_layer, self.filter_neuron[-1]]).astype(GLOBAL_NP_FLOAT_PRECISION)
- self.gamma = np.ones([self.attn_layer, self.filter_neuron[-1]]).astype(GLOBAL_NP_FLOAT_PRECISION)
- self.attention_layer_variables = None
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None],
- name=name_pfx + 't_' + ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx + 't_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes + 2], name=name_pfx + 't_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx + 't_mesh')
- self.stat_descrpt, self.descrpt_deriv_t, self.rij_t, self.nlist_t, self.nei_type_vec_t, self.nmask_t \
- = op_module.prod_env_mat_a_mix(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a=self.rcut_a,
- rcut_r=self.rcut_r,
- rcut_r_smth=self.rcut_r_smth,
- sel_a=self.sel_all_a,
- sel_r=self.sel_all_r)
- self.sub_sess = tf.Session(graph=sub_graph, config=default_tf_session_config)
-
- def compute_input_stats(self,
- data_coord: list,
- data_box: list,
- data_atype: list,
- natoms_vec: list,
- mesh: list,
- input_dict: dict,
- mixed_type: bool = False,
- real_natoms_vec: list = None
- ) -> None:
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms.
- If mixed_type is True, this para is blank. See real_natoms_vec.
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- mixed_type
- Whether to perform the mixed_type mode.
- If True, the input data has the mixed_type format (see doc/model/train_se_atten.md),
- in which frames in a system may have different natoms_vec(s), with the same nloc.
- real_natoms_vec
- If mixed_type is True, it takes in the real natoms_vec for each frame.
- """
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- if mixed_type:
- sys_num = 0
- for cc, bb, tt, nn, mm, r_n in zip(data_coord, data_box, data_atype, natoms_vec, mesh, real_natoms_vec):
- sysr, sysr2, sysa, sysa2, sysn \
- = self._compute_dstats_sys_smth(cc, bb, tt, nn, mm, mixed_type, r_n)
- sys_num += 1
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- else:
- for cc, bb, tt, nn, mm in zip(data_coord, data_box, data_atype, natoms_vec, mesh):
- sysr, sysr2, sysa, sysa2, sysn \
- = self._compute_dstats_sys_smth(cc, bb, tt, nn, mm)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis=0)
- suma = np.sum(suma, axis=0)
- sumn = np.sum(sumn, axis=0)
- sumr2 = np.sum(sumr2, axis=0)
- suma2 = np.sum(suma2, axis=0)
- for type_i in range(self.ntypes):
- davgunit = [sumr[type_i] / (sumn[type_i] + 1e-15), 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def build(self,
- coord_: tf.Tensor,
- atype_: tf.Tensor,
- natoms: tf.Tensor,
- box_: tf.Tensor,
- mesh: tf.Tensor,
- input_dict: dict,
- reuse: bool = None,
- suffix: str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse=reuse):
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name='rcut',
- dtype=GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name='ntypes',
- dtype=tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name='ndescrpt',
- dtype=tf.int32)
- t_sel = tf.constant(self.sel_a,
- name='sel',
- dtype=tf.int32)
- t_original_sel = tf.constant(self.original_sel if self.original_sel is not None else self.sel_a,
- name='original_sel',
- dtype=tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype=GLOBAL_TF_FLOAT_PRECISION,
- trainable=False,
- initializer=tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype=GLOBAL_TF_FLOAT_PRECISION,
- trainable=False,
- initializer=tf.constant_initializer(dstd))
-
- with tf.control_dependencies([t_sel, t_original_sel]):
- coord = tf.reshape(coord_, [-1, natoms[1] * 3])
- box = tf.reshape(box_, [-1, 9])
- atype = tf.reshape(atype_, [-1, natoms[1]])
- self.attn_weight = [None for i in range(self.attn_layer)]
- self.angular_weight = [None for i in range(self.attn_layer)]
- self.attn_weight_final = [None for i in range(self.attn_layer)]
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist, self.nei_type_vec, self.nmask \
- = op_module.prod_env_mat_a_mix(coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a=self.rcut_a,
- rcut_r=self.rcut_r,
- rcut_r_smth=self.rcut_r_smth,
- sel_a=self.sel_all_a,
- sel_r=self.sel_all_r)
- self.nei_type_vec = tf.reshape(self.nei_type_vec, [-1])
- self.nmask = tf.cast(tf.reshape(self.nmask, [-1, 1, self.sel_all_a[0]]), GLOBAL_TF_FLOAT_PRECISION)
- self.negative_mask = -(2 << 32) * (1.0 - self.nmask)
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self.atype_nloc = tf.reshape(tf.slice(atype, [0, 0], [-1, natoms[0]]),
- [-1]) ## lammps will have error without this
- self._identity_tensors(suffix=suffix)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape,
- self.atype_nloc,
- natoms,
- input_dict,
- suffix=suffix,
- reuse=reuse,
- trainable=self.trainable)
-
- # only used when tensorboard was set as true
- tf.summary.histogram('embedding_net_output', self.dout)
- return self.dout
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse=None,
- suffix='',
- trainable=True):
- assert (input_dict is not None and input_dict.get('type_embedding', None) is not None), \
- 'se_atten desctiptor must use type_embedding'
- type_embedding = input_dict.get('type_embedding', None)
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- output_qmat = []
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- layer, qmat = self._filter(inputs_i, type_i, natoms, name='filter_type_all' + suffix, suffix=suffix,
- reuse=reuse, trainable=trainable, activation_fn=self.filter_activation_fn,
- type_embedding=type_embedding, atype=atype)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0], self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- output_qmat.append(qmat)
- output = tf.concat(output, axis=1)
- output_qmat = tf.concat(output_qmat, axis=1)
- return output, output_qmat
-
- def _compute_dstats_sys_smth(self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- mixed_type=False,
- real_natoms_vec=None):
- dd_all, descrpt_deriv_t, rij_t, nlist_t, nei_type_vec_t, nmask_t \
- = run_sess(self.sub_sess, [self.stat_descrpt, self.descrpt_deriv_t, self.rij_t, self.nlist_t, self.nei_type_vec_t, self.nmask_t],
- feed_dict={
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- if mixed_type:
- nframes = dd_all.shape[0]
- sysr = [0. for i in range(self.ntypes)]
- sysa = [0. for i in range(self.ntypes)]
- sysn = [0 for i in range(self.ntypes)]
- sysr2 = [0. for i in range(self.ntypes)]
- sysa2 = [0. for i in range(self.ntypes)]
- for ff in range(nframes):
- natoms = real_natoms_vec[ff]
- dd_ff = np.reshape(dd_all[ff], [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2 + type_i] # center atom split
- dd = dd_ff[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt]) # nframes * typen_atoms , nnei * 4
- start_index = end_index
- # compute
- dd = np.reshape(dd, [-1, 4]) # nframes * typen_atoms * nnei, 4
- ddr = dd[:, :1]
- dda = dd[:, 1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr[type_i] += sumr
- sysa[type_i] += suma
- sysn[type_i] += sumn
- sysr2[type_i] += sumr2
- sysa2[type_i] += suma2
- else:
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2 + type_i] # center atom split
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt]) # nframes * typen_atoms , nnei * 4
- start_index = end_index
- # compute
- dd = np.reshape(dd, [-1, 4]) # nframes * typen_atoms * nnei, 4
- ddr = dd[:, :1]
- dda = dd[:, 1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
- def _lookup_type_embedding(
- self,
- xyz_scatter,
- natype,
- type_embedding,
- ):
- '''Concatenate `type_embedding` of neighbors and `xyz_scatter`.
- If not self.type_one_side, concatenate `type_embedding` of center atoms as well.
-
- Parameters
- ----------
- xyz_scatter:
- shape is [nframes*natoms[0]*self.nnei, 1]
- nframes:
- shape is []
- natoms:
- shape is [1+1+self.ntypes]
- type_embedding:
- shape is [self.ntypes, Y] where Y=jdata['type_embedding']['neuron'][-1]
-
- Returns
- -------
- embedding:
- environment of each atom represented by embedding.
- '''
- te_out_dim = type_embedding.get_shape().as_list()[-1]
- self.test_type_embedding = type_embedding
- self.test_nei_embed = tf.nn.embedding_lookup(type_embedding,
- self.nei_type_vec) # shape is [self.nnei, 1+te_out_dim]
- # nei_embed = tf.tile(nei_embed, (nframes * natoms[0], 1)) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- nei_embed = tf.reshape(self.test_nei_embed, [-1, te_out_dim])
- self.embedding_input = tf.concat([xyz_scatter, nei_embed],
- 1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim]
- if not self.type_one_side:
- self.atm_embed = tf.nn.embedding_lookup(type_embedding, natype) # shape is [nframes*natoms[0], te_out_dim]
- self.atm_embed = tf.tile(self.atm_embed,
- [1, self.nnei]) # shape is [nframes*natoms[0], self.nnei*te_out_dim]
- self.atm_embed = tf.reshape(self.atm_embed,
- [-1, te_out_dim]) # shape is [nframes*natoms[0]*self.nnei, te_out_dim]
- self.embedding_input_2 = tf.concat([self.embedding_input, self.atm_embed],
- 1) # shape is [nframes*natoms[0]*self.nnei, 1+te_out_dim+te_out_dim]
- return self.embedding_input_2
- return self.embedding_input
-
- def _feedforward(self, input_xyz, d_in, d_mid):
- residual = input_xyz
- input_xyz = tf.nn.relu(one_layer(
- input_xyz,
- d_mid,
- name='c_ffn1',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=True,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables))
- input_xyz = one_layer(
- input_xyz,
- d_in,
- name='c_ffn2',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=True,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- input_xyz += residual
- input_xyz = tf.keras.layers.LayerNormalization()(input_xyz)
- return input_xyz
-
- def _scaled_dot_attn(self, Q, K, V, temperature, input_r, dotr=False, do_mask=False, layer=0, save_weights=True):
- attn = tf.matmul(Q / temperature, K, transpose_b=True)
- attn *= self.nmask
- attn += self.negative_mask
- attn = tf.nn.softmax(attn, axis=-1)
- attn *= tf.reshape(self.nmask, [-1, attn.shape[-1], 1])
- if save_weights:
- self.attn_weight[layer] = attn[0] # atom 0
- if dotr:
- angular_weight = tf.matmul(input_r, input_r, transpose_b=True) # normalized
- attn *= angular_weight
- if save_weights:
- self.angular_weight[layer] = angular_weight[0] # atom 0
- self.attn_weight_final[layer] = attn[0] # atom 0
- if do_mask:
- nei = int(attn.shape[-1])
- mask = tf.cast(tf.ones((nei, nei)) - tf.eye(nei), self.filter_precision)
- attn *= mask
- output = tf.matmul(attn, V)
- return output
-
- def _attention_layers(
- self,
- input_xyz,
- layer_num,
- shape_i,
- outputs_size,
- input_r,
- dotr=False,
- do_mask=False,
- trainable=True,
- suffix=''
- ):
- sd_k = tf.sqrt(tf.cast(1., dtype=self.filter_precision))
- for i in range(layer_num):
- name = 'attention_layer_{}{}'.format(i, suffix)
- with tf.variable_scope(name, reuse=tf.AUTO_REUSE):
- # input_xyz_in = tf.nn.l2_normalize(input_xyz, -1)
- Q_c = one_layer(
- input_xyz,
- self.att_n,
- name='c_query',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- K_c = one_layer(
- input_xyz,
- self.att_n,
- name='c_key',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- V_c = one_layer(
- input_xyz,
- self.att_n,
- name='c_value',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- # # natom x nei_type_i x out_size
- # xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, outputs_size[-1]))
- # natom x nei_type_i x att_n
- Q_c = tf.nn.l2_normalize(tf.reshape(Q_c, (-1, shape_i[1] // 4, self.att_n)), -1)
- K_c = tf.nn.l2_normalize(tf.reshape(K_c, (-1, shape_i[1] // 4, self.att_n)), -1)
- V_c = tf.nn.l2_normalize(tf.reshape(V_c, (-1, shape_i[1] // 4, self.att_n)), -1)
-
- input_att = self._scaled_dot_attn(Q_c, K_c, V_c, sd_k, input_r, dotr=dotr, do_mask=do_mask, layer=i)
- input_att = tf.reshape(input_att, (-1, self.att_n))
-
- # (natom x nei_type_i) x out_size
- input_xyz += one_layer(
- input_att,
- outputs_size[-1],
- name='c_out',
- scope=name+'/',
- reuse=tf.AUTO_REUSE,
- seed=self.seed,
- activation_fn=None,
- precision=self.filter_precision,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.attention_layer_variables)
- input_xyz = tf.keras.layers.LayerNormalization(beta_initializer=tf.constant_initializer(self.beta[i]),
- gamma_initializer=tf.constant_initializer(self.gamma[i]))(input_xyz)
- # input_xyz = self._feedforward(input_xyz, outputs_size[-1], self.att_n)
- return input_xyz
-
- def _filter_lower(
- self,
- type_i,
- type_input,
- start_index,
- incrs_index,
- inputs,
- type_embedding=None,
- atype=None,
- is_exclude=False,
- activation_fn=None,
- bavg=0.0,
- stddev=1.0,
- trainable=True,
- suffix='',
- name='filter_',
- reuse=None
- ):
- """
- input env matrix, returns R.G
- """
- outputs_size = [1] + self.filter_neuron
- # cut-out inputs
- # with natom x (nei_type_i x 4)
- inputs_i = tf.slice(inputs,
- [0, start_index * 4],
- [-1, incrs_index * 4])
- shape_i = inputs_i.get_shape().as_list()
- natom = tf.shape(inputs_i)[0]
- # with (natom x nei_type_i) x 4
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- # with (natom x nei_type_i) x 1
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- assert atype is not None, 'atype must exist!!'
- type_embedding = tf.cast(type_embedding, self.filter_precision)
- xyz_scatter = self._lookup_type_embedding(
- xyz_scatter, atype, type_embedding)
- if self.compress:
- raise RuntimeError('compression of attention descriptor is not supported at the moment')
- # natom x 4 x outputs_size
- if (not is_exclude):
- with tf.variable_scope(name, reuse=reuse):
- # with (natom x nei_type_i) x out_size
- xyz_scatter = embedding_net(
- xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn=activation_fn,
- resnet_dt=self.filter_resnet_dt,
- name_suffix=suffix,
- stddev=stddev,
- bavg=bavg,
- seed=self.seed,
- trainable=trainable,
- uniform_seed=self.uniform_seed,
- initial_variables=self.embedding_net_variables,
- mixed_prec=self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- input_r = tf.slice(tf.reshape(inputs_i, (-1, shape_i[1] // 4, 4)), [0, 0, 1], [-1, -1, 3])
- input_r = tf.nn.l2_normalize(input_r, -1)
- # natom x nei_type_i x out_size
- xyz_scatter_att = tf.reshape(
- self._attention_layers(xyz_scatter, self.attn_layer, shape_i, outputs_size, input_r,
- dotr=self.attn_dotr, do_mask=self.attn_mask, trainable=trainable, suffix=suffix),
- (-1, shape_i[1] // 4, outputs_size[-1]))
- # xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, outputs_size[-1]))
- else:
- # we can safely return the final xyz_scatter filled with zero directly
- return tf.cast(tf.fill((natom, 4, outputs_size[-1]), 0.), self.filter_precision)
- # When using tf.reshape(inputs_i, [-1, shape_i[1]//4, 4]) below
- # [588 24] -> [588 6 4] correct
- # but if sel is zero
- # [588 0] -> [147 0 4] incorrect; the correct one is [588 0 4]
- # So we need to explicitly assign the shape to tf.shape(inputs_i)[0] instead of -1
- return tf.matmul(tf.reshape(inputs_i, [natom, shape_i[1] // 4, 4]), xyz_scatter_att, transpose_a=True)
-
- @cast_precision
- def _filter(
- self,
- inputs,
- type_input,
- natoms,
- type_embedding=None,
- atype=None,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- suffix='',
- name='linear',
- reuse=None,
- trainable=True):
- nframes = tf.shape(tf.reshape(inputs, [-1, natoms[0], self.ndescrpt]))[0]
- # natom x (nei x 4)
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + self.filter_neuron
- outputs_size_2 = self.n_axis_neuron
- all_excluded = all([(type_input, type_i) in self.exclude_types for type_i in range(self.ntypes)])
- if all_excluded:
- # all types are excluded so result and qmat should be zeros
- # we can safaly return a zero matrix...
- # See also https://stackoverflow.com/a/34725458/9567349
- # result: natom x outputs_size x outputs_size_2
- # qmat: natom x outputs_size x 3
- natom = tf.shape(inputs)[0]
- result = tf.cast(tf.fill((natom, outputs_size_2, outputs_size[-1]), 0.), GLOBAL_TF_FLOAT_PRECISION)
- qmat = tf.cast(tf.fill((natom, outputs_size[-1], 3), 0.), GLOBAL_TF_FLOAT_PRECISION)
- return result, qmat
-
- start_index = 0
- type_i = 0
- # natom x 4 x outputs_size
- xyz_scatter_1 = self._filter_lower(
- type_i, type_input,
- start_index, np.cumsum(self.sel_a)[-1],
- inputs,
- type_embedding=type_embedding,
- is_exclude=False,
- activation_fn=activation_fn,
- stddev=stddev,
- bavg=bavg,
- trainable=trainable,
- suffix=suffix,
- name=name,
- reuse=reuse,
- atype=atype)
- # natom x nei x outputs_size
- # xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # natom x nei x 4
- # inputs_reshape = tf.reshape(inputs, [-1, shape[1]//4, 4])
- # natom x 4 x outputs_size
- # xyz_scatter_1 = tf.matmul(inputs_reshape, xyz_scatter, transpose_a = True)
- if self.original_sel is None:
- # shape[1] = nnei * 4
- nnei = shape[1] / 4
- else:
- nnei = tf.cast(tf.Variable(np.sum(self.original_sel), dtype=tf.int32, trainable=False, name="nnei"),
- self.filter_precision)
- xyz_scatter_1 = xyz_scatter_1 / nnei
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = tf.slice(xyz_scatter_1, [0, 0, 0], [-1, -1, outputs_size_2])
- # # natom x 3 x outputs_size_2
- # qmat = tf.slice(xyz_scatter_2, [0,1,0], [-1, 3, -1])
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0, 1, 0], [-1, 3, -1])
- # natom x outputs_size_1 x 3
- qmat = tf.transpose(qmat, perm=[0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a=True)
- # natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, outputs_size_2 * outputs_size[-1]])
-
- return result, qmat
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix: str = "",
- ) -> None:
- """
- Init the embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str, optional
- The suffix of the scope
- """
- super().init_variables(graph=graph, graph_def=graph_def, suffix=suffix)
- self.attention_layer_variables = get_attention_layer_variables_from_graph_def(graph_def, suffix=suffix)
- if self.attn_layer > 0:
- self.beta[0] = self.attention_layer_variables['attention_layer_0{}/layer_normalization/beta'.format(suffix)]
- self.gamma[0] = self.attention_layer_variables['attention_layer_0{}/layer_normalization/gamma'.format(suffix)]
- for i in range(1, self.attn_layer):
- self.beta[i] = self.attention_layer_variables[
- 'attention_layer_{}{}/layer_normalization_{}/beta'.format(i, suffix, i)]
- self.gamma[i] = self.attention_layer_variables[
- 'attention_layer_{}{}/layer_normalization_{}/gamma'.format(i, suffix, i)]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_r.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_r.py
deleted file mode 100644
index f42c6fbe597a6c8a7c77db12e7a0fa08ede7e632..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_r.py
+++ /dev/null
@@ -1,573 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.tabulate import DPTabulate
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.network import embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.sess import run_sess
-from .descriptor import Descriptor
-from .se import DescrptSe
-
-
-@Descriptor.register("se_e2_r")
-@Descriptor.register("se_r")
-class DescrptSeR (DescrptSe):
- """DeepPot-SE constructed from radial information of atomic configurations.
-
- The embedding takes the distance between atoms as input.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- type_one_side
- Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- type_one_side: bool = True,
- exclude_types: List[List[int]] = [],
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('sel', list, must = True) \
- # .add('rcut', float, default = 6.0) \
- # .add('rcut_smth',float, default = 0.5) \
- # .add('neuron', list, default = [10, 20, 40]) \
- # .add('resnet_dt',bool, default = False) \
- # .add('trainable',bool, default = True) \
- # .add('seed', int) \
- # .add('type_one_side', bool, default = False) \
- # .add('exclude_types', list, default = []) \
- # .add('set_davg_zero', bool, default = False) \
- # .add("activation_function", str, default = "tanh") \
- # .add("precision", str, default = "default")
- # class_data = args.parse(jdata)
- if rcut < rcut_smth:
- raise RuntimeError("rcut_smth (%f) should be no more than rcut (%f)!" % (rcut_smth, rcut))
- self.sel_r = sel
- self.rcut = rcut
- self.rcut_smth = rcut_smth
- self.filter_neuron = neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = embedding_net_rand_seed_shift(self.filter_neuron)
- self.trainable = trainable
- self.filter_activation_fn = get_activation_func(activation_function)
- self.filter_precision = get_precision(precision)
- exclude_types = exclude_types
- self.exclude_types = set()
- for tt in exclude_types:
- assert(len(tt) == 2)
- self.exclude_types.add((tt[0], tt[1]))
- self.exclude_types.add((tt[1], tt[0]))
- self.set_davg_zero = set_davg_zero
- self.type_one_side = type_one_side
-
- # descrpt config
- self.sel_a = [ 0 for ii in range(len(self.sel_r)) ]
- self.ntypes = len(self.sel_r)
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.nnei_r
- self.useBN = False
- self.davg = None
- self.dstd = None
- self.compress=False
- self.embedding_net_variables = None
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_ser_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = op_module.prod_env_mat_r(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut = self.rcut,
- rcut_smth = self.rcut_smth,
- sel = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
- def get_rcut (self) :
- """
- Returns the cut-off radisu
- """
- return self.rcut
-
- def get_ntypes (self) :
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) :
- """
- Returns the output dimension of this descriptor
- """
- return self.filter_neuron[-1]
-
- def get_nlist (self) :
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh,
- input_dict) :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- sumr = []
- sumn = []
- sumr2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysr,sysr2,sysn \
- = self._compute_dstats_sys_se_r(cc,bb,tt,nn,mm)
- sumr.append(sysr)
- sumn.append(sysn)
- sumr2.append(sysr2)
- sumr = np.sum(sumr, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/sumn[type_i]]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i])]
- davg = np.tile(davgunit, self.ndescrpt // 1)
- dstd = np.tile(dstdunit, self.ndescrpt // 1)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
- def enable_compression(self,
- min_nbor_dist : float,
- model_file : str = 'frozon_model.pb',
- table_extrapolate : float = 5,
- table_stride_1 : float = 0.01,
- table_stride_2 : float = 0.1,
- check_frequency : int = -1,
- suffix : str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between atoms
- model_file
- The original frozen model, which will be compressed by the program
- table_extrapolate
- The scale of model extrapolation
- table_stride_1
- The uniform stride of the first table
- table_stride_2
- The uniform stride of the second table
- check_frequency
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- assert (
- not self.filter_resnet_dt
- ), "Model compression error: descriptor resnet_dt must be false!"
-
- for ii in range(len(self.filter_neuron) - 1):
- if self.filter_neuron[ii] * 2 != self.filter_neuron[ii + 1]:
- raise NotImplementedError(
- "Model Compression error: descriptor neuron [%s] is not supported by model compression! "
- "The size of the next layer of the neural network must be twice the size of the previous layer."
- % ','.join([str(item) for item in self.filter_neuron])
- )
-
- self.compress = True
- self.table = DPTabulate(
- self, self.filter_neuron, model_file, activation_fn = self.filter_activation_fn, suffix=suffix)
- self.table_config = [table_extrapolate, table_stride_1, table_stride_2, check_frequency]
- self.lower, self.upper \
- = self.table.build(min_nbor_dist,
- table_extrapolate,
- table_stride_1,
- table_stride_2)
-
- graph, _ = load_graph_def(model_file)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(self.rcut,
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = op_module.prod_env_mat_r(coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut = self.rcut,
- rcut_smth = self.rcut_smth,
- sel = self.sel_r)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self._identity_tensors(suffix=suffix)
-
- # only used when tensorboard was set as true
- tf.summary.histogram('descrpt', self.descrpt)
- tf.summary.histogram('rij', self.rij)
- tf.summary.histogram('nlist', self.nlist)
-
- self.dout = self._pass_filter(self.descrpt_reshape, natoms, suffix = suffix, reuse = reuse, trainable = self.trainable)
- tf.summary.histogram('embedding_net_output', self.dout)
-
- return self.dout
-
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt_reshape)
- tf.summary.histogram('net_derivative', net_deriv)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force \
- = op_module.prod_force_se_r (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- natoms)
- virial, atom_virial \
- = op_module.prod_virial_se_r (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- natoms)
- tf.summary.histogram('force', force)
- tf.summary.histogram('virial', virial)
- tf.summary.histogram('atom_virial', atom_virial)
-
- return force, virial, atom_virial
-
-
- def _pass_filter(self,
- inputs,
- natoms,
- reuse = None,
- suffix = '',
- trainable = True) :
- start_index = 0
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- if not (self.type_one_side and len(self.exclude_types) == 0):
- for type_i in range(self.ntypes):
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- if self.type_one_side:
- # reuse NN parameters for all types to support type_one_side along with exclude_types
- reuse = tf.AUTO_REUSE
- filter_name = 'filter_type_all'+suffix
- else:
- filter_name = 'filter_type_'+str(type_i)+suffix
- layer = self._filter_r(inputs_i, type_i, name=filter_name, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[2+type_i], self.get_dim_out()])
- output.append(layer)
- start_index += natoms[2+type_i]
- else :
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- layer = self._filter_r(inputs_i, type_i, name='filter_type_all'+suffix, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- output.append(layer)
- output = tf.concat(output, axis = 1)
- return output
-
- def _compute_dstats_sys_se_r (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysn = []
- sysr2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 1])
- ddr = dd[:,:1]
- sumr = np.sum(ddr)
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- sysr.append(sumr)
- sysn.append(sumn)
- sysr2.append(sumr2)
- return sysr, sysr2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- val = np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
- if np.abs(val) < 1e-2:
- val = 1e-2
- return val
-
- @cast_precision
- def _filter_r(self,
- inputs,
- type_input,
- natoms,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- trainable = True):
- # natom x nei
- outputs_size = [1] + self.filter_neuron
- with tf.variable_scope(name, reuse=reuse):
- start_index = 0
- xyz_scatter_total = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- # with natom x nei_type_i
- inputs_i = tf.slice (inputs,
- [ 0, start_index ],
- [-1, self.sel_r[type_i]] )
- start_index += self.sel_r[type_i]
- shape_i = inputs_i.get_shape().as_list()
- # with (natom x nei_type_i) x 1
- xyz_scatter = tf.reshape(inputs_i, [-1, 1])
- if self.compress and ((type_input, type_i) not in self.exclude_types):
- net = 'filter_' + str(type_input) + '_net_' + str(type_i)
- info = [self.lower[net], self.upper[net], self.upper[net] * self.table_config[0], self.table_config[1], self.table_config[2], self.table_config[3]]
- xyz_scatter = op_module.tabulate_fusion_se_r(tf.cast(self.table.data[net], self.filter_precision), info, inputs_i, last_layer_size = outputs_size[-1])
- elif (type_input, type_i) not in self.exclude_types:
- xyz_scatter = embedding_net(xyz_scatter,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- name_suffix = "_"+str(type_i),
- stddev = stddev,
- bavg = bavg,
- seed = self.seed,
- trainable = trainable,
- uniform_seed = self.uniform_seed,
- initial_variables = self.embedding_net_variables,
- )
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # natom x nei_type_i x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1], outputs_size[-1]))
- else:
- natom = tf.shape(inputs)[0]
- xyz_scatter = tf.cast(tf.fill((natom, shape_i[1], outputs_size[-1]), 0.), self.filter_precision)
- xyz_scatter_total.append(xyz_scatter)
-
- # natom x nei x outputs_size
- xyz_scatter = tf.concat(xyz_scatter_total, axis=1)
- # natom x outputs_size
- #
- res_rescale = 1./5.
- result = tf.reduce_mean(xyz_scatter, axis = 1) * res_rescale
-
- return result
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_t.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_t.py
deleted file mode 100644
index 43c497e8894e57cc8f0e1c8ece156e3be245f0b9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/descriptor/se_t.py
+++ /dev/null
@@ -1,589 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import get_activation_func, get_precision, cast_precision
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net, embedding_net_rand_seed_shift
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.tabulate import DPTabulate
-from .descriptor import Descriptor
-from .se import DescrptSe
-
-@Descriptor.register("se_e3")
-@Descriptor.register("se_at")
-@Descriptor.register("se_a_3be")
-class DescrptSeT (DescrptSe):
- """DeepPot-SE constructed from all information (both angular and radial) of atomic
- configurations.
-
- The embedding takes angles between two neighboring atoms as input.
-
- Parameters
- ----------
- rcut
- The cut-off radius
- rcut_smth
- From where the environment matrix should be smoothed
- sel : list[str]
- sel[i] specifies the maxmum number of type i atoms in the cut-off radius
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- set_davg_zero
- Set the shift of embedding net input to zero.
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- rcut: float,
- rcut_smth: float,
- sel: List[str],
- neuron: List[int] = [24,48,96],
- resnet_dt: bool = False,
- trainable: bool = True,
- seed: int = None,
- set_davg_zero: bool = False,
- activation_function: str = 'tanh',
- precision: str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- if rcut < rcut_smth:
- raise RuntimeError("rcut_smth (%f) should be no more than rcut (%f)!" % (rcut_smth, rcut))
- self.sel_a = sel
- self.rcut_r = rcut
- self.rcut_r_smth = rcut_smth
- self.filter_neuron = neuron
- self.filter_resnet_dt = resnet_dt
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = embedding_net_rand_seed_shift(self.filter_neuron)
- self.trainable = trainable
- self.filter_activation_fn = get_activation_func(activation_function)
- self.filter_precision = get_precision(precision)
- # self.exclude_types = set()
- # for tt in exclude_types:
- # assert(len(tt) == 2)
- # self.exclude_types.add((tt[0], tt[1]))
- # self.exclude_types.add((tt[1], tt[0]))
- self.set_davg_zero = set_davg_zero
-
- # descrpt config
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.ntypes = len(self.sel_a)
- assert(self.ntypes == len(self.sel_r))
- self.rcut_a = -1
- # numb of neighbors and numb of descrptors
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- self.ndescrpt = self.ndescrpt_a + self.ndescrpt_r
- self.useBN = False
- self.dstd = None
- self.davg = None
- self.compress = False
- self.embedding_net_variables = None
-
- self.place_holders = {}
- avg_zero = np.zeros([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- std_ones = np.ones ([self.ntypes,self.ndescrpt]).astype(GLOBAL_NP_FLOAT_PRECISION)
- sub_graph = tf.Graph()
- with sub_graph.as_default():
- name_pfx = 'd_sea_'
- for ii in ['coord', 'box']:
- self.place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name = name_pfx+'t_'+ii)
- self.place_holders['type'] = tf.placeholder(tf.int32, [None, None], name=name_pfx+'t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name=name_pfx+'t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name=name_pfx+'t_mesh')
- self.stat_descrpt, descrpt_deriv, rij, nlist \
- = op_module.prod_env_mat_a(self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- tf.constant(avg_zero),
- tf.constant(std_ones),
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
-
- def get_rcut (self) -> float:
- """
- Returns the cut-off radisu
- """
- return self.rcut_r
-
- def get_ntypes (self) -> int:
- """
- Returns the number of atom types
- """
- return self.ntypes
-
- def get_dim_out (self) -> int:
- """
- Returns the output dimension of this descriptor
- """
- return self.filter_neuron[-1]
-
- def get_nlist (self) -> Tuple[tf.Tensor, tf.Tensor, List[int], List[int]]:
- """
- Returns
- -------
- nlist
- Neighbor list
- rij
- The relative distance between the neighbor and the center atom.
- sel_a
- The number of neighbors with full information
- sel_r
- The number of neighbors with only radial information
- """
- return self.nlist, self.rij, self.sel_a, self.sel_r
-
- def compute_input_stats (self,
- data_coord : list,
- data_box : list,
- data_atype : list,
- natoms_vec : list,
- mesh : list,
- input_dict : dict
- ) -> None :
- """
- Compute the statisitcs (avg and std) of the training data. The input will be normalized by the statistics.
-
- Parameters
- ----------
- data_coord
- The coordinates. Can be generated by deepmd.model.make_stat_input
- data_box
- The box. Can be generated by deepmd.model.make_stat_input
- data_atype
- The atom types. Can be generated by deepmd.model.make_stat_input
- natoms_vec
- The vector for the number of atoms of the system and different types of atoms. Can be generated by deepmd.model.make_stat_input
- mesh
- The mesh for neighbor searching. Can be generated by deepmd.model.make_stat_input
- input_dict
- Dictionary for additional input
- """
- all_davg = []
- all_dstd = []
- if True:
- sumr = []
- suma = []
- sumn = []
- sumr2 = []
- suma2 = []
- for cc,bb,tt,nn,mm in zip(data_coord,data_box,data_atype,natoms_vec,mesh) :
- sysr,sysr2,sysa,sysa2,sysn \
- = self._compute_dstats_sys_smth(cc,bb,tt,nn,mm)
- sumr.append(sysr)
- suma.append(sysa)
- sumn.append(sysn)
- sumr2.append(sysr2)
- suma2.append(sysa2)
- sumr = np.sum(sumr, axis = 0)
- suma = np.sum(suma, axis = 0)
- sumn = np.sum(sumn, axis = 0)
- sumr2 = np.sum(sumr2, axis = 0)
- suma2 = np.sum(suma2, axis = 0)
- for type_i in range(self.ntypes) :
- davgunit = [sumr[type_i]/sumn[type_i], 0, 0, 0]
- dstdunit = [self._compute_std(sumr2[type_i], sumr[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i]),
- self._compute_std(suma2[type_i], suma[type_i], sumn[type_i])
- ]
- davg = np.tile(davgunit, self.ndescrpt // 4)
- dstd = np.tile(dstdunit, self.ndescrpt // 4)
- all_davg.append(davg)
- all_dstd.append(dstd)
-
- if not self.set_davg_zero:
- self.davg = np.array(all_davg)
- self.dstd = np.array(all_dstd)
-
-
- def enable_compression(self,
- min_nbor_dist : float,
- model_file : str = 'frozon_model.pb',
- table_extrapolate : float = 5,
- table_stride_1 : float = 0.01,
- table_stride_2 : float = 0.1,
- check_frequency : int = -1,
- suffix : str = "",
- ) -> None:
- """
- Reveive the statisitcs (distance, max_nbor_size and env_mat_range) of the training data.
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between atoms
- model_file
- The original frozen model, which will be compressed by the program
- table_extrapolate
- The scale of model extrapolation
- table_stride_1
- The uniform stride of the first table
- table_stride_2
- The uniform stride of the second table
- check_frequency
- The overflow check frequency
- suffix : str, optional
- The suffix of the scope
- """
- assert (
- not self.filter_resnet_dt
- ), "Model compression error: descriptor resnet_dt must be false!"
-
- for ii in range(len(self.filter_neuron) - 1):
- if self.filter_neuron[ii] * 2 != self.filter_neuron[ii + 1]:
- raise NotImplementedError(
- "Model Compression error: descriptor neuron [%s] is not supported by model compression! "
- "The size of the next layer of the neural network must be twice the size of the previous layer."
- % ','.join([str(item) for item in self.filter_neuron])
- )
-
- self.compress = True
- self.table = DPTabulate(
- self, self.filter_neuron, model_file, activation_fn = self.filter_activation_fn, suffix=suffix)
- self.table_config = [table_extrapolate, table_stride_1 * 10, table_stride_2 * 10, check_frequency]
- self.lower, self.upper \
- = self.table.build(min_nbor_dist,
- table_extrapolate,
- table_stride_1 * 10,
- table_stride_2 * 10)
-
- graph, _ = load_graph_def(model_file)
- self.davg = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_avg' % suffix)
- self.dstd = get_tensor_by_name_from_graph(graph, 'descrpt_attr%s/t_std' % suffix)
-
-
- def build (self,
- coord_ : tf.Tensor,
- atype_ : tf.Tensor,
- natoms : tf.Tensor,
- box_ : tf.Tensor,
- mesh : tf.Tensor,
- input_dict : dict,
- reuse : bool = None,
- suffix : str = ''
- ) -> tf.Tensor:
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- coord_
- The coordinate of atoms
- atype_
- The type of atoms
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- mesh
- For historical reasons, only the length of the Tensor matters.
- if size of mesh == 6, pbc is assumed.
- if size of mesh == 0, no-pbc is assumed.
- input_dict
- Dictionary for additional inputs
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- descriptor
- The output descriptor
- """
- davg = self.davg
- dstd = self.dstd
- with tf.variable_scope('descrpt_attr' + suffix, reuse = reuse) :
- if davg is None:
- davg = np.zeros([self.ntypes, self.ndescrpt])
- if dstd is None:
- dstd = np.ones ([self.ntypes, self.ndescrpt])
- t_rcut = tf.constant(np.max([self.rcut_r, self.rcut_a]),
- name = 'rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- t_ntypes = tf.constant(self.ntypes,
- name = 'ntypes',
- dtype = tf.int32)
- t_ndescrpt = tf.constant(self.ndescrpt,
- name = 'ndescrpt',
- dtype = tf.int32)
- t_sel = tf.constant(self.sel_a,
- name = 'sel',
- dtype = tf.int32)
- self.t_avg = tf.get_variable('t_avg',
- davg.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(davg))
- self.t_std = tf.get_variable('t_std',
- dstd.shape,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(dstd))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- box = tf.reshape (box_, [-1, 9])
- atype = tf.reshape (atype_, [-1, natoms[1]])
-
- self.descrpt, self.descrpt_deriv, self.rij, self.nlist \
- = op_module.prod_env_mat_a (coord,
- atype,
- natoms,
- box,
- mesh,
- self.t_avg,
- self.t_std,
- rcut_a = self.rcut_a,
- rcut_r = self.rcut_r,
- rcut_r_smth = self.rcut_r_smth,
- sel_a = self.sel_a,
- sel_r = self.sel_r)
-
- self.descrpt_reshape = tf.reshape(self.descrpt, [-1, self.ndescrpt])
- self._identity_tensors(suffix=suffix)
-
- self.dout, self.qmat = self._pass_filter(self.descrpt_reshape,
- atype,
- natoms,
- input_dict,
- suffix = suffix,
- reuse = reuse,
- trainable = self.trainable)
-
- return self.dout
-
-
- def prod_force_virial(self,
- atom_ener : tf.Tensor,
- natoms : tf.Tensor
- ) -> Tuple[tf.Tensor, tf.Tensor, tf.Tensor]:
- """
- Compute force and virial
-
- Parameters
- ----------
- atom_ener
- The atomic energy
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- Returns
- -------
- force
- The force on atoms
- virial
- The total virial
- atom_virial
- The atomic virial
- """
- [net_deriv] = tf.gradients (atom_ener, self.descrpt_reshape)
- net_deriv_reshape = tf.reshape (net_deriv, [np.cast['int64'](-1), natoms[0] * np.cast['int64'](self.ndescrpt)])
- force \
- = op_module.prod_force_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial_se_a (net_deriv_reshape,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- return force, virial, atom_virial
-
-
- def _pass_filter(self,
- inputs,
- atype,
- natoms,
- input_dict,
- reuse = None,
- suffix = '',
- trainable = True) :
- start_index = 0
- inputs = tf.reshape(inputs, [-1, natoms[0], self.ndescrpt])
- output = []
- output_qmat = []
- inputs_i = inputs
- inputs_i = tf.reshape(inputs_i, [-1, self.ndescrpt])
- type_i = -1
- layer, qmat = self._filter(inputs_i, type_i, name='filter_type_all'+suffix, natoms=natoms, reuse=reuse, trainable = trainable, activation_fn = self.filter_activation_fn)
- layer = tf.reshape(layer, [tf.shape(inputs)[0], natoms[0], self.get_dim_out()])
- # qmat = tf.reshape(qmat, [tf.shape(inputs)[0], natoms[0] * self.get_dim_rot_mat_1() * 3])
- output.append(layer)
- # output_qmat.append(qmat)
- output = tf.concat(output, axis = 1)
- # output_qmat = tf.concat(output_qmat, axis = 1)
- return output, None
-
-
- def _compute_dstats_sys_smth (self,
- data_coord,
- data_box,
- data_atype,
- natoms_vec,
- mesh) :
- dd_all \
- = run_sess(self.sub_sess, self.stat_descrpt,
- feed_dict = {
- self.place_holders['coord']: data_coord,
- self.place_holders['type']: data_atype,
- self.place_holders['natoms_vec']: natoms_vec,
- self.place_holders['box']: data_box,
- self.place_holders['default_mesh']: mesh,
- })
- natoms = natoms_vec
- dd_all = np.reshape(dd_all, [-1, self.ndescrpt * natoms[0]])
- start_index = 0
- sysr = []
- sysa = []
- sysn = []
- sysr2 = []
- sysa2 = []
- for type_i in range(self.ntypes):
- end_index = start_index + self.ndescrpt * natoms[2+type_i]
- dd = dd_all[:, start_index:end_index]
- dd = np.reshape(dd, [-1, self.ndescrpt])
- start_index = end_index
- # compute
- dd = np.reshape (dd, [-1, 4])
- ddr = dd[:,:1]
- dda = dd[:,1:]
- sumr = np.sum(ddr)
- suma = np.sum(dda) / 3.
- sumn = dd.shape[0]
- sumr2 = np.sum(np.multiply(ddr, ddr))
- suma2 = np.sum(np.multiply(dda, dda)) / 3.
- sysr.append(sumr)
- sysa.append(suma)
- sysn.append(sumn)
- sysr2.append(sumr2)
- sysa2.append(suma2)
- return sysr, sysr2, sysa, sysa2, sysn
-
-
- def _compute_std (self,sumv2, sumv, sumn) :
- val = np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
- if np.abs(val) < 1e-2:
- val = 1e-2
- return val
-
- @cast_precision
- def _filter(self,
- inputs,
- type_input,
- natoms,
- activation_fn=tf.nn.tanh,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- trainable = True):
- # natom x (nei x 4)
- shape = inputs.get_shape().as_list()
- outputs_size = [1] + self.filter_neuron
- with tf.variable_scope(name, reuse=reuse):
- start_index_i = 0
- result = None
- for type_i in range(self.ntypes):
- # cut-out inputs
- # with natom x (nei_type_i x 4)
- inputs_i = tf.slice (inputs,
- [ 0, start_index_i *4],
- [-1, self.sel_a[type_i] *4] )
- start_index_j = start_index_i
- start_index_i += self.sel_a[type_i]
- nei_type_i = self.sel_a[type_i]
- shape_i = inputs_i.get_shape().as_list()
- assert(shape_i[1] == nei_type_i * 4)
- # with natom x nei_type_i x 4
- env_i = tf.reshape(inputs_i, [-1, nei_type_i, 4])
- # with natom x nei_type_i x 3
- env_i = tf.slice(env_i, [0, 0, 1], [-1, -1, -1])
- for type_j in range(type_i, self.ntypes):
- # with natom x (nei_type_j x 4)
- inputs_j = tf.slice (inputs,
- [ 0, start_index_j *4],
- [-1, self.sel_a[type_j] *4] )
- start_index_j += self.sel_a[type_j]
- nei_type_j = self.sel_a[type_j]
- shape_j = inputs_j.get_shape().as_list()
- assert(shape_j[1] == nei_type_j * 4)
- # with natom x nei_type_j x 4
- env_j = tf.reshape(inputs_j, [-1, nei_type_j, 4])
- # with natom x nei_type_i x 3
- env_j = tf.slice(env_j, [0, 0, 1], [-1, -1, -1])
- # with natom x nei_type_i x nei_type_j
- env_ij = tf.einsum('ijm,ikm->ijk', env_i, env_j)
- # with (natom x nei_type_i x nei_type_j)
- ebd_env_ij = tf.reshape(env_ij, [-1, 1])
- if self.compress:
- net = 'filter_' + str(type_i) + '_net_' + str(type_j)
- info = [self.lower[net], self.upper[net], self.upper[net] * self.table_config[0], self.table_config[1], self.table_config[2], self.table_config[3]]
- res_ij = op_module.tabulate_fusion_se_t(tf.cast(self.table.data[net], self.filter_precision), info, ebd_env_ij, env_ij, last_layer_size = outputs_size[-1])
- else:
- # with (natom x nei_type_i x nei_type_j) x out_size
- ebd_env_ij = embedding_net(ebd_env_ij,
- self.filter_neuron,
- self.filter_precision,
- activation_fn = activation_fn,
- resnet_dt = self.filter_resnet_dt,
- name_suffix = f"_{type_i}_{type_j}",
- stddev = stddev,
- bavg = bavg,
- seed = self.seed,
- trainable = trainable,
- uniform_seed = self.uniform_seed,
- initial_variables = self.embedding_net_variables,
- )
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # with natom x nei_type_i x nei_type_j x out_size
- ebd_env_ij = tf.reshape(ebd_env_ij, [-1, nei_type_i, nei_type_j, outputs_size[-1]])
- # with natom x out_size
- res_ij = tf.einsum('ijk,ijkm->im', env_ij, ebd_env_ij)
- res_ij = res_ij * (1.0 / float(nei_type_i) / float(nei_type_j))
- if result is None:
- result = res_ij
- else:
- result += res_ij
- return result, None
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/__init__.py
deleted file mode 100644
index f11964a637ef26657ee0618e56468d147578ff96..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/__init__.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"""Submodule that contains all the DeePMD-Kit entry point scripts."""
-
-from .compress import compress
-from .config import config
-from .doc import doc_train_input
-from .freeze import freeze
-from .test import test
-# import `train` as `train_dp` to avoid the conflict of the
-# module name `train` and the function name `train`
-from .train import train as train_dp
-from .transfer import transfer
-from ..infer.model_devi import make_model_devi
-from .convert import convert
-from .neighbor_stat import neighbor_stat
-
-__all__ = [
- "config",
- "doc_train_input",
- "freeze",
- "test",
- "train_dp",
- "transfer",
- "compress",
- "doc_train_input",
- "make_model_devi",
- "convert",
- "neighbor_stat",
-]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/compress.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/compress.py
deleted file mode 100644
index 5700e3c7b58132be1c01d99156d4fa6e64e4b196..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/compress.py
+++ /dev/null
@@ -1,162 +0,0 @@
-"""Compress a model, which including tabulating the embedding-net."""
-
-import os
-import json
-import logging
-from typing import Optional
-
-from deepmd.common import j_loader
-from deepmd.env import tf, GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.utils.argcheck import normalize
-from deepmd.utils.compat import update_deepmd_input
-from deepmd.utils.errors import GraphTooLargeError, GraphWithoutTensorError
-from deepmd.utils.graph import get_tensor_by_name
-
-from .freeze import freeze
-from .train import train, get_rcut, get_min_nbor_dist
-from .transfer import transfer
-
-__all__ = ["compress"]
-
-log = logging.getLogger(__name__)
-
-
-def compress(
- *,
- input: str,
- output: str,
- extrapolate: int,
- step: float,
- frequency: str,
- checkpoint_folder: str,
- training_script: str,
- mpi_log: str,
- log_path: Optional[str],
- log_level: int,
- **kwargs
-):
- """Compress model.
-
- The table is composed of fifth-order polynomial coefficients and is assembled from
- two sub-tables. The first table takes the step parameter as the domain's uniform step size,
- while the second table takes 10 * step as it's uniform step size. The range of the
- first table is automatically detected by the code, while the second table ranges
- from the first table's upper boundary(upper) to the extrapolate(parameter) * upper.
-
- Parameters
- ----------
- input : str
- frozen model file to compress
- output : str
- compressed model filename
- extrapolate : int
- scale of model extrapolation
- step : float
- uniform step size of the tabulation's first table
- frequency : str
- frequency of tabulation overflow check
- checkpoint_folder : str
- trining checkpoint folder for freezing
- training_script : str
- training script of the input frozen model
- mpi_log : str
- mpi logging mode for training
- log_path : Optional[str]
- if speccified log will be written to this file
- log_level : int
- logging level
- """
- try:
- t_jdata = get_tensor_by_name(input, 'train_attr/training_script')
- t_min_nbor_dist = get_tensor_by_name(input, 'train_attr/min_nbor_dist')
- jdata = json.loads(t_jdata)
- except GraphWithoutTensorError as e:
- if training_script == None:
- raise RuntimeError(
- "The input frozen model: %s has no training script or min_nbor_dist information, "
- "which is not supported by the model compression interface. "
- "Please consider using the --training-script command within the model compression interface to provide the training script of the input frozen model. "
- "Note that the input training script must contain the correct path to the training data." % input
- ) from e
- elif not os.path.exists(training_script):
- raise RuntimeError(
- "The input training script %s (%s) does not exist! Please check the path of the training script. " % (input, os.path.abspath(input))
- ) from e
- else:
- log.info("stage 0: compute the min_nbor_dist")
- jdata = j_loader(training_script)
- jdata = update_deepmd_input(jdata)
- t_min_nbor_dist = get_min_nbor_dist(jdata, get_rcut(jdata))
-
- _check_compress_type(input)
-
- tf.constant(t_min_nbor_dist,
- name = 'train_attr/min_nbor_dist',
- dtype = GLOBAL_ENER_FLOAT_PRECISION)
- jdata["model"]["compress"] = {}
- jdata["model"]["compress"]["model_file"] = input
- jdata["model"]["compress"]["min_nbor_dist"] = t_min_nbor_dist
- jdata["model"]["compress"]["table_config"] = [
- extrapolate,
- step,
- 10 * step,
- int(frequency),
- ]
- jdata["training"]["save_ckpt"] = os.path.join("model-compression", "model.ckpt")
- jdata = update_deepmd_input(jdata)
- jdata = normalize(jdata)
-
- # check the descriptor info of the input file
- # move to the specific Descriptor class
-
- # stage 1: training or refining the model with tabulation
- log.info("\n\n")
- log.info("stage 1: compress the model")
- control_file = "compress.json"
- with open(control_file, "w") as fp:
- json.dump(jdata, fp, indent=4)
- try:
- train(
- INPUT=control_file,
- init_model=None,
- restart=None,
- init_frz_model=None,
- output=control_file,
- mpi_log=mpi_log,
- log_level=log_level,
- log_path=log_path,
- is_compress=True,
- )
- except GraphTooLargeError as e:
- raise RuntimeError(
- "The uniform step size of the tabulation's first table is %f, "
- "which is too small. This leads to a very large graph size, "
- "exceeding protobuf's limitation (2 GB). You should try to "
- "increase the step size." % step
- ) from e
-
- # reset the graph, otherwise the size limitation will be only 2 GB / 2 = 1 GB
- tf.reset_default_graph()
-
- # stage 2: freeze the model
- log.info("\n\n")
- log.info("stage 2: freeze the model")
- try:
- freeze(checkpoint_folder=checkpoint_folder, output=output, node_names=None)
- except GraphTooLargeError as e:
- raise RuntimeError(
- "The uniform step size of the tabulation's first table is %f, "
- "which is too small. This leads to a very large graph size, "
- "exceeding protobuf's limitation (2 GB). You should try to "
- "increase the step size." % step
- ) from e
-
-def _check_compress_type(model_file):
- try:
- t_model_type = bytes.decode(get_tensor_by_name(model_file, 'model_type'))
- except GraphWithoutTensorError as e:
- # Compatible with the upgraded model, which has no 'model_type' info
- t_model_type = None
-
- if t_model_type == "compressed_model":
- raise RuntimeError("The input frozen model %s has already been compressed! Please do not compress the model repeatedly. " % model_file)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/config.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/config.py
deleted file mode 100644
index 721ffee247bd5e1378ee4a90614193ace85684fb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/config.py
+++ /dev/null
@@ -1,354 +0,0 @@
-#!/usr/bin/env python3
-"""Quickly create a configuration file for smooth model."""
-
-import json
-import yaml
-from pathlib import Path
-from typing import Any, Dict, List, Tuple
-
-import numpy as np
-
-__all__ = ["config"]
-
-
-DEFAULT_DATA: Dict[str, Any] = {
- "use_smooth": True,
- "sel_a": [],
- "rcut_smth": -1,
- "rcut": -1,
- "filter_neuron": [20, 40, 80],
- "filter_resnet_dt": False,
- "axis_neuron": 8,
- "fitting_neuron": [240, 240, 240],
- "fitting_resnet_dt": True,
- "coord_norm": True,
- "type_fitting_net": False,
- "systems": [],
- "set_prefix": "set",
- "stop_batch": -1,
- "batch_size": -1,
- "start_lr": 0.001,
- "decay_steps": -1,
- "decay_rate": 0.95,
- "start_pref_e": 0.02,
- "limit_pref_e": 1,
- "start_pref_f": 1000,
- "limit_pref_f": 1,
- "start_pref_v": 0,
- "limit_pref_v": 0,
- "seed": 1,
- "disp_file": "lcurve.out",
- "disp_freq": 1000,
- "numb_test": 10,
- "save_freq": 10000,
- "save_ckpt": "model.ckpt",
- "disp_training": True,
- "time_training": True,
-}
-
-
-def valid_dir(path: Path):
- """Check if directory is a valid deepmd system directory.
-
- Parameters
- ----------
- path : Path
- path to directory
-
- Raises
- ------
- OSError
- if `type.raw` is missing on dir or `box.npy` or `coord.npy` are missing in one
- of the sets subdirs
- """
- if not (path / "type.raw").is_file():
- raise OSError
- for ii in path.glob("set.*"):
- if not (ii / "box.npy").is_file():
- raise OSError
- if not (ii / "coord.npy").is_file():
- raise OSError
-
-
-def load_systems(dirs: List[Path]) -> Tuple[List[np.ndarray], List[np.ndarray]]:
- """Load systems to memory for disk.
-
- Parameters
- ----------
- dirs : List[Path]
- list of system directories paths
-
- Returns
- -------
- Tuple[List[np.ndarray], List[np.ndarray]]
- atoms types and structure cells formated as Nx9 array
- """
- all_type = []
- all_box = []
- for d in dirs:
- sys_type = np.loadtxt(d / "type.raw", dtype=int)
- sys_box = np.vstack([np.load(s / "box.npy") for s in d.glob("set.*")])
- all_type.append(sys_type)
- all_box.append(sys_box)
- return all_type, all_box
-
-
-def get_system_names() -> List[Path]:
- """Get system directory paths from stdin.
-
- Returns
- -------
- List[Path]
- list of system directories paths
- """
- dirs = input("Enter system path(s) (seperated by space, wild card supported): \n")
- system_dirs = []
- for dir_str in dirs.split():
- found_dirs = Path.cwd().glob(dir_str)
- for d in found_dirs:
- valid_dir(d)
- system_dirs.append(d)
-
- return system_dirs
-
-
-def get_rcut() -> float:
- """Get rcut from stdin from user.
-
- Returns
- -------
- float
- input rcut lenght converted to float
-
- Raises
- ------
- ValueError
- if rcut is smaller than 0.0
- """
- dv = 6.0
- rcut_input = input(f"Enter rcut (default {dv:.1f} A): \n")
- try:
- rcut = float(rcut_input)
- except ValueError as e:
- print(f"invalid rcut: {e} setting to default: {dv:.1f}")
- rcut = dv
- if rcut <= 0:
- raise ValueError("rcut should be > 0")
- return rcut
-
-
-def get_batch_size_rule() -> int:
- """Get minimal batch size from user from stdin.
-
- Returns
- -------
- int
- size of the batch
-
- Raises
- ------
- ValueError
- if batch size is <= 0
- """
- dv = 32
- matom_input = input(
- f"Enter the minimal number of atoms in a batch (default {dv:d}: \n"
- )
- try:
- matom = int(matom_input)
- except ValueError as e:
- print(f"invalid batch size: {e} setting to default: {dv:d}")
- matom = dv
- if matom <= 0:
- raise ValueError("the number should be > 0")
- return matom
-
-
-def get_stop_batch() -> int:
- """Get stop batch from user from stdin.
-
- Returns
- -------
- int
- size of the batch
-
- Raises
- ------
- ValueError
- if stop batch is <= 0
- """
- dv = 1000000
- sb_input = input(f"Enter the stop batch (default {dv:d}): \n")
- try:
- sb = int(sb_input)
- except ValueError as e:
- print(f"invalid stop batch: {e} setting to default: {dv:d}")
- sb = dv
- if sb <= 0:
- raise ValueError("the number should be > 0")
- return sb
-
-
-def get_ntypes(all_type: List[np.ndarray]) -> int:
- """Count number of unique elements.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
-
- Returns
- -------
- int
- number of unique elements
- """
- return len(np.unique(all_type))
-
-
-def get_max_density(
- all_type: List[np.ndarray], all_box: List[np.ndarray]
-) -> np.ndarray:
- """Compute maximum density in suppliedd cells.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
- all_box : List[np.ndarray]
- list with arrays specifying cells for all structures
-
- Returns
- -------
- float
- maximum atom density in all supplies structures for each element individually
- """
- ntypes = get_ntypes(all_type)
- all_max = []
- for tt, bb in zip(all_type, all_box):
- vv = np.reshape(bb, [-1, 3, 3])
- vv = np.linalg.det(vv)
- min_v = np.min(vv)
- type_count = []
- for ii in range(ntypes):
- type_count.append(sum(tt == ii))
- max_den = type_count / min_v
- all_max.append(max_den)
- all_max = np.max(all_max, axis=0)
- return all_max
-
-
-def suggest_sel(
- all_type: List[np.ndarray],
- all_box: List[np.ndarray],
- rcut: float,
- ratio: float = 1.5,
-) -> List[int]:
- """Suggest selection parameter.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
- all_box : List[np.ndarray]
- list with arrays specifying cells for all structures
- rcut : float
- cutoff radius
- ratio : float, optional
- safety margin to add to estimated value, by default 1.5
-
- Returns
- -------
- List[int]
- [description]
- """
- max_den = get_max_density(all_type, all_box)
- return [int(ii) for ii in max_den * 4.0 / 3.0 * np.pi * rcut ** 3 * ratio]
-
-
-def suggest_batch_size(all_type: List[np.ndarray], min_atom: int) -> List[int]:
- """Get suggestion for batch size.
-
- Parameters
- ----------
- all_type : List[np.ndarray]
- list with arrays specifying elements of structures
- min_atom : int
- minimal number of atoms in batch
-
- Returns
- -------
- List[int]
- suggested batch sizes for each system
- """
- bs = []
- for ii in all_type:
- natoms = len(ii)
- tbs = min_atom // natoms
- if (min_atom // natoms) * natoms != min_atom:
- tbs += 1
- bs.append(tbs)
- return bs
-
-
-def suggest_decay(stop_batch: int) -> Tuple[int, float]:
- """Suggest number of decay steps and decay rate.
-
- Parameters
- ----------
- stop_batch : int
- stop batch number
-
- Returns
- -------
- Tuple[int, float]
- number of decay steps and decay rate
- """
- decay_steps = int(stop_batch // 200)
- decay_rate = 0.95
- return decay_steps, decay_rate
-
-
-def config(*, output: str, **kwargs):
- """Auto config file generator.
-
- Parameters
- ----------
- output: str
- file to write config file
-
- Raises
- ------
- RuntimeError
- if user does not input any systems
- ValueError
- if output file is of wrong type
- """
- all_sys = get_system_names()
- if len(all_sys) == 0:
- raise RuntimeError("no system specified")
- rcut = get_rcut()
- matom = get_batch_size_rule()
- stop_batch = get_stop_batch()
-
- all_type, all_box = load_systems(all_sys)
- sel = suggest_sel(all_type, all_box, rcut, ratio=1.5)
- bs = suggest_batch_size(all_type, matom)
- decay_steps, decay_rate = suggest_decay(stop_batch)
-
- jdata = DEFAULT_DATA.copy()
- jdata["systems"] = [str(ii) for ii in all_sys]
- jdata["sel_a"] = sel
- jdata["rcut"] = rcut
- jdata["rcut_smth"] = rcut - 0.2
- jdata["stop_batch"] = stop_batch
- jdata["batch_size"] = bs
- jdata["decay_steps"] = decay_steps
- jdata["decay_rate"] = decay_rate
-
- with open(output, "w") as fp:
- if output.endswith("json"):
- json.dump(jdata, fp, indent=4)
- elif output.endswith(("yml", "yaml")):
- yaml.safe_dump(jdata, fp, default_flow_style=False)
- else:
- raise ValueError("output file must be of type json or yaml")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/convert.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/convert.py
deleted file mode 100644
index f9d4f08bc989fd7863ac1d08011c3d030227164e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/convert.py
+++ /dev/null
@@ -1,22 +0,0 @@
-from deepmd.utils.convert import convert_012_to_21, convert_10_to_21, convert_20_to_21, convert_13_to_21, convert_12_to_21
-
-def convert(
- *,
- FROM: str,
- input_model: str,
- output_model: str,
- **kwargs,
-):
- if FROM == '0.12':
- convert_012_to_21(input_model, output_model)
- elif FROM == '1.0':
- convert_10_to_21(input_model, output_model)
- elif FROM in ['1.1', '1.2']:
- # no difference between 1.1 and 1.2
- convert_12_to_21(input_model, output_model)
- elif FROM == '1.3':
- convert_13_to_21(input_model, output_model)
- elif FROM == '2.0':
- convert_20_to_21(input_model, output_model)
- else:
- raise RuntimeError('unsupported model version ' + FROM)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/doc.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/doc.py
deleted file mode 100644
index 28ce8c4052a310b69d388991c25aa9a75fc44b27..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/doc.py
+++ /dev/null
@@ -1,16 +0,0 @@
-"""Module that prints train input arguments docstrings."""
-
-from deepmd.utils.argcheck import gen_doc, gen_json
-
-__all__ = ["doc_train_input"]
-
-
-def doc_train_input(*, out_type: str = "rst", **kwargs):
- """Print out trining input arguments to console."""
- if out_type == "rst":
- doc_str = gen_doc(make_anchor=True)
- elif out_type == "json":
- doc_str = gen_json()
- else:
- raise RuntimeError("Unsupported out type %s" % out_type)
- print(doc_str)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/freeze.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/freeze.py
deleted file mode 100644
index 50e3b7ac17a518a430acb69338ef26b9be48fe46..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/freeze.py
+++ /dev/null
@@ -1,262 +0,0 @@
-#!/usr/bin/env python3
-"""Script for freezing TF trained graph so it can be used with LAMMPS and i-PI.
-
-References
-----------
-https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc
-"""
-
-import logging
-import google.protobuf.message
-from deepmd.env import tf, FITTING_NET_PATTERN
-from deepmd.utils.errors import GraphTooLargeError
-from deepmd.utils.sess import run_sess
-from deepmd.utils.graph import get_pattern_nodes_from_graph_def
-from os.path import abspath
-
-# load grad of force module
-import deepmd.op
-
-from typing import List, Optional
-
-from deepmd.nvnmd.entrypoints.freeze import save_weight
-
-__all__ = ["freeze"]
-
-log = logging.getLogger(__name__)
-
-def _transfer_fitting_net_trainable_variables(sess, old_graph_def, raw_graph_def):
- old_pattern = FITTING_NET_PATTERN
- raw_pattern = FITTING_NET_PATTERN\
- .replace('idt', 'idt+_\d+')\
- .replace('bias', 'bias+_\d+')\
- .replace('matrix', 'matrix+_\d+')
- old_graph_nodes = get_pattern_nodes_from_graph_def(
- old_graph_def,
- old_pattern
- )
- try :
- raw_graph_def = tf.graph_util.convert_variables_to_constants(
- sess, # The session is used to retrieve the weights
- raw_graph_def, # The graph_def is used to retrieve the nodes
- [n + '_1' for n in old_graph_nodes], # The output node names are used to select the usefull nodes
- )
- except AssertionError:
- # if there's no additional nodes
- return old_graph_def
-
- raw_graph_nodes = get_pattern_nodes_from_graph_def(
- raw_graph_def,
- raw_pattern
- )
- for node in old_graph_def.node:
- if node.name not in old_graph_nodes.keys():
- continue
- tensor = tf.make_ndarray(raw_graph_nodes[node.name + '_1'])
- node.attr["value"].tensor.tensor_content = tensor.tostring()
- return old_graph_def
-
-def _make_node_names(model_type: str, modifier_type: Optional[str] = None) -> List[str]:
- """Get node names based on model type.
-
- Parameters
- ----------
- model_type : str
- str type of model
- modifier_type : Optional[str], optional
- modifier type if any, by default None
-
- Returns
- -------
- List[str]
- list with all node names to freeze
-
- Raises
- ------
- RuntimeError
- if unknown model type
- """
- nodes = [
- "model_type",
- "descrpt_attr/rcut",
- "descrpt_attr/ntypes",
- "model_attr/tmap",
- "model_attr/model_type",
- "model_attr/model_version",
- "train_attr/min_nbor_dist",
- "train_attr/training_script",
- ]
-
- if model_type == "ener":
- nodes += [
- "o_energy",
- "o_force",
- "o_virial",
- "o_atom_energy",
- "o_atom_virial",
- "fitting_attr/dfparam",
- "fitting_attr/daparam",
- ]
- elif model_type == "wfc":
- nodes += [
- "o_wfc",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- elif model_type == "dipole":
- nodes += [
- "o_dipole",
- "o_global_dipole",
- "o_force",
- "o_virial",
- "o_atom_virial",
- "o_rmat",
- "o_rmat_deriv",
- "o_nlist",
- "o_rij",
- "descrpt_attr/sel",
- "descrpt_attr/ndescrpt",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- elif model_type == "polar":
- nodes += [
- "o_polar",
- "o_global_polar",
- "o_force",
- "o_virial",
- "o_atom_virial",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- elif model_type == "global_polar":
- nodes += [
- "o_global_polar",
- "model_attr/sel_type",
- "model_attr/output_dim",
- ]
- else:
- raise RuntimeError(f"unknow model type {model_type}")
- if modifier_type == "dipole_charge":
- nodes += [
- "modifier_attr/type",
- "modifier_attr/mdl_name",
- "modifier_attr/mdl_charge_map",
- "modifier_attr/sys_charge_map",
- "modifier_attr/ewald_h",
- "modifier_attr/ewald_beta",
- "dipole_charge/model_type",
- "dipole_charge/descrpt_attr/rcut",
- "dipole_charge/descrpt_attr/ntypes",
- "dipole_charge/model_attr/tmap",
- "dipole_charge/model_attr/model_type",
- "dipole_charge/model_attr/model_version",
- "o_dm_force",
- "dipole_charge/model_attr/sel_type",
- "dipole_charge/o_dipole",
- "dipole_charge/model_attr/output_dim",
- "o_dm_virial",
- "o_dm_av",
- ]
- return nodes
-
-
-def freeze(
- *, checkpoint_folder: str, output: str, node_names: Optional[str] = None, nvnmd_weight: Optional[str] = None, **kwargs
-):
- """Freeze the graph in supplied folder.
-
- Parameters
- ----------
- checkpoint_folder : str
- location of the folder with model
- output : str
- output file name
- node_names : Optional[str], optional
- names of nodes to output, by default None
- """
- # We retrieve our checkpoint fullpath
- checkpoint = tf.train.get_checkpoint_state(checkpoint_folder)
- input_checkpoint = checkpoint.model_checkpoint_path
-
- # expand the output file to full path
- output_graph = abspath(output)
-
- # Before exporting our graph, we need to precise what is our output node
- # This is how TF decides what part of the Graph he has to keep
- # and what part it can dump
- # NOTE: this variable is plural, because you can have multiple output nodes
- # node_names = "energy_test,force_test,virial_test,t_rcut"
-
- # We clear devices to allow TensorFlow to control
- # on which device it will load operations
- clear_devices = True
-
- # We import the meta graph and retrieve a Saver
- try:
- # In case paralle training
- import horovod.tensorflow as _
- except ImportError:
- pass
- saver = tf.train.import_meta_graph(
- f"{input_checkpoint}.meta", clear_devices=clear_devices
- )
-
- # We retrieve the protobuf graph definition
- graph = tf.get_default_graph()
- try:
- input_graph_def = graph.as_graph_def()
- except google.protobuf.message.DecodeError as e:
- raise GraphTooLargeError(
- "The graph size exceeds 2 GB, the hard limitation of protobuf."
- " Then a DecodeError was raised by protobuf. You should "
- "reduce the size of your model."
- ) from e
- nodes = [n.name for n in input_graph_def.node]
-
- # We start a session and restore the graph weights
- with tf.Session() as sess:
- saver.restore(sess, input_checkpoint)
- model_type = run_sess(sess, "model_attr/model_type:0", feed_dict={}).decode("utf-8")
- if "modifier_attr/type" in nodes:
- modifier_type = run_sess(sess, "modifier_attr/type:0", feed_dict={}).decode(
- "utf-8"
- )
- else:
- modifier_type = None
- if node_names is None:
- output_node_list = _make_node_names(model_type, modifier_type)
- different_set = set(output_node_list) - set(nodes)
- if different_set:
- log.warning(
- "The following nodes are not in the graph: %s. "
- "Skip freezeing these nodes. You may be freezing "
- "a checkpoint generated by an old version." % different_set
- )
- # use intersection as output list
- output_node_list = list(set(output_node_list) & set(nodes))
- else:
- output_node_list = node_names.split(",")
- log.info(f"The following nodes will be frozen: {output_node_list}")
-
- if nvnmd_weight is not None:
- save_weight(sess, nvnmd_weight) # nvnmd
-
- # We use a built-in TF helper to export variables to constants
- output_graph_def = tf.graph_util.convert_variables_to_constants(
- sess, # The session is used to retrieve the weights
- input_graph_def, # The graph_def is used to retrieve the nodes
- output_node_list, # The output node names are used to select the usefull nodes
- )
-
- # If we need to transfer the fitting net variables
- output_graph_def = _transfer_fitting_net_trainable_variables(
- sess,
- output_graph_def,
- input_graph_def
- )
-
- # Finally we serialize and dump the output graph to the filesystem
- with tf.gfile.GFile(output_graph, "wb") as f:
- f.write(output_graph_def.SerializeToString())
- log.info(f"{len(output_graph_def.node):d} ops in the final graph.")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/main.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/main.py
deleted file mode 100644
index 9310bd231ca8d73c5398c2074401ea2cefabe9d3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/main.py
+++ /dev/null
@@ -1,586 +0,0 @@
-"""DeePMD-Kit entry point module."""
-
-import argparse
-import logging
-import textwrap
-from pathlib import Path
-from typing import Dict, List, Optional
-
-from deepmd import __version__
-from deepmd.entrypoints import (
- compress,
- config,
- doc_train_input,
- freeze,
- test,
- train_dp,
- transfer,
- make_model_devi,
- convert,
- neighbor_stat,
-)
-from deepmd.loggers import set_log_handles
-
-from deepmd.nvnmd.entrypoints.train import train_nvnmd
-
-__all__ = ["main", "parse_args", "get_ll", "main_parser"]
-
-
-def get_ll(log_level: str) -> int:
- """Convert string to python logging level.
-
- Parameters
- ----------
- log_level : str
- allowed input values are: DEBUG, INFO, WARNING, ERROR, 3, 2, 1, 0
-
- Returns
- -------
- int
- one of python logging module log levels - 10, 20, 30 or 40
- """
- if log_level.isdigit():
- int_level = (4 - int(log_level)) * 10
- else:
- int_level = getattr(logging, log_level)
-
- return int_level
-
-class RawTextArgumentDefaultsHelpFormatter(
- argparse.RawTextHelpFormatter, argparse.ArgumentDefaultsHelpFormatter
-):
- """This formatter is used to print multile-line help message with default value."""
-
-
-def main_parser() -> argparse.ArgumentParser:
- """DeePMD-Kit commandline options argument parser.
-
- Returns
- -------
- argparse.ArgumentParser
- main parser of DeePMD-kit
- """
- parser = argparse.ArgumentParser(
- description="DeePMD-kit: A deep learning package for many-body potential energy"
- " representation and molecular dynamics",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- subparsers = parser.add_subparsers(title="Valid subcommands", dest="command")
-
- # * logging options parser *********************************************************
- # with use of the parent argument this options will be added to every parser
- parser_log = argparse.ArgumentParser(
- add_help=False, formatter_class=argparse.ArgumentDefaultsHelpFormatter
- )
- parser_log.add_argument(
- "-v",
- "--log-level",
- choices=["DEBUG", "3", "INFO", "2", "WARNING", "1", "ERROR", "0"],
- default="INFO",
- help="set verbosity level by string or number, 0=ERROR, 1=WARNING, 2=INFO "
- "and 3=DEBUG",
- )
- parser_log.add_argument(
- "-l",
- "--log-path",
- type=str,
- default=None,
- help="set log file to log messages to disk, if not specified, the logs will "
- "only be output to console",
- )
- # * mpi logging parser *************************************************************
- parser_mpi_log = argparse.ArgumentParser(
- add_help=False, formatter_class=argparse.ArgumentDefaultsHelpFormatter
- )
- parser_mpi_log.add_argument(
- "-m",
- "--mpi-log",
- type=str,
- default="master",
- choices=("master", "collect", "workers"),
- help="Set the manner of logging when running with MPI. 'master' logs only on "
- "main process, 'collect' broadcasts logs from workers to master and 'workers' "
- "means each process will output its own log",
- )
-
- # * config script ******************************************************************
- parser_cfig = subparsers.add_parser(
- "config",
- parents=[parser_log],
- help="fast configuration of parameter file for smooth model",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- parser_cfig.add_argument(
- "-o", "--output", type=str, default="input.json", help="the output json file"
- )
-
- # * transfer script ****************************************************************
- parser_transfer = subparsers.add_parser(
- "transfer", parents=[parser_log], help="pass parameters to another model"
- )
- parser_transfer.add_argument(
- "-r",
- "--raw-model",
- default="raw_frozen_model.pb",
- type=str,
- help="the model receiving parameters",
- )
- parser_transfer.add_argument(
- "-O",
- "--old-model",
- default="old_frozen_model.pb",
- type=str,
- help="the model providing parameters",
- )
- parser_transfer.add_argument(
- "-o",
- "--output",
- default="frozen_model.pb",
- type=str,
- help="the model after passing parameters",
- )
-
- # * config parser ******************************************************************
- parser_train = subparsers.add_parser(
- "train",
- parents=[parser_log, parser_mpi_log],
- help="train a model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp train input.json
- dp train input.json --restart model.ckpt
- dp train input.json --init-model model.ckpt
- """),
- )
- parser_train.add_argument(
- "INPUT", help="the input parameter file in json or yaml format"
- )
- parser_train.add_argument(
- "-i",
- "--init-model",
- type=str,
- default=None,
- help="Initialize the model by the provided checkpoint.",
- )
- parser_train.add_argument(
- "-r",
- "--restart",
- type=str,
- default=None,
- help="Restart the training from the provided checkpoint.",
- )
- parser_train.add_argument(
- "-o",
- "--output",
- type=str,
- default="out.json",
- help="The output file of the parameters used in training.",
- )
- parser_train.add_argument(
- "-f",
- "--init-frz-model",
- type=str,
- default=None,
- help="Initialize the training from the frozen model.",
- )
- parser_train.add_argument(
- "--skip-neighbor-stat",
- action="store_true",
- help="Skip calculating neighbor statistics. Sel checking, automatic sel, and model compression will be disabled.",
- )
-
- # * freeze script ******************************************************************
- parser_frz = subparsers.add_parser(
- "freeze",
- parents=[parser_log],
- help="freeze the model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp freeze
- dp freeze -o graph.pb
- """),
- )
- parser_frz.add_argument(
- "-c",
- "--checkpoint-folder",
- type=str,
- default=".",
- help="path to checkpoint folder",
- )
- parser_frz.add_argument(
- "-o",
- "--output",
- type=str,
- default="frozen_model.pb",
- help="name of graph, will output to the checkpoint folder",
- )
- parser_frz.add_argument(
- "-n",
- "--node-names",
- type=str,
- default=None,
- help="the frozen nodes, if not set, determined from the model type",
- )
- parser_frz.add_argument(
- "-w",
- "--nvnmd-weight",
- type=str,
- default=None,
- help="the name of weight file (.npy), if set, save the model's weight into the file",
- )
-
- # * test script ********************************************************************
- parser_tst = subparsers.add_parser(
- "test",
- parents=[parser_log],
- help="test the model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp test -m graph.pb -s /path/to/system -n 30
- """),
- )
- parser_tst.add_argument(
- "-m",
- "--model",
- default="frozen_model.pb",
- type=str,
- help="Frozen model file to import",
- )
- parser_tst.add_argument(
- "-s",
- "--system",
- default=".",
- type=str,
- help="The system dir. Recursively detect systems in this directory",
- )
- parser_tst.add_argument(
- "-S", "--set-prefix", default="set", type=str, help="The set prefix"
- )
- parser_tst.add_argument(
- "-n", "--numb-test", default=100, type=int, help="The number of data for test"
- )
- parser_tst.add_argument(
- "-r", "--rand-seed", type=int, default=None, help="The random seed"
- )
- parser_tst.add_argument(
- "--shuffle-test", action="store_true", default=False, help="Shuffle test data"
- )
- parser_tst.add_argument(
- "-d",
- "--detail-file",
- type=str,
- default=None,
- help="File where details of energy force and virial accuracy will be written",
- )
- parser_tst.add_argument(
- "-a",
- "--atomic",
- action="store_true",
- default=False,
- help="Test the accuracy of atomic label, i.e. energy / tensor (dipole, polar)",
- )
-
- # * compress model *****************************************************************
- # Compress a model, which including tabulating the embedding-net.
- # The table is composed of fifth-order polynomial coefficients and is assembled
- # from two sub-tables. The first table takes the step(parameter) as it's uniform
- # step, while the second table takes 10 * step as it\s uniform step
- # The range of the first table is automatically detected by deepmd-kit, while the
- # second table ranges from the first table's upper boundary(upper) to the
- # extrapolate(parameter) * upper.
- parser_compress = subparsers.add_parser(
- "compress",
- parents=[parser_log, parser_mpi_log],
- help="compress a model",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp compress
- dp compress -i graph.pb -o compressed.pb
- """),
- )
- parser_compress.add_argument(
- "-i",
- "--input",
- default="frozen_model.pb",
- type=str,
- help="The original frozen model, which will be compressed by the code",
- )
- parser_compress.add_argument(
- "-o",
- "--output",
- default="frozen_model_compressed.pb",
- type=str,
- help="The compressed model",
- )
- parser_compress.add_argument(
- "-s",
- "--step",
- default=0.01,
- type=float,
- help="Model compression uses fifth-order polynomials to interpolate the embedding-net. "
- "It introduces two tables with different step size to store the parameters of the polynomials. "
- "The first table covers the range of the training data, while the second table is an extrapolation of the training data. "
- "The domain of each table is uniformly divided by a given step size. "
- "And the step(parameter) denotes the step size of the first table and the second table will "
- "use 10 * step as it's step size to save the memory. "
- "Usually the value ranges from 0.1 to 0.001. "
- "Smaller step means higher accuracy and bigger model size",
- )
- parser_compress.add_argument(
- "-e",
- "--extrapolate",
- default=5,
- type=int,
- help="The domain range of the first table is automatically detected by the code: [d_low, d_up]. "
- "While the second table ranges from the first table's upper boundary(d_up) to the extrapolate(parameter) * d_up: [d_up, extrapolate * d_up]",
- )
- parser_compress.add_argument(
- "-f",
- "--frequency",
- default=-1,
- type=int,
- help="The frequency of tabulation overflow check(Whether the input environment "
- "matrix overflow the first or second table range). "
- "By default do not check the overflow",
- )
- parser_compress.add_argument(
- "-c",
- "--checkpoint-folder",
- type=str,
- default="model-compression",
- help="path to checkpoint folder",
- )
- parser_compress.add_argument(
- "-t",
- "--training-script",
- type=str,
- default=None,
- help="The training script of the input frozen model",
- )
-
- # * print docs script **************************************************************
- parsers_doc = subparsers.add_parser(
- "doc-train-input",
- parents=[parser_log],
- help="print the documentation (in rst format) of input training parameters.",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- parsers_doc.add_argument(
- "--out-type",
- default="rst",
- type=str,
- help="The output type"
- )
-
- # * make model deviation ***********************************************************
- parser_model_devi = subparsers.add_parser(
- "model-devi",
- parents=[parser_log],
- help="calculate model deviation",
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp model-devi -m graph.000.pb graph.001.pb graph.002.pb graph.003.pb -s ./data -o model_devi.out
- """),
- )
- parser_model_devi.add_argument(
- "-m",
- "--models",
- default=["graph.000.pb", "graph.001.pb", "graph.002.pb", "graph.003.pb"],
- nargs="+",
- type=str,
- help="Frozen models file to import",
- )
- parser_model_devi.add_argument(
- "-s",
- "--system",
- default=".",
- type=str,
- help="The system directory. Recursively detect systems in this directory.",
- )
- parser_model_devi.add_argument(
- "-S", "--set-prefix", default="set", type=str, help="The set prefix"
- )
- parser_model_devi.add_argument(
- "-o",
- "--output",
- default="model_devi.out",
- type=str,
- help="The output file for results of model deviation"
- )
- parser_model_devi.add_argument(
- "-f",
- "--frequency",
- default=1,
- type=int,
- help="The trajectory frequency of the system"
- )
-
- # * convert models
- parser_transform = subparsers.add_parser(
- 'convert-from',
- parents=[parser_log],
- help='convert lower model version to supported version',
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp convert-from 1.0 -i graph.pb -o graph_new.pb
- """),
- )
- parser_transform.add_argument(
- 'FROM',
- type = str,
- choices = ['0.12', '1.0', '1.1', '1.2', '1.3', '2.0'],
- help="The original model compatibility",
- )
- parser_transform.add_argument(
- '-i',
- "--input-model",
- default = "frozen_model.pb",
- type=str,
- help = "the input model",
- )
- parser_transform.add_argument(
- "-o",
- "--output-model",
- default = "convert_out.pb",
- type=str,
- help='the output model',
- )
-
- # neighbor_stat
- parser_neighbor_stat = subparsers.add_parser(
- 'neighbor-stat',
- parents=[parser_log],
- help='Calculate neighbor statistics',
- formatter_class=RawTextArgumentDefaultsHelpFormatter,
- epilog=textwrap.dedent("""\
- examples:
- dp neighbor-stat -s data -r 6.0 -t O H
- """),
- )
- parser_neighbor_stat.add_argument(
- "-s",
- "--system",
- default=".",
- type=str,
- help="The system dir. Recursively detect systems in this directory",
- )
- parser_neighbor_stat.add_argument(
- "-r",
- "--rcut",
- type=float,
- required=True,
- help="cutoff radius",
- )
- parser_neighbor_stat.add_argument(
- "-t",
- "--type-map",
- type=str,
- nargs='+',
- required=True,
- help="type map",
- )
- parser_neighbor_stat.add_argument(
- "--one-type",
- action="store_true",
- default=False,
- help="treat all types as a single type. Used with se_atten descriptor.",
- )
-
- # --version
- parser.add_argument('--version', action='version', version='DeePMD-kit v%s' % __version__)
-
- # * train nvnmd script ******************************************************************
- parser_train_nvnmd = subparsers.add_parser(
- "train-nvnmd",
- parents=[parser_log],
- help="train nvnmd model",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter,
- )
- parser_train_nvnmd.add_argument(
- "INPUT", help="the input parameter file in json format"
- )
- parser_train_nvnmd.add_argument(
- "-s",
- "--step",
- default="s1",
- type=str,
- choices=['s1', 's2'],
- help="steps to train model of NVNMD: s1 (train CNN), s2 (train QNN)"
- )
- return parser
-
-
-def parse_args(args: Optional[List[str]] = None) -> argparse.Namespace:
- """Parse arguments and convert argument strings to objects.
-
- Parameters
- ----------
- args: List[str]
- list of command line arguments, main purpose is testing default option None
- takes arguments from sys.argv
-
- Returns
- -------
- argparse.Namespace
- the populated namespace
- """
- parser = main_parser()
- parsed_args = parser.parse_args(args=args)
- if parsed_args.command is None:
- parser.print_help()
- else:
- parsed_args.log_level = get_ll(parsed_args.log_level)
-
- return parsed_args
-
-
-def main():
- """DeePMD-Kit entry point.
-
- Raises
- ------
- RuntimeError
- if no command was input
- """
- args = parse_args()
-
- # do not set log handles for None, it is useless
- # log handles for train will be set separatelly
- # when the use of MPI will be determined in `RunOptions`
- if args.command not in (None, "train"):
- set_log_handles(args.log_level, Path(args.log_path) if args.log_path else None)
-
- dict_args = vars(args)
-
- if args.command == "train":
- train_dp(**dict_args)
- elif args.command == "freeze":
- freeze(**dict_args)
- elif args.command == "config":
- config(**dict_args)
- elif args.command == "test":
- test(**dict_args)
- elif args.command == "transfer":
- transfer(**dict_args)
- elif args.command == "compress":
- compress(**dict_args)
- elif args.command == "doc-train-input":
- doc_train_input(**dict_args)
- elif args.command == "model-devi":
- make_model_devi(**dict_args)
- elif args.command == "convert-from":
- convert(**dict_args)
- elif args.command == "neighbor-stat":
- neighbor_stat(**dict_args)
- elif args.command == "train-nvnmd": # nvnmd
- train_nvnmd(**dict_args)
- elif args.command is None:
- pass
- else:
- raise RuntimeError(f"unknown command {args.command}")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/neighbor_stat.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/neighbor_stat.py
deleted file mode 100644
index 48bac75a354564032a6688468f3ad514a8664ba1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/neighbor_stat.py
+++ /dev/null
@@ -1,52 +0,0 @@
-import logging
-from typing import List
-
-from deepmd.common import expand_sys_str
-from deepmd.utils.data_system import DeepmdDataSystem
-from deepmd.utils.neighbor_stat import NeighborStat
-
-log = logging.getLogger(__name__)
-
-def neighbor_stat(
- *,
- system: str,
- rcut: float,
- type_map: List[str],
- one_type: bool = False,
- **kwargs,
-):
- """Calculate neighbor statistics.
-
- Parameters
- ----------
- system : str
- system to stat
- rcut : float
- cutoff radius
- type_map : list[str]
- type map
- one_type : bool, optional, default=False
- treat all types as a single type
-
- Examples
- --------
- >>> neighbor_stat(system='.', rcut=6., type_map=["C", "H", "O", "N", "P", "S", "Mg", "Na", "HW", "OW", "mNa", "mCl", "mC", "mH", "mMg", "mN", "mO", "mP"])
- min_nbor_dist: 0.6599510670195264
- max_nbor_size: [23, 26, 19, 16, 2, 2, 1, 1, 72, 37, 5, 0, 31, 29, 1, 21, 20, 5]
- """
- all_sys = expand_sys_str(system)
- if not len(all_sys):
- raise RuntimeError("Did not find valid system")
- data = DeepmdDataSystem(
- systems=all_sys,
- batch_size=1,
- test_size=1,
- rcut=rcut,
- type_map=type_map,
- )
- data.get_batch()
- nei = NeighborStat(data.get_ntypes(), rcut, one_type=one_type)
- min_nbor_dist, max_nbor_size = nei.get_stat(data)
- log.info("min_nbor_dist: %f" % min_nbor_dist)
- log.info("max_nbor_size: %s" % str(max_nbor_size))
- return min_nbor_dist, max_nbor_size
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/test.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/test.py
deleted file mode 100644
index a36b2f4567c1e13a9e2f2f71b71c08bdc11bf680..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/test.py
+++ /dev/null
@@ -1,608 +0,0 @@
-"""Test trained DeePMD model."""
-import logging
-from pathlib import Path
-from typing import TYPE_CHECKING, List, Dict, Optional, Tuple
-
-import numpy as np
-from deepmd import DeepPotential
-from deepmd.common import expand_sys_str
-from deepmd.utils import random as dp_random
-from deepmd.utils.data import DeepmdData
-from deepmd.utils.weight_avg import weighted_average
-
-if TYPE_CHECKING:
- from deepmd.infer import DeepDipole, DeepPolar, DeepPot, DeepWFC
- from deepmd.infer.deep_tensor import DeepTensor
-
-__all__ = ["test"]
-
-log = logging.getLogger(__name__)
-
-
-def test(
- *,
- model: str,
- system: str,
- set_prefix: str,
- numb_test: int,
- rand_seed: Optional[int],
- shuffle_test: bool,
- detail_file: str,
- atomic: bool,
- **kwargs,
-):
- """Test model predictions.
-
- Parameters
- ----------
- model : str
- path where model is stored
- system : str
- system directory
- set_prefix : str
- string prefix of set
- numb_test : int
- munber of tests to do
- rand_seed : Optional[int]
- seed for random generator
- shuffle_test : bool
- whether to shuffle tests
- detail_file : Optional[str]
- file where test details will be output
- atomic : bool
- whether per atom quantities should be computed
-
- Raises
- ------
- RuntimeError
- if no valid system was found
- """
- all_sys = expand_sys_str(system)
- if len(all_sys) == 0:
- raise RuntimeError("Did not find valid system")
- err_coll = []
- siz_coll = []
-
- # init random seed
- if rand_seed is not None:
- dp_random.seed(rand_seed % (2 ** 32))
-
- # init model
- dp = DeepPotential(model)
-
- for cc, system in enumerate(all_sys):
- log.info("# ---------------output of dp test--------------- ")
- log.info(f"# testing system : {system}")
-
- # create data class
- tmap = dp.get_type_map() if dp.model_type == "ener" else None
- data = DeepmdData(system, set_prefix, shuffle_test=shuffle_test, type_map=tmap)
-
- if dp.model_type == "ener":
- err = test_ener(
- dp,
- data,
- system,
- numb_test,
- detail_file,
- atomic,
- append_detail=(cc != 0),
- )
- elif dp.model_type == "dipole":
- err = test_dipole(dp, data, numb_test, detail_file, atomic)
- elif dp.model_type == "polar":
- err = test_polar(dp, data, numb_test, detail_file, atomic=atomic)
- elif dp.model_type == "global_polar": # should not appear in this new version
- log.warning("Global polar model is not currently supported. Please directly use the polar mode and change loss parameters.")
- err = test_polar(dp, data, numb_test, detail_file, atomic=False) # YWolfeee: downward compatibility
- log.info("# ----------------------------------------------- ")
- err_coll.append(err)
-
- avg_err = weighted_average(err_coll)
-
- if len(all_sys) != len(err_coll):
- log.warning("Not all systems are tested! Check if the systems are valid")
-
- if len(all_sys) > 1:
- log.info("# ----------weighted average of errors----------- ")
- log.info(f"# number of systems : {len(all_sys)}")
- if dp.model_type == "ener":
- print_ener_sys_avg(avg_err)
- elif dp.model_type == "dipole":
- print_dipole_sys_avg(avg_err)
- elif dp.model_type == "polar":
- print_polar_sys_avg(avg_err)
- elif dp.model_type == "global_polar":
- print_polar_sys_avg(avg_err)
- elif dp.model_type == "wfc":
- print_wfc_sys_avg(avg_err)
- log.info("# ----------------------------------------------- ")
-
-
-def rmse(diff: np.ndarray) -> np.ndarray:
- """Calculate average root mean square error.
-
- Parameters
- ----------
- diff: np.ndarray
- difference
-
- Returns
- -------
- np.ndarray
- array with normalized difference
- """
- return np.sqrt(np.average(diff * diff))
-
-
-def save_txt_file(
- fname: Path, data: np.ndarray, header: str = "", append: bool = False
-):
- """Save numpy array to test file.
-
- Parameters
- ----------
- fname : str
- filename
- data : np.ndarray
- data to save to disk
- header : str, optional
- header string to use in file, by default ""
- append : bool, optional
- if true file will be appended insted of overwriting, by default False
- """
- flags = "ab" if append else "w"
- with fname.open(flags) as fp:
- np.savetxt(fp, data, header=header)
-
-
-def test_ener(
- dp: "DeepPot",
- data: DeepmdData,
- system: str,
- numb_test: int,
- detail_file: Optional[str],
- has_atom_ener: bool,
- append_detail: bool = False,
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- system : str
- system directory
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
- has_atom_ener : bool
- whether per atom quantities should be computed
- append_detail : bool, optional
- if true append output detail file, by default False
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add("energy", 1, atomic=False, must=False, high_prec=True)
- data.add("force", 3, atomic=True, must=False, high_prec=False)
- data.add("virial", 9, atomic=False, must=False, high_prec=False)
- if dp.has_efield:
- data.add("efield", 3, atomic=True, must=True, high_prec=False)
- if has_atom_ener:
- data.add("atom_ener", 1, atomic=True, must=True, high_prec=False)
- if dp.get_dim_fparam() > 0:
- data.add(
- "fparam", dp.get_dim_fparam(), atomic=False, must=True, high_prec=False
- )
- if dp.get_dim_aparam() > 0:
- data.add("aparam", dp.get_dim_aparam(), atomic=True, must=True, high_prec=False)
-
- test_data = data.get_test()
- natoms = len(test_data["type"][0])
- nframes = test_data["box"].shape[0]
- numb_test = min(nframes, numb_test)
-
- coord = test_data["coord"][:numb_test].reshape([numb_test, -1])
- box = test_data["box"][:numb_test]
- if dp.has_efield:
- efield = test_data["efield"][:numb_test].reshape([numb_test, -1])
- else:
- efield = None
- if not data.pbc:
- box = None
- atype = test_data["type"][0]
- if dp.get_dim_fparam() > 0:
- fparam = test_data["fparam"][:numb_test]
- else:
- fparam = None
- if dp.get_dim_aparam() > 0:
- aparam = test_data["aparam"][:numb_test]
- else:
- aparam = None
-
- ret = dp.eval(
- coord,
- box,
- atype,
- fparam=fparam,
- aparam=aparam,
- atomic=has_atom_ener,
- efield=efield,
- )
- energy = ret[0]
- force = ret[1]
- virial = ret[2]
- energy = energy.reshape([numb_test, 1])
- force = force.reshape([numb_test, -1])
- virial = virial.reshape([numb_test, 9])
- if has_atom_ener:
- ae = ret[3]
- av = ret[4]
- ae = ae.reshape([numb_test, -1])
- av = av.reshape([numb_test, -1])
-
- rmse_e = rmse(energy - test_data["energy"][:numb_test].reshape([-1, 1]))
- rmse_f = rmse(force - test_data["force"][:numb_test])
- rmse_v = rmse(virial - test_data["virial"][:numb_test])
- rmse_ea = rmse_e / natoms
- rmse_va = rmse_v / natoms
- if has_atom_ener:
- rmse_ae = rmse(
- test_data["atom_ener"][:numb_test].reshape([-1]) - ae.reshape([-1])
- )
-
- # print ("# energies: %s" % energy)
- log.info(f"# number of test data : {numb_test:d} ")
- log.info(f"Energy RMSE : {rmse_e:e} eV")
- log.info(f"Energy RMSE/Natoms : {rmse_ea:e} eV")
- log.info(f"Force RMSE : {rmse_f:e} eV/A")
- if data.pbc:
- log.info(f"Virial RMSE : {rmse_v:e} eV")
- log.info(f"Virial RMSE/Natoms : {rmse_va:e} eV")
- if has_atom_ener:
- log.info(f"Atomic ener RMSE : {rmse_ae:e} eV")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
-
- pe = np.concatenate(
- (
- np.reshape(test_data["energy"][:numb_test], [-1, 1]),
- np.reshape(energy, [-1, 1]),
- ),
- axis=1,
- )
- save_txt_file(
- detail_path.with_suffix(".e.out"),
- pe,
- header="%s: data_e pred_e" % system,
- append=append_detail,
- )
- pf = np.concatenate(
- (
- np.reshape(test_data["force"][:numb_test], [-1, 3]),
- np.reshape(force, [-1, 3]),
- ),
- axis=1,
- )
- save_txt_file(
- detail_path.with_suffix(".f.out"),
- pf,
- header="%s: data_fx data_fy data_fz pred_fx pred_fy pred_fz" % system,
- append=append_detail,
- )
- pv = np.concatenate(
- (
- np.reshape(test_data["virial"][:numb_test], [-1, 9]),
- np.reshape(virial, [-1, 9]),
- ),
- axis=1,
- )
- save_txt_file(
- detail_path.with_suffix(".v.out"),
- pv,
- header=f"{system}: data_vxx data_vxy data_vxz data_vyx data_vyy "
- "data_vyz data_vzx data_vzy data_vzz pred_vxx pred_vxy pred_vxz pred_vyx "
- "pred_vyy pred_vyz pred_vzx pred_vzy pred_vzz",
- append=append_detail,
- )
- return {
- "rmse_ea" : (rmse_ea, energy.size),
- "rmse_f" : (rmse_f, force.size),
- "rmse_va" : (rmse_va, virial.size),
- }
-
-
-def print_ener_sys_avg(avg: Dict[str,float]):
- """Print errors summary for energy type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"Energy RMSE/Natoms : {avg['rmse_ea']:e} eV")
- log.info(f"Force RMSE : {avg['rmse_f']:e} eV/A")
- log.info(f"Virial RMSE/Natoms : {avg['rmse_va']:e} eV")
-
-
-def run_test(dp: "DeepTensor", test_data: dict, numb_test: int):
- """Run tests.
-
- Parameters
- ----------
- dp : DeepTensor
- instance of deep potential
- test_data : dict
- dictionary with test data
- numb_test : int
- munber of tests to do
-
- Returns
- -------
- [type]
- [description]
- """
- nframes = test_data["box"].shape[0]
- numb_test = min(nframes, numb_test)
-
- coord = test_data["coord"][:numb_test].reshape([numb_test, -1])
- box = test_data["box"][:numb_test]
- atype = test_data["type"][0]
- prediction = dp.eval(coord, box, atype)
-
- return prediction.reshape([numb_test, -1]), numb_test, atype
-
-
-def test_wfc(
- dp: "DeepWFC",
- data: DeepmdData,
- numb_test: int,
- detail_file: Optional[str],
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add(
- "wfc", 12, atomic=True, must=True, high_prec=False, type_sel=dp.get_sel_type()
- )
- test_data = data.get_test()
- wfc, numb_test, _ = run_test(dp, test_data, numb_test)
- rmse_f = rmse(wfc - test_data["wfc"][:numb_test])
-
- log.info("# number of test data : {numb_test:d} ")
- log.info("WFC RMSE : {rmse_f:e} eV/A")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
- pe = np.concatenate(
- (
- np.reshape(test_data["wfc"][:numb_test], [-1, 12]),
- np.reshape(wfc, [-1, 12]),
- ),
- axis=1,
- )
- np.savetxt(
- detail_path.with_suffix(".out"),
- pe,
- header="ref_wfc(12 dofs) predicted_wfc(12 dofs)",
- )
- return {
- 'rmse' : (rmse_f, wfc.size)
- }
-
-
-def print_wfc_sys_avg(avg):
- """Print errors summary for wfc type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"WFC RMSE : {avg['rmse']:e} eV/A")
-
-
-def test_polar(
- dp: "DeepPolar",
- data: DeepmdData,
- numb_test: int,
- detail_file: Optional[str],
- *,
- atomic: bool,
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
- global_polar : bool
- wheter to use glovbal version of polar potential
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add(
- "polarizability" if not atomic else "atomic_polarizability",
- 9,
- atomic=atomic,
- must=True,
- high_prec=False,
- type_sel=dp.get_sel_type(),
- )
-
- test_data = data.get_test()
- polar, numb_test, atype = run_test(dp, test_data, numb_test)
-
- sel_type = dp.get_sel_type()
- sel_natoms = 0
- for ii in sel_type:
- sel_natoms += sum(atype == ii)
-
- # YWolfeee: do summation in global polar mode
- if not atomic:
- polar = np.sum(polar.reshape((polar.shape[0],-1,9)),axis=1)
- rmse_f = rmse(polar - test_data["polarizability"][:numb_test])
- rmse_fs = rmse_f / np.sqrt(sel_natoms)
- rmse_fa = rmse_f / sel_natoms
- else:
- rmse_f = rmse(polar - test_data["atomic_polarizability"][:numb_test])
-
- log.info(f"# number of test data : {numb_test:d} ")
- log.info(f"Polarizability RMSE : {rmse_f:e}")
- if not atomic:
- log.info(f"Polarizability RMSE/sqrtN : {rmse_fs:e}")
- log.info(f"Polarizability RMSE/N : {rmse_fa:e}")
- log.info(f"The unit of error is the same as the unit of provided label.")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
-
- pe = np.concatenate(
- (
- np.reshape(test_data["polarizability"][:numb_test], [-1, 9]),
- np.reshape(polar, [-1, 9]),
- ),
- axis=1,
- )
- np.savetxt(
- detail_path.with_suffix(".out"),
- pe,
- header="data_pxx data_pxy data_pxz data_pyx data_pyy data_pyz data_pzx "
- "data_pzy data_pzz pred_pxx pred_pxy pred_pxz pred_pyx pred_pyy pred_pyz "
- "pred_pzx pred_pzy pred_pzz",
- )
- return {
- "rmse" : (rmse_f, polar.size)
- }
-
-
-def print_polar_sys_avg(avg):
- """Print errors summary for polar type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"Polarizability RMSE : {avg['rmse']:e} eV/A")
-
-
-def test_dipole(
- dp: "DeepDipole",
- data: DeepmdData,
- numb_test: int,
- detail_file: Optional[str],
- atomic: bool,
-) -> Tuple[List[np.ndarray], List[int]]:
- """Test energy type model.
-
- Parameters
- ----------
- dp : DeepPot
- instance of deep potential
- data: DeepmdData
- data container object
- numb_test : int
- munber of tests to do
- detail_file : Optional[str]
- file where test details will be output
- atomic : bool
- whether atomic dipole is provided
-
- Returns
- -------
- Tuple[List[np.ndarray], List[int]]
- arrays with results and their shapes
- """
- data.add(
- "dipole" if not atomic else "atomic_dipole",
- 3,
- atomic=atomic,
- must=True,
- high_prec=False,
- type_sel=dp.get_sel_type()
- )
- test_data = data.get_test()
- dipole, numb_test, atype = run_test(dp, test_data, numb_test)
-
- sel_type = dp.get_sel_type()
- sel_natoms = 0
- for ii in sel_type:
- sel_natoms += sum(atype == ii)
-
- # do summation in atom dimension
- if not atomic:
- dipole = np.sum(dipole.reshape((dipole.shape[0], -1, 3)),axis=1)
- rmse_f = rmse(dipole - test_data["dipole"][:numb_test])
- rmse_fs = rmse_f / np.sqrt(sel_natoms)
- rmse_fa = rmse_f / sel_natoms
- else:
- rmse_f = rmse(dipole - test_data["atomic_dipole"][:numb_test])
-
- log.info(f"# number of test data : {numb_test:d}")
- log.info(f"Dipole RMSE : {rmse_f:e}")
- if not atomic:
- log.info(f"Dipole RMSE/sqrtN : {rmse_fs:e}")
- log.info(f"Dipole RMSE/N : {rmse_fa:e}")
- log.info(f"The unit of error is the same as the unit of provided label.")
-
- if detail_file is not None:
- detail_path = Path(detail_file)
-
- pe = np.concatenate(
- (
- np.reshape(test_data["dipole"][:numb_test], [-1, 3]),
- np.reshape(dipole, [-1, 3]),
- ),
- axis=1,
- )
- np.savetxt(
- detail_path.with_suffix(".out"),
- pe,
- header="data_x data_y data_z pred_x pred_y pred_z",
- )
- return {
- 'rmse' : (rmse_f, dipole.size)
- }
-
-
-def print_dipole_sys_avg(avg):
- """Print errors summary for dipole type potential.
-
- Parameters
- ----------
- avg : np.ndarray
- array with summaries
- """
- log.info(f"Dipole RMSE : {avg['rmse']:e} eV/A")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/train.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/train.py
deleted file mode 100644
index ae37353de9962652f5c7af2db296cc4754450b4c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/train.py
+++ /dev/null
@@ -1,356 +0,0 @@
-"""DeePMD training entrypoint script.
-
-Can handle local or distributed training.
-"""
-
-import json
-import logging
-import time
-import os
-from typing import Dict, List, Optional, Any
-
-from deepmd.common import data_requirement, expand_sys_str, j_loader, j_must_have
-from deepmd.env import tf, reset_default_tf_session_config, GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.infer.data_modifier import DipoleChargeModifier
-from deepmd.train.run_options import BUILD, CITATION, WELCOME, RunOptions
-from deepmd.train.trainer import DPTrainer
-from deepmd.utils import random as dp_random
-from deepmd.utils.argcheck import normalize
-from deepmd.utils.compat import update_deepmd_input
-from deepmd.utils.data_system import DeepmdDataSystem
-from deepmd.utils.sess import run_sess
-from deepmd.utils.neighbor_stat import NeighborStat
-from deepmd.utils.path import DPPath
-
-__all__ = ["train"]
-
-log = logging.getLogger(__name__)
-
-
-def train(
- *,
- INPUT: str,
- init_model: Optional[str],
- restart: Optional[str],
- output: str,
- init_frz_model: str,
- mpi_log: str,
- log_level: int,
- log_path: Optional[str],
- is_compress: bool = False,
- skip_neighbor_stat: bool = False,
- **kwargs,
-):
- """Run DeePMD model training.
-
- Parameters
- ----------
- INPUT : str
- json/yaml control file
- init_model : Optional[str]
- path to checkpoint folder or None
- restart : Optional[str]
- path to checkpoint folder or None
- output : str
- path for dump file with arguments
- init_frz_model : str
- path to frozen model or None
- mpi_log : str
- mpi logging mode
- log_level : int
- logging level defined by int 0-3
- log_path : Optional[str]
- logging file path or None if logs are to be output only to stdout
- is_compress: bool
- indicates whether in the model compress mode
- skip_neighbor_stat : bool, default=False
- skip checking neighbor statistics
-
- Raises
- ------
- RuntimeError
- if distributed training job nem is wrong
- """
- run_opt = RunOptions(
- init_model=init_model,
- restart=restart,
- init_frz_model=init_frz_model,
- log_path=log_path,
- log_level=log_level,
- mpi_log=mpi_log
- )
- if run_opt.is_distrib and len(run_opt.gpus or []) > 1:
- # avoid conflict of visible gpus among multipe tf sessions in one process
- reset_default_tf_session_config(cpu_only=True)
-
- # load json database
- jdata = j_loader(INPUT)
-
- jdata = update_deepmd_input(jdata, warning=True, dump="input_v2_compat.json")
-
- jdata = normalize(jdata)
-
- if not is_compress and not skip_neighbor_stat:
- jdata = update_sel(jdata)
-
- with open(output, "w") as fp:
- json.dump(jdata, fp, indent=4)
-
- # save the training script into the graph
- # remove white spaces as it is not compressed
- tf.constant(json.dumps(jdata, separators=(',', ':')), name='train_attr/training_script', dtype=tf.string)
-
- for message in WELCOME + CITATION + BUILD:
- log.info(message)
-
- run_opt.print_resource_summary()
- _do_work(jdata, run_opt, is_compress)
-
-
-def _do_work(jdata: Dict[str, Any], run_opt: RunOptions, is_compress: bool = False):
- """Run serial model training.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- arguments read form json/yaml control file
- run_opt : RunOptions
- object with run configuration
- is_compress : Bool
- indicates whether in model compress mode
-
- Raises
- ------
- RuntimeError
- If unsupported modifier type is selected for model
- """
- # make necessary checks
- assert "training" in jdata
-
- # init the model
- model = DPTrainer(jdata, run_opt=run_opt, is_compress = is_compress)
- rcut = model.model.get_rcut()
- type_map = model.model.get_type_map()
- if len(type_map) == 0:
- ipt_type_map = None
- else:
- ipt_type_map = type_map
-
- # init random seed of data systems
- seed = jdata["training"].get("seed", None)
- if seed is not None:
- # avoid the same batch sequence among workers
- seed += run_opt.my_rank
- seed = seed % (2 ** 32)
- dp_random.seed(seed)
-
- # setup data modifier
- modifier = get_modifier(jdata["model"].get("modifier", None))
-
- # decouple the training data from the model compress process
- train_data = None
- valid_data = None
- if not is_compress:
- # init data
- train_data = get_data(jdata["training"]["training_data"], rcut, ipt_type_map, modifier)
- train_data.print_summary("training")
- if jdata["training"].get("validation_data", None) is not None:
- valid_data = get_data(jdata["training"]["validation_data"], rcut, train_data.type_map, modifier)
- valid_data.print_summary("validation")
-
- # get training info
- stop_batch = j_must_have(jdata["training"], "numb_steps")
- model.build(train_data, stop_batch)
-
- if not is_compress:
- # train the model with the provided systems in a cyclic way
- start_time = time.time()
- model.train(train_data, valid_data)
- end_time = time.time()
- log.info("finished training")
- log.info(f"wall time: {(end_time - start_time):.3f} s")
- else:
- model.save_compressed()
- log.info("finished compressing")
-
-
-def get_data(jdata: Dict[str, Any], rcut, type_map, modifier):
- systems = j_must_have(jdata, "systems")
- if isinstance(systems, str):
- systems = expand_sys_str(systems)
- help_msg = 'Please check your setting for data systems'
- # check length of systems
- if len(systems) == 0:
- msg = 'cannot find valid a data system'
- log.fatal(msg)
- raise IOError(msg, help_msg)
- # rougly check all items in systems are valid
- for ii in systems:
- ii = DPPath(ii)
- if (not ii.is_dir()):
- msg = f'dir {ii} is not a valid dir'
- log.fatal(msg)
- raise IOError(msg, help_msg)
- if (not (ii / 'type.raw').is_file()):
- msg = f'dir {ii} is not a valid data system dir'
- log.fatal(msg)
- raise IOError(msg, help_msg)
-
- batch_size = j_must_have(jdata, "batch_size")
- sys_probs = jdata.get("sys_probs", None)
- auto_prob = jdata.get("auto_prob", "prob_sys_size")
-
- data = DeepmdDataSystem(
- systems=systems,
- batch_size=batch_size,
- test_size=1, # to satisfy the old api
- shuffle_test=True, # to satisfy the old api
- rcut=rcut,
- type_map=type_map,
- modifier=modifier,
- trn_all_set=True, # sample from all sets
- sys_probs=sys_probs,
- auto_prob_style=auto_prob
- )
- data.add_dict(data_requirement)
-
- return data
-
-
-def get_modifier(modi_data=None):
- modifier: Optional[DipoleChargeModifier]
- if modi_data is not None:
- if modi_data["type"] == "dipole_charge":
- modifier = DipoleChargeModifier(
- modi_data["model_name"],
- modi_data["model_charge_map"],
- modi_data["sys_charge_map"],
- modi_data["ewald_h"],
- modi_data["ewald_beta"],
- )
- else:
- raise RuntimeError("unknown modifier type " + str(modi_data["type"]))
- else:
- modifier = None
- return modifier
-
-
-def get_rcut(jdata):
- descrpt_data = jdata['model']['descriptor']
- rcut_list = []
- if descrpt_data['type'] == 'hybrid':
- for ii in descrpt_data['list']:
- rcut_list.append(ii['rcut'])
- else:
- rcut_list.append(descrpt_data['rcut'])
- return max(rcut_list)
-
-
-def get_type_map(jdata):
- return jdata['model'].get('type_map', None)
-
-
-def get_nbor_stat(jdata, rcut, one_type: bool = False):
- max_rcut = get_rcut(jdata)
- type_map = get_type_map(jdata)
-
- if type_map and len(type_map) == 0:
- type_map = None
- train_data = get_data(jdata["training"]["training_data"], max_rcut, type_map, None)
- train_data.get_batch()
- data_ntypes = train_data.get_ntypes()
- if type_map is not None:
- map_ntypes = len(type_map)
- else:
- map_ntypes = data_ntypes
- ntypes = max([map_ntypes, data_ntypes])
-
- neistat = NeighborStat(ntypes, rcut, one_type=one_type)
-
- min_nbor_dist, max_nbor_size = neistat.get_stat(train_data)
-
- # moved from traier.py as duplicated
- # TODO: this is a simple fix but we should have a clear
- # architecture to call neighbor stat
- tf.constant(min_nbor_dist,
- name = 'train_attr/min_nbor_dist',
- dtype = GLOBAL_ENER_FLOAT_PRECISION)
- tf.constant(max_nbor_size,
- name = 'train_attr/max_nbor_size',
- dtype = tf.int32)
- return min_nbor_dist, max_nbor_size
-
-def get_sel(jdata, rcut, one_type: bool = False):
- _, max_nbor_size = get_nbor_stat(jdata, rcut, one_type=one_type)
- return max_nbor_size
-
-def get_min_nbor_dist(jdata, rcut):
- min_nbor_dist, _ = get_nbor_stat(jdata, rcut)
- return min_nbor_dist
-
-def parse_auto_sel(sel):
- if type(sel) is not str:
- return False
- words = sel.split(':')
- if words[0] == 'auto':
- return True
- else:
- return False
-
-
-def parse_auto_sel_ratio(sel):
- if not parse_auto_sel(sel):
- raise RuntimeError(f'invalid auto sel format {sel}')
- else:
- words = sel.split(':')
- if len(words) == 1:
- ratio = 1.1
- elif len(words) == 2:
- ratio = float(words[1])
- else:
- raise RuntimeError(f'invalid auto sel format {sel}')
- return ratio
-
-
-def wrap_up_4(xx):
- return 4 * ((int(xx) + 3) // 4)
-
-
-def update_one_sel(jdata, descriptor):
- if descriptor['type'] == 'loc_frame':
- return descriptor
- rcut = descriptor['rcut']
- tmp_sel = get_sel(jdata, rcut, one_type=descriptor['type'] in ('se_atten',))
- sel = descriptor['sel']
- if isinstance(sel, int):
- # convert to list and finnally convert back to int
- sel = [sel]
- if parse_auto_sel(descriptor['sel']) :
- ratio = parse_auto_sel_ratio(descriptor['sel'])
- descriptor['sel'] = sel = [int(wrap_up_4(ii * ratio)) for ii in tmp_sel]
- else:
- # sel is set by user
- for ii, (tt, dd) in enumerate(zip(tmp_sel, sel)):
- if dd and tt > dd:
- # we may skip warning for sel=0, where the user is likely
- # to exclude such type in the descriptor
- log.warning(
- "sel of type %d is not enough! The expected value is "
- "not less than %d, but you set it to %d. The accuracy"
- " of your model may get worse." %(ii, tt, dd)
- )
- if descriptor['type'] in ('se_atten',):
- descriptor['sel'] = sel = sum(sel)
- return descriptor
-
-
-def update_sel(jdata):
- log.info("Calculate neighbor statistics... (add --skip-neighbor-stat to skip this step)")
- descrpt_data = jdata['model']['descriptor']
- if descrpt_data['type'] == 'hybrid':
- for ii in range(len(descrpt_data['list'])):
- descrpt_data['list'][ii] = update_one_sel(jdata, descrpt_data['list'][ii])
- else:
- descrpt_data = update_one_sel(jdata, descrpt_data)
- jdata['model']['descriptor'] = descrpt_data
- return jdata
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/transfer.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/transfer.py
deleted file mode 100644
index d7694edbe33c446cae608bd7f9f581f603576bf1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/entrypoints/transfer.py
+++ /dev/null
@@ -1,236 +0,0 @@
-"""Module used for transfering parameters between models."""
-
-from typing import Dict, Optional, Sequence, Tuple
-from deepmd.env import tf, TRANSFER_PATTERN
-import re
-import numpy as np
-import logging
-
-__all__ = ["transfer"]
-
-log = logging.getLogger(__name__)
-
-
-@np.vectorize
-def convert_number(number: int) -> float:
- binary = bin(number).replace("0b", "").zfill(16)
- sign = int(binary[0]) * -2 + 1
- exp = int(binary[1:6], 2)
- frac = (int(binary[6:], 2) + 2 ** 10) * (2 ** -10)
- return sign * (2 ** (exp - 15)) * frac
-
-
-def convert_matrix(
- matrix: np.ndarray, shape: Sequence[int], dtype: Optional[type] = None
-) -> np.ndarray:
- """Convert matrix of integers to self defined binary format.
-
- Parameters
- ----------
- matrix : np.ndarray
- array of ints
- shape : Sequence[int]
- shape to cast resulting array to
- dtype : Optional[type]
- type that finall array will be cast to, If None no casting will take place
-
- Returns
- -------
- np.ndarray
- array cast to required format
- """
- conv = convert_number(matrix.flatten()).reshape(shape)
- if dtype:
- conv = conv.astype(dtype)
-
- return conv
-
-
-def transfer(*, old_model: str, raw_model: str, output: str, **kwargs):
- """Transfer operation from old fron graph to new prepared raw graph.
-
- Parameters
- ----------
- old_model : str
- frozen old graph model
- raw_model : str
- new model that will accept ops from old model
- output : str
- new model with transfered parameters will be saved to this location
- """
- raw_graph = load_graph(raw_model)
- old_graph = load_graph(old_model)
- log.info(f"{len(raw_graph.as_graph_def().node)} ops in the raw graph")
- log.info(f"{len(old_graph.as_graph_def().node)} ops in the old graph")
-
- new_graph_def = transform_graph(raw_graph, old_graph)
- with tf.gfile.GFile(output, mode="wb") as f:
- f.write(new_graph_def.SerializeToString())
- log.info("the output model is saved in " + output)
-
-
-def load_graph(graph_name: str) -> tf.Graph:
- """Load graph from passed in path.
-
- Parameters
- ----------
- graph_name : str
- path to frozen graph on disk
-
- Returns
- -------
- tf.Graph
- tf graph object
- """
- graph_def = tf.GraphDef()
- with open(graph_name, "rb") as f:
- graph_def.ParseFromString(f.read())
- with tf.Graph().as_default() as graph:
- tf.import_graph_def(graph_def, name="")
- return graph
-
-
-def transform_graph(raw_graph: tf.Graph, old_graph: tf.Graph) -> tf.Graph:
- """Trasform old graph into new.
-
- Parameters
- ----------
- raw_graph : tf.Graph
- graph receiving parameters from the old one
- old_graph : tf.Graph
- graph providing parameters
-
- Returns
- -------
- tf.Graph
- new graph with parameters transfered form the old one
- """
- old_graph_def = old_graph.as_graph_def()
- raw_graph_def = raw_graph.as_graph_def()
- raw_graph_node = load_transform_node(raw_graph_def)
- old_graph_node = load_transform_node(old_graph_def)
-
- for node in raw_graph_def.node:
- if node.name not in raw_graph_node.keys():
- continue
-
- old_node = old_graph_node[node.name]
- raw_node = raw_graph_node[node.name]
- cp_attr = CopyNodeAttr(node)
-
- check_dim(raw_graph_node, old_graph_node, node.name)
- tensor_shape = [dim.size for dim in raw_node.tensor_shape.dim]
- old_graph_dtype = tf.as_dtype(old_node.dtype).as_numpy_dtype
- raw_graph_dtype = tf.as_dtype(raw_node.dtype).as_numpy_dtype
- log.info(
- f"{node.name} is passed from old graph({old_graph_dtype}) "
- f"to raw graph({raw_graph_dtype})"
- )
-
- if raw_graph_dtype == np.float16:
- if old_graph_dtype == np.float64 or old_graph_dtype == np.float32:
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor = np.frombuffer(old_node.tensor_content, dtype = old_graph_dtype)
- tensor = tensor.astype(raw_graph_dtype)
- cp_attr.from_str(tensor)
- else:
- tensor = load_tensor(old_node, old_graph_dtype, raw_graph_dtype)
- cp_attr.from_array(tensor, tf.float16, [1])
-
- elif old_graph_dtype[1] == "float16":
- tensor = convertMatrix(np.array(old_node.half_val), tensor_shape)
- cp_attr.from_array(tensor, raw_graph_dtype)
-
- elif raw_graph_dtype == np.float64 or raw_graph_dtype == np.float32:
- if old_graph_dtype == np.float64 or old_graph_dtype == np.float32:
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor = np.frombuffer(old_node.tensor_content, dtype = old_graph_dtype)
- tensor = tensor.astype(raw_graph_dtype)
- cp_attr.from_str(tensor)
- else:
- tensor = load_tensor(old_node, old_graph_dtype, raw_graph_dtype)
- cp_attr.from_array(tensor, raw_graph_dtype, shape=[1])
-
- elif old_graph_dtype == np.float16:
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor = convertMatrix(np.array(old_node.half_val), tensor_shape).astype(raw_graph_dtype)
- cp_attr.from_str(tensor)
- else:
- tensor = convertMatrix(np.array(old_node.half_val), tensor_shape).astype(raw_graph_dtype)
- cp_attr.from_array(tensor, raw_graph_dtype)
-
- return raw_graph_def
-
-
-class CopyNodeAttr:
- def __init__(self, node) -> None:
- self.node = node
-
- def from_array(
- self, tensor: np.ndarray, dtype: type, shape: Optional[Sequence[int]] = None
- ):
- if shape is None:
- shape = tensor.shape
- self.node.attr["value"].CopyFrom(
- tf.AttrValue(tensor=tf.make_tensor_proto(tensor, dtype, shape))
- )
-
- def from_str(self, tensor: np.ndarray):
- self.node.attr["value"].tensor.tensor_content = tensor.tostring()
-
-
-def load_tensor(node: tf.Tensor, dtype_old: type, dtype_new: type) -> np.ndarray:
- if dtype_old == np.float64:
- tensor = np.array(node.double_val).astype(dtype_new)
- elif dtype_old == np.float32:
- tensor = np.array(node.float_val).astype(dtype_new)
-
- return tensor
-
-
-def check_dim(raw_graph_node: tf.Tensor, old_graph_node: tf.Tensor, node_name: str):
- """Check if dimensions of tensor in old and new graph is equal.
-
- Parameters
- ----------
- raw_graph_node : tf.Tensor
- node of the receiving graph
- old_graph_node : tf.Tensor
- node of the graph from which will node be extracted
- node_name : str
- name of the node
-
- Raises
- ------
- RuntimeError
- if node dimension do not match
- """
- raw_graph_dim = raw_graph_node[node_name].tensor_shape
- old_graph_dim = old_graph_node[node_name].tensor_shape
- if raw_graph_dim != old_graph_dim:
- raise RuntimeError(
- f"old graph {old_graph_dim} and raw graph {raw_graph_dim} "
- f"has different {node_name} dim"
- )
-
-
-def load_transform_node(graph: tf.Graph) -> Dict[str, tf.Tensor]:
- """Load nodes and their names from graph to dict.
-
- Parameters
- ----------
- graph : tf.Graph
- tensforflow graph
-
- Returns
- -------
- Dict[str, tf.Tensor]
- mapping on graph node names and corresponding tensors
- """
- transform_node_pattern = re.compile(TRANSFER_PATTERN)
-
- transform_node = {}
- for node in graph.node:
- if transform_node_pattern.fullmatch(node.name) is not None:
- transform_node[node.name] = node.attr["value"].tensor
- return transform_node
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/env.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/env.py
deleted file mode 100644
index a33e043348d6cef47848c42398679c906e63a857..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/env.py
+++ /dev/null
@@ -1,407 +0,0 @@
-"""Module that sets tensorflow working environment and exports inportant constants."""
-
-import logging
-import os
-import re
-import platform
-from configparser import ConfigParser
-from importlib import reload
-from pathlib import Path
-from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple
-from packaging.version import Version
-
-import numpy as np
-
-if TYPE_CHECKING:
- from types import ModuleType
-
-# import tensorflow v1 compatability
-try:
- import tensorflow.compat.v1 as tf
-
- tf.disable_v2_behavior()
-except ImportError:
- import tensorflow as tf
-try:
- import tensorflow.compat.v2 as tfv2
-except ImportError:
- tfv2 = None
-
-__all__ = [
- "GLOBAL_CONFIG",
- "GLOBAL_TF_FLOAT_PRECISION",
- "GLOBAL_NP_FLOAT_PRECISION",
- "GLOBAL_ENER_FLOAT_PRECISION",
- "global_float_prec",
- "global_cvt_2_tf_float",
- "global_cvt_2_ener_float",
- "MODEL_VERSION",
- "SHARED_LIB_MODULE",
- "default_tf_session_config",
- "reset_default_tf_session_config",
- "op_module",
- "op_grads_module",
- "TRANSFER_PATTERN",
- "FITTING_NET_PATTERN",
- "EMBEDDING_NET_PATTERN",
- "TYPE_EMBEDDING_PATTERN",
- "ATTENTION_LAYER_PATTERN",
- "TF_VERSION"
-]
-
-SHARED_LIB_MODULE = "op"
-
-# Python library version
-try:
- tf_py_version = tf.version.VERSION
-except AttributeError:
- tf_py_version = tf.__version__
-
-EMBEDDING_NET_PATTERN = str(
- r"filter_type_\d+/matrix_\d+_\d+|"
- r"filter_type_\d+/bias_\d+_\d+|"
- r"filter_type_\d+/idt_\d+_\d+|"
- r"filter_type_all/matrix_\d+|"
- r"filter_type_all/matrix_\d+_\d+|"
- r"filter_type_all/matrix_\d+_\d+_\d+|"
- r"filter_type_all/bias_\d+|"
- r"filter_type_all/bias_\d+_\d+|"
- r"filter_type_all/bias_\d+_\d+_\d+|"
- r"filter_type_all/idt_\d+|"
- r"filter_type_all/idt_\d+_\d+|"
-)
-
-FITTING_NET_PATTERN = str(
- r"layer_\d+/matrix|"
- r"layer_\d+_type_\d+/matrix|"
- r"layer_\d+/bias|"
- r"layer_\d+_type_\d+/bias|"
- r"layer_\d+/idt|"
- r"layer_\d+_type_\d+/idt|"
- r"final_layer/matrix|"
- r"final_layer_type_\d+/matrix|"
- r"final_layer/bias|"
- r"final_layer_type_\d+/bias|"
-)
-
-TYPE_EMBEDDING_PATTERN = str(
- r"type_embed_net+/matrix_\d+|"
- r"type_embed_net+/bias_\d+|"
- r"type_embed_net+/idt_\d+|"
-)
-
-ATTENTION_LAYER_PATTERN = str(
- r"attention_layer_\d+/c_query/matrix|"
- r"attention_layer_\d+/c_query/bias|"
- r"attention_layer_\d+/c_key/matrix|"
- r"attention_layer_\d+/c_key/bias|"
- r"attention_layer_\d+/c_value/matrix|"
- r"attention_layer_\d+/c_value/bias|"
- r"attention_layer_\d+/c_out/matrix|"
- r"attention_layer_\d+/c_out/bias|"
- r"attention_layer_\d+/layer_normalization/beta|"
- r"attention_layer_\d+/layer_normalization/gamma|"
- r"attention_layer_\d+/layer_normalization_\d+/beta|"
- r"attention_layer_\d+/layer_normalization_\d+/gamma|"
-)
-
-TRANSFER_PATTERN = \
- EMBEDDING_NET_PATTERN + \
- FITTING_NET_PATTERN + \
- TYPE_EMBEDDING_PATTERN + \
- str(
- r"descrpt_attr/t_avg|"
- r"descrpt_attr/t_std|"
- r"fitting_attr/t_fparam_avg|"
- r"fitting_attr/t_fparam_istd|"
- r"fitting_attr/t_aparam_avg|"
- r"fitting_attr/t_aparam_istd|"
- r"model_attr/t_tab_info|"
- r"model_attr/t_tab_data|"
-)
-
-def set_env_if_empty(key: str, value: str, verbose: bool = True):
- """Set environment variable only if it is empty.
-
- Parameters
- ----------
- key : str
- env variable name
- value : str
- env variable value
- verbose : bool, optional
- if True action will be logged, by default True
- """
- if os.environ.get(key) is None:
- os.environ[key] = value
- if verbose:
- logging.warn(
- f"Environment variable {key} is empty. Use the default value {value}"
- )
-
-
-def set_mkl():
- """Tuning MKL for the best performance.
-
- References
- ----------
- TF overview
- https://www.tensorflow.org/guide/performance/overview
-
- Fixing an issue in numpy built by MKL
- https://github.com/ContinuumIO/anaconda-issues/issues/11367
- https://github.com/numpy/numpy/issues/12374
-
- check whether the numpy is built by mkl, see
- https://github.com/numpy/numpy/issues/14751
- """
- if "mkl_rt" in np.__config__.get_info("blas_mkl_info").get("libraries", []):
- set_env_if_empty("KMP_BLOCKTIME", "0")
- set_env_if_empty(
- "KMP_AFFINITY", "granularity=fine,verbose,compact,1,0")
- reload(np)
-
-
-def set_tf_default_nthreads():
- """Set TF internal number of threads to default=automatic selection.
-
- Notes
- -----
- `TF_INTRA_OP_PARALLELISM_THREADS` and `TF_INTER_OP_PARALLELISM_THREADS`
- control TF configuration of multithreading.
- """
- if "OMP_NUM_THREADS" not in os.environ or \
- "TF_INTRA_OP_PARALLELISM_THREADS" not in os.environ or \
- "TF_INTER_OP_PARALLELISM_THREADS" not in os.environ:
- logging.warning(
- "To get the best performance, it is recommended to adjust "
- "the number of threads by setting the environment variables "
- "OMP_NUM_THREADS, TF_INTRA_OP_PARALLELISM_THREADS, and "
- "TF_INTER_OP_PARALLELISM_THREADS.")
- set_env_if_empty("TF_INTRA_OP_PARALLELISM_THREADS", "0", verbose=False)
- set_env_if_empty("TF_INTER_OP_PARALLELISM_THREADS", "0", verbose=False)
-
-
-def get_tf_default_nthreads() -> Tuple[int, int]:
- """Get TF paralellism settings.
-
- Returns
- -------
- Tuple[int, int]
- number of `TF_INTRA_OP_PARALLELISM_THREADS` and
- `TF_INTER_OP_PARALLELISM_THREADS`
- """
- return int(os.environ.get("TF_INTRA_OP_PARALLELISM_THREADS", "0")), int(
- os.environ.get("TF_INTER_OP_PARALLELISM_THREADS", "0")
- )
-
-
-def get_tf_session_config() -> Any:
- """Configure tensorflow session.
-
- Returns
- -------
- Any
- session configure object
- """
- set_tf_default_nthreads()
- intra, inter = get_tf_default_nthreads()
- config = tf.ConfigProto(
- gpu_options=tf.GPUOptions(allow_growth=True),
- intra_op_parallelism_threads=intra, inter_op_parallelism_threads=inter
- )
- if Version(tf_py_version) >= Version('1.15') and int(os.environ.get("DP_AUTO_PARALLELIZATION", 0)):
- config.graph_options.rewrite_options.custom_optimizers.add().name = "dpparallel"
- return config
-
-
-default_tf_session_config = get_tf_session_config()
-
-
-def reset_default_tf_session_config(cpu_only: bool):
- """Limit tensorflow session to CPU or not.
-
- Parameters
- ----------
- cpu_only : bool
- If enabled, no GPU device is visible to the TensorFlow Session.
- """
- global default_tf_session_config
- if cpu_only:
- default_tf_session_config.device_count['GPU'] = 0
- else:
- if 'GPU' in default_tf_session_config.device_count:
- del default_tf_session_config.device_count['GPU']
-
-
-def get_module(module_name: str) -> "ModuleType":
- """Load force module.
-
- Returns
- -------
- ModuleType
- loaded force module
-
- Raises
- ------
- FileNotFoundError
- if module is not found in directory
- """
- if platform.system() == "Windows":
- ext = ".dll"
- prefix = ""
- #elif platform.system() == "Darwin":
- # ext = ".dylib"
- else:
- ext = ".so"
- prefix = "lib"
-
- module_file = (
- (Path(__file__).parent / SHARED_LIB_MODULE / (prefix + module_name))
- .with_suffix(ext)
- .resolve()
- )
-
- if not module_file.is_file():
- raise FileNotFoundError(f"module {module_name} does not exist")
- else:
- try:
- module = tf.load_op_library(str(module_file))
- except tf.errors.NotFoundError as e:
- # check CXX11_ABI_FLAG is compatiblity
- # see https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html
- # ABI should be the same
- if 'CXX11_ABI_FLAG' in tf.__dict__:
- tf_cxx11_abi_flag = tf.CXX11_ABI_FLAG
- else:
- tf_cxx11_abi_flag = tf.sysconfig.CXX11_ABI_FLAG
- if TF_CXX11_ABI_FLAG != tf_cxx11_abi_flag:
- raise RuntimeError(
- "This deepmd-kit package was compiled with "
- "CXX11_ABI_FLAG=%d, but TensorFlow runtime was compiled "
- "with CXX11_ABI_FLAG=%d. These two library ABIs are "
- "incompatible and thus an error is raised when loading %s. "
- "You need to rebuild deepmd-kit against this TensorFlow "
- "runtime." % (
- TF_CXX11_ABI_FLAG,
- tf_cxx11_abi_flag,
- module_name,
- )) from e
-
- # different versions may cause incompatibility
- # see #406, #447, #557, #774, and #796 for example
- # throw a message if versions are different
- if TF_VERSION != tf_py_version:
- raise RuntimeError(
- "The version of TensorFlow used to compile this "
- "deepmd-kit package is %s, but the version of TensorFlow "
- "runtime you are using is %s. These two versions are "
- "incompatible and thus an error is raised when loading %s. "
- "You need to install TensorFlow %s, or rebuild deepmd-kit "
- "against TensorFlow %s.\nIf you are using a wheel from "
- "pypi, you may consider to install deepmd-kit execuating "
- "`pip install deepmd-kit --no-binary deepmd-kit` "
- "instead." % (
- TF_VERSION,
- tf_py_version,
- module_name,
- TF_VERSION,
- tf_py_version,
- )) from e
- error_message = (
- "This deepmd-kit package is inconsitent with TensorFlow "
- "Runtime, thus an error is raised when loading %s. "
- "You need to rebuild deepmd-kit against this TensorFlow "
- "runtime." % (
- module_name,
- )
- )
- if TF_CXX11_ABI_FLAG == 1:
- # #1791
- error_message += (
- "\nWARNING: devtoolset on RHEL6 and RHEL7 does not support _GLIBCXX_USE_CXX11_ABI=1. "
- "See https://bugzilla.redhat.com/show_bug.cgi?id=1546704"
- )
- raise RuntimeError(error_message) from e
- return module
-
-
-def _get_package_constants(
- config_file: Path = Path(__file__).parent / "pkg_config/run_config.ini",
-) -> Dict[str, str]:
- """Read package constants set at compile time by CMake to dictionary.
-
- Parameters
- ----------
- config_file : str, optional
- path to CONFIG file, by default "pkg_config/run_config.ini"
-
- Returns
- -------
- Dict[str, str]
- dictionary with package constants
- """
- config = ConfigParser()
- config.read(config_file)
- return dict(config.items("CONFIG"))
-
-
-GLOBAL_CONFIG = _get_package_constants()
-MODEL_VERSION = GLOBAL_CONFIG["model_version"]
-TF_VERSION = GLOBAL_CONFIG["tf_version"]
-TF_CXX11_ABI_FLAG = int(GLOBAL_CONFIG["tf_cxx11_abi_flag"])
-
-op_module = get_module("op_abi")
-op_grads_module = get_module("op_grads")
-
-# FLOAT_PREC
-dp_float_prec = os.environ.get("DP_INTERFACE_PREC", "high").lower()
-if dp_float_prec in ("high", ""):
- # default is high
- GLOBAL_TF_FLOAT_PRECISION = tf.float64
- GLOBAL_NP_FLOAT_PRECISION = np.float64
- GLOBAL_ENER_FLOAT_PRECISION = np.float64
- global_float_prec = "double"
-elif dp_float_prec == "low":
- GLOBAL_TF_FLOAT_PRECISION = tf.float32
- GLOBAL_NP_FLOAT_PRECISION = np.float32
- GLOBAL_ENER_FLOAT_PRECISION = np.float64
- global_float_prec = "float"
-else:
- raise RuntimeError(
- "Unsupported float precision option: %s. Supported: high,"
- "low. Please set precision with environmental variable "
- "DP_INTERFACE_PREC." % dp_float_prec
- )
-
-
-def global_cvt_2_tf_float(xx: tf.Tensor) -> tf.Tensor:
- """Cast tensor to globally set TF precision.
-
- Parameters
- ----------
- xx : tf.Tensor
- input tensor
-
- Returns
- -------
- tf.Tensor
- output tensor cast to `GLOBAL_TF_FLOAT_PRECISION`
- """
- return tf.cast(xx, GLOBAL_TF_FLOAT_PRECISION)
-
-
-def global_cvt_2_ener_float(xx: tf.Tensor) -> tf.Tensor:
- """Cast tensor to globally set energy precision.
-
- Parameters
- ----------
- xx : tf.Tensor
- input tensor
-
- Returns
- -------
- tf.Tensor
- output tensor cast to `GLOBAL_ENER_FLOAT_PRECISION`
- """
- return tf.cast(xx, GLOBAL_ENER_FLOAT_PRECISION)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/__init__.py
deleted file mode 100644
index ead86207048e7650150ccef9dd3882e111a0ef62..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/__init__.py
+++ /dev/null
@@ -1,6 +0,0 @@
-from .ener import EnerFitting
-from .wfc import WFCFitting
-from .dipole import DipoleFittingSeA
-from .polar import PolarFittingSeA
-from .polar import GlobalPolarFittingSeA
-from .polar import PolarFittingLocFrame
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/dipole.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/dipole.py
deleted file mode 100644
index 02dae7a834c932046f555fa5f9c3c13ed7c57e19..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/dipole.py
+++ /dev/null
@@ -1,198 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement, get_activation_func, get_precision, cast_precision
-from deepmd.utils.network import one_layer, one_layer_rand_seed_shift
-from deepmd.utils.graph import get_fitting_net_variables_from_graph_def
-from deepmd.descriptor import DescrptSeA
-from deepmd.fit.fitting import Fitting
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-
-class DipoleFittingSeA (Fitting) :
- """
- Fit the atomic dipole with descriptor se_a
-
- Parameters
- ----------
- descrpt : tf.Tensor
- The descrptor
- neuron : List[int]
- Number of neurons in each hidden layer of the fitting net
- resnet_dt : bool
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- sel_type : List[int]
- The atom types selected to have an atomic dipole prediction. If is None, all atoms are selected.
- seed : int
- Random seed for initializing the network parameters.
- activation_function : str
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision : str
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- sel_type : List[int] = None,
- seed : int = None,
- activation_function : str = 'tanh',
- precision : str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- if not isinstance(descrpt, DescrptSeA) :
- raise RuntimeError('DipoleFittingSeA only supports DescrptSeA')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- # args = ClassArg()\
- # .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- # .add('resnet_dt', bool, default = True)\
- # .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'dipole_type')\
- # .add('seed', int)\
- # .add("activation_function", str, default = "tanh")\
- # .add('precision', str, default = "default")
- # class_data = args.parse(jdata)
- self.n_neuron = neuron
- self.resnet_dt = resnet_dt
- self.sel_type = sel_type
- if self.sel_type is None:
- self.sel_type = [ii for ii in range(self.ntypes)]
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = one_layer_rand_seed_shift()
- self.fitting_activation_fn = get_activation_func(activation_function)
- self.fitting_precision = get_precision(precision)
- self.dim_rot_mat_1 = descrpt.get_dim_rot_mat_1()
- self.dim_rot_mat = self.dim_rot_mat_1 * 3
- self.useBN = False
- self.fitting_net_variables = None
- self.mixed_prec = None
-
- def get_sel_type(self) -> int:
- """
- Get selected type
- """
- return self.sel_type
-
- def get_out_size(self) -> int:
- """
- Get the output size. Should be 3
- """
- return 3
-
- @cast_precision
- def build (self,
- input_d : tf.Tensor,
- rot_mat : tf.Tensor,
- natoms : tf.Tensor,
- reuse : bool = None,
- suffix : str = '') -> tf.Tensor:
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- input_d
- The input descriptor
- rot_mat
- The rotation matrix from the descriptor.
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- dipole
- The atomic dipole.
- """
- start_index = 0
- inputs = tf.reshape(input_d, [-1, natoms[0], self.dim_descrpt])
- rot_mat = tf.reshape(rot_mat, [-1, natoms[0], self.dim_rot_mat])
-
- count = 0
- outs_list = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, self.dim_rot_mat_1, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x naxis
- final_layer = one_layer(layer, self.dim_rot_mat_1, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec, final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x 1 * naxis
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], 1, self.dim_rot_mat_1])
- # (nframes x natoms) x 1 x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # nframes x natoms x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], 3])
-
- # concat the results
- outs_list.append(final_layer)
- count += 1
- outs = tf.concat(outs_list, axis = 1)
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
- # return tf.reshape(outs, [tf.shape(inputs)[0] * natoms[0] * 3 // 3])
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.fitting_net_variables = get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.fitting_precision = get_precision(mixed_prec['output_prec'])
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/ener.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/ener.py
deleted file mode 100644
index ad18d6d7ba8d683f357a9d88c03e9824108a58b9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/ener.py
+++ /dev/null
@@ -1,615 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-from packaging.version import Version
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement, get_activation_func, get_precision, cast_precision
-from deepmd.utils.network import one_layer_rand_seed_shift
-from deepmd.utils.network import one_layer as one_layer_deepmd
-from deepmd.utils.type_embed import embed_atom_type
-from deepmd.utils.graph import get_fitting_net_variables_from_graph_def, load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.errors import GraphWithoutTensorError
-from deepmd.fit.fitting import Fitting
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION, TF_VERSION
-
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.fit.ener import one_layer_nvnmd
-
-class EnerFitting (Fitting):
- r"""Fitting the energy of the system. The force and the virial can also be trained.
-
- The potential energy :math:`E` is a fitting network function of the descriptor :math:`\mathcal{D}`:
-
- .. math::
- E(\mathcal{D}) = \mathcal{L}^{(n)} \circ \mathcal{L}^{(n-1)}
- \circ \cdots \circ \mathcal{L}^{(1)} \circ \mathcal{L}^{(0)}
-
- The first :math:`n` hidden layers :math:`\mathcal{L}^{(0)}, \cdots, \mathcal{L}^{(n-1)}` are given by
-
- .. math::
- \mathbf{y}=\mathcal{L}(\mathbf{x};\mathbf{w},\mathbf{b})=
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b})
-
- where :math:`\mathbf{x} \in \mathbb{R}^{N_1}`$` is the input vector and :math:`\mathbf{y} \in \mathbb{R}^{N_2}`
- is the output vector. :math:`\mathbf{w} \in \mathbb{R}^{N_1 \times N_2}` and
- :math:`\mathbf{b} \in \mathbb{R}^{N_2}`$` are weights and biases, respectively,
- both of which are trainable if `trainable[i]` is `True`. :math:`\boldsymbol{\phi}`
- is the activation function.
-
- The output layer :math:`\mathcal{L}^{(n)}` is given by
-
- .. math::
- \mathbf{y}=\mathcal{L}^{(n)}(\mathbf{x};\mathbf{w},\mathbf{b})=
- \mathbf{x}^T\mathbf{w}+\mathbf{b}
-
- where :math:`\mathbf{x} \in \mathbb{R}^{N_{n-1}}`$` is the input vector and :math:`\mathbf{y} \in \mathbb{R}`
- is the output scalar. :math:`\mathbf{w} \in \mathbb{R}^{N_{n-1}}` and
- :math:`\mathbf{b} \in \mathbb{R}`$` are weights and bias, respectively,
- both of which are trainable if `trainable[n]` is `True`.
-
- Parameters
- ----------
- descrpt
- The descrptor :math:`\mathcal{D}`
- neuron
- Number of neurons :math:`N` in each hidden layer of the fitting net
- resnet_dt
- Time-step `dt` in the resnet construction:
- :math:`y = x + dt * \phi (Wx + b)`
- numb_fparam
- Number of frame parameter
- numb_aparam
- Number of atomic parameter
- rcond
- The condition number for the regression of atomic energy.
- tot_ener_zero
- Force the total energy to zero. Useful for the charge fitting.
- trainable
- If the weights of fitting net are trainable.
- Suppose that we have :math:`N_l` hidden layers in the fitting net,
- this list is of length :math:`N_l + 1`, specifying if the hidden layers and the output layer are trainable.
- seed
- Random seed for initializing the network parameters.
- atom_ener
- Specifying atomic energy contribution in vacuum. The `set_davg_zero` key in the descrptor should be set.
- activation_function
- The activation function :math:`\boldsymbol{\phi}` in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- numb_fparam : int = 0,
- numb_aparam : int = 0,
- rcond : float = 1e-3,
- tot_ener_zero : bool = False,
- trainable : List[bool] = None,
- seed : int = None,
- atom_ener : List[float] = [],
- activation_function : str = 'tanh',
- precision : str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- # model param
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- # args = ()\
- # .add('numb_fparam', int, default = 0)\
- # .add('numb_aparam', int, default = 0)\
- # .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- # .add('resnet_dt', bool, default = True)\
- # .add('rcond', float, default = 1e-3) \
- # .add('tot_ener_zero', bool, default = False) \
- # .add('seed', int) \
- # .add('atom_ener', list, default = [])\
- # .add("activation_function", str, default = "tanh")\
- # .add("precision", str, default = "default")\
- # .add("trainable", [list, bool], default = True)
- self.numb_fparam = numb_fparam
- self.numb_aparam = numb_aparam
- self.n_neuron = neuron
- self.resnet_dt = resnet_dt
- self.rcond = rcond
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = one_layer_rand_seed_shift()
- self.tot_ener_zero = tot_ener_zero
- self.fitting_activation_fn = get_activation_func(activation_function)
- self.fitting_precision = get_precision(precision)
- self.trainable = trainable
- if self.trainable is None:
- self.trainable = [True for ii in range(len(self.n_neuron) + 1)]
- if type(self.trainable) is bool:
- self.trainable = [self.trainable] * (len(self.n_neuron)+1)
- assert(len(self.trainable) == len(self.n_neuron) + 1), 'length of trainable should be that of n_neuron + 1'
- self.atom_ener = []
- self.atom_ener_v = atom_ener
- for at, ae in enumerate(atom_ener):
- if ae is not None:
- self.atom_ener.append(tf.constant(ae, self.fitting_precision, name = "atom_%d_ener" % at))
- else:
- self.atom_ener.append(None)
- self.useBN = False
- self.bias_atom_e = np.zeros(self.ntypes, dtype=np.float64)
- # data requirement
- if self.numb_fparam > 0 :
- add_data_requirement('fparam', self.numb_fparam, atomic=False, must=True, high_prec=False)
- self.fparam_avg = None
- self.fparam_std = None
- self.fparam_inv_std = None
- if self.numb_aparam > 0:
- add_data_requirement('aparam', self.numb_aparam, atomic=True, must=True, high_prec=False)
- self.aparam_avg = None
- self.aparam_std = None
- self.aparam_inv_std = None
-
- self.fitting_net_variables = None
- self.mixed_prec = None
-
- def get_numb_fparam(self) -> int:
- """
- Get the number of frame parameters
- """
- return self.numb_fparam
-
- def get_numb_aparam(self) -> int:
- """
- Get the number of atomic parameters
- """
- return self.numb_fparam
-
- def compute_output_stats(self,
- all_stat: dict,
- mixed_type: bool = False
- ) -> None:
- """
- Compute the ouput statistics
-
- Parameters
- ----------
- all_stat
- must have the following components:
- all_stat['energy'] of shape n_sys x n_batch x n_frame
- can be prepared by model.make_stat_input
- mixed_type
- Whether to perform the mixed_type mode.
- If True, the input data has the mixed_type format (see doc/model/train_se_atten.md),
- in which frames in a system may have different natoms_vec(s), with the same nloc.
- """
- self.bias_atom_e = self._compute_output_stats(all_stat, rcond=self.rcond, mixed_type=mixed_type)
-
- def _compute_output_stats(self, all_stat, rcond=1e-3, mixed_type=False):
- data = all_stat['energy']
- # data[sys_idx][batch_idx][frame_idx]
- sys_ener = np.array([])
- for ss in range(len(data)):
- sys_data = []
- for ii in range(len(data[ss])):
- for jj in range(len(data[ss][ii])):
- sys_data.append(data[ss][ii][jj])
- sys_data = np.concatenate(sys_data)
- sys_ener = np.append(sys_ener, np.average(sys_data))
- sys_tynatom = np.array([])
- if mixed_type:
- data = all_stat['real_natoms_vec']
- nsys = len(data)
- for ss in range(len(data)):
- tmp_tynatom = []
- for ii in range(len(data[ss])):
- for jj in range(len(data[ss][ii])):
- tmp_tynatom.append(data[ss][ii][jj].astype(np.float64))
- tmp_tynatom = np.average(np.array(tmp_tynatom), axis=0)
- sys_tynatom = np.append(sys_tynatom, tmp_tynatom)
- else:
- data = all_stat['natoms_vec']
- nsys = len(data)
- for ss in range(len(data)):
- sys_tynatom = np.append(sys_tynatom, data[ss][0].astype(np.float64))
- sys_tynatom = np.reshape(sys_tynatom, [nsys,-1])
- sys_tynatom = sys_tynatom[:,2:]
- if len(self.atom_ener) > 0:
- # Atomic energies stats are incorrect if atomic energies are assigned.
- # In this situation, we directly use these assigned energies instead of computing stats.
- # This will make the loss decrease quickly
- assigned_atom_ener = np.array(list((ee for ee in self.atom_ener_v if ee is not None)))
- assigned_ener_idx = list((ii for ii, ee in enumerate(self.atom_ener_v) if ee is not None))
- # np.dot out size: nframe
- sys_ener -= np.dot(sys_tynatom[:, assigned_ener_idx], assigned_atom_ener)
- sys_tynatom[:, assigned_ener_idx] = 0.
- energy_shift,resd,rank,s_value \
- = np.linalg.lstsq(sys_tynatom, sys_ener, rcond = rcond)
- if len(self.atom_ener) > 0:
- for ii in assigned_ener_idx:
- energy_shift[ii] = self.atom_ener_v[ii]
- return energy_shift
-
- def compute_input_stats(self,
- all_stat : dict,
- protection : float = 1e-2) -> None:
- """
- Compute the input statistics
-
- Parameters
- ----------
- all_stat
- if numb_fparam > 0 must have all_stat['fparam']
- if numb_aparam > 0 must have all_stat['aparam']
- can be prepared by model.make_stat_input
- protection
- Divided-by-zero protection
- """
- # stat fparam
- if self.numb_fparam > 0:
- cat_data = np.concatenate(all_stat['fparam'], axis = 0)
- cat_data = np.reshape(cat_data, [-1, self.numb_fparam])
- self.fparam_avg = np.average(cat_data, axis = 0)
- self.fparam_std = np.std(cat_data, axis = 0)
- for ii in range(self.fparam_std.size):
- if self.fparam_std[ii] < protection:
- self.fparam_std[ii] = protection
- self.fparam_inv_std = 1./self.fparam_std
- # stat aparam
- if self.numb_aparam > 0:
- sys_sumv = []
- sys_sumv2 = []
- sys_sumn = []
- for ss_ in all_stat['aparam'] :
- ss = np.reshape(ss_, [-1, self.numb_aparam])
- sys_sumv.append(np.sum(ss, axis = 0))
- sys_sumv2.append(np.sum(np.multiply(ss, ss), axis = 0))
- sys_sumn.append(ss.shape[0])
- sumv = np.sum(sys_sumv, axis = 0)
- sumv2 = np.sum(sys_sumv2, axis = 0)
- sumn = np.sum(sys_sumn)
- self.aparam_avg = (sumv)/sumn
- self.aparam_std = self._compute_std(sumv2, sumv, sumn)
- for ii in range(self.aparam_std.size):
- if self.aparam_std[ii] < protection:
- self.aparam_std[ii] = protection
- self.aparam_inv_std = 1./self.aparam_std
-
-
- def _compute_std (self, sumv2, sumv, sumn) :
- return np.sqrt(sumv2/sumn - np.multiply(sumv/sumn, sumv/sumn))
-
- def _build_lower(
- self,
- start_index,
- natoms,
- inputs,
- fparam = None,
- aparam = None,
- bias_atom_e = 0.0,
- suffix = '',
- reuse = None
- ):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms, -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- layer = inputs_i
- if fparam is not None:
- ext_fparam = tf.tile(fparam, [1, natoms])
- ext_fparam = tf.reshape(ext_fparam, [-1, self.numb_fparam])
- ext_fparam = tf.cast(ext_fparam,self.fitting_precision)
- layer = tf.concat([layer, ext_fparam], axis = 1)
- if aparam is not None:
- ext_aparam = tf.slice(aparam,
- [ 0, start_index * self.numb_aparam],
- [-1, natoms * self.numb_aparam])
- ext_aparam = tf.reshape(ext_aparam, [-1, self.numb_aparam])
- ext_aparam = tf.cast(ext_aparam,self.fitting_precision)
- layer = tf.concat([layer, ext_aparam], axis = 1)
-
- if nvnmd_cfg.enable:
- one_layer = one_layer_nvnmd
- else:
- one_layer = one_layer_deepmd
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] and (not nvnmd_cfg.enable):
- layer+= one_layer(
- layer,
- self.n_neuron[ii],
- name='layer_'+str(ii)+suffix,
- reuse=reuse,
- seed = self.seed,
- use_timestep = self.resnet_dt,
- activation_fn = self.fitting_activation_fn,
- precision = self.fitting_precision,
- trainable = self.trainable[ii],
- uniform_seed = self.uniform_seed,
- initial_variables = self.fitting_net_variables,
- mixed_prec = self.mixed_prec)
- else :
- layer = one_layer(
- layer,
- self.n_neuron[ii],
- name='layer_'+str(ii)+suffix,
- reuse=reuse,
- seed = self.seed,
- activation_fn = self.fitting_activation_fn,
- precision = self.fitting_precision,
- trainable = self.trainable[ii],
- uniform_seed = self.uniform_seed,
- initial_variables = self.fitting_net_variables,
- mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- final_layer = one_layer(
- layer,
- 1,
- activation_fn = None,
- bavg = bias_atom_e,
- name='final_layer'+suffix,
- reuse=reuse,
- seed = self.seed,
- precision = self.fitting_precision,
- trainable = self.trainable[-1],
- uniform_seed = self.uniform_seed,
- initial_variables = self.fitting_net_variables,
- mixed_prec = self.mixed_prec,
- final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
-
- return final_layer
-
-
- @cast_precision
- def build (self,
- inputs : tf.Tensor,
- natoms : tf.Tensor,
- input_dict : dict = None,
- reuse : bool = None,
- suffix : str = '',
- ) -> tf.Tensor:
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- inputs
- The input descriptor
- input_dict
- Additional dict for inputs.
- if numb_fparam > 0, should have input_dict['fparam']
- if numb_aparam > 0, should have input_dict['aparam']
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- ener
- The system energy
- """
- if input_dict is None:
- input_dict = {}
- bias_atom_e = self.bias_atom_e
- type_embedding = input_dict.get('type_embedding', None)
- atype = input_dict.get('atype', None)
- if self.numb_fparam > 0:
- if self.fparam_avg is None:
- self.fparam_avg = 0.
- if self.fparam_inv_std is None:
- self.fparam_inv_std = 1.
- if self.numb_aparam > 0:
- if self.aparam_avg is None:
- self.aparam_avg = 0.
- if self.aparam_inv_std is None:
- self.aparam_inv_std = 1.
-
- with tf.variable_scope('fitting_attr' + suffix, reuse = reuse) :
- t_dfparam = tf.constant(self.numb_fparam,
- name = 'dfparam',
- dtype = tf.int32)
- t_daparam = tf.constant(self.numb_aparam,
- name = 'daparam',
- dtype = tf.int32)
- if type_embedding is not None:
- self.t_bias_atom_e = tf.get_variable('t_bias_atom_e',
- self.bias_atom_e.shape,
- dtype=self.fitting_precision,
- trainable=False,
- initializer=tf.constant_initializer(self.bias_atom_e))
- if self.numb_fparam > 0:
- t_fparam_avg = tf.get_variable('t_fparam_avg',
- self.numb_fparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.fparam_avg))
- t_fparam_istd = tf.get_variable('t_fparam_istd',
- self.numb_fparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.fparam_inv_std))
- if self.numb_aparam > 0:
- t_aparam_avg = tf.get_variable('t_aparam_avg',
- self.numb_aparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.aparam_avg))
- t_aparam_istd = tf.get_variable('t_aparam_istd',
- self.numb_aparam,
- dtype = GLOBAL_TF_FLOAT_PRECISION,
- trainable = False,
- initializer = tf.constant_initializer(self.aparam_inv_std))
-
- inputs = tf.reshape(inputs, [-1, natoms[0], self.dim_descrpt])
- if len(self.atom_ener):
- # only for atom_ener
- nframes = input_dict.get('nframes')
- if nframes is not None:
- # like inputs, but we don't want to add a dependency on inputs
- inputs_zero = tf.zeros((nframes, natoms[0], self.dim_descrpt), dtype=self.fitting_precision)
- else:
- inputs_zero = tf.zeros_like(inputs, dtype=self.fitting_precision)
-
-
- if bias_atom_e is not None :
- assert(len(bias_atom_e) == self.ntypes)
-
- fparam = None
- aparam = None
- if self.numb_fparam > 0 :
- fparam = input_dict['fparam']
- fparam = tf.reshape(fparam, [-1, self.numb_fparam])
- fparam = (fparam - t_fparam_avg) * t_fparam_istd
- if self.numb_aparam > 0 :
- aparam = input_dict['aparam']
- aparam = tf.reshape(aparam, [-1, self.numb_aparam])
- aparam = (aparam - t_aparam_avg) * t_aparam_istd
- aparam = tf.reshape(aparam, [-1, self.numb_aparam * natoms[0]])
-
- if type_embedding is not None:
- atype_nall = tf.reshape(atype, [-1, natoms[1]])
- self.atype_nloc = tf.reshape(tf.slice(atype_nall, [0, 0], [-1, natoms[0]]), [-1]) ## lammps will make error
- atype_embed = tf.nn.embedding_lookup(type_embedding, self.atype_nloc)
- else:
- atype_embed = None
-
- self.atype_embed = atype_embed
-
- if atype_embed is None:
- start_index = 0
- outs_list = []
- for type_i in range(self.ntypes):
- if bias_atom_e is None :
- type_bias_ae = 0.0
- else :
- type_bias_ae = bias_atom_e[type_i]
- final_layer = self._build_lower(
- start_index, natoms[2+type_i],
- inputs, fparam, aparam,
- bias_atom_e=type_bias_ae, suffix='_type_'+str(type_i)+suffix, reuse=reuse
- )
- # concat the results
- if type_i < len(self.atom_ener) and self.atom_ener[type_i] is not None:
- zero_layer = self._build_lower(
- start_index, natoms[2+type_i],
- inputs_zero, fparam, aparam,
- bias_atom_e=type_bias_ae, suffix='_type_'+str(type_i)+suffix, reuse=True
- )
- final_layer += self.atom_ener[type_i] - zero_layer
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i]])
- outs_list.append(final_layer)
- start_index += natoms[2+type_i]
- # concat the results
- # concat once may be faster than multiple concat
- outs = tf.concat(outs_list, axis = 1)
- # with type embedding
- else:
- if len(self.atom_ener) > 0:
- raise RuntimeError("setting atom_ener is not supported by type embedding")
- atype_embed = tf.cast(atype_embed, self.fitting_precision)
- type_shape = atype_embed.get_shape().as_list()
- inputs = tf.concat(
- [tf.reshape(inputs,[-1,self.dim_descrpt]),atype_embed],
- axis=1
- )
- self.dim_descrpt = self.dim_descrpt + type_shape[1]
- inputs = tf.reshape(inputs, [-1, natoms[0], self.dim_descrpt])
- final_layer = self._build_lower(
- 0, natoms[0],
- inputs, fparam, aparam,
- bias_atom_e=0.0, suffix=suffix, reuse=reuse
- )
- outs = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[0]])
- # add bias
- self.atom_ener_before = outs
- self.add_type = tf.reshape(tf.nn.embedding_lookup(self.t_bias_atom_e, self.atype_nloc), [tf.shape(inputs)[0], natoms[0]])
- outs = outs + self.add_type
- self.atom_ener_after = outs
-
- if self.tot_ener_zero:
- force_tot_ener = 0.0
- outs = tf.reshape(outs, [-1, natoms[0]])
- outs_mean = tf.reshape(tf.reduce_mean(outs, axis = 1), [-1, 1])
- outs_mean = outs_mean - tf.ones_like(outs_mean, dtype = GLOBAL_TF_FLOAT_PRECISION) * (force_tot_ener/global_cvt_2_tf_float(natoms[0]))
- outs = outs - outs_mean
- outs = tf.reshape(outs, [-1])
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
-
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.fitting_net_variables = get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
- if self.numb_fparam > 0:
- self.fparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_avg' % suffix)
- self.fparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_istd' % suffix)
- if self.numb_aparam > 0:
- self.aparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_avg' % suffix)
- self.aparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_istd' % suffix)
- try:
- self.bias_atom_e = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_bias_atom_e' % suffix)
- except GraphWithoutTensorError:
- # model without type_embedding has no t_bias_atom_e
- pass
-
- def enable_compression(self,
- model_file: str,
- suffix: str = ""
- ) -> None:
- """
- Set the fitting net attributes from the frozen model_file when fparam or aparam is not zero
-
- Parameters
- ----------
- model_file : str
- The input frozen model file
- suffix : str, optional
- The suffix of the scope
- """
- if self.numb_fparam > 0 or self.numb_aparam > 0:
- graph, _ = load_graph_def(model_file)
- if self.numb_fparam > 0:
- self.fparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_avg' % suffix)
- self.fparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_fparam_istd' % suffix)
- if self.numb_aparam > 0:
- self.aparam_avg = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_avg' % suffix)
- self.aparam_inv_std = get_tensor_by_name_from_graph(graph, 'fitting_attr%s/t_aparam_istd' % suffix)
-
-
- def enable_mixed_precision(self, mixed_prec: dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.fitting_precision = get_precision(mixed_prec['output_prec'])
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/fitting.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/fitting.py
deleted file mode 100644
index aa11f05b73c918b2d0aa5d13249061335cf0f688..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/fitting.py
+++ /dev/null
@@ -1,32 +0,0 @@
-from deepmd.env import tf
-from deepmd.utils import Plugin, PluginVariant
-
-class Fitting:
- @property
- def precision(self) -> tf.DType:
- """Precision of fitting network."""
- return self.fitting_precision
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
-
- Notes
- -----
- This method is called by others when the fitting supported initialization from the given variables.
- """
- raise NotImplementedError(
- "Fitting %s doesn't support initialization from the given variables!" % type(self).__name__)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/polar.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/polar.py
deleted file mode 100644
index e8bdb8b785bbaf95630f6e036796e6da440e35d6..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/polar.py
+++ /dev/null
@@ -1,545 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import add_data_requirement, cast_precision, get_activation_func, get_precision
-from deepmd.utils.network import one_layer, one_layer_rand_seed_shift
-from deepmd.utils.graph import get_fitting_net_variables_from_graph_def
-from deepmd.descriptor import DescrptLocFrame
-from deepmd.descriptor import DescrptSeA
-from deepmd.fit.fitting import Fitting
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-
-
-class PolarFittingLocFrame () :
- """
- Fitting polarizability with local frame descriptor.
-
- .. deprecated:: 2.0.0
- This class is not supported any more.
- """
- def __init__ (self, jdata, descrpt) :
- if not isinstance(descrpt, DescrptLocFrame) :
- raise RuntimeError('PolarFittingLocFrame only supports DescrptLocFrame')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- args = ClassArg()\
- .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- .add('resnet_dt', bool, default = True)\
- .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'pol_type')\
- .add('seed', int)\
- .add("activation_function", str, default = "tanh")\
- .add('precision', str, default = "default")
- class_data = args.parse(jdata)
- self.n_neuron = class_data['neuron']
- self.resnet_dt = class_data['resnet_dt']
- self.sel_type = class_data['sel_type']
- self.seed = class_data['seed']
- self.fitting_activation_fn = get_activation_func(class_data["activation_function"])
- self.fitting_precision = get_precision(class_data['precision'])
- self.useBN = False
-
- def get_sel_type(self):
- return self.sel_type
-
- def get_out_size(self):
- return 9
-
- def build (self,
- input_d,
- rot_mat,
- natoms,
- reuse = None,
- suffix = '') :
- start_index = 0
- inputs = tf.cast(tf.reshape(input_d, [-1, natoms[0], self.dim_descrpt]), self.fitting_precision)
- rot_mat = tf.reshape(rot_mat, [-1, 9 * natoms[0]])
-
- count = 0
- outs_list = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index, 0],
- [-1, natoms[2+type_i], -1] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index* 9],
- [-1, natoms[2+type_i]* 9] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, 3, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision)
- # (nframes x natoms) x 9
- final_layer = one_layer(layer, 9, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, precision = self.fitting_precision, final_layer = True)
- # (nframes x natoms) x 3 x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], 3, 3])
- # (nframes x natoms) x 3 x 3
- final_layer = final_layer + tf.transpose(final_layer, perm = [0,2,1])
- # (nframes x natoms) x 3 x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # (nframes x natoms) x 3(coord) x 3(coord)
- final_layer = tf.matmul(rot_mat_i, final_layer, transpose_a = True)
- # nframes x natoms x 3 x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], 3, 3])
-
- # concat the results
- outs_list.append(final_layer)
- count += 1
- outs = tf.concat(outs_list, axis = 1)
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.cast(tf.reshape(outs, [-1]), GLOBAL_TF_FLOAT_PRECISION)
-
-
-class PolarFittingSeA (Fitting) :
- """
- Fit the atomic polarizability with descriptor se_a
-
- Parameters
- ----------
- descrpt : tf.Tensor
- The descrptor
- neuron : List[int]
- Number of neurons in each hidden layer of the fitting net
- resnet_dt : bool
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- sel_type : List[int]
- The atom types selected to have an atomic polarizability prediction. If is None, all atoms are selected.
- fit_diag : bool
- Fit the diagonal part of the rotational invariant polarizability matrix, which will be converted to normal polarizability matrix by contracting with the rotation matrix.
- scale : List[float]
- The output of the fitting net (polarizability matrix) for type i atom will be scaled by scale[i]
- diag_shift : List[float]
- The diagonal part of the polarizability matrix of type i will be shifted by diag_shift[i]. The shift operation is carried out after scale.
- seed : int
- Random seed for initializing the network parameters.
- activation_function : str
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision : str
- The precision of the embedding net parameters. Supported options are |PRECISION|
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- sel_type : List[int] = None,
- fit_diag : bool = True,
- scale : List[float] = None,
- shift_diag : bool = True, # YWolfeee: will support the user to decide whether to use this function
- #diag_shift : List[float] = None, YWolfeee: will not support the user to assign a shift
- seed : int = None,
- activation_function : str = 'tanh',
- precision : str = 'default',
- uniform_seed: bool = False
- ) -> None:
- """
- Constructor
- """
- if not isinstance(descrpt, DescrptSeA) :
- raise RuntimeError('PolarFittingSeA only supports DescrptSeA')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- # args = ClassArg()\
- # .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- # .add('resnet_dt', bool, default = True)\
- # .add('fit_diag', bool, default = True)\
- # .add('diag_shift', [list,float], default = [0.0 for ii in range(self.ntypes)])\
- # .add('scale', [list,float], default = [1.0 for ii in range(self.ntypes)])\
- # .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'pol_type')\
- # .add('seed', int)\
- # .add("activation_function", str , default = "tanh")\
- # .add('precision', str, default = "default")
- # class_data = args.parse(jdata)
- self.n_neuron = neuron
- self.resnet_dt = resnet_dt
- self.sel_type = sel_type
- self.fit_diag = fit_diag
- self.seed = seed
- self.uniform_seed = uniform_seed
- self.seed_shift = one_layer_rand_seed_shift()
- #self.diag_shift = diag_shift
- self.shift_diag = shift_diag
- self.scale = scale
- self.fitting_activation_fn = get_activation_func(activation_function)
- self.fitting_precision = get_precision(precision)
- if self.sel_type is None:
- self.sel_type = [ii for ii in range(self.ntypes)]
- if self.scale is None:
- self.scale = [1.0 for ii in range(self.ntypes)]
- #if self.diag_shift is None:
- # self.diag_shift = [0.0 for ii in range(self.ntypes)]
- if type(self.sel_type) is not list:
- self.sel_type = [self.sel_type]
- self.constant_matrix = np.zeros(len(self.sel_type)) # len(sel_type) x 1, store the average diagonal value
- #if type(self.diag_shift) is not list:
- # self.diag_shift = [self.diag_shift]
- if type(self.scale) is not list:
- self.scale = [self.scale]
- self.dim_rot_mat_1 = descrpt.get_dim_rot_mat_1()
- self.dim_rot_mat = self.dim_rot_mat_1 * 3
- self.useBN = False
- self.fitting_net_variables = None
- self.mixed_prec = None
-
- def get_sel_type(self) -> List[int]:
- """
- Get selected atom types
- """
- return self.sel_type
-
- def get_out_size(self) -> int:
- """
- Get the output size. Should be 9
- """
- return 9
-
- def compute_input_stats(self,
- all_stat,
- protection = 1e-2):
- """
- Compute the input statistics
-
- Parameters
- ----------
- all_stat
- Dictionary of inputs.
- can be prepared by model.make_stat_input
- protection
- Divided-by-zero protection
- """
- if not ('polarizability' in all_stat.keys()):
- self.avgeig = np.zeros([9])
- warnings.warn('no polarizability data, cannot do data stat. use zeros as guess')
- return
- data = all_stat['polarizability']
- all_tmp = []
- for ss in range(len(data)):
- tmp = np.concatenate(data[ss], axis = 0)
- tmp = np.reshape(tmp, [-1, 3, 3])
- tmp,_ = np.linalg.eig(tmp)
- tmp = np.absolute(tmp)
- tmp = np.sort(tmp, axis = 1)
- all_tmp.append(tmp)
- all_tmp = np.concatenate(all_tmp, axis = 1)
- self.avgeig = np.average(all_tmp, axis = 0)
-
- # YWolfeee: support polar normalization, initialize to a more appropriate point
- if self.shift_diag:
- mean_polar = np.zeros([len(self.sel_type), 9])
- sys_matrix, polar_bias = [], []
- for ss in range(len(all_stat['type'])):
- atom_has_polar = [w for w in all_stat['type'][ss][0] if (w in self.sel_type)] # select atom with polar
- if all_stat['find_atomic_polarizability'][ss] > 0.0:
- for itype in range(len(self.sel_type)): # Atomic polar mode, should specify the atoms
- index_lis = [index for index, w in enumerate(atom_has_polar) \
- if atom_has_polar[index] == self.sel_type[itype]] # select index in this type
-
- sys_matrix.append(np.zeros((1,len(self.sel_type))))
- sys_matrix[-1][0,itype] = len(index_lis)
-
- polar_bias.append(np.sum(
- all_stat['atomic_polarizability'][ss].reshape((-1,9))[index_lis],axis=0).reshape((1,9)))
- else: # No atomic polar in this system, so it should have global polar
- if not all_stat['find_polarizability'][ss] > 0.0: # This system is jsut a joke?
- continue
- # Till here, we have global polar
- sys_matrix.append(np.zeros((1,len(self.sel_type)))) # add a line in the equations
- for itype in range(len(self.sel_type)): # Atomic polar mode, should specify the atoms
- index_lis = [index for index, w in enumerate(atom_has_polar) \
- if atom_has_polar[index] == self.sel_type[itype]] # select index in this type
-
- sys_matrix[-1][0,itype] = len(index_lis)
-
- # add polar_bias
- polar_bias.append(all_stat['polarizability'][ss].reshape((1,9)))
-
- matrix, bias = np.concatenate(sys_matrix,axis=0), np.concatenate(polar_bias,axis=0)
- atom_polar,_,_,_ \
- = np.linalg.lstsq(matrix, bias, rcond = 1e-3)
- for itype in range(len(self.sel_type)):
- self.constant_matrix[itype] = np.mean(np.diagonal(atom_polar[itype].reshape((3,3))))
-
- @cast_precision
- def build (self,
- input_d : tf.Tensor,
- rot_mat : tf.Tensor,
- natoms : tf.Tensor,
- reuse : bool = None,
- suffix : str = '') :
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- input_d
- The input descriptor
- rot_mat
- The rotation matrix from the descriptor.
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- atomic_polar
- The atomic polarizability
- """
- start_index = 0
- inputs = tf.reshape(input_d, [-1, self.dim_descrpt * natoms[0]])
- rot_mat = tf.reshape(rot_mat, [-1, self.dim_rot_mat * natoms[0]])
-
- count = 0
- outs_list = []
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index* self.dim_descrpt],
- [-1, natoms[2+type_i]* self.dim_descrpt] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index* self.dim_rot_mat],
- [-1, natoms[2+type_i]* self.dim_rot_mat] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, self.dim_rot_mat_1, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- if self.fit_diag :
- bavg = np.zeros(self.dim_rot_mat_1)
- # bavg[0] = self.avgeig[0]
- # bavg[1] = self.avgeig[1]
- # bavg[2] = self.avgeig[2]
- # (nframes x natoms) x naxis
- final_layer = one_layer(layer, self.dim_rot_mat_1, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, bavg = bavg, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec, final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x naxis
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], self.dim_rot_mat_1])
- # (nframes x natoms) x naxis x naxis
- final_layer = tf.matrix_diag(final_layer)
- else :
- bavg = np.zeros(self.dim_rot_mat_1*self.dim_rot_mat_1)
- # bavg[0*self.dim_rot_mat_1+0] = self.avgeig[0]
- # bavg[1*self.dim_rot_mat_1+1] = self.avgeig[1]
- # bavg[2*self.dim_rot_mat_1+2] = self.avgeig[2]
- # (nframes x natoms) x (naxis x naxis)
- final_layer = one_layer(layer, self.dim_rot_mat_1*self.dim_rot_mat_1, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, bavg = bavg, precision = self.fitting_precision, uniform_seed = self.uniform_seed, initial_variables = self.fitting_net_variables, mixed_prec = self.mixed_prec, final_layer = True)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x naxis x naxis
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], self.dim_rot_mat_1, self.dim_rot_mat_1])
- # (nframes x natoms) x naxis x naxis
- final_layer = final_layer + tf.transpose(final_layer, perm = [0,2,1])
- # (nframes x natoms) x naxis x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # (nframes x natoms) x 3(coord) x 3(coord)
- final_layer = tf.matmul(rot_mat_i, final_layer, transpose_a = True)
- # nframes x natoms x 3 x 3
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], 3, 3])
- # shift and scale
- sel_type_idx = self.sel_type.index(type_i)
- final_layer = final_layer * self.scale[sel_type_idx]
- final_layer = final_layer + self.constant_matrix[sel_type_idx] * tf.eye(3, batch_shape=[tf.shape(inputs)[0], natoms[2+type_i]], dtype = GLOBAL_TF_FLOAT_PRECISION)
-
- # concat the results
- outs_list.append(final_layer)
- count += 1
- outs = tf.concat(outs_list, axis = 1)
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.fitting_net_variables = get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.mixed_prec = mixed_prec
- self.fitting_precision = get_precision(mixed_prec['output_prec'])
-
-
-class GlobalPolarFittingSeA () :
- """
- Fit the system polarizability with descriptor se_a
-
- Parameters
- ----------
- descrpt : tf.Tensor
- The descrptor
- neuron : List[int]
- Number of neurons in each hidden layer of the fitting net
- resnet_dt : bool
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- sel_type : List[int]
- The atom types selected to have an atomic polarizability prediction
- fit_diag : bool
- Fit the diagonal part of the rotational invariant polarizability matrix, which will be converted to normal polarizability matrix by contracting with the rotation matrix.
- scale : List[float]
- The output of the fitting net (polarizability matrix) for type i atom will be scaled by scale[i]
- diag_shift : List[float]
- The diagonal part of the polarizability matrix of type i will be shifted by diag_shift[i]. The shift operation is carried out after scale.
- seed : int
- Random seed for initializing the network parameters.
- activation_function : str
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision : str
- The precision of the embedding net parameters. Supported options are |PRECISION|
- """
- def __init__ (self,
- descrpt : tf.Tensor,
- neuron : List[int] = [120,120,120],
- resnet_dt : bool = True,
- sel_type : List[int] = None,
- fit_diag : bool = True,
- scale : List[float] = None,
- diag_shift : List[float] = None,
- seed : int = None,
- activation_function : str = 'tanh',
- precision : str = 'default'
- ) -> None:
- """
- Constructor
- """
- if not isinstance(descrpt, DescrptSeA) :
- raise RuntimeError('GlobalPolarFittingSeA only supports DescrptSeA')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- self.polar_fitting = PolarFittingSeA(descrpt,
- neuron,
- resnet_dt,
- sel_type,
- fit_diag,
- scale,
- diag_shift,
- seed,
- activation_function,
- precision)
-
- def get_sel_type(self) -> int:
- """
- Get selected atom types
- """
- return self.polar_fitting.get_sel_type()
-
- def get_out_size(self) -> int:
- """
- Get the output size. Should be 9
- """
- return self.polar_fitting.get_out_size()
-
- def build (self,
- input_d,
- rot_mat,
- natoms,
- reuse = None,
- suffix = '') -> tf.Tensor:
- """
- Build the computational graph for fitting net
-
- Parameters
- ----------
- input_d
- The input descriptor
- rot_mat
- The rotation matrix from the descriptor.
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- polar
- The system polarizability
- """
- inputs = tf.reshape(input_d, [-1, self.dim_descrpt * natoms[0]])
- outs = self.polar_fitting.build(input_d, rot_mat, natoms, reuse, suffix)
- # nframes x natoms x 9
- outs = tf.reshape(outs, [tf.shape(inputs)[0], -1, 9])
- outs = tf.reduce_sum(outs, axis = 1)
- tf.summary.histogram('fitting_net_output', outs)
- return tf.reshape(outs, [-1])
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix : str = "",
- ) -> None:
- """
- Init the fitting net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix : str
- suffix to name scope
- """
- self.polar_fitting.init_variables(graph=graph, graph_def=graph_def, suffix=suffix)
-
-
- def enable_mixed_precision(self, mixed_prec : dict = None) -> None:
- """
- Reveive the mixed precision setting.
-
- Parameters
- ----------
- mixed_prec
- The mixed precision setting used in the embedding net
- """
- self.polar_fitting.enable_mixed_precision(mixed_prec)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/wfc.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/wfc.py
deleted file mode 100644
index 7561e635703cee10d4844c0bbc914c71106decce..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/fit/wfc.py
+++ /dev/null
@@ -1,105 +0,0 @@
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg, add_data_requirement, get_activation_func, get_precision
-from deepmd.utils.network import one_layer, one_layer_rand_seed_shift
-from deepmd.descriptor import DescrptLocFrame
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-
-class WFCFitting () :
- """
- Fitting Wannier function centers (WFCs) with local frame descriptor.
-
- .. deprecated:: 2.0.0
- This class is not supported any more.
- """
- def __init__ (self, jdata, descrpt):
- if not isinstance(descrpt, DescrptLocFrame) :
- raise RuntimeError('WFC only supports DescrptLocFrame')
- self.ntypes = descrpt.get_ntypes()
- self.dim_descrpt = descrpt.get_dim_out()
- args = ClassArg()\
- .add('neuron', list, default = [120,120,120], alias = 'n_neuron')\
- .add('resnet_dt', bool, default = True)\
- .add('wfc_numb', int, must = True)\
- .add('sel_type', [list,int], default = [ii for ii in range(self.ntypes)], alias = 'wfc_type')\
- .add('seed', int)\
- .add("activation_function", str, default = "tanh")\
- .add('precision', str, default = "default")\
- .add('uniform_seed', bool, default = False)
- class_data = args.parse(jdata)
- self.n_neuron = class_data['neuron']
- self.resnet_dt = class_data['resnet_dt']
- self.wfc_numb = class_data['wfc_numb']
- self.sel_type = class_data['sel_type']
- self.seed = class_data['seed']
- self.uniform_seed = class_data['uniform_seed']
- self.seed_shift = one_layer_rand_seed_shift()
- self.fitting_activation_fn = get_activation_func(class_data["activation_function"])
- self.fitting_precision = get_precision(class_data['precision'])
- self.useBN = False
-
-
- def get_sel_type(self):
- return self.sel_type
-
- def get_wfc_numb(self):
- return self.wfc_numb
-
- def get_out_size(self):
- return self.wfc_numb * 3
-
- def build (self,
- input_d,
- rot_mat,
- natoms,
- reuse = None,
- suffix = '') :
- start_index = 0
- inputs = tf.cast(tf.reshape(input_d, [-1, self.dim_descrpt * natoms[0]]), self.fitting_precision)
- rot_mat = tf.reshape(rot_mat, [-1, 9 * natoms[0]])
-
- count = 0
- for type_i in range(self.ntypes):
- # cut-out inputs
- inputs_i = tf.slice (inputs,
- [ 0, start_index* self.dim_descrpt],
- [-1, natoms[2+type_i]* self.dim_descrpt] )
- inputs_i = tf.reshape(inputs_i, [-1, self.dim_descrpt])
- rot_mat_i = tf.slice (rot_mat,
- [ 0, start_index* 9],
- [-1, natoms[2+type_i]* 9] )
- rot_mat_i = tf.reshape(rot_mat_i, [-1, 3, 3])
- start_index += natoms[2+type_i]
- if not type_i in self.sel_type :
- continue
- layer = inputs_i
- for ii in range(0,len(self.n_neuron)) :
- if ii >= 1 and self.n_neuron[ii] == self.n_neuron[ii-1] :
- layer+= one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, use_timestep = self.resnet_dt, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed)
- else :
- layer = one_layer(layer, self.n_neuron[ii], name='layer_'+str(ii)+'_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, activation_fn = self.fitting_activation_fn, precision = self.fitting_precision, uniform_seed = self.uniform_seed)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x (nwfc x 3)
- final_layer = one_layer(layer, self.wfc_numb * 3, activation_fn = None, name='final_layer_type_'+str(type_i)+suffix, reuse=reuse, seed = self.seed, precision = self.fitting_precision, uniform_seed = self.uniform_seed)
- if (not self.uniform_seed) and (self.seed is not None): self.seed += self.seed_shift
- # (nframes x natoms) x nwfc(wc) x 3(coord_local)
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0] * natoms[2+type_i], self.wfc_numb, 3])
- # (nframes x natoms) x nwfc(wc) x 3(coord)
- final_layer = tf.matmul(final_layer, rot_mat_i)
- # nframes x natoms x nwfc(wc) x 3(coord_local)
- final_layer = tf.reshape(final_layer, [tf.shape(inputs)[0], natoms[2+type_i], self.wfc_numb, 3])
-
- # concat the results
- if count == 0:
- outs = final_layer
- else:
- outs = tf.concat([outs, final_layer], axis = 1)
- count += 1
-
- tf.summary.histogram('fitting_net_output', outs)
- return tf.cast(tf.reshape(outs, [-1]), GLOBAL_TF_FLOAT_PRECISION)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/__init__.py
deleted file mode 100644
index 1d6fcec4dc00ee9a721a6d0524fb47fb5ec63f81..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/__init__.py
+++ /dev/null
@@ -1,76 +0,0 @@
-"""Submodule containing all the implemented potentials."""
-
-from pathlib import Path
-from typing import Union
-
-from .data_modifier import DipoleChargeModifier
-from .deep_dipole import DeepDipole
-from .deep_eval import DeepEval
-from .deep_polar import DeepGlobalPolar, DeepPolar
-from .deep_pot import DeepPot
-from .deep_wfc import DeepWFC
-from .ewald_recp import EwaldRecp
-from .model_devi import calc_model_devi
-
-__all__ = [
- "DeepPotential",
- "DeepDipole",
- "DeepEval",
- "DeepGlobalPolar",
- "DeepPolar",
- "DeepPot",
- "DeepWFC",
- "DipoleChargeModifier",
- "EwaldRecp",
- "calc_model_devi"
-]
-
-
-def DeepPotential(
- model_file: Union[str, Path],
- load_prefix: str = "load",
- default_tf_graph: bool = False,
-) -> Union[DeepDipole, DeepGlobalPolar, DeepPolar, DeepPot, DeepWFC]:
- """Factory function that will inialize appropriate potential read from `model_file`.
-
- Parameters
- ----------
- model_file: str
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Returns
- -------
- Union[DeepDipole, DeepGlobalPolar, DeepPolar, DeepPot, DeepWFC]
- one of the available potentials
-
- Raises
- ------
- RuntimeError
- if model file does not correspond to any implementd potential
- """
- mf = Path(model_file)
-
- model_type = DeepEval(
- mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph
- ).model_type
-
- if model_type == "ener":
- dp = DeepPot(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- elif model_type == "dipole":
- dp = DeepDipole(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- elif model_type == "polar":
- dp = DeepPolar(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- elif model_type == "global_polar":
- dp = DeepGlobalPolar(
- mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph
- )
- elif model_type == "wfc":
- dp = DeepWFC(mf, load_prefix=load_prefix, default_tf_graph=default_tf_graph)
- else:
- raise RuntimeError(f"unknow model type {model_type}")
-
- return dp
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/data_modifier.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/data_modifier.py
deleted file mode 100644
index 69b91dfd9d978b6f504814ab8d7ac2579376dcdb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/data_modifier.py
+++ /dev/null
@@ -1,408 +0,0 @@
-import os
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.infer.deep_dipole import DeepDipole
-from deepmd.infer.ewald_recp import EwaldRecp
-from deepmd.env import tf
-from deepmd.common import select_idx_map, make_default_mesh
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.env import op_module
-from deepmd.utils.sess import run_sess
-
-
-class DipoleChargeModifier(DeepDipole):
- """
-
- Parameters
- ----------
- model_name
- The model file for the DeepDipole model
- model_charge_map
- Gives the amount of charge for the wfcc
- sys_charge_map
- Gives the amount of charge for the real atoms
- ewald_h
- Grid spacing of the reciprocal part of Ewald sum. Unit: A
- ewald_beta
- Splitting parameter of the Ewald sum. Unit: A^{-1}
- """
- def __init__(self,
- model_name : str,
- model_charge_map : List[float],
- sys_charge_map : List[float],
- ewald_h : float = 1,
- ewald_beta : float = 1
- ) -> None:
- """
- Constructor
- """
- # the dipole model is loaded with prefix 'dipole_charge'
- self.modifier_prefix = 'dipole_charge'
- # init dipole model
- DeepDipole.__init__(self,
- model_name,
- load_prefix = self.modifier_prefix,
- default_tf_graph = True)
- self.model_name = model_name
- self.model_charge_map = model_charge_map
- self.sys_charge_map = sys_charge_map
- self.sel_type = list(self.get_sel_type())
- # init ewald recp
- self.ewald_h = ewald_h
- self.ewald_beta = ewald_beta
- self.er = EwaldRecp(self.ewald_h, self.ewald_beta)
- # dimension of dipole
- self.ext_dim = 3
- self.t_ndesc = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'descrpt_attr/ndescrpt:0'))
- self.t_sela = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'descrpt_attr/sel:0'))
- [self.ndescrpt, self.sel_a] = run_sess(self.sess, [self.t_ndesc, self.t_sela])
- self.sel_r = [ 0 for ii in range(len(self.sel_a)) ]
- self.nnei_a = np.cumsum(self.sel_a)[-1]
- self.nnei_r = np.cumsum(self.sel_r)[-1]
- self.nnei = self.nnei_a + self.nnei_r
- self.ndescrpt_a = self.nnei_a * 4
- self.ndescrpt_r = self.nnei_r * 1
- assert(self.ndescrpt == self.ndescrpt_a + self.ndescrpt_r)
- self.force = None
- self.ntypes = len(self.sel_a)
-
-
- def build_fv_graph(self) -> tf.Tensor:
- """
- Build the computational graph for the force and virial inference.
- """
- with tf.variable_scope('modifier_attr') :
- t_mdl_name = tf.constant(self.model_name,
- name = 'mdl_name',
- dtype = tf.string)
- t_modi_type = tf.constant(self.modifier_prefix,
- name = 'type',
- dtype = tf.string)
- t_mdl_charge_map = tf.constant(' '.join([str(ii) for ii in self.model_charge_map]),
- name = 'mdl_charge_map',
- dtype = tf.string)
- t_sys_charge_map = tf.constant(' '.join([str(ii) for ii in self.sys_charge_map]),
- name = 'sys_charge_map',
- dtype = tf.string)
- t_ewald_h = tf.constant(self.ewald_h,
- name = 'ewald_h',
- dtype = tf.float64)
- t_ewald_b = tf.constant(self.ewald_beta,
- name = 'ewald_beta',
- dtype = tf.float64)
- with self.graph.as_default():
- return self._build_fv_graph_inner()
-
-
- def _build_fv_graph_inner(self):
- self.t_ef = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name = 't_ef')
- nf = 10
- nfxnas = 64*nf
- nfxna = 192*nf
- nf = -1
- nfxnas = -1
- nfxna = -1
- self.t_box_reshape = tf.reshape(self.t_box, [-1, 9])
- t_nframes = tf.shape(self.t_box_reshape)[0]
-
- # (nframes x natoms) x ndescrpt
- self.descrpt = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_rmat:0'))
- self.descrpt_deriv = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_rmat_deriv:0'))
- self.nlist = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_nlist:0'))
- self.rij = self.graph.get_tensor_by_name(os.path.join(self.modifier_prefix, 'o_rij:0'))
- # self.descrpt_reshape = tf.reshape(self.descrpt, [nf, 192 * self.ndescrpt])
- # self.descrpt_deriv = tf.reshape(self.descrpt_deriv, [nf, 192 * self.ndescrpt * 3])
-
- # nframes x (natoms_sel x 3)
- self.t_ef_reshape = tf.reshape(self.t_ef, [t_nframes, -1])
- # nframes x (natoms x 3)
- self.t_ef_reshape = self._enrich(self.t_ef_reshape, dof = 3)
- # (nframes x natoms) x 3
- self.t_ef_reshape = tf.reshape(self.t_ef_reshape, [nfxna, 3])
- # nframes x (natoms_sel x 3)
- self.t_tensor_reshape = tf.reshape(self.t_tensor, [t_nframes, -1])
- # nframes x (natoms x 3)
- self.t_tensor_reshape = self._enrich(self.t_tensor_reshape, dof = 3)
- # (nframes x natoms) x 3
- self.t_tensor_reshape = tf.reshape(self.t_tensor_reshape, [nfxna, 3])
- # (nframes x natoms) x ndescrpt
- [self.t_ef_d] = tf.gradients(self.t_tensor_reshape, self.descrpt, self.t_ef_reshape)
- # nframes x (natoms x ndescrpt)
- self.t_ef_d = tf.reshape(self.t_ef_d, [nf, self.t_natoms[0] * self.ndescrpt])
- # t_ef_d is force (with -1), prod_forc takes deriv, so we need the opposite
- self.t_ef_d_oppo = -self.t_ef_d
-
- force = op_module.prod_force_se_a(self.t_ef_d_oppo,
- self.descrpt_deriv,
- self.nlist,
- self.t_natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- virial, atom_virial \
- = op_module.prod_virial_se_a (self.t_ef_d_oppo,
- self.descrpt_deriv,
- self.rij,
- self.nlist,
- self.t_natoms,
- n_a_sel = self.nnei_a,
- n_r_sel = self.nnei_r)
- force = tf.identity(force, name='o_dm_force')
- virial = tf.identity(virial, name='o_dm_virial')
- atom_virial = tf.identity(atom_virial, name='o_dm_av')
- return force, virial, atom_virial
-
-
- def _enrich(self, dipole, dof = 3):
- coll = []
- sel_start_idx = 0
- for type_i in range(self.ntypes):
- if type_i in self.sel_type:
- di = tf.slice(dipole,
- [ 0, sel_start_idx * dof],
- [-1, self.t_natoms[2+type_i] * dof])
- sel_start_idx += self.t_natoms[2+type_i]
- else:
- di = tf.zeros([tf.shape(dipole)[0], self.t_natoms[2+type_i] * dof],
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- coll.append(di)
- return tf.concat(coll, axis = 1)
-
- def _slice_descrpt_deriv(self, deriv):
- coll = []
- start_idx = 0
- for type_i in range(self.ntypes):
- if type_i in self.sel_type:
- di = tf.slice(deriv,
- [ 0, start_idx * self.ndescrpt],
- [-1, self.t_natoms[2+type_i] * self.ndescrpt])
- coll.append(di)
- start_idx += self.t_natoms[2+type_i]
- return tf.concat(coll, axis = 1)
-
-
- def eval(self,
- coord : np.ndarray,
- box : np.ndarray,
- atype : np.ndarray,
- eval_fv : bool = True
- ) -> Tuple[np.ndarray, np.ndarray, np.ndarray]:
- """
- Evaluate the modification
-
- Parameters
- ----------
- coord
- The coordinates of atoms
- box
- The simulation region. PBC is assumed
- atype
- The atom types
- eval_fv
- Evaluate force and virial
-
- Returns
- -------
- tot_e
- The energy modification
- tot_f
- The force modification
- tot_v
- The virial modification
- """
- atype = np.array(atype, dtype=int)
- coord, atype, imap = self.sort_input(coord, atype)
- # natoms = coord.shape[1] // 3
- natoms = atype.size
- nframes = coord.shape[0]
- box = np.reshape(box, [nframes, 9])
- atype = np.reshape(atype, [natoms])
- sel_idx_map = select_idx_map(atype, self.sel_type)
- nsel = len(sel_idx_map)
- # setup charge
- charge = np.zeros([natoms])
- for ii in range(natoms):
- charge[ii] = self.sys_charge_map[atype[ii]]
- charge = np.tile(charge, [nframes, 1])
-
- # add wfcc
- all_coord, all_charge, dipole = self._extend_system(coord, box, atype, charge)
-
- # print('compute er')
- batch_size = 5
- tot_e = []
- all_f = []
- all_v = []
- for ii in range(0,nframes,batch_size):
- e,f,v = self.er.eval(all_coord[ii:ii+batch_size], all_charge[ii:ii+batch_size], box[ii:ii+batch_size])
- tot_e.append(e)
- all_f.append(f)
- all_v.append(v)
- tot_e = np.concatenate(tot_e, axis = 0)
- all_f = np.concatenate(all_f, axis = 0)
- all_v = np.concatenate(all_v, axis = 0)
- # print('finish er')
- # reshape
- tot_e.reshape([nframes,1])
-
- tot_f = None
- tot_v = None
- if self.force is None:
- self.force, self.virial, self.av = self.build_fv_graph()
- if eval_fv:
- # compute f
- ext_f = all_f[:,natoms*3:]
- corr_f = []
- corr_v = []
- corr_av = []
- for ii in range(0,nframes,batch_size):
- f, v, av = self._eval_fv(coord[ii:ii+batch_size], box[ii:ii+batch_size], atype, ext_f[ii:ii+batch_size])
- corr_f.append(f)
- corr_v.append(v)
- corr_av.append(av)
- corr_f = np.concatenate(corr_f, axis = 0)
- corr_v = np.concatenate(corr_v, axis = 0)
- corr_av = np.concatenate(corr_av, axis = 0)
- tot_f = all_f[:,:natoms*3] + corr_f
- for ii in range(nsel):
- orig_idx = sel_idx_map[ii]
- tot_f[:,orig_idx*3:orig_idx*3+3] += ext_f[:,ii*3:ii*3+3]
- tot_f = self.reverse_map(np.reshape(tot_f, [nframes,-1,3]), imap)
- # reshape
- tot_f = tot_f.reshape([nframes,natoms,3])
- # compute v
- dipole3 = np.reshape(dipole, [nframes, nsel, 3])
- ext_f3 = np.reshape(ext_f, [nframes, nsel, 3])
- ext_f3 = np.transpose(ext_f3, [0, 2, 1])
- # fd_corr_v = -np.matmul(ext_f3, dipole3).T.reshape([nframes, 9])
- # fd_corr_v = -np.matmul(ext_f3, dipole3)
- # fd_corr_v = np.transpose(fd_corr_v, [0, 2, 1]).reshape([nframes, 9])
- fd_corr_v = -np.matmul(ext_f3, dipole3).reshape([nframes, 9])
- # print(all_v, '\n', corr_v, '\n', fd_corr_v)
- tot_v = all_v + corr_v + fd_corr_v
- # reshape
- tot_v = tot_v.reshape([nframes,9])
-
- return tot_e, tot_f, tot_v
-
-
- def _eval_fv(self, coords, cells, atom_types, ext_f) :
- # reshape the inputs
- cells = np.reshape(cells, [-1, 9])
- nframes = cells.shape[0]
- coords = np.reshape(coords, [nframes, -1])
- natoms = coords.shape[1] // 3
-
- # sort inputs
- coords, atom_types, imap, sel_at, sel_imap = self.sort_input(coords, atom_types, sel_atoms = self.get_sel_type())
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
- default_mesh = make_default_mesh(cells)
-
- # evaluate
- tensor = []
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes, 1]).reshape([-1])
- feed_dict_test[self.t_coord ] = coords.reshape([-1])
- feed_dict_test[self.t_box ] = cells.reshape([-1])
- feed_dict_test[self.t_mesh ] = default_mesh.reshape([-1])
- feed_dict_test[self.t_ef ] = ext_f.reshape([-1])
- # print(run_sess(self.sess, tf.shape(self.t_tensor), feed_dict = feed_dict_test))
- fout, vout, avout \
- = run_sess(self.sess, [self.force, self.virial, self.av],
- feed_dict = feed_dict_test)
- # print('fout: ', fout.shape, fout)
- fout = self.reverse_map(np.reshape(fout, [nframes,-1,3]), imap)
- fout = np.reshape(fout, [nframes, -1])
- return fout, vout, avout
-
-
- def _extend_system(self, coord, box, atype, charge):
- natoms = coord.shape[1] // 3
- nframes = coord.shape[0]
- # sel atoms and setup ref coord
- sel_idx_map = select_idx_map(atype, self.sel_type)
- nsel = len(sel_idx_map)
- coord3 = coord.reshape([nframes, natoms, 3])
- ref_coord = coord3[:,sel_idx_map,:]
- ref_coord = np.reshape(ref_coord, [nframes, nsel * 3])
-
- batch_size = 8
- all_dipole = []
- for ii in range(0,nframes,batch_size):
- dipole = DeepDipole.eval(self,
- coord[ii:ii+batch_size],
- box[ii:ii+batch_size],
- atype)
- all_dipole.append(dipole)
- dipole = np.concatenate(all_dipole, axis = 0)
- assert(dipole.shape[0] == nframes)
- dipole = np.reshape(dipole, [nframes, nsel * 3])
-
- wfcc_coord = ref_coord + dipole
- # wfcc_coord = dipole
- wfcc_charge = np.zeros([nsel])
- for ii in range(nsel):
- orig_idx = self.sel_type.index(atype[sel_idx_map[ii]])
- wfcc_charge[ii] = self.model_charge_map[orig_idx]
- wfcc_charge = np.tile(wfcc_charge, [nframes, 1])
-
- wfcc_coord = np.reshape(wfcc_coord, [nframes, nsel * 3])
- wfcc_charge = np.reshape(wfcc_charge, [nframes, nsel])
-
- all_coord = np.concatenate((coord, wfcc_coord), axis = 1)
- all_charge = np.concatenate((charge, wfcc_charge), axis = 1)
-
- return all_coord, all_charge, dipole
-
-
- def modify_data(self,
- data : dict) -> None:
- """
- Modify data.
-
- Parameters
- ----------
- data
- Internal data of DeepmdData.
- Be a dict, has the following keys
- - coord coordinates
- - box simulation box
- - type atom types
- - find_energy tells if data has energy
- - find_force tells if data has force
- - find_virial tells if data has virial
- - energy energy
- - force force
- - virial virial
- """
- if 'find_energy' not in data and 'find_force' not in data and 'find_virial' not in data:
- return
-
- get_nframes=None
- coord = data['coord'][:get_nframes,:]
- box = data['box'][:get_nframes,:]
- atype = data['type'][:get_nframes,:]
- atype = atype[0]
- nframes = coord.shape[0]
-
- tot_e, tot_f, tot_v = self.eval(coord, box, atype)
-
- # print(tot_f[:,0])
-
- if 'find_energy' in data and data['find_energy'] == 1.0 :
- data['energy'] -= tot_e.reshape(data['energy'].shape)
- if 'find_force' in data and data['find_force'] == 1.0 :
- data['force'] -= tot_f.reshape(data['force'].shape)
- if 'find_virial' in data and data['find_virial'] == 1.0 :
- data['virial'] -= tot_v.reshape(data['virial'].shape)
-
-
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_dipole.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_dipole.py
deleted file mode 100644
index 704e2358456cc71e9e0f184fdea6275120ae192d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_dipole.py
+++ /dev/null
@@ -1,55 +0,0 @@
-from deepmd.infer.deep_tensor import DeepTensor
-
-from typing import TYPE_CHECKING
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepDipole(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self, model_file: "Path", load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # output tensor
- "t_tensor": "o_dipole:0",
- },
- **self.tensors
- )
-
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_eval.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_eval.py
deleted file mode 100644
index ab4050f3a6aaad3eb9c4ef8b4dd38c4fd2c444b4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_eval.py
+++ /dev/null
@@ -1,282 +0,0 @@
-import os
-from typing import List, Optional, TYPE_CHECKING, Union
-from functools import lru_cache
-
-import numpy as np
-from deepmd.common import make_default_mesh
-from deepmd.env import default_tf_session_config, tf, MODEL_VERSION
-from deepmd.utils.sess import run_sess
-from deepmd.utils.batch_size import AutoBatchSize
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepEval:
- """Common methods for DeepPot, DeepWFC, DeepPolar, ...
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- auto_batch_size : bool or int or AutomaticBatchSize, default: False
- If True, automatic batch size will be used. If int, it will be used
- as the initial batch size.
- """
-
- load_prefix: str # set by subclass
-
- def __init__(
- self,
- model_file: "Path",
- load_prefix: str = "load",
- default_tf_graph: bool = False,
- auto_batch_size: Union[bool, int, AutoBatchSize] = False,
- ):
- self.graph = self._load_graph(
- model_file, prefix=load_prefix, default_tf_graph=default_tf_graph
- )
- self.load_prefix = load_prefix
-
- # graph_compatable should be called after graph and prefix are set
- if not self._graph_compatable():
- raise RuntimeError(
- f"model in graph (version {self.model_version}) is incompatible"
- f"with the model (version {MODEL_VERSION}) supported by the current code."
- )
-
- # set default to False, as subclasses may not support
- if isinstance(auto_batch_size, bool):
- if auto_batch_size:
- self.auto_batch_size = AutoBatchSize()
- else:
- self.auto_batch_size = None
- elif isinstance(auto_batch_size, int):
- self.auto_batch_size = AutoBatchSize(auto_batch_size)
- elif isinstance(auto_batch_size, AutoBatchSize):
- self.auto_batch_size = auto_batch_size
- else:
- raise TypeError("auto_batch_size should be bool, int, or AutoBatchSize")
-
- @property
- @lru_cache(maxsize=None)
- def model_type(self) -> str:
- """Get type of model.
-
- :type:str
- """
- t_mt = self._get_tensor("model_attr/model_type:0")
- [mt] = run_sess(self.sess, [t_mt], feed_dict={})
- return mt.decode("utf-8")
-
- @property
- @lru_cache(maxsize=None)
- def model_version(self) -> str:
- """Get version of model.
-
- Returns
- -------
- str
- version of model
- """
- try:
- t_mt = self._get_tensor("model_attr/model_version:0")
- except KeyError:
- # For deepmd-kit version 0.x - 1.x, set model version to 0.0
- return "0.0"
- else:
- [mt] = run_sess(self.sess, [t_mt], feed_dict={})
- return mt.decode("utf-8")
-
- @property
- @lru_cache(maxsize=None)
- def sess(self) -> tf.Session:
- """Get TF session."""
- # start a tf session associated to the graph
- return tf.Session(graph=self.graph, config=default_tf_session_config)
-
- def _graph_compatable(
- self
- ) -> bool :
- """ Check the model compatability
-
- Returns
- -------
- bool
- If the model stored in the graph file is compatable with the current code
- """
- model_version_major = int(self.model_version.split('.')[0])
- model_version_minor = int(self.model_version.split('.')[1])
- MODEL_VERSION_MAJOR = int(MODEL_VERSION.split('.')[0])
- MODEL_VERSION_MINOR = int(MODEL_VERSION.split('.')[1])
- if (model_version_major != MODEL_VERSION_MAJOR) or \
- (model_version_minor > MODEL_VERSION_MINOR) :
- return False
- else:
- return True
-
- def _get_tensor(
- self, tensor_name: str, attr_name: Optional[str] = None
- ) -> tf.Tensor:
- """Get TF graph tensor and assign it to class namespace.
-
- Parameters
- ----------
- tensor_name : str
- name of tensor to get
- attr_name : Optional[str], optional
- if specified, class attribute with this name will be created and tensor will
- be assigned to it, by default None
-
- Returns
- -------
- tf.Tensor
- loaded tensor
- """
- tensor_path = os.path.join(self.load_prefix, tensor_name)
- tensor = self.graph.get_tensor_by_name(tensor_path)
- if attr_name:
- setattr(self, attr_name, tensor)
- return tensor
- else:
- return tensor
-
- @staticmethod
- def _load_graph(
- frozen_graph_filename: "Path", prefix: str = "load", default_tf_graph: bool = False
- ):
- # We load the protobuf file from the disk and parse it to retrieve the
- # unserialized graph_def
- with tf.gfile.GFile(str(frozen_graph_filename), "rb") as f:
- graph_def = tf.GraphDef()
- graph_def.ParseFromString(f.read())
-
- if default_tf_graph:
- tf.import_graph_def(
- graph_def,
- input_map=None,
- return_elements=None,
- name=prefix,
- producer_op_list=None
- )
- graph = tf.get_default_graph()
- else :
- # Then, we can use again a convenient built-in function to import
- # a graph_def into the current default Graph
- with tf.Graph().as_default() as graph:
- tf.import_graph_def(
- graph_def,
- input_map=None,
- return_elements=None,
- name=prefix,
- producer_op_list=None
- )
-
- return graph
-
- @staticmethod
- def sort_input(
- coord : np.ndarray, atom_type : np.ndarray, sel_atoms : List[int] = None
- ):
- """
- Sort atoms in the system according their types.
-
- Parameters
- ----------
- coord
- The coordinates of atoms.
- Should be of shape [nframes, natoms, 3]
- atom_type
- The type of atoms
- Should be of shape [natoms]
- sel_atom
- The selected atoms by type
-
- Returns
- -------
- coord_out
- The coordinates after sorting
- atom_type_out
- The atom types after sorting
- idx_map
- The index mapping from the input to the output.
- For example coord_out = coord[:,idx_map,:]
- sel_atom_type
- Only output if sel_atoms is not None
- The sorted selected atom types
- sel_idx_map
- Only output if sel_atoms is not None
- The index mapping from the selected atoms to sorted selected atoms.
- """
- if sel_atoms is not None:
- selection = [False] * np.size(atom_type)
- for ii in sel_atoms:
- selection += (atom_type == ii)
- sel_atom_type = atom_type[selection]
- natoms = atom_type.size
- idx = np.arange (natoms)
- idx_map = np.lexsort ((idx, atom_type))
- nframes = coord.shape[0]
- coord = coord.reshape([nframes, -1, 3])
- coord = np.reshape(coord[:,idx_map,:], [nframes, -1])
- atom_type = atom_type[idx_map]
- if sel_atoms is not None:
- sel_natoms = np.size(sel_atom_type)
- sel_idx = np.arange(sel_natoms)
- sel_idx_map = np.lexsort((sel_idx, sel_atom_type))
- sel_atom_type = sel_atom_type[sel_idx_map]
- return coord, atom_type, idx_map, sel_atom_type, sel_idx_map
- else:
- return coord, atom_type, idx_map
-
- @staticmethod
- def reverse_map(vec : np.ndarray, imap : List[int]) -> np.ndarray:
- """Reverse mapping of a vector according to the index map
-
- Parameters
- ----------
- vec
- Input vector. Be of shape [nframes, natoms, -1]
- imap
- Index map. Be of shape [natoms]
-
- Returns
- -------
- vec_out
- Reverse mapped vector.
- """
- ret = np.zeros(vec.shape)
- # for idx,ii in enumerate(imap) :
- # ret[:,ii,:] = vec[:,idx,:]
- ret[:, imap, :] = vec
- return ret
-
-
- def make_natoms_vec(self, atom_types : np.ndarray) -> np.ndarray :
- """Make the natom vector used by deepmd-kit.
-
- Parameters
- ----------
- atom_types
- The type of atoms
-
- Returns
- -------
- natoms
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
-
- """
- natoms_vec = np.zeros (self.ntypes+2).astype(int)
- natoms = atom_types.size
- natoms_vec[0] = natoms
- natoms_vec[1] = natoms
- for ii in range (self.ntypes) :
- natoms_vec[ii+2] = np.count_nonzero(atom_types == ii)
- return natoms_vec
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_polar.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_polar.py
deleted file mode 100644
index da54dfac57dbb03409acb8f8c5def439abe57528..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_polar.py
+++ /dev/null
@@ -1,139 +0,0 @@
-from deepmd.infer.deep_tensor import DeepTensor
-import numpy as np
-
-from typing import TYPE_CHECKING, List, Optional
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepPolar(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self, model_file: "Path", load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # output tensor
- "t_tensor": "o_polar:0",
- },
- **self.tensors
- )
-
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
-
-class DeepGlobalPolar(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : str
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- """
-
- def __init__(
- self, model_file: str, load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- self.tensors.update(
- {
- "t_sel_type": "model_attr/sel_type:0",
- # output tensor
- "t_tensor": "o_global_polar:0",
- }
- )
-
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def eval(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = False,
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> np.ndarray:
- """Evaluate the model.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- Not used in this model
- fparam
- Not used in this model
- aparam
- Not used in this model
- efield
- Not used in this model
-
- Returns
- -------
- tensor
- The returned tensor
- If atomic == False then of size nframes x variable_dof
- else of size nframes x natoms x variable_dof
- """
- return DeepTensor.eval(self, coords, cells, atom_types, atomic=False)
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_pot.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_pot.py
deleted file mode 100644
index efdb7510a0d4e8e4f2568eccd91a3f7d1caaee09..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_pot.py
+++ /dev/null
@@ -1,459 +0,0 @@
-import logging
-from typing import TYPE_CHECKING, List, Optional, Tuple, Union, Callable
-
-import numpy as np
-from deepmd.common import make_default_mesh
-from deepmd.env import default_tf_session_config, tf
-from deepmd.infer.data_modifier import DipoleChargeModifier
-from deepmd.infer.deep_eval import DeepEval
-from deepmd.utils.sess import run_sess
-from deepmd.utils.batch_size import AutoBatchSize
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-log = logging.getLogger(__name__)
-
-
-class DeepPot(DeepEval):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- auto_batch_size : bool or int or AutomaticBatchSize, default: True
- If True, automatic batch size will be used. If int, it will be used
- as the initial batch size.
-
- Examples
- --------
- >>> from deepmd.infer import DeepPot
- >>> import numpy as np
- >>> dp = DeepPot('graph.pb')
- >>> coord = np.array([[1,0,0], [0,0,1.5], [1,0,3]]).reshape([1, -1])
- >>> cell = np.diag(10 * np.ones(3)).reshape([1, -1])
- >>> atype = [1,0,1]
- >>> e, f, v = dp.eval(coord, cell, atype)
-
- where `e`, `f` and `v` are predicted energy, force and virial of the system, respectively.
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self,
- model_file: "Path",
- load_prefix: str = "load",
- default_tf_graph: bool = False,
- auto_batch_size: Union[bool, int, AutoBatchSize] = True,
- ) -> None:
-
- # add these tensors on top of what is defined by DeepTensor Class
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # descrpt attrs
- "t_ntypes": "descrpt_attr/ntypes:0",
- "t_rcut": "descrpt_attr/rcut:0",
- # fitting attrs
- "t_dfparam": "fitting_attr/dfparam:0",
- "t_daparam": "fitting_attr/daparam:0",
- # model attrs
- "t_tmap": "model_attr/tmap:0",
- # inputs
- "t_coord": "t_coord:0",
- "t_type": "t_type:0",
- "t_natoms": "t_natoms:0",
- "t_box": "t_box:0",
- "t_mesh": "t_mesh:0",
- # add output tensors
- "t_energy": "o_energy:0",
- "t_force": "o_force:0",
- "t_virial": "o_virial:0",
- "t_ae": "o_atom_energy:0",
- "t_av": "o_atom_virial:0",
- "t_descriptor": "o_descriptor:0",
- },
- )
- DeepEval.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- auto_batch_size=auto_batch_size,
- )
-
- # load optional tensors
- operations = [op.name for op in self.graph.get_operations()]
- # check if the graph has these operations:
- # if yes add them
- if 't_efield' in operations:
- self._get_tensor("t_efield:0", "t_efield")
- self.has_efield = True
- else:
- log.debug(f"Could not get tensor 't_efield:0'")
- self.t_efield = None
- self.has_efield = False
-
- if 'load/t_fparam' in operations:
- self.tensors.update({"t_fparam": "t_fparam:0"})
- self.has_fparam = True
- else:
- log.debug(f"Could not get tensor 't_fparam:0'")
- self.t_fparam = None
- self.has_fparam = False
-
- if 'load/t_aparam' in operations:
- self.tensors.update({"t_aparam": "t_aparam:0"})
- self.has_aparam = True
- else:
- log.debug(f"Could not get tensor 't_aparam:0'")
- self.t_aparam = None
- self.has_aparam = False
-
- # now load tensors to object attributes
- for attr_name, tensor_name in self.tensors.items():
- self._get_tensor(tensor_name, attr_name)
-
- self._run_default_sess()
- self.tmap = self.tmap.decode('UTF-8').split()
-
- # setup modifier
- try:
- t_modifier_type = self._get_tensor("modifier_attr/type:0")
- self.modifier_type = run_sess(self.sess, t_modifier_type).decode("UTF-8")
- except (ValueError, KeyError):
- self.modifier_type = None
-
- if self.modifier_type == "dipole_charge":
- t_mdl_name = self._get_tensor("modifier_attr/mdl_name:0")
- t_mdl_charge_map = self._get_tensor("modifier_attr/mdl_charge_map:0")
- t_sys_charge_map = self._get_tensor("modifier_attr/sys_charge_map:0")
- t_ewald_h = self._get_tensor("modifier_attr/ewald_h:0")
- t_ewald_beta = self._get_tensor("modifier_attr/ewald_beta:0")
- [mdl_name, mdl_charge_map, sys_charge_map, ewald_h, ewald_beta] = run_sess(self.sess, [t_mdl_name, t_mdl_charge_map, t_sys_charge_map, t_ewald_h, t_ewald_beta])
- mdl_name = mdl_name.decode("UTF-8")
- mdl_charge_map = [int(ii) for ii in mdl_charge_map.decode("UTF-8").split()]
- sys_charge_map = [int(ii) for ii in sys_charge_map.decode("UTF-8").split()]
- self.dm = DipoleChargeModifier(mdl_name, mdl_charge_map, sys_charge_map, ewald_h = ewald_h, ewald_beta = ewald_beta)
-
- def _run_default_sess(self):
- [self.ntypes, self.rcut, self.dfparam, self.daparam, self.tmap] = run_sess(self.sess,
- [self.t_ntypes, self.t_rcut, self.t_dfparam, self.t_daparam, self.t_tmap]
- )
-
- def get_ntypes(self) -> int:
- """Get the number of atom types of this model."""
- return self.ntypes
-
- def get_rcut(self) -> float:
- """Get the cut-off radius of this model."""
- return self.rcut
-
- def get_type_map(self) -> List[int]:
- """Get the type map (element name of the atom types) of this model."""
- return self.tmap
-
- def get_sel_type(self) -> List[int]:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
- def get_dim_fparam(self) -> int:
- """Get the number (dimension) of frame parameters of this DP."""
- return self.dfparam
-
- def get_dim_aparam(self) -> int:
- """Get the number (dimension) of atomic parameters of this DP."""
- return self.daparam
-
- def _eval_func(self, inner_func: Callable, numb_test: int, natoms: int) -> Callable:
- """Wrapper method with auto batch size.
-
- Parameters
- ----------
- inner_func : Callable
- the method to be wrapped
- numb_test: int
- number of tests
- natoms : int
- number of atoms
-
- Returns
- -------
- Callable
- the wrapper
- """
- if self.auto_batch_size is not None:
- def eval_func(*args, **kwargs):
- return self.auto_batch_size.execute_all(inner_func, numb_test, natoms, *args, **kwargs)
- else:
- eval_func = inner_func
- return eval_func
-
- def _get_natoms_and_nframes(self, coords: np.ndarray, atom_types: List[int]) -> Tuple[int, int]:
- natoms = len(atom_types)
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- nframes = coords.shape[0]
- return natoms, nframes
-
- def eval(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = False,
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> Tuple[np.ndarray, ...]:
- """Evaluate the energy, force and virial by using this DP.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- Calculate the atomic energy and virial
- fparam
- The frame parameter.
- The array can be of size :
- - nframes x dim_fparam.
- - dim_fparam. Then all frames are assumed to be provided with the same fparam.
- aparam
- The atomic parameter
- The array can be of size :
- - nframes x natoms x dim_aparam.
- - natoms x dim_aparam. Then all frames are assumed to be provided with the same aparam.
- - dim_aparam. Then all frames and atoms are provided with the same aparam.
- efield
- The external field on atoms.
- The array should be of size nframes x natoms x 3
-
- Returns
- -------
- energy
- The system energy.
- force
- The force on each atom
- virial
- The virial
- atom_energy
- The atomic energy. Only returned when atomic == True
- atom_virial
- The atomic virial. Only returned when atomic == True
- """
- # reshape coords before getting shape
- natoms, numb_test = self._get_natoms_and_nframes(coords, atom_types)
- output = self._eval_func(self._eval_inner, numb_test, natoms)(coords, cells, atom_types, fparam = fparam, aparam = aparam, atomic = atomic, efield = efield)
-
- if self.modifier_type is not None:
- if atomic:
- raise RuntimeError('modifier does not support atomic modification')
- me, mf, mv = self.dm.eval(coords, cells, atom_types)
- output = list(output) # tuple to list
- e, f, v = output[:3]
- output[0] += me.reshape(e.shape)
- output[1] += mf.reshape(f.shape)
- output[2] += mv.reshape(v.shape)
- output = tuple(output)
- return output
-
- def _prepare_feed_dict(
- self,
- coords,
- cells,
- atom_types,
- fparam=None,
- aparam=None,
- atomic=False,
- efield=None
- ):
- # standarize the shape of inputs
- natoms, nframes = self._get_natoms_and_nframes(coords, atom_types)
- atom_types = np.array(atom_types, dtype = int).reshape([-1])
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- if cells is None:
- pbc = False
- # make cells to work around the requirement of pbc
- cells = np.tile(np.eye(3), [nframes, 1]).reshape([nframes, 9])
- else:
- pbc = True
- cells = np.array(cells).reshape([nframes, 9])
-
- if self.has_fparam :
- assert(fparam is not None)
- fparam = np.array(fparam)
- if self.has_aparam :
- assert(aparam is not None)
- aparam = np.array(aparam)
- if self.has_efield :
- assert(efield is not None), "you are using a model with external field, parameter efield should be provided"
- efield = np.array(efield)
-
- # reshape the inputs
- if self.has_fparam :
- fdim = self.get_dim_fparam()
- if fparam.size == nframes * fdim :
- fparam = np.reshape(fparam, [nframes, fdim])
- elif fparam.size == fdim :
- fparam = np.tile(fparam.reshape([-1]), [nframes, 1])
- else :
- raise RuntimeError('got wrong size of frame param, should be either %d x %d or %d' % (nframes, fdim, fdim))
- if self.has_aparam :
- fdim = self.get_dim_aparam()
- if aparam.size == nframes * natoms * fdim:
- aparam = np.reshape(aparam, [nframes, natoms * fdim])
- elif aparam.size == natoms * fdim :
- aparam = np.tile(aparam.reshape([-1]), [nframes, 1])
- elif aparam.size == fdim :
- aparam = np.tile(aparam.reshape([-1]), [nframes, natoms])
- else :
- raise RuntimeError('got wrong size of frame param, should be either %d x %d x %d or %d x %d or %d' % (nframes, natoms, fdim, natoms, fdim, fdim))
-
- # sort inputs
- coords, atom_types, imap = self.sort_input(coords, atom_types)
- if self.has_efield:
- efield = np.reshape(efield, [nframes, natoms, 3])
- efield = efield[:,imap,:]
- efield = np.reshape(efield, [nframes, natoms*3])
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
-
- # evaluate
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes, 1]).reshape([-1])
- feed_dict_test[self.t_coord] = np.reshape(coords, [-1])
- feed_dict_test[self.t_box ] = np.reshape(cells , [-1])
- if self.has_efield:
- feed_dict_test[self.t_efield]= np.reshape(efield, [-1])
- if pbc:
- feed_dict_test[self.t_mesh ] = make_default_mesh(cells)
- else:
- feed_dict_test[self.t_mesh ] = np.array([], dtype = np.int32)
- if self.has_fparam:
- feed_dict_test[self.t_fparam] = np.reshape(fparam, [-1])
- if self.has_aparam:
- feed_dict_test[self.t_aparam] = np.reshape(aparam, [-1])
- return feed_dict_test, imap
-
- def _eval_inner(
- self,
- coords,
- cells,
- atom_types,
- fparam=None,
- aparam=None,
- atomic=False,
- efield=None
- ):
- natoms, nframes = self._get_natoms_and_nframes(coords, atom_types)
- feed_dict_test, imap = self._prepare_feed_dict(coords, cells, atom_types, fparam, aparam, efield)
- t_out = [self.t_energy,
- self.t_force,
- self.t_virial]
- if atomic :
- t_out += [self.t_ae,
- self.t_av]
-
- v_out = run_sess(self.sess, t_out, feed_dict = feed_dict_test)
- energy = v_out[0]
- force = v_out[1]
- virial = v_out[2]
- if atomic:
- ae = v_out[3]
- av = v_out[4]
-
- # reverse map of the outputs
- force = self.reverse_map(np.reshape(force, [nframes,-1,3]), imap)
- if atomic :
- ae = self.reverse_map(np.reshape(ae, [nframes,-1,1]), imap)
- av = self.reverse_map(np.reshape(av, [nframes,-1,9]), imap)
-
- energy = np.reshape(energy, [nframes, 1])
- force = np.reshape(force, [nframes, natoms, 3])
- virial = np.reshape(virial, [nframes, 9])
- if atomic:
- ae = np.reshape(ae, [nframes, natoms, 1])
- av = np.reshape(av, [nframes, natoms, 9])
- return energy, force, virial, ae, av
- else :
- return energy, force, virial
-
- def eval_descriptor(self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> np.array:
- """Evaluate descriptors by using this DP.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- fparam
- The frame parameter.
- The array can be of size :
- - nframes x dim_fparam.
- - dim_fparam. Then all frames are assumed to be provided with the same fparam.
- aparam
- The atomic parameter
- The array can be of size :
- - nframes x natoms x dim_aparam.
- - natoms x dim_aparam. Then all frames are assumed to be provided with the same aparam.
- - dim_aparam. Then all frames and atoms are provided with the same aparam.
- efield
- The external field on atoms.
- The array should be of size nframes x natoms x 3
-
- Returns
- -------
- descriptor
- Descriptors.
- """
- natoms, numb_test = self._get_natoms_and_nframes(coords, atom_types)
- descriptor = self._eval_func(self._eval_descriptor_inner, numb_test, natoms)(coords, cells, atom_types, fparam = fparam, aparam = aparam, efield = efield)
- return descriptor
-
- def _eval_descriptor_inner(self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None,
- ) -> np.array:
- natoms, nframes = self._get_natoms_and_nframes(coords, atom_types)
- feed_dict_test, imap = self._prepare_feed_dict(coords, cells, atom_types, fparam, aparam, efield)
- descriptor, = run_sess(self.sess, [self.t_descriptor], feed_dict = feed_dict_test)
- return self.reverse_map(np.reshape(descriptor, [nframes, natoms, -1]), imap)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_tensor.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_tensor.py
deleted file mode 100644
index 466b9c7d5666f4d2be9706f8b457754552d8b53a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_tensor.py
+++ /dev/null
@@ -1,326 +0,0 @@
-import os
-from typing import List, Optional, TYPE_CHECKING, Tuple
-
-import numpy as np
-from deepmd.common import make_default_mesh
-from deepmd.env import default_tf_session_config, tf
-from deepmd.infer.deep_eval import DeepEval
-from deepmd.utils.sess import run_sess
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-class DeepTensor(DeepEval):
- """Evaluates a tensor model.
-
- Parameters
- ----------
- model_file: str
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
- """
-
- tensors = {
- # descriptor attrs
- "t_ntypes": "descrpt_attr/ntypes:0",
- "t_rcut": "descrpt_attr/rcut:0",
- # model attrs
- "t_tmap": "model_attr/tmap:0",
- "t_sel_type": "model_attr/sel_type:0",
- "t_ouput_dim": "model_attr/output_dim:0",
- # inputs
- "t_coord": "t_coord:0",
- "t_type": "t_type:0",
- "t_natoms": "t_natoms:0",
- "t_box": "t_box:0",
- "t_mesh": "t_mesh:0",
- }
-
- def __init__(
- self,
- model_file: "Path",
- load_prefix: str = 'load',
- default_tf_graph: bool = False
- ) -> None:
- """Constructor"""
- DeepEval.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph
- )
- # check model type
- model_type = self.tensors["t_tensor"][2:-2]
- assert self.model_type == model_type, \
- f"expect {model_type} model but got {self.model_type}"
-
- # now load tensors to object attributes
- for attr_name, tensor_name in self.tensors.items():
- self._get_tensor(tensor_name, attr_name)
-
- # load optional tensors if possible
- optional_tensors = {
- "t_global_tensor": f"o_global_{model_type}:0",
- "t_force": "o_force:0",
- "t_virial": "o_virial:0",
- "t_atom_virial": "o_atom_virial:0"
- }
- try:
- # first make sure these tensor all exists (but do not modify self attr)
- for attr_name, tensor_name in optional_tensors.items():
- self._get_tensor(tensor_name)
- # then put those into self.attrs
- for attr_name, tensor_name in optional_tensors.items():
- self._get_tensor(tensor_name, attr_name)
- except KeyError:
- self._support_gfv = False
- else:
- self.tensors.update(optional_tensors)
- self._support_gfv = True
-
- self._run_default_sess()
- self.tmap = self.tmap.decode('UTF-8').split()
-
- def _run_default_sess(self):
- [self.ntypes, self.rcut, self.tmap, self.tselt, self.output_dim] \
- = run_sess(self.sess,
- [self.t_ntypes, self.t_rcut, self.t_tmap, self.t_sel_type, self.t_ouput_dim]
- )
-
- def get_ntypes(self) -> int:
- """Get the number of atom types of this model."""
- return self.ntypes
-
- def get_rcut(self) -> float:
- """Get the cut-off radius of this model."""
- return self.rcut
-
- def get_type_map(self) -> List[int]:
- """Get the type map (element name of the atom types) of this model."""
- return self.tmap
-
- def get_sel_type(self) -> List[int]:
- """Get the selected atom types of this model."""
- return self.tselt
-
- def get_dim_fparam(self) -> int:
- """Get the number (dimension) of frame parameters of this DP."""
- return self.dfparam
-
- def get_dim_aparam(self) -> int:
- """Get the number (dimension) of atomic parameters of this DP."""
- return self.daparam
-
- def eval(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = True,
- fparam: Optional[np.ndarray] = None,
- aparam: Optional[np.ndarray] = None,
- efield: Optional[np.ndarray] = None
- ) -> np.ndarray:
- """Evaluate the model.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- If True (default), return the atomic tensor
- Otherwise return the global tensor
- fparam
- Not used in this model
- aparam
- Not used in this model
- efield
- Not used in this model
-
- Returns
- -------
- tensor
- The returned tensor
- If atomic == False then of size nframes x output_dim
- else of size nframes x natoms x output_dim
- """
- # standarize the shape of inputs
- atom_types = np.array(atom_types, dtype = int).reshape([-1])
- natoms = atom_types.size
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- nframes = coords.shape[0]
- if cells is None:
- pbc = False
- cells = np.tile(np.eye(3), [nframes, 1]).reshape([nframes, 9])
- else:
- pbc = True
- cells = np.array(cells).reshape([nframes, 9])
-
- # sort inputs
- coords, atom_types, imap, sel_at, sel_imap = self.sort_input(coords, atom_types, sel_atoms = self.get_sel_type())
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
-
- # evaluate
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes,1]).reshape([-1])
- feed_dict_test[self.t_coord] = np.reshape(coords, [-1])
- feed_dict_test[self.t_box ] = np.reshape(cells , [-1])
- if pbc:
- feed_dict_test[self.t_mesh ] = make_default_mesh(cells)
- else:
- feed_dict_test[self.t_mesh ] = np.array([], dtype = np.int32)
-
- if atomic:
- assert "global" not in self.model_type, \
- f"cannot do atomic evaluation with model type {self.model_type}"
- t_out = [self.t_tensor]
- else:
- assert self._support_gfv or "global" in self.model_type, \
- f"do not support global tensor evaluation with old {self.model_type} model"
- t_out = [self.t_global_tensor if self._support_gfv else self.t_tensor]
- v_out = self.sess.run (t_out, feed_dict = feed_dict_test)
- tensor = v_out[0]
-
- # reverse map of the outputs
- if atomic:
- tensor = np.array(tensor)
- tensor = self.reverse_map(np.reshape(tensor, [nframes,-1,self.output_dim]), sel_imap)
- tensor = np.reshape(tensor, [nframes, len(sel_at), self.output_dim])
- else:
- tensor = np.reshape(tensor, [nframes, self.output_dim])
-
- return tensor
-
- def eval_full(
- self,
- coords: np.ndarray,
- cells: np.ndarray,
- atom_types: List[int],
- atomic: bool = False,
- fparam: Optional[np.array] = None,
- aparam: Optional[np.array] = None,
- efield: Optional[np.array] = None
- ) -> Tuple[np.ndarray, ...]:
- """Evaluate the model with interface similar to the energy model.
- Will return global tensor, component-wise force and virial
- and optionally atomic tensor and atomic virial.
-
- Parameters
- ----------
- coords
- The coordinates of atoms.
- The array should be of size nframes x natoms x 3
- cells
- The cell of the region.
- If None then non-PBC is assumed, otherwise using PBC.
- The array should be of size nframes x 9
- atom_types
- The atom types
- The list should contain natoms ints
- atomic
- Whether to calculate atomic tensor and virial
- fparam
- Not used in this model
- aparam
- Not used in this model
- efield
- Not used in this model
-
- Returns
- -------
- tensor
- The global tensor.
- shape: [nframes x nout]
- force
- The component-wise force (negative derivative) on each atom.
- shape: [nframes x nout x natoms x 3]
- virial
- The component-wise virial of the tensor.
- shape: [nframes x nout x 9]
- atom_tensor
- The atomic tensor. Only returned when atomic == True
- shape: [nframes x natoms x nout]
- atom_virial
- The atomic virial. Only returned when atomic == True
- shape: [nframes x nout x natoms x 9]
- """
- assert self._support_gfv, \
- f"do not support eval_full with old tensor model"
-
- # standarize the shape of inputs
- atom_types = np.array(atom_types, dtype = int).reshape([-1])
- natoms = atom_types.size
- coords = np.reshape(np.array(coords), [-1, natoms * 3])
- nframes = coords.shape[0]
- if cells is None:
- pbc = False
- cells = np.tile(np.eye(3), [nframes, 1]).reshape([nframes, 9])
- else:
- pbc = True
- cells = np.array(cells).reshape([nframes, 9])
- nout = self.output_dim
-
- # sort inputs
- coords, atom_types, imap, sel_at, sel_imap = self.sort_input(coords, atom_types, sel_atoms = self.get_sel_type())
-
- # make natoms_vec and default_mesh
- natoms_vec = self.make_natoms_vec(atom_types)
- assert(natoms_vec[0] == natoms)
-
- # evaluate
- feed_dict_test = {}
- feed_dict_test[self.t_natoms] = natoms_vec
- feed_dict_test[self.t_type ] = np.tile(atom_types, [nframes,1]).reshape([-1])
- feed_dict_test[self.t_coord] = np.reshape(coords, [-1])
- feed_dict_test[self.t_box ] = np.reshape(cells , [-1])
- if pbc:
- feed_dict_test[self.t_mesh ] = make_default_mesh(cells)
- else:
- feed_dict_test[self.t_mesh ] = np.array([], dtype = np.int32)
-
- t_out = [self.t_global_tensor,
- self.t_force,
- self.t_virial]
- if atomic :
- t_out += [self.t_tensor,
- self.t_atom_virial]
-
- v_out = self.sess.run (t_out, feed_dict = feed_dict_test)
- gt = v_out[0] # global tensor
- force = v_out[1]
- virial = v_out[2]
- if atomic:
- at = v_out[3] # atom tensor
- av = v_out[4] # atom virial
-
- # please note here the shape are wrong!
- force = self.reverse_map(np.reshape(force, [nframes*nout, natoms ,3]), imap)
- if atomic:
- at = self.reverse_map(np.reshape(at, [nframes, len(sel_at), nout]), sel_imap)
- av = self.reverse_map(np.reshape(av, [nframes*nout, natoms, 9]), imap)
-
- # make sure the shapes are correct here
- gt = np.reshape(gt, [nframes, nout])
- force = np.reshape(force, [nframes, nout, natoms, 3])
- virial = np.reshape(virial, [nframes, nout, 9])
- if atomic:
- at = np.reshape(at, [nframes, len(sel_at), self.output_dim])
- av = np.reshape(av, [nframes, nout, natoms, 9])
- return gt, force, virial, at, av
- else:
- return gt, force, virial
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_wfc.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_wfc.py
deleted file mode 100644
index 82d5adb52b7b82a3ed57e197793f8a75a4247049..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/deep_wfc.py
+++ /dev/null
@@ -1,54 +0,0 @@
-from deepmd.infer.deep_tensor import DeepTensor
-
-from typing import TYPE_CHECKING
-
-if TYPE_CHECKING:
- from pathlib import Path
-
-
-class DeepWFC(DeepTensor):
- """Constructor.
-
- Parameters
- ----------
- model_file : Path
- The name of the frozen model file.
- load_prefix: str
- The prefix in the load computational graph
- default_tf_graph : bool
- If uses the default tf graph, otherwise build a new tf graph for evaluation
-
- Warnings
- --------
- For developers: `DeepTensor` initializer must be called at the end after
- `self.tensors` are modified because it uses the data in `self.tensors` dict.
- Do not chanage the order!
- """
-
- def __init__(
- self, model_file: "Path", load_prefix: str = "load", default_tf_graph: bool = False
- ) -> None:
-
- # use this in favor of dict update to move attribute from class to
- # instance namespace
- self.tensors = dict(
- {
- # output tensor
- "t_tensor": "o_wfc:0",
- },
- **self.tensors
- )
- DeepTensor.__init__(
- self,
- model_file,
- load_prefix=load_prefix,
- default_tf_graph=default_tf_graph,
- )
-
- def get_dim_fparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
-
- def get_dim_aparam(self) -> int:
- """Unsupported in this model."""
- raise NotImplementedError("This model type does not support this attribute")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/ewald_recp.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/ewald_recp.py
deleted file mode 100644
index b4a165bca5730c957fc94bf040b14ad7393f662a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/ewald_recp.py
+++ /dev/null
@@ -1,93 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.sess import run_sess
-
-class EwaldRecp () :
- """
- Evaluate the reciprocal part of the Ewald sum
- """
- def __init__(self,
- hh,
- beta):
- """
- Constructor
-
- Parameters
- ----------
- hh
- Grid spacing of the reciprocal part of Ewald sum. Unit: A
- beta
- Splitting parameter of the Ewald sum. Unit: A^{-1}
- """
- self.hh = hh
- self.beta = beta
- with tf.Graph().as_default() as graph:
- # place holders
- self.t_nloc = tf.placeholder(tf.int32, [1], name = "t_nloc")
- self.t_coord = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name='t_coord')
- self.t_charge = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name='t_charge')
- self.t_box = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], name='t_box')
- # output
- self.t_energy, self.t_force, self.t_virial \
- = op_module.ewald_recp(self.t_coord, self.t_charge, self.t_nloc, self.t_box,
- ewald_h = self.hh,
- ewald_beta = self.beta)
- self.sess = tf.Session(graph=graph, config=default_tf_session_config)
-
- def eval(self,
- coord : np.ndarray,
- charge : np.ndarray,
- box : np.ndarray
- ) -> Tuple[np.ndarray, np.ndarray, np.ndarray] :
- """
- Evaluate
-
- Parameters
- ----------
- coord
- The coordinates of atoms
- charge
- The atomic charge
- box
- The simulation region. PBC is assumed
-
- Returns
- -------
- e
- The energy
- f
- The force
- v
- The virial
- """
- coord = np.array(coord)
- charge = np.array(charge)
- box = np.array(box)
- nframes = charge.shape[0]
- natoms = charge.shape[1]
- coord = np.reshape(coord, [nframes * 3 * natoms])
- charge = np.reshape(charge, [nframes * natoms])
- box = np.reshape(box, [nframes * 9])
-
- [energy, force, virial] \
- = run_sess(self.sess, [self.t_energy, self.t_force, self.t_virial],
- feed_dict = {
- self.t_coord: coord,
- self.t_charge: charge,
- self.t_box: box,
- self.t_nloc: [natoms],
- })
-
- return energy, force, virial
-
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/model_devi.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/model_devi.py
deleted file mode 100644
index 30704cfa1bb3dff1d2e3993d1ab108c497bd9ac5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/infer/model_devi.py
+++ /dev/null
@@ -1,217 +0,0 @@
-import numpy as np
-from .deep_pot import DeepPot
-from ..utils.data import DeepmdData
-from ..utils.batch_size import AutoBatchSize
-from deepmd.common import expand_sys_str
-
-
-def calc_model_devi_f(fs: np.ndarray):
- '''
- Parameters
- ----------
- fs : numpy.ndarray
- size of `n_models x n_frames x n_atoms x 3`
- '''
- fs_devi = np.linalg.norm(np.std(fs, axis=0), axis=-1)
- max_devi_f = np.max(fs_devi, axis=-1)
- min_devi_f = np.min(fs_devi, axis=-1)
- avg_devi_f = np.mean(fs_devi, axis=-1)
- return max_devi_f, min_devi_f, avg_devi_f
-
-def calc_model_devi_e(es: np.ndarray):
- '''
- Parameters
- ----------
- es : numpy.ndarray
- size of `n_models x n_frames x n_atoms
- '''
- es_devi = np.std(es, axis=0)
- max_devi_e = np.max(es_devi, axis=1)
- min_devi_e = np.min(es_devi, axis=1)
- avg_devi_e = np.mean(es_devi, axis=1)
- return max_devi_e, min_devi_e, avg_devi_e
-
-def calc_model_devi_v(vs: np.ndarray):
- '''
- Parameters
- ----------
- vs : numpy.ndarray
- size of `n_models x n_frames x 9`
- '''
- vs_devi = np.std(vs, axis=0)
- max_devi_v = np.max(vs_devi, axis=-1)
- min_devi_v = np.min(vs_devi, axis=-1)
- avg_devi_v = np.linalg.norm(vs_devi, axis=-1) / 3
- return max_devi_v, min_devi_v, avg_devi_v
-
-def write_model_devi_out(devi: np.ndarray, fname: str, header: str=""):
- '''
- Parameters
- ----------
- devi : numpy.ndarray
- the first column is the steps index
- fname : str
- the file name to dump
- header : str, default=""
- the header to dump
- '''
- assert devi.shape[1] == 7
- header = "%s\n%10s" % (header, "step")
- for item in 'vf':
- header += "%19s%19s%19s" % (f"max_devi_{item}", f"min_devi_{item}", f"avg_devi_{item}")
- with open(fname, "ab") as fp:
- np.savetxt(fp,
- devi,
- fmt=['%12d'] + ['%19.6e' for _ in range(6)],
- delimiter='',
- header=header)
- return devi
-
-def _check_tmaps(tmaps, ref_tmap=None):
- '''
- Check whether type maps are identical
- '''
- assert isinstance(tmaps, list)
- if ref_tmap is None:
- ref_tmap = tmaps[0]
- assert isinstance(ref_tmap, list)
-
- flag = True
- for tmap in tmaps:
- if tmap != ref_tmap:
- flag = False
- break
- return flag
-
-def calc_model_devi(coord,
- box,
- atype,
- models,
- fname=None,
- frequency=1,
- ):
- '''
- Python interface to calculate model deviation
-
- Parameters
- -----------
- coord : numpy.ndarray, `n_frames x n_atoms x 3`
- Coordinates of system to calculate
- box : numpy.ndarray or None, `n_frames x 3 x 3`
- Box to specify periodic boundary condition. If None, no pbc will be used
- atype : numpy.ndarray, `n_atoms x 1`
- Atom types
- models : list of DeepPot models
- Models used to evaluate deviation
- fname : str or None
- File to dump results, default None
- frequency : int
- Steps between frames (if the system is given by molecular dynamics engine), default 1
-
- Returns
- -------
- model_devi : numpy.ndarray, `n_frames x 7`
- Model deviation results. The first column is index of steps, the other 6 columns are
- max_devi_v, min_devi_v, avg_devi_v, max_devi_f, min_devi_f, avg_devi_f.
-
- Examples
- --------
- >>> from deepmd.infer import calc_model_devi
- >>> from deepmd.infer import DeepPot as DP
- >>> import numpy as np
- >>> coord = np.array([[1,0,0], [0,0,1.5], [1,0,3]]).reshape([1, -1])
- >>> cell = np.diag(10 * np.ones(3)).reshape([1, -1])
- >>> atype = [1,0,1]
- >>> graphs = [DP("graph.000.pb"), DP("graph.001.pb")]
- >>> model_devi = calc_model_devi(coord, cell, atype, graphs)
- '''
- if box is not None:
- nopbc = True
- else:
- nopbc = False
-
- forces = []
- virials = []
- for dp in models:
- ret = dp.eval(
- coord,
- box,
- atype,
- )
- forces.append(ret[1])
- virials.append(ret[2] / len(atype))
-
- forces = np.array(forces)
- virials = np.array(virials)
-
- devi = [np.arange(coord.shape[0]) * frequency]
- devi += list(calc_model_devi_v(virials))
- devi += list(calc_model_devi_f(forces))
- devi = np.vstack(devi).T
- if fname:
- write_model_devi_out(devi, fname)
- return devi
-
-def make_model_devi(
- *,
- models: list,
- system: str,
- set_prefix: str,
- output: str,
- frequency: int,
- **kwargs
-):
- '''
- Make model deviation calculation
-
- Parameters
- ----------
- models: list
- A list of paths of models to use for making model deviation
- system: str
- The path of system to make model deviation calculation
- set_prefix: str
- The set prefix of the system
- output: str
- The output file for model deviation results
- frequency: int
- The number of steps that elapse between writing coordinates
- in a trajectory by a MD engine (such as Gromacs / Lammps).
- This paramter is used to determine the index in the output file.
- '''
- auto_batch_size = AutoBatchSize()
- # init models
- dp_models = [DeepPot(model, auto_batch_size=auto_batch_size) for model in models]
-
- # check type maps
- tmaps = [dp.get_type_map() for dp in dp_models]
- if _check_tmaps(tmaps):
- tmap = tmaps[0]
- else:
- raise RuntimeError("The models does not have the same type map.")
-
- all_sys = expand_sys_str(system)
- if len(all_sys) == 0:
- raise RuntimeError("Did not find valid system")
- devis_coll = []
- for system in all_sys:
- # create data-system
- dp_data = DeepmdData(system, set_prefix, shuffle_test=False, type_map=tmap)
-
- data_sets = [dp_data._load_set(set_name) for set_name in dp_data.dirs]
- nframes_tot = 0
- devis = []
- for data in data_sets:
- coord = data["coord"]
- box = data["box"]
- atype = data["type"][0]
- if not dp_data.pbc:
- box = None
- devi = calc_model_devi(coord, box, atype, dp_models)
- nframes_tot += coord.shape[0]
- devis.append(devi)
- devis = np.vstack(devis)
- devis[:, 0] = np.arange(nframes_tot) * frequency
- write_model_devi_out(devis, output, header=system)
- devis_coll.append(devis)
- return devis_coll
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loggers/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loggers/__init__.py
deleted file mode 100644
index 2cb8ef0396cc955d55e503e3678bdb3146bf4d0e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loggers/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-"""Module taking care of logging duties."""
-
-from .loggers import set_log_handles
-
-__all__ = ["set_log_handles"]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loggers/loggers.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loggers/loggers.py
deleted file mode 100644
index 944c2ce08a48646d05dfd22e3122f294a551b0ec..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loggers/loggers.py
+++ /dev/null
@@ -1,268 +0,0 @@
-"""Logger initialization for package."""
-
-import logging
-import os
-from typing import TYPE_CHECKING, Optional
-
-if TYPE_CHECKING:
- from pathlib import Path
-
- from mpi4py import MPI
-
- _MPI_APPEND_MODE = MPI.MODE_CREATE | MPI.MODE_APPEND
-
-logging.getLogger(__name__)
-
-__all__ = ["set_log_handles"]
-
-# logger formater
-FFORMATTER = logging.Formatter(
- "[%(asctime)s] %(app_name)s %(levelname)-7s %(name)-45s %(message)s"
-)
-CFORMATTER = logging.Formatter(
-# "%(app_name)s %(levelname)-7s |-> %(name)-45s %(message)s"
- "%(app_name)s %(levelname)-7s %(message)s"
-)
-FFORMATTER_MPI = logging.Formatter(
- "[%(asctime)s] %(app_name)s rank:%(rank)-2s %(levelname)-7s %(name)-45s %(message)s"
-)
-CFORMATTER_MPI = logging.Formatter(
-# "%(app_name)s rank:%(rank)-2s %(levelname)-7s |-> %(name)-45s %(message)s"
- "%(app_name)s rank:%(rank)-2s %(levelname)-7s %(message)s"
-)
-
-
-class _AppFilter(logging.Filter):
- """Add field `app_name` to log messages."""
-
- def filter(self, record):
- record.app_name = "DEEPMD"
- return True
-
-
-class _MPIRankFilter(logging.Filter):
- """Add MPI rank number to log messages, adds field `rank`."""
-
- def __init__(self, rank: int) -> None:
- super().__init__(name="MPI_rank_id")
- self.mpi_rank = str(rank)
-
- def filter(self, record):
- record.rank = self.mpi_rank
- return True
-
-
-class _MPIMasterFilter(logging.Filter):
- """Filter that lets through only messages emited from rank==0."""
-
- def __init__(self, rank: int) -> None:
- super().__init__(name="MPI_master_log")
- self.mpi_rank = rank
-
- def filter(self, record):
- if self.mpi_rank == 0:
- return True
- else:
- return False
-
-
-class _MPIFileStream:
- """Wrap MPI.File` so it has the same API as python file streams.
-
- Parameters
- ----------
- filename : Path
- disk location of the file stream
- MPI : MPI
- MPI communicator object
- mode : str, optional
- file write mode, by default _MPI_APPEND_MODE
- """
-
- def __init__(
- self, filename: "Path", MPI: "MPI", mode: str = "_MPI_APPEND_MODE"
- ) -> None:
- self.stream = MPI.File.Open(MPI.COMM_WORLD, filename, mode)
- self.stream.Set_atomicity(True)
- self.name = "MPIfilestream"
-
- def write(self, msg: str):
- """Write to MPI shared file stream.
-
- Parameters
- ----------
- msg : str
- message to write
- """
- b = bytearray()
- b.extend(map(ord, msg))
- self.stream.Write_shared(b)
-
- def close(self):
- """Synchronize and close MPI file stream."""
- self.stream.Sync()
- self.stream.Close()
-
-
-class _MPIHandler(logging.FileHandler):
- """Emulate `logging.FileHandler` with MPI shared File that all ranks can write to.
-
- Parameters
- ----------
- filename : Path
- file path
- MPI : MPI
- MPI communicator object
- mode : str, optional
- file access mode, by default "_MPI_APPEND_MODE"
- """
-
- def __init__(
- self,
- filename: "Path",
- MPI: "MPI",
- mode: str = "_MPI_APPEND_MODE",
- ) -> None:
- self.MPI = MPI
- super().__init__(filename, mode=mode, encoding=None, delay=False)
-
- def _open(self):
- return _MPIFileStream(self.baseFilename, self.MPI, self.mode)
-
- def setStream(self, stream):
- """Stream canot be reasigned in MPI mode."""
- raise NotImplementedError("Unable to do for MPI file handler!")
-
-
-def set_log_handles(
- level: int,
- log_path: Optional["Path"] = None,
- mpi_log: Optional[str] = None
-):
- """Set desired level for package loggers and add file handlers.
-
- Parameters
- ----------
- level: int
- logging level
- log_path: Optional[str]
- path to log file, if None logs will be send only to console. If the parent
- directory does not exist it will be automatically created, by default None
- mpi_log : Optional[str], optional
- mpi log type. Has three options. `master` will output logs to file and console
- only from rank==0. `collect` will write messages from all ranks to one file
- opened under rank==0 and to console. `workers` will open one log file for each
- worker designated by its rank, console behaviour is the same as for `collect`.
- If this argument is specified, package 'mpi4py' must be already installed.
- by default None
-
- Raises
- ------
- RuntimeError
- If the argument `mpi_log` is specified, package `mpi4py` is not installed.
-
- References
- ----------
- https://groups.google.com/g/mpi4py/c/SaNzc8bdj6U
- https://stackoverflow.com/questions/35869137/avoid-tensorflow-print-on-standard-error
- https://stackoverflow.com/questions/56085015/suppress-openmp-debug-messages-when-running-tensorflow-on-cpu
-
- Notes
- -----
- Logging levels:
-
- +---------+--------------+----------------+----------------+----------------+
- | | our notation | python logging | tensorflow cpp | OpenMP |
- +=========+==============+================+================+================+
- | debug | 10 | 10 | 0 | 1/on/true/yes |
- +---------+--------------+----------------+----------------+----------------+
- | info | 20 | 20 | 1 | 0/off/false/no |
- +---------+--------------+----------------+----------------+----------------+
- | warning | 30 | 30 | 2 | 0/off/false/no |
- +---------+--------------+----------------+----------------+----------------+
- | error | 40 | 40 | 3 | 0/off/false/no |
- +---------+--------------+----------------+----------------+----------------+
-
- """
- # silence logging for OpenMP when running on CPU if level is any other than debug
- if level <= 10:
- os.environ["KMP_WARNINGS"] = "FALSE"
-
- # set TF cpp internal logging level
- os.environ['TF_CPP_MIN_LOG_LEVEL'] = str(int((level / 10) - 1))
-
- # get root logger
- root_log = logging.getLogger()
-
- # remove all old handlers
- root_log.setLevel(level)
- for hdlr in root_log.handlers[:]:
- root_log.removeHandler(hdlr)
-
- # check if arguments are present
- MPI = None
- if mpi_log:
- try:
- from mpi4py import MPI
- except ImportError as e:
- raise RuntimeError("You cannot specify 'mpi_log' when mpi4py not installed") from e
-
- # * add console handler ************************************************************
- ch = logging.StreamHandler()
- if MPI:
- rank = MPI.COMM_WORLD.Get_rank()
- if mpi_log == "master":
- ch.setFormatter(CFORMATTER)
- ch.addFilter(_MPIMasterFilter(rank))
- else:
- ch.setFormatter(CFORMATTER_MPI)
- ch.addFilter(_MPIRankFilter(rank))
- else:
- ch.setFormatter(CFORMATTER)
-
- ch.setLevel(level)
- ch.addFilter(_AppFilter())
- root_log.addHandler(ch)
-
- # * add file handler ***************************************************************
- if log_path:
-
- # create directory
- log_path.parent.mkdir(exist_ok=True, parents=True)
-
- fh = None
-
- if mpi_log == "master":
- rank = MPI.COMM_WORLD.Get_rank()
- if rank == 0:
- fh = logging.FileHandler(log_path, mode="w")
- fh.addFilter(_MPIMasterFilter(rank))
- fh.setFormatter(FFORMATTER)
- elif mpi_log == "collect":
- rank = MPI.COMM_WORLD.Get_rank()
- fh = _MPIHandler(log_path, MPI, mode=MPI.MODE_WRONLY | MPI.MODE_CREATE)
- fh.addFilter(_MPIRankFilter(rank))
- fh.setFormatter(FFORMATTER_MPI)
- elif mpi_log == "workers":
- rank = MPI.COMM_WORLD.Get_rank()
- # if file has suffix than inser rank number before suffix
- # e.g deepmd.log -> deepmd_.log
- # if no suffix is present, insert rank as suffix
- # e.g. deepmdlog -> deepmdlog.
- if log_path.suffix:
- worker_log = (log_path.parent / f"{log_path.stem}_{rank}").with_suffix(
- log_path.suffix
- )
- else:
- worker_log = log_path.with_suffix(f".{rank}")
-
- fh = logging.FileHandler(worker_log, mode="w")
- fh.setFormatter(FFORMATTER)
- else:
- fh = logging.FileHandler(log_path, mode="w")
- fh.setFormatter(FFORMATTER)
-
- if fh:
- fh.setLevel(level)
- fh.addFilter(_AppFilter())
- root_log.addHandler(fh)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/__init__.py
deleted file mode 100644
index 7ba816916787ac72507660cfef52c969b5d5c9d0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-from .ener import EnerStdLoss
-from .ener import EnerDipoleLoss
-from .tensor import TensorLoss
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/ener.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/ener.py
deleted file mode 100644
index e998d70973a2b5e3c4b2ed72f8cb81dd3b615729..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/ener.py
+++ /dev/null
@@ -1,387 +0,0 @@
-import numpy as np
-from deepmd.env import tf
-from deepmd.common import ClassArg, add_data_requirement
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.utils.sess import run_sess
-from .loss import Loss
-
-
-class EnerStdLoss (Loss) :
- """
- Standard loss function for DP models
-
- Parameters
- ----------
- enable_atom_ener_coeff : bool
- if true, the energy will be computed as \sum_i c_i E_i
- """
- def __init__ (self,
- starter_learning_rate : float,
- start_pref_e : float = 0.02,
- limit_pref_e : float = 1.00,
- start_pref_f : float = 1000,
- limit_pref_f : float = 1.00,
- start_pref_v : float = 0.0,
- limit_pref_v : float = 0.0,
- start_pref_ae : float = 0.0,
- limit_pref_ae : float = 0.0,
- start_pref_pf : float = 0.0,
- limit_pref_pf : float = 0.0,
- relative_f : float = None,
- enable_atom_ener_coeff: bool=False,
- ) -> None:
- self.starter_learning_rate = starter_learning_rate
- self.start_pref_e = start_pref_e
- self.limit_pref_e = limit_pref_e
- self.start_pref_f = start_pref_f
- self.limit_pref_f = limit_pref_f
- self.start_pref_v = start_pref_v
- self.limit_pref_v = limit_pref_v
- self.start_pref_ae = start_pref_ae
- self.limit_pref_ae = limit_pref_ae
- self.start_pref_pf = start_pref_pf
- self.limit_pref_pf = limit_pref_pf
- self.relative_f = relative_f
- self.enable_atom_ener_coeff = enable_atom_ener_coeff
- self.has_e = (self.start_pref_e != 0.0 or self.limit_pref_e != 0.0)
- self.has_f = (self.start_pref_f != 0.0 or self.limit_pref_f != 0.0)
- self.has_v = (self.start_pref_v != 0.0 or self.limit_pref_v != 0.0)
- self.has_ae = (self.start_pref_ae != 0.0 or self.limit_pref_ae != 0.0)
- self.has_pf = (self.start_pref_pf != 0.0 or self.limit_pref_pf != 0.0)
- # data required
- add_data_requirement('energy', 1, atomic=False, must=False, high_prec=True)
- add_data_requirement('force', 3, atomic=True, must=False, high_prec=False)
- add_data_requirement('virial', 9, atomic=False, must=False, high_prec=False)
- add_data_requirement('atom_ener', 1, atomic=True, must=False, high_prec=False)
- add_data_requirement('atom_pref', 1, atomic=True, must=False, high_prec=False, repeat=3)
- if self.enable_atom_ener_coeff:
- add_data_requirement('atom_ener_coeff', 1, atomic=True, must=False, high_prec=False, default=1.)
-
- def build (self,
- learning_rate,
- natoms,
- model_dict,
- label_dict,
- suffix):
- energy = model_dict['energy']
- force = model_dict['force']
- virial = model_dict['virial']
- atom_ener = model_dict['atom_ener']
- energy_hat = label_dict['energy']
- force_hat = label_dict['force']
- virial_hat = label_dict['virial']
- atom_ener_hat = label_dict['atom_ener']
- atom_pref = label_dict['atom_pref']
- find_energy = label_dict['find_energy']
- find_force = label_dict['find_force']
- find_virial = label_dict['find_virial']
- find_atom_ener = label_dict['find_atom_ener']
- find_atom_pref = label_dict['find_atom_pref']
-
- if self.enable_atom_ener_coeff:
- # when ener_coeff (\nu) is defined, the energy is defined as
- # E = \sum_i \nu_i E_i
- # instead of the sum of atomic energies.
- #
- # A case is that we want to train reaction energy
- # A + B -> C + D
- # E = - E(A) - E(B) + E(C) + E(D)
- # A, B, C, D could be put far away from each other
- atom_ener_coeff = label_dict['atom_ener_coeff']
- atom_ener_coeff = tf.reshape(atom_ener_coeff, tf.shape(atom_ener))
- energy = tf.reduce_sum(atom_ener_coeff * atom_ener, 1)
- l2_ener_loss = tf.reduce_mean( tf.square(energy - energy_hat), name='l2_'+suffix)
-
- force_reshape = tf.reshape (force, [-1])
- force_hat_reshape = tf.reshape (force_hat, [-1])
- atom_pref_reshape = tf.reshape (atom_pref, [-1])
- diff_f = force_hat_reshape - force_reshape
- if self.relative_f is not None:
- force_hat_3 = tf.reshape(force_hat, [-1, 3])
- norm_f = tf.reshape(tf.norm(force_hat_3, axis = 1), [-1, 1]) + self.relative_f
- diff_f_3 = tf.reshape(diff_f, [-1, 3])
- diff_f_3 = diff_f_3 / norm_f
- diff_f = tf.reshape(diff_f_3, [-1])
- l2_force_loss = tf.reduce_mean(tf.square(diff_f), name = "l2_force_" + suffix)
- l2_pref_force_loss = tf.reduce_mean(tf.multiply(tf.square(diff_f), atom_pref_reshape), name = "l2_pref_force_" + suffix)
-
- virial_reshape = tf.reshape (virial, [-1])
- virial_hat_reshape = tf.reshape (virial_hat, [-1])
- l2_virial_loss = tf.reduce_mean (tf.square(virial_hat_reshape - virial_reshape), name = "l2_virial_" + suffix)
-
- atom_ener_reshape = tf.reshape (atom_ener, [-1])
- atom_ener_hat_reshape = tf.reshape (atom_ener_hat, [-1])
- l2_atom_ener_loss = tf.reduce_mean (tf.square(atom_ener_hat_reshape - atom_ener_reshape), name = "l2_atom_ener_" + suffix)
-
- atom_norm = 1./ global_cvt_2_tf_float(natoms[0])
- atom_norm_ener = 1./ global_cvt_2_ener_float(natoms[0])
- pref_e = global_cvt_2_ener_float(find_energy * (self.limit_pref_e + (self.start_pref_e - self.limit_pref_e) * learning_rate / self.starter_learning_rate) )
- pref_f = global_cvt_2_tf_float(find_force * (self.limit_pref_f + (self.start_pref_f - self.limit_pref_f) * learning_rate / self.starter_learning_rate) )
- pref_v = global_cvt_2_tf_float(find_virial * (self.limit_pref_v + (self.start_pref_v - self.limit_pref_v) * learning_rate / self.starter_learning_rate) )
- pref_ae= global_cvt_2_tf_float(find_atom_ener * (self.limit_pref_ae+ (self.start_pref_ae-self.limit_pref_ae) * learning_rate / self.starter_learning_rate) )
- pref_pf= global_cvt_2_tf_float(find_atom_pref * (self.limit_pref_pf+ (self.start_pref_pf-self.limit_pref_pf) * learning_rate / self.starter_learning_rate) )
-
- l2_loss = 0
- more_loss = {}
- if self.has_e :
- l2_loss += atom_norm_ener * (pref_e * l2_ener_loss)
- more_loss['l2_ener_loss'] = l2_ener_loss
- if self.has_f :
- l2_loss += global_cvt_2_ener_float(pref_f * l2_force_loss)
- more_loss['l2_force_loss'] = l2_force_loss
- if self.has_v :
- l2_loss += global_cvt_2_ener_float(atom_norm * (pref_v * l2_virial_loss))
- more_loss['l2_virial_loss'] = l2_virial_loss
- if self.has_ae :
- l2_loss += global_cvt_2_ener_float(pref_ae * l2_atom_ener_loss)
- more_loss['l2_atom_ener_loss'] = l2_atom_ener_loss
- if self.has_pf :
- l2_loss += global_cvt_2_ener_float(pref_pf * l2_pref_force_loss)
- more_loss['l2_pref_force_loss'] = l2_pref_force_loss
-
- # only used when tensorboard was set as true
- self.l2_loss_summary = tf.summary.scalar('l2_loss', tf.sqrt(l2_loss))
- self.l2_loss_ener_summary = tf.summary.scalar('l2_ener_loss', global_cvt_2_tf_float(tf.sqrt(l2_ener_loss)) / global_cvt_2_tf_float(natoms[0]))
- self.l2_loss_force_summary = tf.summary.scalar('l2_force_loss', tf.sqrt(l2_force_loss))
- self.l2_loss_virial_summary = tf.summary.scalar('l2_virial_loss', tf.sqrt(l2_virial_loss) / global_cvt_2_tf_float(natoms[0]))
-
- self.l2_l = l2_loss
- self.l2_more = more_loss
- return l2_loss, more_loss
-
- def eval(self, sess, feed_dict, natoms):
- placeholder = self.l2_l
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'] if self.has_e else placeholder,
- self.l2_more['l2_force_loss'] if self.has_f else placeholder,
- self.l2_more['l2_virial_loss'] if self.has_v else placeholder,
- self.l2_more['l2_atom_ener_loss'] if self.has_ae else placeholder,
- self.l2_more['l2_pref_force_loss'] if self.has_pf else placeholder,
- ]
- error, error_e, error_f, error_v, error_ae, error_pf = run_sess(sess, run_data, feed_dict=feed_dict)
- results = {"natoms": natoms[0], "rmse": np.sqrt(error)}
- if self.has_e:
- results["rmse_e"] = np.sqrt(error_e) / natoms[0]
- if self.has_ae:
- results["rmse_ae"] = np.sqrt(error_ae)
- if self.has_f:
- results["rmse_f"] = np.sqrt(error_f)
- if self.has_v:
- results["rmse_v"] = np.sqrt(error_v) / natoms[0]
- if self.has_pf:
- results["rmse_pf"] = np.sqrt(error_pf)
- return results
-
- def print_header(self): # depreciated
- prop_fmt = ' %11s %11s'
- print_str = ''
- print_str += prop_fmt % ('rmse_tst', 'rmse_trn')
- if self.has_e :
- print_str += prop_fmt % ('rmse_e_tst', 'rmse_e_trn')
- if self.has_ae :
- print_str += prop_fmt % ('rmse_ae_tst', 'rmse_ae_trn')
- if self.has_f :
- print_str += prop_fmt % ('rmse_f_tst', 'rmse_f_trn')
- if self.has_v :
- print_str += prop_fmt % ('rmse_v_tst', 'rmse_v_trn')
- if self.has_pf :
- print_str += prop_fmt % ('rmse_pf_tst', 'rmse_pf_trn')
- return print_str
-
- def print_on_training(self,
- tb_writer,
- cur_batch,
- sess,
- natoms,
- feed_dict_test,
- feed_dict_batch): # depreciated
-
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'],
- self.l2_more['l2_force_loss'],
- self.l2_more['l2_virial_loss'],
- self.l2_more['l2_atom_ener_loss'],
- self.l2_more['l2_pref_force_loss']
- ]
-
- # first train data
- train_out = run_sess(sess, run_data, feed_dict=feed_dict_batch)
- error_train, error_e_train, error_f_train, error_v_train, error_ae_train, error_pf_train = train_out
-
- # than test data, if tensorboard log writter is present, commpute summary
- # and write tensorboard logs
- if tb_writer:
- summary_merged_op = tf.summary.merge([self.l2_loss_summary, self.l2_loss_ener_summary, self.l2_loss_force_summary, self.l2_loss_virial_summary])
- run_data.insert(0, summary_merged_op)
-
- test_out = run_sess(sess, run_data, feed_dict=feed_dict_test)
-
- if tb_writer:
- summary = test_out.pop(0)
- tb_writer.add_summary(summary, cur_batch)
-
- error_test, error_e_test, error_f_test, error_v_test, error_ae_test, error_pf_test = test_out
-
-
- print_str = ""
- prop_fmt = " %11.2e %11.2e"
- print_str += prop_fmt % (np.sqrt(error_test), np.sqrt(error_train))
- if self.has_e :
- print_str += prop_fmt % (np.sqrt(error_e_test) / natoms[0], np.sqrt(error_e_train) / natoms[0])
- if self.has_ae :
- print_str += prop_fmt % (np.sqrt(error_ae_test), np.sqrt(error_ae_train))
- if self.has_f :
- print_str += prop_fmt % (np.sqrt(error_f_test), np.sqrt(error_f_train))
- if self.has_v :
- print_str += prop_fmt % (np.sqrt(error_v_test) / natoms[0], np.sqrt(error_v_train) / natoms[0])
- if self.has_pf:
- print_str += prop_fmt % (np.sqrt(error_pf_test), np.sqrt(error_pf_train))
-
- return print_str
-
-
-class EnerDipoleLoss (Loss) :
- def __init__ (self,
- starter_learning_rate : float,
- start_pref_e : float = 0.1,
- limit_pref_e : float = 1.0,
- start_pref_ed : float = 1.0,
- limit_pref_ed : float = 1.0
- ) -> None :
- self.starter_learning_rate = kwarg['starter_learning_rate']
- args = ClassArg()\
- .add('start_pref_e', float, must = True, default = 0.1) \
- .add('limit_pref_e', float, must = True, default = 1.00)\
- .add('start_pref_ed', float, must = True, default = 1.00)\
- .add('limit_pref_ed', float, must = True, default = 1.00)
- class_data = args.parse(jdata)
- self.start_pref_e = class_data['start_pref_e']
- self.limit_pref_e = class_data['limit_pref_e']
- self.start_pref_ed = class_data['start_pref_ed']
- self.limit_pref_ed = class_data['limit_pref_ed']
- # data required
- add_data_requirement('energy', 1, atomic=False, must=True, high_prec=True)
- add_data_requirement('energy_dipole', 3, atomic=False, must=True, high_prec=False)
-
- def build (self,
- learning_rate,
- natoms,
- model_dict,
- label_dict,
- suffix):
- coord = model_dict['coord']
- energy = model_dict['energy']
- atom_ener = model_dict['atom_ener']
- nframes = tf.shape(atom_ener)[0]
- natoms = tf.shape(atom_ener)[1]
- # build energy dipole
- atom_ener0 = atom_ener - tf.reshape(tf.tile(tf.reshape(energy/global_cvt_2_ener_float(natoms), [-1, 1]), [1, natoms]), [nframes, natoms])
- coord = tf.reshape(coord, [nframes, natoms, 3])
- atom_ener0 = tf.reshape(atom_ener0, [nframes, 1, natoms])
- ener_dipole = tf.matmul(atom_ener0, coord)
- ener_dipole = tf.reshape(ener_dipole, [nframes, 3])
-
- energy_hat = label_dict['energy']
- ener_dipole_hat = label_dict['energy_dipole']
- find_energy = label_dict['find_energy']
- find_ener_dipole = label_dict['find_energy_dipole']
-
- l2_ener_loss = tf.reduce_mean( tf.square(energy - energy_hat), name='l2_'+suffix)
-
- ener_dipole_reshape = tf.reshape(ener_dipole, [-1])
- ener_dipole_hat_reshape = tf.reshape(ener_dipole_hat, [-1])
- l2_ener_dipole_loss = tf.reduce_mean( tf.square(ener_dipole_reshape - ener_dipole_hat_reshape), name='l2_'+suffix)
-
- # atom_norm_ener = 1./ global_cvt_2_ener_float(natoms[0])
- atom_norm_ener = 1./ global_cvt_2_ener_float(natoms)
- pref_e = global_cvt_2_ener_float(find_energy * (self.limit_pref_e + (self.start_pref_e - self.limit_pref_e) * learning_rate / self.starter_learning_rate) )
- pref_ed = global_cvt_2_tf_float(find_ener_dipole * (self.limit_pref_ed + (self.start_pref_ed - self.limit_pref_ed) * learning_rate / self.starter_learning_rate) )
-
- l2_loss = 0
- more_loss = {}
- l2_loss += atom_norm_ener * (pref_e * l2_ener_loss)
- l2_loss += global_cvt_2_ener_float(pref_ed * l2_ener_dipole_loss)
- more_loss['l2_ener_loss'] = l2_ener_loss
- more_loss['l2_ener_dipole_loss'] = l2_ener_dipole_loss
-
- self.l2_loss_summary = tf.summary.scalar('l2_loss', tf.sqrt(l2_loss))
- self.l2_loss_ener_summary = tf.summary.scalar('l2_ener_loss', tf.sqrt(l2_ener_loss) / global_cvt_2_tf_float(natoms[0]))
- self.l2_ener_dipole_loss_summary = tf.summary.scalar('l2_ener_dipole_loss', tf.sqrt(l2_ener_dipole_loss))
-
- self.l2_l = l2_loss
- self.l2_more = more_loss
- return l2_loss, more_loss
-
- def eval(self, sess, feed_dict, natoms):
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'],
- self.l2_more['l2_ener_dipole_loss']
- ]
- error, error_e, error_ed = run_sess(sess, run_data, feed_dict=feed_dict)
- results = {
- 'natoms': natoms[0],
- 'rmse': np.sqrt(error),
- 'rmse_e': np.sqrt(error_e) / natoms[0],
- 'rmse_ed': np.sqrt(error_ed)
- }
- return results
-
- @staticmethod
- def print_header() : # depreciated
- prop_fmt = ' %9s %9s'
- print_str = ''
- print_str += prop_fmt % ('l2_tst', 'l2_trn')
- print_str += prop_fmt % ('l2_e_tst', 'l2_e_trn')
- print_str += prop_fmt % ('l2_ed_tst', 'l2_ed_trn')
- return print_str
-
- def print_on_training(self,
- tb_writer,
- cur_batch,
- sess,
- natoms,
- feed_dict_test,
- feed_dict_batch): # depreciated
-
- run_data = [
- self.l2_l,
- self.l2_more['l2_ener_loss'],
- self.l2_more['l2_ener_dipole_loss']
- ]
-
- # first train data
- train_out = run_sess(sess, run_data, feed_dict=feed_dict_batch)
- error_train, error_e_train, error_ed_train = train_out
-
- # than test data, if tensorboard log writter is present, commpute summary
- # and write tensorboard logs
- if tb_writer:
- summary_merged_op = tf.summary.merge([
- self.l2_loss_summary,
- self.l2_loss_ener_summary,
- self.l2_ener_dipole_loss_summary
- ])
- run_data.insert(0, summary_merged_op)
-
- test_out = run_sess(sess, run_data, feed_dict=feed_dict_test)
-
- if tb_writer:
- summary = test_out.pop(0)
- tb_writer.add_summary(summary, cur_batch)
-
- error_test, error_e_test, error_ed_test = test_out
-
- print_str = ""
- prop_fmt = " %9.2e %9.2e"
- print_str += prop_fmt % (np.sqrt(error_test), np.sqrt(error_train))
- print_str += prop_fmt % (np.sqrt(error_e_test) / natoms[0], np.sqrt(error_e_train) / natoms[0])
- print_str += prop_fmt % (np.sqrt(error_ed_test), np.sqrt(error_ed_train))
- return print_str
-
-
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/loss.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/loss.py
deleted file mode 100644
index ab66d65db07625567b44cd00e13af718009103fa..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/loss.py
+++ /dev/null
@@ -1,59 +0,0 @@
-from abc import ABCMeta, abstractmethod
-from typing import Tuple, Dict
-from deepmd.env import tf
-
-
-class Loss(metaclass=ABCMeta):
- """The abstract class for the loss function."""
- @abstractmethod
- def build(self,
- learning_rate: tf.Tensor,
- natoms: tf.Tensor,
- model_dict: Dict[str, tf.Tensor],
- label_dict: Dict[str, tf.Tensor],
- suffix: str) -> Tuple[tf.Tensor, Dict[str, tf.Tensor]]:
- """Build the loss function graph.
-
- Parameters
- ----------
- learning_rate : tf.Tensor
- learning rate
- natoms : tf.Tensor
- number of atoms
- model_dict : dict[str, tf.Tensor]
- A dictionary that maps model keys to tensors
- label_dict : dict[str, tf.Tensor]
- A dictionary that maps label keys to tensors
- suffix : str
- suffix
-
- Returns
- -------
- tf.Tensor
- the total squared loss
- dict[str, tf.Tensor]
- A dictionary that maps loss keys to more loss tensors
- """
-
- @abstractmethod
- def eval(self,
- sess: tf.Session,
- feed_dict: Dict[tf.placeholder, tf.Tensor],
- natoms: tf.Tensor) -> dict:
- """Eval the loss function.
-
- Parameters
- ----------
- sess : tf.Session
- TensorFlow session
- feed_dict : dict[tf.placeholder, tf.Tensor]
- A dictionary that maps graph elements to values
- natoms : tf.Tensor
- number of atoms
-
- Returns
- -------
- dict
- A dictionary that maps keys to values. It
- should contain key `natoms`
- """
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/tensor.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/tensor.py
deleted file mode 100644
index 47cb0a3714e8608405362f8edaae5316bdd332a0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/loss/tensor.py
+++ /dev/null
@@ -1,197 +0,0 @@
-import numpy as np
-from deepmd.env import tf
-from deepmd.common import ClassArg, add_data_requirement
-
-from deepmd.env import global_cvt_2_tf_float
-from deepmd.env import global_cvt_2_ener_float
-from deepmd.utils.sess import run_sess
-from .loss import Loss
-
-
-class TensorLoss(Loss) :
- """
- Loss function for tensorial properties.
- """
- def __init__ (self, jdata, **kwarg) :
- model = kwarg.get('model', None)
- if model is not None:
- self.type_sel = model.get_sel_type()
- else:
- self.type_sel = None
- self.tensor_name = kwarg['tensor_name']
- self.tensor_size = kwarg['tensor_size']
- self.label_name = kwarg['label_name']
- if jdata is not None:
- self.scale = jdata.get('scale', 1.0)
- else:
- self.scale = 1.0
-
- # YHT: added for global / local dipole combination
- assert jdata is not None, "Please provide loss parameters!"
- # YWolfeee: modify, use pref / pref_atomic, instead of pref_weight / pref_atomic_weight
- self.local_weight = jdata.get('pref_atomic', None)
- self.global_weight = jdata.get('pref', None)
-
- assert (self.local_weight is not None and self.global_weight is not None), "Both `pref` and `pref_atomic` should be provided."
- assert self.local_weight >= 0.0 and self.global_weight >= 0.0, "Can not assign negative weight to `pref` and `pref_atomic`"
- assert (self.local_weight >0.0) or (self.global_weight>0.0), AssertionError('Can not assian zero weight both to `pref` and `pref_atomic`')
-
- # data required
- add_data_requirement("atomic_" + self.label_name,
- self.tensor_size,
- atomic=True,
- must=False,
- high_prec=False,
- type_sel = self.type_sel)
- add_data_requirement(self.label_name,
- self.tensor_size,
- atomic=False,
- must=False,
- high_prec=False,
- type_sel = self.type_sel)
-
- def build (self,
- learning_rate,
- natoms,
- model_dict,
- label_dict,
- suffix):
- polar_hat = label_dict[self.label_name]
- atomic_polar_hat = label_dict["atomic_" + self.label_name]
- polar = tf.reshape(model_dict[self.tensor_name], [-1])
-
- find_global = label_dict['find_' + self.label_name]
- find_atomic = label_dict['find_atomic_' + self.label_name]
-
-
-
- # YHT: added for global / local dipole combination
- l2_loss = global_cvt_2_tf_float(0.0)
- more_loss = {
- "local_loss":global_cvt_2_tf_float(0.0),
- "global_loss":global_cvt_2_tf_float(0.0)
- }
-
-
- if self.local_weight > 0.0:
- local_loss = global_cvt_2_tf_float(find_atomic) * tf.reduce_mean( tf.square(self.scale*(polar - atomic_polar_hat)), name='l2_'+suffix)
- more_loss['local_loss'] = local_loss
- l2_loss += self.local_weight * local_loss
- self.l2_loss_local_summary = tf.summary.scalar('l2_local_loss',
- tf.sqrt(more_loss['local_loss']))
-
-
- if self.global_weight > 0.0: # Need global loss
- atoms = 0
- if self.type_sel is not None:
- for w in self.type_sel:
- atoms += natoms[2+w]
- else:
- atoms = natoms[0]
- nframes = tf.shape(polar)[0] // self.tensor_size // atoms
- # get global results
- global_polar = tf.reshape(tf.reduce_sum(tf.reshape(
- polar, [nframes, -1, self.tensor_size]), axis=1),[-1])
- #if self.atomic: # If label is local, however
- # global_polar_hat = tf.reshape(tf.reduce_sum(tf.reshape(
- # polar_hat, [nframes, -1, self.tensor_size]), axis=1),[-1])
- #else:
- # global_polar_hat = polar_hat
-
- global_loss = global_cvt_2_tf_float(find_global) * tf.reduce_mean( tf.square(self.scale*(global_polar - polar_hat)), name='l2_'+suffix)
-
- more_loss['global_loss'] = global_loss
- self.l2_loss_global_summary = tf.summary.scalar('l2_global_loss',
- tf.sqrt(more_loss['global_loss']) / global_cvt_2_tf_float(atoms))
-
- # YWolfeee: should only consider atoms with dipole, i.e. atoms
- # atom_norm = 1./ global_cvt_2_tf_float(natoms[0])
- atom_norm = 1./ global_cvt_2_tf_float(atoms)
- global_loss *= atom_norm
-
- l2_loss += self.global_weight * global_loss
-
- self.l2_more = more_loss
- self.l2_l = l2_loss
-
- self.l2_loss_summary = tf.summary.scalar('l2_loss', tf.sqrt(l2_loss))
- return l2_loss, more_loss
-
- def eval(self, sess, feed_dict, natoms):
- atoms = 0
- if self.type_sel is not None:
- for w in self.type_sel:
- atoms += natoms[2+w]
- else:
- atoms = natoms[0]
-
- run_data = [self.l2_l, self.l2_more['local_loss'], self.l2_more['global_loss']]
- error, error_lc, error_gl = run_sess(sess, run_data, feed_dict=feed_dict)
-
- results = {"natoms": atoms, "rmse": np.sqrt(error)}
- if self.local_weight > 0.0:
- results["rmse_lc"] = np.sqrt(error_lc)
- if self.global_weight > 0.0:
- results["rmse_gl"] = np.sqrt(error_gl) / atoms
- return results
-
- def print_header(self): # depreciated
- prop_fmt = ' %11s %11s'
- print_str = ''
- print_str += prop_fmt % ('rmse_tst', 'rmse_trn')
- if self.local_weight > 0.0:
- print_str += prop_fmt % ('rmse_lc_tst', 'rmse_lc_trn')
- if self.global_weight > 0.0:
- print_str += prop_fmt % ('rmse_gl_tst', 'rmse_gl_trn')
- return print_str
-
- def print_on_training(self,
- tb_writer,
- cur_batch,
- sess,
- natoms,
- feed_dict_test,
- feed_dict_batch) : # depreciated
-
- # YHT: added to calculate the atoms number
- atoms = 0
- if self.type_sel is not None:
- for w in self.type_sel:
- atoms += natoms[2+w]
- else:
- atoms = natoms[0]
-
- run_data = [self.l2_l, self.l2_more['local_loss'], self.l2_more['global_loss']]
- summary_list = [self.l2_loss_summary]
- if self.local_weight > 0.0:
- summary_list.append(self.l2_loss_local_summary)
- if self.global_weight > 0.0:
- summary_list.append(self.l2_loss_global_summary)
-
- # first train data
- error_train = run_sess(sess, run_data, feed_dict=feed_dict_batch)
-
- # than test data, if tensorboard log writter is present, commpute summary
- # and write tensorboard logs
- if tb_writer:
- #summary_merged_op = tf.summary.merge([self.l2_loss_summary])
- summary_merged_op = tf.summary.merge(summary_list)
- run_data.insert(0, summary_merged_op)
-
- test_out = run_sess(sess, run_data, feed_dict=feed_dict_test)
-
- if tb_writer:
- summary = test_out.pop(0)
- tb_writer.add_summary(summary, cur_batch)
-
- error_test = test_out
-
- print_str = ""
- prop_fmt = " %11.2e %11.2e"
- print_str += prop_fmt % (np.sqrt(error_test[0]), np.sqrt(error_train[0]))
- if self.local_weight > 0.0:
- print_str += prop_fmt % (np.sqrt(error_test[1]), np.sqrt(error_train[1]) )
- if self.global_weight > 0.0:
- print_str += prop_fmt % (np.sqrt(error_test[2])/atoms, np.sqrt(error_train[2])/atoms)
-
- return print_str
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/__init__.py
deleted file mode 100644
index 205a199576ab3a9e5e11d5764701815d809f9c03..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/__init__.py
+++ /dev/null
@@ -1,5 +0,0 @@
-from .ener import EnerModel
-from .tensor import WFCModel
-from .tensor import DipoleModel
-from .tensor import PolarModel
-from .tensor import GlobalPolarModel
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/ener.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/ener.py
deleted file mode 100644
index 490f9f2df25a9d1263c558bb5dbc4d6ee1673483..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/ener.py
+++ /dev/null
@@ -1,327 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.utils.pair_tab import PairTab
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.errors import GraphWithoutTensorError
-from deepmd.common import ClassArg
-from deepmd.env import global_cvt_2_ener_float, MODEL_VERSION, GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import op_module
-from .model import Model
-from .model_stat import make_stat_input, merge_sys_stat
-
-class EnerModel(Model) :
- """Energy model.
-
- Parameters
- ----------
- descrpt
- Descriptor
- fitting
- Fitting net
- type_map
- Mapping atom type to the name (str) of the type.
- For example `type_map[1]` gives the name of the type 1.
- data_stat_nbatch
- Number of frames used for data statistic
- data_stat_protect
- Protect parameter for atomic energy regression
- use_srtab
- The table for the short-range pairwise interaction added on top of DP. The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes. The first colume is the distance between atoms. The second to the last columes are energies for pairs of certain types. For example we have two atom types, 0 and 1. The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.
- smin_alpha
- The short-range tabulated interaction will be swithed according to the distance of the nearest neighbor. This distance is calculated by softmin. This parameter is the decaying parameter in the softmin. It is only required when `use_srtab` is provided.
- sw_rmin
- The lower boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.
- sw_rmin
- The upper boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.
- """
- model_type = 'ener'
-
- def __init__ (
- self,
- descrpt,
- fitting,
- typeebd = None,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2,
- use_srtab : str = None,
- smin_alpha : float = None,
- sw_rmin : float = None,
- sw_rmax : float = None
- ) -> None:
- """
- Constructor
- """
- # descriptor
- self.descrpt = descrpt
- self.rcut = self.descrpt.get_rcut()
- self.ntypes = self.descrpt.get_ntypes()
- # fitting
- self.fitting = fitting
- self.numb_fparam = self.fitting.get_numb_fparam()
- # type embedding
- self.typeebd = typeebd
- # other inputs
- if type_map is None:
- self.type_map = []
- else:
- self.type_map = type_map
- self.data_stat_nbatch = data_stat_nbatch
- self.data_stat_protect = data_stat_protect
- self.srtab_name = use_srtab
- if self.srtab_name is not None :
- self.srtab = PairTab(self.srtab_name)
- self.smin_alpha = smin_alpha
- self.sw_rmin = sw_rmin
- self.sw_rmax = sw_rmax
- else :
- self.srtab = None
-
-
- def get_rcut (self) :
- return self.rcut
-
- def get_ntypes (self) :
- return self.ntypes
-
- def get_type_map (self) :
- return self.type_map
-
- def data_stat(self, data):
- all_stat = make_stat_input(data, self.data_stat_nbatch, merge_sys = False)
- m_all_stat = merge_sys_stat(all_stat)
- self._compute_input_stat(m_all_stat, protection=self.data_stat_protect, mixed_type=data.mixed_type)
- self._compute_output_stat(all_stat, mixed_type=data.mixed_type)
- # self.bias_atom_e = data.compute_energy_shift(self.rcond)
-
- def _compute_input_stat (self, all_stat, protection=1e-2, mixed_type=False):
- if mixed_type:
- self.descrpt.compute_input_stats(all_stat['coord'],
- all_stat['box'],
- all_stat['type'],
- all_stat['natoms_vec'],
- all_stat['default_mesh'],
- all_stat,
- mixed_type,
- all_stat['real_natoms_vec'])
- else:
- self.descrpt.compute_input_stats(all_stat['coord'],
- all_stat['box'],
- all_stat['type'],
- all_stat['natoms_vec'],
- all_stat['default_mesh'],
- all_stat)
- self.fitting.compute_input_stats(all_stat, protection=protection)
-
- def _compute_output_stat (self, all_stat, mixed_type=False):
- if mixed_type:
- self.fitting.compute_output_stats(all_stat, mixed_type=mixed_type)
- else:
- self.fitting.compute_output_stats(all_stat)
-
-
- def build (self,
- coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- frz_model = None,
- suffix = '',
- reuse = None):
-
- if input_dict is None:
- input_dict = {}
- with tf.variable_scope('model_attr' + suffix, reuse = reuse) :
- t_tmap = tf.constant(' '.join(self.type_map),
- name = 'tmap',
- dtype = tf.string)
- t_mt = tf.constant(self.model_type,
- name = 'model_type',
- dtype = tf.string)
- t_ver = tf.constant(MODEL_VERSION,
- name = 'model_version',
- dtype = tf.string)
-
- if self.srtab is not None :
- tab_info, tab_data = self.srtab.get()
- self.tab_info = tf.get_variable('t_tab_info',
- tab_info.shape,
- dtype = tf.float64,
- trainable = False,
- initializer = tf.constant_initializer(tab_info, dtype = tf.float64))
- self.tab_data = tf.get_variable('t_tab_data',
- tab_data.shape,
- dtype = tf.float64,
- trainable = False,
- initializer = tf.constant_initializer(tab_data, dtype = tf.float64))
-
- coord = tf.reshape (coord_, [-1, natoms[1] * 3])
- atype = tf.reshape (atype_, [-1, natoms[1]])
- input_dict['nframes'] = tf.shape(coord)[0]
-
- # type embedding if any
- if self.typeebd is not None:
- type_embedding = self.typeebd.build(
- self.ntypes,
- reuse = reuse,
- suffix = suffix,
- )
- input_dict['type_embedding'] = type_embedding
- input_dict['atype'] = atype_
-
- if frz_model == None:
- dout \
- = self.descrpt.build(coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- suffix = suffix,
- reuse = reuse)
- dout = tf.identity(dout, name='o_descriptor')
- else:
- tf.constant(self.rcut,
- name = 'descrpt_attr/rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- tf.constant(self.ntypes,
- name = 'descrpt_attr/ntypes',
- dtype = tf.int32)
- feed_dict = self.descrpt.get_feed_dict(coord_, atype_, natoms, box, mesh)
- return_elements = [*self.descrpt.get_tensor_names(), 'o_descriptor:0']
- imported_tensors \
- = self._import_graph_def_from_frz_model(frz_model, feed_dict, return_elements)
- dout = imported_tensors[-1]
- self.descrpt.pass_tensors_from_frz_model(*imported_tensors[:-1])
-
-
- if self.srtab is not None :
- nlist, rij, sel_a, sel_r = self.descrpt.get_nlist()
- nnei_a = np.cumsum(sel_a)[-1]
- nnei_r = np.cumsum(sel_r)[-1]
-
- atom_ener = self.fitting.build (dout,
- natoms,
- input_dict,
- reuse = reuse,
- suffix = suffix)
- self.atom_ener = atom_ener
-
- if self.srtab is not None :
- sw_lambda, sw_deriv \
- = op_module.soft_min_switch(atype,
- rij,
- nlist,
- natoms,
- sel_a = sel_a,
- sel_r = sel_r,
- alpha = self.smin_alpha,
- rmin = self.sw_rmin,
- rmax = self.sw_rmax)
- inv_sw_lambda = 1.0 - sw_lambda
- # NOTICE:
- # atom energy is not scaled,
- # force and virial are scaled
- tab_atom_ener, tab_force, tab_atom_virial \
- = op_module.pair_tab(self.tab_info,
- self.tab_data,
- atype,
- rij,
- nlist,
- natoms,
- sw_lambda,
- sel_a = sel_a,
- sel_r = sel_r)
- energy_diff = tab_atom_ener - tf.reshape(atom_ener, [-1, natoms[0]])
- tab_atom_ener = tf.reshape(sw_lambda, [-1]) * tf.reshape(tab_atom_ener, [-1])
- atom_ener = tf.reshape(inv_sw_lambda, [-1]) * atom_ener
- energy_raw = tab_atom_ener + atom_ener
- else :
- energy_raw = atom_ener
-
- energy_raw = tf.reshape(energy_raw, [-1, natoms[0]], name = 'o_atom_energy'+suffix)
- energy = tf.reduce_sum(global_cvt_2_ener_float(energy_raw), axis=1, name='o_energy'+suffix)
-
- force, virial, atom_virial \
- = self.descrpt.prod_force_virial (atom_ener, natoms)
-
- if self.srtab is not None :
- sw_force \
- = op_module.soft_min_force(energy_diff,
- sw_deriv,
- nlist,
- natoms,
- n_a_sel = nnei_a,
- n_r_sel = nnei_r)
- force = force + sw_force + tab_force
-
- force = tf.reshape (force, [-1, 3 * natoms[1]], name = "o_force"+suffix)
-
- if self.srtab is not None :
- sw_virial, sw_atom_virial \
- = op_module.soft_min_virial (energy_diff,
- sw_deriv,
- rij,
- nlist,
- natoms,
- n_a_sel = nnei_a,
- n_r_sel = nnei_r)
- atom_virial = atom_virial + sw_atom_virial + tab_atom_virial
- virial = virial + sw_virial \
- + tf.reduce_sum(tf.reshape(tab_atom_virial, [-1, natoms[1], 9]), axis = 1)
-
- virial = tf.reshape (virial, [-1, 9], name = "o_virial"+suffix)
- atom_virial = tf.reshape (atom_virial, [-1, 9 * natoms[1]], name = "o_atom_virial"+suffix)
-
- model_dict = {}
- model_dict['energy'] = energy
- model_dict['force'] = force
- model_dict['virial'] = virial
- model_dict['atom_ener'] = energy_raw
- model_dict['atom_virial'] = atom_virial
- model_dict['coord'] = coord
- model_dict['atype'] = atype
-
- return model_dict
-
- def _import_graph_def_from_frz_model(self, frz_model, feed_dict, return_elements):
- graph, graph_def = load_graph_def(frz_model)
- return tf.import_graph_def(graph_def, input_map = feed_dict, return_elements = return_elements, name = "")
-
- def init_variables(self,
- graph : tf.Graph,
- graph_def : tf.GraphDef,
- model_type : str = "original_model",
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given frozen model
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- model_type : str
- the type of the model
- suffix : str
- suffix to name scope
- """
- # self.frz_model will control the self.model to import the descriptor from the given frozen model instead of building from scratch...
- # initialize fitting net with the given compressed frozen model
- if model_type == 'original_model':
- self.descrpt.init_variables(graph, graph_def, suffix=suffix)
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("original_model", name = 'model_type', dtype = tf.string)
- elif model_type == 'compressed_model':
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("compressed_model", name = 'model_type', dtype = tf.string)
- else:
- raise RuntimeError("Unknown model type %s" % model_type)
- if self.typeebd is not None:
- self.typeebd.init_variables(graph, graph_def, suffix=suffix)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/model.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/model.py
deleted file mode 100644
index f773d040eac84ce1e5b5be089d81ba5af57f0364..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/model.py
+++ /dev/null
@@ -1,25 +0,0 @@
-from deepmd.env import tf
-
-
-class Model:
- def init_variables(self,
- graph : tf.Graph,
- graph_def : tf.GraphDef,
- model_type : str = "original_model",
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given frozen model
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- model_type : str
- the type of the model
- suffix : str
- suffix to name scope
- """
- raise RuntimeError("The 'dp train init-frz-model' command do not support this model!")
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/model_stat.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/model_stat.py
deleted file mode 100644
index 10d0f6cff068699d0d5ef5e837632e4773c37dcf..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/model_stat.py
+++ /dev/null
@@ -1,62 +0,0 @@
-import numpy as np
-from collections import defaultdict
-
-def _make_all_stat_ref(data, nbatches):
- all_stat = defaultdict(list)
- for ii in range(data.get_nsystems()) :
- for jj in range(nbatches) :
- stat_data = data.get_batch (sys_idx = ii)
- for dd in stat_data:
- if dd == "natoms_vec":
- stat_data[dd] = stat_data[dd].astype(np.int32)
- all_stat[dd].append(stat_data[dd])
- return all_stat
-
-
-def make_stat_input(data, nbatches, merge_sys = True):
- """
- pack data for statistics
-
- Parameters
- ----------
- data:
- The data
- merge_sys: bool (True)
- Merge system data
-
- Returns
- -------
- all_stat:
- A dictionary of list of list storing data for stat.
- if merge_sys == False data can be accessed by
- all_stat[key][sys_idx][batch_idx][frame_idx]
- else merge_sys == True can be accessed by
- all_stat[key][batch_idx][frame_idx]
- """
- all_stat = defaultdict(list)
- for ii in range(data.get_nsystems()) :
- sys_stat = defaultdict(list)
- for jj in range(nbatches) :
- stat_data = data.get_batch (sys_idx = ii)
- for dd in stat_data:
- if dd == "natoms_vec":
- stat_data[dd] = stat_data[dd].astype(np.int32)
- sys_stat[dd].append(stat_data[dd])
- for dd in sys_stat:
- if merge_sys:
- for bb in sys_stat[dd]:
- all_stat[dd].append(bb)
- else:
- all_stat[dd].append(sys_stat[dd])
- return all_stat
-
-def merge_sys_stat(all_stat):
- first_key = list(all_stat.keys())[0]
- nsys = len(all_stat[first_key])
- ret = defaultdict(list)
- for ii in range(nsys):
- for dd in all_stat:
- for bb in all_stat[dd][ii]:
- ret[dd].append(bb)
- return ret
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/tensor.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/tensor.py
deleted file mode 100644
index d7e4ffef1ddda2d9a17e0f4cc4a4169d078679d5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/model/tensor.py
+++ /dev/null
@@ -1,272 +0,0 @@
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.env import tf
-from deepmd.common import ClassArg
-from deepmd.env import global_cvt_2_ener_float, MODEL_VERSION, GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.utils.graph import load_graph_def
-from .model import Model
-from .model_stat import make_stat_input, merge_sys_stat
-
-class TensorModel(Model) :
- """Tensor model.
-
- Parameters
- ----------
- tensor_name
- Name of the tensor.
- descrpt
- Descriptor
- fitting
- Fitting net
- type_map
- Mapping atom type to the name (str) of the type.
- For example `type_map[1]` gives the name of the type 1.
- data_stat_nbatch
- Number of frames used for data statistic
- data_stat_protect
- Protect parameter for atomic energy regression
- """
- def __init__ (
- self,
- tensor_name : str,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2,
- )->None:
- """
- Constructor
- """
- self.model_type = tensor_name
- # descriptor
- self.descrpt = descrpt
- self.rcut = self.descrpt.get_rcut()
- self.ntypes = self.descrpt.get_ntypes()
- # fitting
- self.fitting = fitting
- # other params
- if type_map is None:
- self.type_map = []
- else:
- self.type_map = type_map
- self.data_stat_nbatch = data_stat_nbatch
- self.data_stat_protect = data_stat_protect
-
- def get_rcut (self) :
- return self.rcut
-
- def get_ntypes (self) :
- return self.ntypes
-
- def get_type_map (self) :
- return self.type_map
-
- def get_sel_type(self):
- return self.fitting.get_sel_type()
-
- def get_out_size (self) :
- return self.fitting.get_out_size()
-
- def data_stat(self, data):
- all_stat = make_stat_input(data, self.data_stat_nbatch, merge_sys = False)
- m_all_stat = merge_sys_stat(all_stat)
- self._compute_input_stat (m_all_stat, protection = self.data_stat_protect)
- self._compute_output_stat(all_stat)
-
- def _compute_input_stat(self, all_stat, protection = 1e-2) :
- self.descrpt.compute_input_stats(all_stat['coord'],
- all_stat['box'],
- all_stat['type'],
- all_stat['natoms_vec'],
- all_stat['default_mesh'],
- all_stat)
- if hasattr(self.fitting, 'compute_input_stats'):
- self.fitting.compute_input_stats(all_stat, protection = protection)
-
- def _compute_output_stat (self, all_stat) :
- if hasattr(self.fitting, 'compute_output_stats'):
- self.fitting.compute_output_stats(all_stat)
-
- def build (self,
- coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- frz_model = None,
- suffix = '',
- reuse = None):
- with tf.variable_scope('model_attr' + suffix, reuse = reuse) :
- t_tmap = tf.constant(' '.join(self.type_map),
- name = 'tmap',
- dtype = tf.string)
- t_st = tf.constant(self.get_sel_type(),
- name = 'sel_type',
- dtype = tf.int32)
- t_mt = tf.constant(self.model_type,
- name = 'model_type',
- dtype = tf.string)
- t_ver = tf.constant(MODEL_VERSION,
- name = 'model_version',
- dtype = tf.string)
- t_od = tf.constant(self.get_out_size(),
- name = 'output_dim',
- dtype = tf.int32)
-
- natomsel = sum(natoms[2+type_i] for type_i in self.get_sel_type())
- nout = self.get_out_size()
-
- if frz_model == None:
- dout \
- = self.descrpt.build(coord_,
- atype_,
- natoms,
- box,
- mesh,
- input_dict,
- suffix = suffix,
- reuse = reuse)
- dout = tf.identity(dout, name='o_descriptor')
- else:
- tf.constant(self.rcut,
- name = 'descrpt_attr/rcut',
- dtype = GLOBAL_TF_FLOAT_PRECISION)
- tf.constant(self.ntypes,
- name = 'descrpt_attr/ntypes',
- dtype = tf.int32)
- feed_dict = self.descrpt.get_feed_dict(coord_, atype_, natoms, box, mesh)
- return_elements = [*self.descrpt.get_tensor_names(), 'o_descriptor:0']
- imported_tensors \
- = self._import_graph_def_from_frz_model(frz_model, feed_dict, return_elements)
- dout = imported_tensors[-1]
- self.descrpt.pass_tensors_from_frz_model(*imported_tensors[:-1])
-
- rot_mat = self.descrpt.get_rot_mat()
- rot_mat = tf.identity(rot_mat, name = 'o_rot_mat'+suffix)
-
- output = self.fitting.build (dout,
- rot_mat,
- natoms,
- reuse = reuse,
- suffix = suffix)
- framesize = nout if "global" in self.model_type else natomsel * nout
- output = tf.reshape(output, [-1, framesize], name = 'o_' + self.model_type + suffix)
-
- model_dict = {self.model_type: output}
-
- if "global" not in self.model_type:
- gname = "global_"+self.model_type
- atom_out = tf.reshape(output, [-1, natomsel, nout])
- global_out = tf.reduce_sum(atom_out, axis=1)
- global_out = tf.reshape(global_out, [-1, nout], name="o_" + gname + suffix)
-
- out_cpnts = tf.split(atom_out, nout, axis=-1)
- force_cpnts = []
- virial_cpnts = []
- atom_virial_cpnts = []
-
- for out_i in out_cpnts:
- force_i, virial_i, atom_virial_i \
- = self.descrpt.prod_force_virial(out_i, natoms)
- force_cpnts.append (tf.reshape(force_i, [-1, 3*natoms[1]]))
- virial_cpnts.append (tf.reshape(virial_i, [-1, 9]))
- atom_virial_cpnts.append(tf.reshape(atom_virial_i, [-1, 9*natoms[1]]))
-
- # [nframe x nout x (natom x 3)]
- force = tf.concat(force_cpnts, axis=1, name="o_force" + suffix)
- # [nframe x nout x 9]
- virial = tf.concat(virial_cpnts, axis=1, name="o_virial" + suffix)
- # [nframe x nout x (natom x 9)]
- atom_virial = tf.concat(atom_virial_cpnts, axis=1, name="o_atom_virial" + suffix)
-
- model_dict[gname] = global_out
- model_dict["force"] = force
- model_dict["virial"] = virial
- model_dict["atom_virial"] = atom_virial
-
- return model_dict
-
- def _import_graph_def_from_frz_model(self, frz_model, feed_dict, return_elements):
- graph, graph_def = load_graph_def(frz_model)
- return tf.import_graph_def(graph_def, input_map = feed_dict, return_elements = return_elements, name = "")
-
- def init_variables(self,
- graph : tf.Graph,
- graph_def : tf.GraphDef,
- model_type : str = "original_model",
- suffix : str = "",
- ) -> None:
- """
- Init the embedding net variables with the given frozen model
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- model_type : str
- the type of the model
- suffix : str
- suffix to name scope
- """
- if model_type == 'original_model':
- self.descrpt.init_variables(graph, graph_def, suffix=suffix)
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("original_model", name = 'model_type', dtype = tf.string)
- elif model_type == 'compressed_model':
- self.fitting.init_variables(graph, graph_def, suffix=suffix)
- tf.constant("compressed_model", name = 'model_type', dtype = tf.string)
- else:
- raise RuntimeError("Unknown model type %s" % model_type)
-
-
-class WFCModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'wfc', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-class DipoleModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'dipole', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-class PolarModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'polar', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-class GlobalPolarModel(TensorModel):
- def __init__(
- self,
- descrpt,
- fitting,
- type_map : List[str] = None,
- data_stat_nbatch : int = 10,
- data_stat_protect : float = 1e-2
- ) -> None:
- TensorModel.__init__(self, 'global_polar', descrpt, fitting, type_map, data_stat_nbatch, data_stat_protect)
-
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/__init__.py
deleted file mode 100644
index 244b274d4c66ee58f3d0092b53ea5ee609b72476..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-
-from . import data, descriptor, entrypoints, fit, utils
-
-__all__ = [
- "data",
- "descriptor",
- "entrypoints",
- "fit",
- "utils",
-]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/data/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/data/__init__.py
deleted file mode 100644
index fe0227aeeebddf20d76b3cebde8006eecfe9228c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/data/__init__.py
+++ /dev/null
@@ -1,44 +0,0 @@
-"""
-nvnmd.data
-==========
-
-Provides
- 1. hardware configuration
- 2. default input script
- 3. title and citation
-
-Data
-----
-
-jdata_sys
- action configuration
-jdata_config
- hardware configuration
-
- dscp
- descriptor configuration
- fitn
- fitting network configuration
- size
- ram capacity
- ctrl
- control flag, such as Time Division Multiplexing (TDM)
- nbit
- number of bits of fixed-point number
-jdata_config_16 (disable)
- difference with configure fitting size as 16
-jdata_config_32 (disable)
- difference with configure fitting size as 32
-jdata_config_64 (disable)
- difference with configure fitting size as 64
-jdata_config_128 (default)
- difference with configure fitting size as 128
-jdata_configs
- all configure of jdata_config{nfit_node}
-jdata_deepmd_input
- default input script for nvnmd training
-NVNMD_WELCOME
- nvnmd title when logging
-NVNMD_CITATION
- citation of nvnmd
-"""
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/data/data.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/data/data.py
deleted file mode 100644
index 49fd2e69b3b0270f6920f20ea3d7c7fdf06b5359..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/data/data.py
+++ /dev/null
@@ -1,283 +0,0 @@
-
-jdata_sys = {
- "debug": False
-}
-
-jdata_config = {
- "dscp": {
- "sel": [60, 60],
- "rcut": 6.0,
- "rcut_smth": 0.5,
- "neuron": [8, 16, 32],
- "resnet_dt": False,
- "axis_neuron": 4,
- "type_one_side": True,
-
- "NI": 128,
- "rc_lim": 0.5,
- "M1": "neuron[-1]",
- "M2": "axis_neuron",
- "SEL": [60, 60, 0, 0],
- "NNODE_FEAS": "(1, neuron)",
- "nlayer_fea": "len(neuron)",
- "same_net": "type_one_side",
- "NIDP": "sum(sel)",
- "NIX": "2^ceil(ln2(NIDP/1.5))",
- "ntype": "len(sel)",
- "ntypex": "same_net ? 1: ntype",
- "ntypex_max": 1,
- "ntype_max": 4
- },
-
- "fitn": {
- "neuron": [32, 32, 32],
- "resnet_dt": False,
-
- "NNODE_FITS": "(M1*M2, neuron, 1)",
- "nlayer_fit": "len(neuron)+1",
- "NLAYER": "nlayer_fit"
- },
-
- "size": {
- "NTYPE_MAX": 4,
- "NSPU": 4096,
- "MSPU": 32768,
- "Na": "NSPU",
- "NaX": "MSPU"
- },
-
- "ctrl": {
- "NSTDM": 16,
- "NSTDM_M1": 16,
- "NSTDM_M2": 1,
- "NSADV": "NSTDM+1",
- "NSEL": "NSTDM*ntype_max",
- "NSTDM_M1X": 4,
- "NSTEP_DELAY": 20,
- "MAX_FANOUT": 30
- },
-
- "nbit": {
- "NBIT_DATA": 21,
- "NBIT_DATA_FL": 13,
- "NBIT_LONG_DATA": 32,
- "NBIT_LONG_DATA_FL": 24,
- "NBIT_DIFF_DATA": 24,
-
- "NBIT_SPE": 2,
- "NBIT_CRD": "NBIT_DATA*3",
- "NBIT_LST": "ln2(NaX)",
-
- "NBIT_SPE_MAX": 8,
- "NBIT_LST_MAX": 16,
-
- "NBIT_ATOM": "NBIT_SPE+NBIT_CRD",
- "NBIT_LONG_ATOM": "NBIT_SPE+NBIT_LONG_DATA*3",
-
- "NBIT_RIJ": "NBIT_DATA_FL+5",
- "NBIT_FEA_X": 10,
- "NBIT_FEA_X_FL": 4,
- "NBIT_FEA_X2_FL": 6,
- "NBIT_FEA": 18,
- "NBIT_FEA_FL": 10,
- "NBIT_SHIFT": 4,
-
- "NBIT_DATA2": "NBIT_DATA+NBIT_DATA_FL",
- "NBIT_DATA2_FL": "2*NBIT_DATA_FL",
- "NBIT_DATA_FEA": "NBIT_DATA+NBIT_FEA_FL",
- "NBIT_DATA_FEA_FL": "NBIT_DATA_FL+NBIT_FEA_FL",
-
- "NBIT_FORCE": 32,
- "NBIT_FORCE_FL": "2*NBIT_DATA_FL-1",
-
- "NBIT_SUM": "NBIT_DATA_FL+8",
- "NBIT_WEIGHT": 18,
- "NBIT_WEIGHT_FL": 13,
-
- "NBIT_RAM": 72,
- "NBIT_ADDR": 32,
-
- "NBTI_MODEL_HEAD": 32,
-
- "NBIT_TH_LONG_ADD": 30,
- "NBIT_ADD": 15,
-
- "RANGE_B": [-100, 100],
- "RANGE_W": [-20, 20],
-
- "NCFG": 35,
- "NNET": 4920,
- "NFEA": 8192
- },
-
- "end": ""
-}
-
-jdata_config_16 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [16, 16, 16]
- },
-
- "ctrl": {
- "NSTDM": 16,
- "NSTDM_M1": 16,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_config_32 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [32, 32, 32]
- },
-
- "ctrl": {
- "NSTDM": 16,
- "NSTDM_M1": 16,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_config_64 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [64, 64, 64]
- },
-
- "ctrl": {
- "NSTDM": 32,
- "NSTDM_M1": 32,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_config_128 = {
- "dscp": {
- "neuron": [8, 16, 32],
- "axis_neuron": 4,
- "NI": 128
- },
-
- "fitn": {
- "neuron": [128, 128, 128]
- },
-
- "ctrl": {
- "NSTDM": 32,
- "NSTDM_M1": 32,
- "NSTDM_M2": 1,
- "NSTDM_M1X": 4
- }
-}
-
-jdata_configs = {
- "_16": jdata_config_16,
- "_32": jdata_config_32,
- "_64": jdata_config_64,
- "128": jdata_config_128
-}
-
-jdata_deepmd_input = {
- "model": {
- "descriptor": {
- "seed": 1,
- "type": "se_a",
- "sel": [
- 60,
- 60
- ],
- "rcut": 7.0,
- "rcut_smth": 0.5,
- "neuron": [
- 8,
- 16,
- 32
- ],
- "type_one_side": False,
- "axis_neuron": 4,
- "resnet_dt": False
- },
- "fitting_net": {
- "seed": 1,
- "neuron": [
- 128,
- 128,
- 128
- ],
- "resnet_dt": False
- }
- },
- "nvnmd": {
- "net_size": 128,
- "config_file": "none",
- "weight_file": "none",
- "map_file": "none",
- "enable": False,
- "restore_descriptor": False,
- "restore_fitting_net": False,
- "quantize_descriptor": False,
- "quantize_fitting_net": False
- },
- "learning_rate": {
- "type": "exp",
- "decay_steps": 5000,
- "start_lr": 0.005,
- "stop_lr": 8.257687192506788e-05
- },
- "loss": {
- "start_pref_e": 0.02,
- "limit_pref_e": 1,
- "start_pref_f": 1000,
- "limit_pref_f": 1,
- "start_pref_v": 0,
- "limit_pref_v": 0
- },
- "training": {
- "seed": 1,
- "stop_batch": 10000,
- "disp_file": "lcurve.out",
- "disp_freq": 100,
- "numb_test": 10,
- "save_freq": 1000,
- "save_ckpt": "model.ckpt",
- "disp_training": True,
- "time_training": True,
- "profiling": False,
- "training_data": {
- "systems": "dataset",
- "set_prefix": "set",
- "batch_size": 1
- }
- }
-}
-NVNMD_WELCOME = (
- " _ _ __ __ _ _ __ __ ____ ",
- "| \ | | \ \ / / | \ | | | \/ | | _ \ ",
- "| \| | \ \ / / | \| | | |\/| | | | | |",
- "| |\ | \ V / | |\ | | | | | | |_| |",
- "|_| \_| \_/ |_| \_| |_| |_| |____/ ",
-)
-
-NVNMD_CITATION = (
- "Please read and cite:",
- "Mo et al., npj Comput Mater 8, 107 (2022)",
-)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/descriptor/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/descriptor/__init__.py
deleted file mode 100644
index 6bfdad17a6bc8cfd68bbcee2ce0355df8ad97ab9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/descriptor/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
-nvnmd.se_a
-==========
-
-Provides
- 1. building descriptor with continuous embedding network
- 2. building descriptor with quantized embedding network
-
-"""
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/descriptor/se_a.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/descriptor/se_a.py
deleted file mode 100644
index f1d97dcd8c6cbef2d377c33cd34739e1c9a0ec40..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/descriptor/se_a.py
+++ /dev/null
@@ -1,280 +0,0 @@
-import numpy as np
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.utils.network import embedding_net
-
-
-#
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.network import matmul3_qq
-from deepmd.nvnmd.utils.weight import get_normalize, get_rng_s
-
-
-def build_davg_dstd():
- r"""Get the davg and dstd from the dictionary nvnmd_cfg.
- The davg and dstd have been obtained by training CNN
- """
- davg, dstd = get_normalize(nvnmd_cfg.weight)
- return davg, dstd
-
-
-def build_op_descriptor():
- r"""Replace se_a.py/DescrptSeA/build
- """
- if nvnmd_cfg.quantize_descriptor:
- return op_module.prod_env_mat_a_nvnmd_quantize
- else:
- return op_module.prod_env_mat_a
-
-
-def descrpt2r4(inputs, natoms):
- r"""Replace :math:`r_{ji} \rightarrow r'_{ji}`
- where :math:`r_{ji} = (x_{ji}, y_{ji}, z_{ji})` and
- :math:`r'_{ji} = (s_{ji}, \frac{s_{ji} x_{ji}}{r_{ji}}, \frac{s_{ji} y_{ji}}{r_{ji}}, \frac{s_{ji} z_{ji}}{r_{ji}})`
- """
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- NBIT_FEA_X_FL = nvnmd_cfg.nbit['NBIT_FEA_X_FL']
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- prec = 1.0 / (2 ** NBIT_FEA_X_FL)
-
- ntypes = nvnmd_cfg.dscp['ntype']
- NIDP = nvnmd_cfg.dscp['NIDP']
- ndescrpt = NIDP * 4
- start_index = 0
-
- # (nf, na*nd)
- shape = inputs.get_shape().as_list()
- # (nf*na*ni, 4)
- inputs_reshape = tf.reshape(inputs, [-1, 4])
-
- with tf.variable_scope('filter_type_all_x', reuse=True):
- # u (i.e., r^2)
- u = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- with tf.variable_scope('u', reuse=True):
- u = op_module.quantize_nvnmd(u, 0, -1, NBIT_DATA_FL, -1)
- # print('u:', u)
- u = tf.reshape(u, [-1, natoms[0] * NIDP])
- # rij
- rij = tf.reshape(tf.slice(inputs_reshape, [0, 1], [-1, 3]), [-1, 3])
- with tf.variable_scope('rij', reuse=True):
- rij = op_module.quantize_nvnmd(rij, 0, NBIT_DATA_FL, -1, -1)
- # print('rij:', rij)
- s = []
- sr = []
- for type_i in range(ntypes):
- type_input = 0
- postfix = f"_t{type_input}_t{type_i}"
- u_i = tf.slice(
- u,
- [0, start_index * NIDP],
- [-1, natoms[2 + type_i] * NIDP])
- u_i = tf.reshape(u_i, [-1, 1])
- #
- keys = 's,sr'.split(',')
- map_tables = [nvnmd_cfg.map[key + postfix] for key in keys]
- map_tables2 = [nvnmd_cfg.map[f"d{key}_dr2" + postfix] for key in keys]
- map_outs = []
- for ii in range(len(keys)):
- map_outs.append(op_module.map_nvnmd(
- u_i,
- map_tables[ii][0],
- map_tables[ii][1] / prec,
- map_tables2[ii][0],
- map_tables2[ii][1] / prec,
- prec, NBIT_FEA_FL))
-
- s_i, sr_i = map_outs
- s_i = tf.reshape(s_i, [-1, natoms[2 + type_i] * NIDP])
- sr_i = tf.reshape(sr_i, [-1, natoms[2 + type_i] * NIDP])
- s.append(s_i)
- sr.append(sr_i)
- start_index += natoms[2 + type_i]
-
- s = tf.concat(s, axis=1)
- sr = tf.concat(sr, axis=1)
-
- with tf.variable_scope('s', reuse=True):
- s = op_module.quantize_nvnmd(s, 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
-
- with tf.variable_scope('sr', reuse=True):
- sr = op_module.quantize_nvnmd(sr, 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
-
- s = tf.reshape(s, [-1, 1])
- sr = tf.reshape(sr, [-1, 1])
-
- # R2R4
- Rs = s
- Rxyz = sr * rij
- with tf.variable_scope('Rxyz', reuse=True):
- Rxyz = op_module.quantize_nvnmd(Rxyz, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- R4 = tf.concat([Rs, Rxyz], axis=1)
- R4 = tf.reshape(R4, [-1, NIDP, 4])
- inputs_reshape = R4
- inputs_reshape = tf.reshape(inputs_reshape, [-1, ndescrpt])
- return inputs_reshape
-
-
-def filter_lower_R42GR(
- type_i,
- type_input,
- inputs_i,
- is_exclude,
- activation_fn,
- bavg,
- stddev,
- trainable,
- suffix,
- seed,
- seed_shift,
- uniform_seed,
- filter_neuron,
- filter_precision,
- filter_resnet_dt,
- embedding_net_variables):
- r"""Replace se_a.py/DescrptSeA/_filter_lower
- """
- shape_i = inputs_i.get_shape().as_list()
- inputs_reshape = tf.reshape(inputs_i, [-1, 4])
- natom = tf.shape(inputs_i)[0]
- M1 = nvnmd_cfg.dscp['M1']
-
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- NBIT_FEA_X_FL = nvnmd_cfg.nbit['NBIT_FEA_X_FL']
- NBIT_FEA_X2_FL = nvnmd_cfg.nbit['NBIT_FEA_X2_FL']
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- prec = 1.0 / (2 ** NBIT_FEA_X2_FL)
- type_input = 0 if (type_input < 0) else type_input
- postfix = f"_t{type_input}_t{type_i}"
-
- if (nvnmd_cfg.quantize_descriptor):
- s_min, smax = get_rng_s(nvnmd_cfg.weight)
- s_min = -2.0
- # s_min = np.floor(s_min)
- s = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- s = op_module.quantize_nvnmd(s, 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
- # G
- keys = 'G'.split(',')
- map_tables = [nvnmd_cfg.map[key + postfix] for key in keys]
- map_tables2 = [nvnmd_cfg.map[f"d{key}_ds" + postfix] for key in keys]
- map_outs = []
- for ii in range(len(keys)):
- with tf.variable_scope(keys[ii], reuse=True):
- map_outs.append(op_module.map_nvnmd(
- s - s_min,
- map_tables[ii][0], map_tables[ii][1] / prec,
- map_tables2[ii][0], map_tables2[ii][1] / prec,
- prec, NBIT_FEA_FL))
- map_outs[ii] = op_module.quantize_nvnmd(map_outs[ii], 0, NBIT_FEA_FL, NBIT_DATA_FL, -1)
- G = map_outs
- # G
- xyz_scatter = G
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, M1))
- # GR
- inputs_reshape = tf.reshape(inputs_reshape, [-1, shape_i[1] // 4, 4])
- GR = matmul3_qq(tf.transpose(inputs_reshape, [0, 2, 1]), xyz_scatter, -1)
- GR = tf.reshape(GR, [-1, 4 * M1])
- return GR
-
- else:
- xyz_scatter = tf.reshape(tf.slice(inputs_reshape, [0, 0], [-1, 1]), [-1, 1])
- if nvnmd_cfg.restore_descriptor:
- trainable = False
- embedding_net_variables = {}
- for key in nvnmd_cfg.weight.keys():
- if 'filter_type' in key:
- key2 = key.replace('.', '/')
- embedding_net_variables[key2] = nvnmd_cfg.weight[key]
-
- if (not is_exclude):
- xyz_scatter = embedding_net(
- xyz_scatter,
- filter_neuron,
- filter_precision,
- activation_fn=activation_fn,
- resnet_dt=filter_resnet_dt,
- name_suffix=suffix,
- stddev=stddev,
- bavg=bavg,
- seed=seed,
- trainable=trainable,
- uniform_seed=uniform_seed,
- initial_variables=embedding_net_variables)
- if (not uniform_seed) and (seed is not None):
- seed += seed_shift
- else:
- # we can safely return the final xyz_scatter filled with zero directly
- return tf.cast(tf.fill((natom, 4, M1), 0.), GLOBAL_TF_FLOAT_PRECISION)
- # natom x nei_type_i x out_size
- xyz_scatter = tf.reshape(xyz_scatter, (-1, shape_i[1] // 4, M1))
- # When using tf.reshape(inputs_i, [-1, shape_i[1]//4, 4]) below
- # [588 24] -> [588 6 4] correct
- # but if sel is zero
- # [588 0] -> [147 0 4] incorrect; the correct one is [588 0 4]
- # So we need to explicitly assign the shape to tf.shape(inputs_i)[0] instead of -1
- return tf.matmul(tf.reshape(inputs_i, [natom, shape_i[1] // 4, 4]), xyz_scatter, transpose_a=True)
-
-
-def filter_GR2D(xyz_scatter_1):
- r"""Replace se_a.py/_filter
- """
- NIX = nvnmd_cfg.dscp['NIX']
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- M1 = nvnmd_cfg.dscp['M1']
- M2 = nvnmd_cfg.dscp['M2']
-
- if (nvnmd_cfg.quantize_descriptor):
- xyz_scatter_1 = tf.reshape(xyz_scatter_1, [-1, 4 * M1])
- # fix the number of bits of gradient
- xyz_scatter_1 = op_module.quantize_nvnmd(xyz_scatter_1, 0, -1, NBIT_DATA_FL, -1)
- xyz_scatter_1 = xyz_scatter_1 * (1.0 / NIX)
- with tf.variable_scope('GR', reuse=True):
- xyz_scatter_1 = op_module.quantize_nvnmd(xyz_scatter_1, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- xyz_scatter_1 = tf.reshape(xyz_scatter_1, [-1, 4, M1])
-
- # natom x 4 x outputs_size_2
- xyz_scatter_2 = xyz_scatter_1
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0, 1, 0], [-1, 3, -1])
- # natom x outputs_size_2 x 3
- qmat = tf.transpose(qmat, perm=[0, 2, 1])
- # D': natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a=True)
- # D': natom x (outputs_size x outputs_size_2)
- result = tf.reshape(result, [-1, M1 * M1])
- #
- index_subset = []
- for ii in range(M1):
- for jj in range(ii, ii + M2):
- index_subset.append((ii * M1) + (jj % M1))
- index_subset = tf.constant(np.int32(np.array(index_subset)))
- result = tf.gather(result, index_subset, axis=1)
-
- with tf.variable_scope('d', reuse=True):
- result = op_module.quantize_nvnmd(result, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- else:
- # natom x 4 x outputs_size
- xyz_scatter_1 = xyz_scatter_1 * (1.0 / NIX)
- # natom x 4 x outputs_size_2
- # xyz_scatter_2 = tf.slice(xyz_scatter_1, [0,0,0],[-1,-1,outputs_size_2])
- xyz_scatter_2 = xyz_scatter_1
- # natom x 3 x outputs_size_1
- qmat = tf.slice(xyz_scatter_1, [0, 1, 0], [-1, 3, -1])
- # natom x outputs_size_1 x 3
- qmat = tf.transpose(qmat, perm=[0, 2, 1])
- # natom x outputs_size x outputs_size_2
- result = tf.matmul(xyz_scatter_1, xyz_scatter_2, transpose_a=True)
- # natom x (outputs_size x outputs_size_2)
- # result = tf.reshape(result, [-1, outputs_size_2 * outputs_size[-1]])
- result = tf.reshape(result, [-1, M1 * M1])
- #
- index_subset = []
- for ii in range(M1):
- for jj in range(ii, ii + M2):
- index_subset.append((ii * M1) + (jj % M1))
- index_subset = tf.constant(np.int32(np.array(index_subset)))
- result = tf.gather(result, index_subset, axis=1)
-
- return result, qmat
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/__init__.py
deleted file mode 100644
index 7e1828281ec08538ca529dfb5830b5b9d66803fd..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-from .freeze import save_weight
-from .mapt import MapTable
-from .wrap import Wrap
-
-__all__ = [
- "save_weight",
- "MapTable",
- "Wrap"
-]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/freeze.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/freeze.py
deleted file mode 100644
index 6d83779ae645df2bd9e8bfe15091e13a65f87aaa..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/freeze.py
+++ /dev/null
@@ -1,48 +0,0 @@
-
-#!/usr/bin/env python3
-
-from deepmd.env import tf
-from deepmd.nvnmd.utils.fio import FioDic
-
-
-def filter_tensorVariableList(tensorVariableList) -> dict:
- r"""Get the name of variable for NVNMD
-
- | :code:`descrpt_attr/t_avg:0`
- | :code:`descrpt_attr/t_std:0`
- | :code:`filter_type_{atom i}/matrix_{layer l}_{atomj}:0`
- | :code:`filter_type_{atom i}/bias_{layer l}_{atomj}:0`
- | :code:`layer_{layer l}_type_{atom i}/matrix:0`
- | :code:`layer_{layer l}_type_{atom i}/bias:0`
- | :code:`final_layer_type_{atom i}/matrix:0`
- | :code:`final_layer_type_{atom i}/bias:0`
- """
- nameList = [tv.name for tv in tensorVariableList]
- nameList = [name.replace(':0', '') for name in nameList]
- nameList = [name.replace('/', '.') for name in nameList]
-
- dic_name_tv = {}
- for ii in range(len(nameList)):
- name = nameList[ii]
- tv = tensorVariableList[ii]
- p1 = name.startswith('descrpt_attr')
- p1 = p1 or name.startswith('filter_type_')
- p1 = p1 or name.startswith('layer_')
- p1 = p1 or name.startswith('final_layer_type_')
- p2 = 'Adam' not in name
- p3 = 'XXX' not in name
- if p1 and p2 and p3:
- dic_name_tv[name] = tv
- return dic_name_tv
-
-
-def save_weight(sess, file_name: str = 'nvnmd/weight.npy'):
- r"""Save the dictionary of weight to a npy file
- """
- tvs = tf.global_variables()
- dic_key_tv = filter_tensorVariableList(tvs)
- dic_key_value = {}
- for key in dic_key_tv.keys():
- value = sess.run(dic_key_tv[key])
- dic_key_value[key] = value
- FioDic().save(file_name, dic_key_value)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/mapt.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/mapt.py
deleted file mode 100644
index 031d9d9289bf86fd5f17d8670b3e02619b25f220..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/mapt.py
+++ /dev/null
@@ -1,336 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.env import tf
-from deepmd.utils.sess import run_sess
-
-from deepmd.nvnmd.utils.fio import FioDic
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.weight import get_normalize, get_rng_s, get_filter_weight
-from deepmd.nvnmd.utils.network import get_sess
-
-from deepmd.nvnmd.data.data import jdata_deepmd_input
-
-from typing import List, Optional
-
-log = logging.getLogger(__name__)
-
-
-class MapTable:
- r"""Generate the mapping table describing the relastionship of
- atomic distance, cutoff function, and embedding matrix.
-
- three mapping table will be built:
-
- | :math:`r^2_{ji} \rightarrow s_{ji}`
- | :math:`r^2_{ji} \rightarrow sr_{ji}`
- | :math:`r^2_{ji} \rightarrow \mathcal{G}_{ji}`
-
- where :math:`s_{ji}` is cut-off function,
- :math:`sr_{ji} = \frac{s(r_{ji})}{r_{ji}}`, and
- :math:`\mathcal{G}_{ji}` is embedding matrix.
-
- The mapping funciton can be define as:
-
- | :math:`y = f(x) = y_{k} + (x - x_{k}) * dy_{k}`
- | :math:`y_{k} = f(x_{k})`
- | :math:`dy_{k} = \frac{f(x_{k+1}) - f(x_{k})}{dx}`
- | :math:`x_{k} \leq x < x_{k+1}`
- | :math:`x_{k} = k * dx`
-
- where :math:`dx` is interpolation interval.
-
- Parameters
- ----------
- config_file
- input file name
- an .npy file containing the configuration information of NVNMD model
- weight_file
- input file name
- an .npy file containing the weights of NVNMD model
- map_file
- output file name
- an .npy file containing the mapping tables of NVNMD model
-
- References
- ----------
- DOI: 10.1038/s41524-022-00773-z
- """
-
- def __init__(
- self,
- config_file: str,
- weight_file: str,
- map_file: str
- ):
- self.config_file = config_file
- self.weight_file = weight_file
- self.map_file = map_file
-
- jdata = jdata_deepmd_input['nvnmd']
- jdata['config_file'] = config_file
- jdata['weight_file'] = weight_file
- jdata['enable'] = True
-
- nvnmd_cfg.init_from_jdata(jdata)
- # map_table = self.build_map()
-
- def qqq(self, dat, NBIT_FEA_FL, NBIT_FEA_X, is_set_zero=False):
- dat = dat if isinstance(dat, list) else [dat]
- prec = 2 ** NBIT_FEA_FL
- N = int(2 ** NBIT_FEA_X)
- #
- dat2 = []
- for ii in range(len(dat)):
- dati = dat[ii]
- vi = dati[:-1] # i
- vi1 = dati[1:] # i+1
- # v = vi + dvi * (r - ri)
- # ri = i * dt
- # dvi = v(i+1) / dt
- vi = np.round(vi * prec) / prec
- vi1 = np.round(vi1 * prec) / prec
- dvi = vi1 - vi
- if is_set_zero:
- dvi[0] = 0
- #
- v = [np.reshape(vp, [N, -1]) for vp in [vi, dvi]]
- dat2.append(v)
- return dat2
-
- def build_map(self):
- ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- NBIT_FEA_X = nvnmd_cfg.nbit['NBIT_FEA_X']
-
- dic = self.run_u2s()
- dic.update(self.run_s2G(dic))
-
- # quantize s and G
- prec = 2**NBIT_FEA_FL
- for tt in range(ntypex):
- dic['s'][tt][0] = np.round(dic['s'][tt][0] * prec) / prec
- dic['sr'][tt][0] = np.round(dic['sr'][tt][0] * prec) / prec
- for tt2 in range(ntype):
- v = np.round(dic['G'][tt * ntype + tt2][0] * prec) / prec
- dic['G'][tt * ntype + tt2][0] = v
-
- maps = {}
- keys = 's,sr,ds_dr2,dsr_dr2,G,dG_ds'.split(',')
- keys2 = 'G,dG_ds'.split(',')
- for key in keys:
- val = self.qqq(dic[key], NBIT_FEA_FL, NBIT_FEA_X, key not in keys2)
- maps[key] = val
-
- N = int(2**NBIT_FEA_X)
- maps2 = {}
- maps2['r2'] = dic['r2'][0:N]
- maps2['s2'] = dic['s2'][0:N]
- for tt in range(ntypex):
- for tt2 in range(ntype):
- postfix = f'_t{tt}_t{tt2}'
- for key in keys:
- maps2[key + postfix] = []
- maps2[key + postfix].append(maps[key][tt * ntype + tt2][0].reshape([N, -1]))
- maps2[key + postfix].append(maps[key][tt * ntype + tt2][1].reshape([N, -1]))
- self.map = maps2
-
- FioDic().save(self.map_file, self.map)
- log.info("NVNMD: finish building mapping table")
- return self.map
-
-# =====================================================================
-# build r2s
-# =====================================================================
-
- def build_r2s(self, r2):
- # limit = nvnmd_cfg.dscp['rc_lim']
- rmin = nvnmd_cfg.dscp['rcut_smth']
- rmax = nvnmd_cfg.dscp['rcut']
- # ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- avg, std = get_normalize(nvnmd_cfg.weight)
- avg, std = np.float32(avg), np.float32(std)
- r = tf.sqrt(r2)
- r_ = tf.clip_by_value(r, rmin, rmax)
- r__ = tf.clip_by_value(r, 0, rmax)
- uu = (r_ - rmin) / (rmax - rmin)
- vv = uu * uu * uu * (-6 * uu * uu + 15 * uu - 10) + 1
-
- sl = []
- srl = []
-
- for tt in range(ntype):
- s = vv / r__
- sr = s / r__
- s = tf.reshape(s, [-1, 1])
- sr = tf.reshape(sr, [-1, 1])
- s = (s - avg[tt, 0]) / std[tt, 0]
- sr = sr / std[tt, 1]
- sl.append(s)
- srl.append(sr)
- return sl, srl
-
- def build_ds_dr(self, r2, s, sr):
- # ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
-
- ds_drl = []
- dsr_drl = []
- for tt in range(ntype):
- si = s[tt]
- sri = sr[tt]
- ds_dr = tf.gradients(si, r2)
- dsr_dr = tf.gradients(sri, r2)
- ds_drl.append(ds_dr[0])
- dsr_drl.append(dsr_dr[0])
- return ds_drl, dsr_drl
-
- def build_r2s_r2ds(self):
- dic_ph = {}
- dic_ph['r2'] = tf.placeholder(tf.float32, [None, 1], 't_r2')
- dic_ph['s'], dic_ph['sr'] = self.build_r2s(dic_ph['r2'])
- dic_ph['ds_dr2'], dic_ph['dsr_dr2'] = self.build_ds_dr(dic_ph['r2'], dic_ph['s'], dic_ph['sr'])
-
- return dic_ph
-
- def run_u2s(self):
- # ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- avg, std = get_normalize(nvnmd_cfg.weight)
- avg, std = np.float32(avg), np.float32(std)
- NBIT_FEA_X = nvnmd_cfg.nbit['NBIT_FEA_X']
- NBIT_FEA_X_FL = nvnmd_cfg.nbit['NBIT_FEA_X_FL']
-
- dic_ph = self.build_r2s_r2ds()
- sess = get_sess()
-
- N = 2 ** NBIT_FEA_X
- N2 = 2 ** NBIT_FEA_X_FL
- # N+1 ranther than N for calculating defference
- r2 = 1.0 * np.arange(0, N + 1) / N2
- r2 = np.reshape(r2, [-1, 1])
- feed_dic = {dic_ph['r2']: r2}
- key = 'r2,s,sr,ds_dr2,dsr_dr2'
- tlst = [dic_ph[k] for k in key.split(',')]
- # res = sess.run(tlst, feed_dic)
- res = run_sess(sess, tlst, feed_dict=feed_dic)
-
- res2 = {}
- key = key.split(',')
- for ii in range(len(key)):
- res2[key[ii]] = res[ii]
-
- # change value
- # set 0 value, when u=0
- for tt in range(ntype):
- res2['s'][tt][0] = -avg[tt, 0] / std[tt, 0]
- res2['sr'][tt][0] = 0
- res2['ds_dr2'][tt][0] = 0
- res2['dsr_dr2'][tt][0] = 0
-
- # r = np.sqrt(res2['r2'])
- sess.close()
-
- return res2
-# =====================================================================
-# build s2G
-# =====================================================================
-
- def build_s2G(self, s):
- ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
-
- activation_fn = tf.tanh
- outputs_size = nvnmd_cfg.dscp['NNODE_FEAS']
-
- xyz_scatters = []
- for tt in range(ntypex):
- for tt2 in range(ntype):
- xyz_scatter = s
- for ll in range(1, len(outputs_size)):
- w, b = get_filter_weight(nvnmd_cfg.weight, tt, tt2, ll)
- w, b = np.float32(w), np.float32(b)
- if outputs_size[ll] == outputs_size[ll - 1]:
- xyz_scatter += activation_fn(tf.matmul(xyz_scatter, w) + b)
- elif outputs_size[ll] == outputs_size[ll - 1] * 2:
- xyz_scatter = tf.concat([xyz_scatter, xyz_scatter], 1) + activation_fn(tf.matmul(xyz_scatter, w) + b)
- else:
- xyz_scatter = activation_fn(tf.matmul(xyz_scatter, w) + b)
- xyz_scatters.append(xyz_scatter)
- return xyz_scatters
-
- def build_dG_ds(self, G, s):
- ntypex = nvnmd_cfg.dscp['ntypex']
- ntype = nvnmd_cfg.dscp['ntype']
- M1 = nvnmd_cfg.dscp['M1']
-
- dG_ds = []
- for tt in range(ntypex):
- for tt2 in range(ntype):
- Gi = G[tt * ntype + tt2]
- si = s
-
- dG_ds_i = []
- for ii in range(M1):
- dG_ds_ii = tf.reshape(tf.gradients(Gi[:, ii], si), [-1, 1])
- dG_ds_i.append(dG_ds_ii)
- dG_ds_i = tf.concat(dG_ds_i, axis=1)
- dG_ds.append(dG_ds_i)
- return dG_ds
-
- def build_s2G_s2dG(self):
- # ntypex = nvnmd_cfg.dscp['ntypex']
- dic_ph = {}
- dic_ph['s2'] = tf.placeholder(tf.float32, [None, 1], 't_s')
- dic_ph['G'] = self.build_s2G(dic_ph['s2'])
- dic_ph['dG_ds'] = self.build_dG_ds(dic_ph['G'], dic_ph['s2'])
- return dic_ph
-
- def run_s2G(self, dat):
- NBIT_FEA_FL = nvnmd_cfg.nbit['NBIT_FEA_FL']
- NBIT_FEA_X = nvnmd_cfg.nbit['NBIT_FEA_X']
- NBIT_FEA_X2_FL = nvnmd_cfg.nbit['NBIT_FEA_X2_FL']
- prec = 2 ** NBIT_FEA_FL
-
- dic_ph = self.build_s2G_s2dG()
- sess = get_sess()
-
- N = 2 ** NBIT_FEA_X
- N2 = 2 ** NBIT_FEA_X2_FL
- s_min, s_max = get_rng_s(nvnmd_cfg.weight)
- #
- if (s_min < -2.0) or (s_max > 14.0):
- log.warning(f"the range of s [{s_min}, {s_max}] is over the limit [-2.0, 14.0]")
- s_min = -2.0
- s = s_min + np.arange(0, N + 1) / N2
- s = np.reshape(s, [-1, 1])
- feed_dic = {dic_ph['s2']: s}
-
- feed_dic = {dic_ph['s2']: s}
- key = 's2,G,dG_ds'
- tlst = [dic_ph[k] for k in key.split(',')]
- # res = sess.run(tlst, feed_dic)
- res = run_sess(sess, tlst, feed_dict=feed_dic)
-
- res2 = {}
- key = key.split(',')
- for ii in range(len(key)):
- res2[key[ii]] = res[ii]
-
- sess.close()
- return res2
-
-
-def mapt(
- *,
- nvnmd_config: Optional[str] = 'nvnmd/config.npy',
- nvnmd_weight: Optional[str] = 'nvnmd/weight.npy',
- nvnmd_map: Optional[str] = 'nvnmd/map.npy',
- **kwargs
-):
- # build mapping table
- mapObj = MapTable(nvnmd_config, nvnmd_weight, nvnmd_map)
- mapObj.build_map()
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/train.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/train.py
deleted file mode 100644
index f4482ea2dccb6586f89c2ced4108eec85d7e8205..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/train.py
+++ /dev/null
@@ -1,181 +0,0 @@
-
-import os
-import logging
-
-from deepmd.env import tf
-from deepmd.entrypoints.train import train
-from deepmd.entrypoints.freeze import freeze
-from deepmd.nvnmd.entrypoints.mapt import mapt
-from deepmd.nvnmd.entrypoints.wrap import wrap
-
-from deepmd.nvnmd.utils.fio import FioDic
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.data.data import jdata_deepmd_input
-
-log = logging.getLogger(__name__)
-
-jdata_cmd_train = {
- "INPUT": "train.json",
- "init_model": None,
- "restart": None,
- "output": "out.json",
- "init_frz_model": None,
- "mpi_log": "master",
- "log_level": 2,
- "log_path": None,
- "is_compress": False
-}
-
-jdata_cmd_freeze = {
- "checkpoint_folder": '.',
- "output": 'frozen_model.pb',
- "node_names": None,
- "nvnmd_weight": "nvnmd/weight.npy"
-}
-
-
-def replace_path(p, p2):
- pars = p.split(os.sep)
- pars[-2] = p2
- return os.path.join(*pars)
-
-
-def add_path(p, p2):
- pars = p.split('/')
- pars.insert(-1, p2)
- return os.path.join(*pars)
-
-
-def normalized_input(fn, PATH_CNN):
- r"""Normalize a input script file for continuous neural network
- """
- f = FioDic()
- jdata = f.load(fn, jdata_deepmd_input)
- # nvnmd
- jdata_nvnmd = jdata_deepmd_input['nvnmd']
- jdata_nvnmd['enable'] = True
- jdata_nvnmd_ = f.get(jdata, 'nvnmd', jdata_nvnmd)
- jdata_nvnmd = f.update(jdata_nvnmd_, jdata_nvnmd)
- # model
- jdata_model = {
- "descriptor": {
- "seed": 1,
- "sel": jdata_nvnmd_["sel"],
- "rcut": jdata_nvnmd_['rcut'],
- "rcut_smth": jdata_nvnmd_['rcut_smth']
- },
- "fitting_net": {
- "seed": 1
- }}
- nvnmd_cfg.init_from_jdata(jdata_nvnmd)
- nvnmd_cfg.init_from_deepmd_input(jdata_model)
- nvnmd_cfg.init_train_mode('cnn')
- # training
- jdata_train = f.get(jdata, 'training', {})
- jdata_train['disp_training'] = True
- jdata_train['time_training'] = True
- jdata_train['profiling'] = False
- jdata_train['disp_file'] = add_path(jdata_train['disp_file'], PATH_CNN)
- jdata_train['save_ckpt'] = add_path(jdata_train['save_ckpt'], PATH_CNN)
- #
- jdata['model'] = nvnmd_cfg.get_model_jdata()
- jdata['nvnmd'] = nvnmd_cfg.get_nvnmd_jdata()
- return jdata
-
-
-def normalized_input_qnn(jdata, PATH_QNN, CONFIG_CNN, WEIGHT_CNN, MAP_CNN):
- r"""Normalize a input script file for quantize neural network
- """
- #
- jdata_nvnmd = jdata_deepmd_input['nvnmd']
- jdata_nvnmd['enable'] = True
- jdata_nvnmd['config_file'] = CONFIG_CNN
- jdata_nvnmd['weight_file'] = WEIGHT_CNN
- jdata_nvnmd['map_file'] = MAP_CNN
- nvnmd_cfg.init_from_jdata(jdata_nvnmd)
- nvnmd_cfg.init_train_mode('qnn')
- jdata['nvnmd'] = nvnmd_cfg.get_nvnmd_jdata()
- # training
- jdata2 = jdata['training']
- jdata2['disp_file'] = replace_path(jdata2['disp_file'], PATH_QNN)
- jdata2['save_ckpt'] = replace_path(jdata2['save_ckpt'], PATH_QNN)
- jdata['training'] = jdata2
- return jdata
-
-
-def train_nvnmd(
- *,
- INPUT: str,
- step: str,
- **kwargs,
-):
- # test input
- if not os.path.exists(INPUT):
- log.warning("The input script %s does not exist"%(INPUT))
- # STEP1
- PATH_CNN = 'nvnmd_cnn'
- CONFIG_CNN = os.path.join(PATH_CNN, 'config.npy')
- INPUT_CNN = os.path.join(PATH_CNN, 'train.json')
- WEIGHT_CNN = os.path.join(PATH_CNN, 'weight.npy')
- FRZ_MODEL_CNN = os.path.join(PATH_CNN, 'frozen_model.pb')
- MAP_CNN = os.path.join(PATH_CNN, 'map.npy')
- if step == "s1":
- # normailize input file
- jdata = normalized_input(INPUT, PATH_CNN)
- FioDic().save(INPUT_CNN, jdata)
- nvnmd_cfg.save(CONFIG_CNN)
- # train cnn
- jdata = jdata_cmd_train.copy()
- jdata['INPUT'] = INPUT_CNN
- train(**jdata)
- tf.reset_default_graph()
- # freeze
- jdata = jdata_cmd_freeze.copy()
- jdata['checkpoint_folder'] = PATH_CNN
- jdata['output'] = FRZ_MODEL_CNN
- jdata['nvnmd_weight'] = WEIGHT_CNN
- freeze(**jdata)
- tf.reset_default_graph()
- # map table
- jdata = {
- "nvnmd_config": CONFIG_CNN,
- "nvnmd_weight": WEIGHT_CNN,
- "nvnmd_map": MAP_CNN
- }
- mapt(**jdata)
- tf.reset_default_graph()
- # STEP2
- PATH_QNN = 'nvnmd_qnn'
- CONFIG_QNN = os.path.join(PATH_QNN, 'config.npy')
- INPUT_QNN = os.path.join(PATH_QNN, 'train.json')
- WEIGHT_QNN = os.path.join(PATH_QNN, 'weight.npy')
- FRZ_MODEL_QNN = os.path.join(PATH_QNN, 'frozen_model.pb')
- MODEL_QNN = os.path.join(PATH_QNN, 'model.pb')
-
- if step == "s2":
- # normailize input file
- jdata = normalized_input(INPUT, PATH_CNN)
- jdata = normalized_input_qnn(jdata, PATH_QNN, CONFIG_CNN, WEIGHT_CNN, MAP_CNN)
- FioDic().save(INPUT_QNN, jdata)
- nvnmd_cfg.save(CONFIG_QNN)
- # train qnn
- jdata = jdata_cmd_train.copy()
- jdata['INPUT'] = INPUT_QNN
- train(**jdata)
- tf.reset_default_graph()
- # freeze
- jdata = jdata_cmd_freeze.copy()
- jdata['checkpoint_folder'] = PATH_QNN
- jdata['output'] = FRZ_MODEL_QNN
- jdata['nvnmd_weight'] = WEIGHT_QNN
- freeze(**jdata)
- tf.reset_default_graph()
- # wrap
- jdata = {
- "nvnmd_config": CONFIG_QNN,
- "nvnmd_weight": WEIGHT_QNN,
- "nvnmd_map": MAP_CNN,
- "nvnmd_model": MODEL_QNN
- }
- wrap(**jdata)
- tf.reset_default_graph()
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/wrap.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/wrap.py
deleted file mode 100644
index 6e2372c2d963fa54a30e3961b2466dae4f7e7dda..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/entrypoints/wrap.py
+++ /dev/null
@@ -1,392 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.nvnmd.utils.fio import FioBin, FioTxt
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.weight import get_fitnet_weight
-from deepmd.nvnmd.utils.encode import Encode
-from deepmd.nvnmd.utils.op import map_nvnmd
-
-from deepmd.nvnmd.data.data import jdata_deepmd_input, jdata_sys
-from typing import List, Optional
-
-log = logging.getLogger(__name__)
-
-
-class Wrap():
- r"""Generate the binary model file (model.pb)
- the model file can be use to run the NVNMD with lammps
- the pair style need set as:
-
- .. code-block:: lammps
-
- pair_style nvnmd model.pb
- pair_coeff * *
-
- Parameters
- ----------
- config_file
- input file name
- an .npy file containing the configuration information of NVNMD model
- weight_file
- input file name
- an .npy file containing the weights of NVNMD model
- map_file
- input file name
- an .npy file containing the mapping tables of NVNMD model
- model_file
- output file name
- an .pb file containing the model using in the NVNMD
-
- References
- ----------
- DOI: 10.1038/s41524-022-00773-z
- """
-
- def __init__(
- self,
- config_file: str,
- weight_file: str,
- map_file: str,
- model_file: str
- ):
- self.config_file = config_file
- self.weight_file = weight_file
- self.map_file = map_file
- self.model_file = model_file
-
- jdata = jdata_deepmd_input['nvnmd']
- jdata['config_file'] = config_file
- jdata['weight_file'] = weight_file
- jdata['map_file'] = map_file
- jdata['enable'] = True
-
- nvnmd_cfg.init_from_jdata(jdata)
-
- def wrap(self):
- dscp = nvnmd_cfg.dscp
- ctrl = nvnmd_cfg.ctrl
-
- M1 = dscp['M1']
- ntype = dscp['ntype']
- ntype_max = dscp['ntype_max']
- NSTDM_M1X = ctrl['NSTDM_M1X']
- e = Encode()
-
- bcfg = self.wrap_dscp()
- bfps, bbps = self.wrap_fitn()
- bfea, bgra = self.wrap_map()
-
- # split data with {nbit} bits per row
- hcfg = e.bin2hex(e.split_bin(bcfg, 72))
- # the legnth of hcfg need to be the multiples of NSTDM_M1X
- hcfg = e.extend_list(hcfg, int(np.ceil(len(hcfg) / NSTDM_M1X)) * NSTDM_M1X)
-
- hfps = e.bin2hex(e.split_bin(bfps, 72))
- # hfps = e.extend_list(hfps, (len(hfps) // ntype) * ntype_max)
-
- hbps = e.bin2hex(e.split_bin(bbps, 72))
- # hbps = e.extend_list(hbps, (len(hbps) // ntype) * ntype_max)
-
- # split into multiple rows
- bfea = e.split_bin(bfea, len(bfea[0]) // NSTDM_M1X)
- # bfea = e.reverse_bin(bfea, NSTDM_M1X)
- # extend the number of lines
- hfea = e.bin2hex(bfea)
- hfea = e.extend_list(hfea, (len(hfea) // ntype) * ntype_max)
-
- # split into multiple rows
- bgra = e.split_bin(bgra, len(bgra[0]) // NSTDM_M1X)
- # bgra = e.reverse_bin(bgra, NSTDM_M1X)
- # extend the number of lines
- hgra = e.bin2hex(bgra)
- hgra = e.extend_list(hgra, (len(hgra) // ntype) * ntype_max)
-
- # extend data according to the number of bits per row of BRAM
- nhex = 512
- hcfg = e.extend_hex(hcfg, nhex)
- hfps = e.extend_hex(hfps, nhex)
- hbps = e.extend_hex(hbps, nhex)
- hfea = e.extend_hex(hfea, nhex)
- hgra = e.extend_hex(hgra, nhex)
-
- # DEVELOP_DEBUG
- if jdata_sys['debug']:
- log.info("len(hcfg): %d" % (len(hcfg)))
- log.info("len(hfps): %d" % (len(hfps)))
- log.info("len(hbps): %d" % (len(hbps)))
- log.info("len(hfea): %d" % (len(hfea)))
- log.info("len(hgra): %d" % (len(hgra)))
- #
- FioTxt().save('nvnmd/wrap/hcfg.txt', hcfg)
- FioTxt().save('nvnmd/wrap/hfps.txt', hfps)
- FioTxt().save('nvnmd/wrap/hbps.txt', hbps)
- FioTxt().save('nvnmd/wrap/hfea.txt', hfea)
- FioTxt().save('nvnmd/wrap/hgra.txt', hgra)
- #
- NCFG = len(hcfg)
- NNET = len(hfps)
- NFEA = len(hfea)
- nvnmd_cfg.nbit['NCFG'] = NCFG
- nvnmd_cfg.nbit['NNET'] = NNET
- nvnmd_cfg.nbit['NFEA'] = NFEA
- nvnmd_cfg.save(nvnmd_cfg.config_file)
- head = self.wrap_head(NCFG, NNET, NFEA)
- #
- hs = [] + head
- hs.extend(hcfg)
- hs.extend(hfps)
- hs.extend(hbps)
- hs.extend(hfea)
- hs.extend(hgra)
-
- FioBin().save(self.model_file, hs)
- log.info("NVNMD: finish wrapping model file")
-
- def wrap_head(self, NCFG, NNET, NFEA):
- nbit = nvnmd_cfg.nbit
- NBTI_MODEL_HEAD = nbit['NBTI_MODEL_HEAD']
- NBIT_DATA_FL = nbit['NBIT_DATA_FL']
- rcut = nvnmd_cfg.dscp['rcut']
-
- bs = ''
- e = Encode()
- # nline
- bs = e.dec2bin(NCFG, NBTI_MODEL_HEAD)[0] + bs
- bs = e.dec2bin(NNET, NBTI_MODEL_HEAD)[0] + bs
- bs = e.dec2bin(NFEA, NBTI_MODEL_HEAD)[0] + bs
- # dscp
- RCUT = e.qr(rcut, NBIT_DATA_FL)
- bs = e.dec2bin(RCUT, NBTI_MODEL_HEAD)[0] + bs
- # extend
- hs = e.bin2hex(bs)
- nhex = 512
- hs = e.extend_hex(hs, nhex)
- return hs
-
- def wrap_dscp(self):
- r"""Wrap the configuration of descriptor
- """
- dscp = nvnmd_cfg.dscp
- nbit = nvnmd_cfg.nbit
- maps = nvnmd_cfg.map
- NBIT_FEA_X = nbit['NBIT_FEA_X']
- NBIT_FEA_X_FL = nbit['NBIT_FEA_X_FL']
- NBIT_FEA_X2_FL = nbit['NBIT_FEA_X2_FL']
- NBIT_FEA_FL = nbit['NBIT_FEA_FL']
- NBIT_LST = nbit['NBIT_LST']
- NBIT_SHIFT = nbit['NBIT_SHIFT']
-
- bs = ''
- e = Encode()
- # sel
- SEL = dscp['SEL']
- bs = e.dec2bin(SEL[0], NBIT_LST)[0] + bs
- bs = e.dec2bin(SEL[1], NBIT_LST)[0] + bs
- bs = e.dec2bin(SEL[2], NBIT_LST)[0] + bs
- bs = e.dec2bin(SEL[3], NBIT_LST)[0] + bs
- #
- NIX = dscp['NIX']
- ln2_NIX = int(np.log2(NIX))
- bs = e.dec2bin(ln2_NIX, NBIT_SHIFT)[0] + bs
- # G*s
- # ntypex = dscp['ntypex']
- ntype = dscp['ntype']
- # ntypex_max = dscp['ntypex_max']
- ntype_max = dscp['ntype_max']
- M1 = dscp['M1']
- GSs = []
- for tt in range(ntype_max):
- for tt2 in range(ntype_max):
- if (tt < ntype) and (tt2 < ntype):
- s = maps[f's_t{0}_t{tt}'][0][0]
- s = e.qf(s, NBIT_FEA_FL) / (2**NBIT_FEA_FL)
- s_min = -2.0
- yk, dyk = maps[f'G_t{0}_t{tt2}']
- prec = 1 / (2 ** NBIT_FEA_X2_FL)
- G = map_nvnmd(s - s_min, yk, dyk / prec, prec)
- G = e.qf(G, NBIT_FEA_FL) / (2**NBIT_FEA_FL)
- v = s * G
- else:
- v = np.zeros(M1)
- for ii in range(M1):
- GSs.extend(e.dec2bin(e.qr(v[ii], 2 * NBIT_FEA_FL), 27, True))
- sGSs = ''.join(GSs[::-1])
- bs = sGSs + bs
- return bs
-
- def wrap_fitn(self):
- r"""Wrap the weights of fitting net
- """
- dscp = nvnmd_cfg.dscp
- fitn = nvnmd_cfg.fitn
- weight = nvnmd_cfg.weight
- nbit = nvnmd_cfg.nbit
- ctrl = nvnmd_cfg.ctrl
-
- ntype = dscp['ntype']
- ntype_max = dscp['ntype_max']
- nlayer_fit = fitn['nlayer_fit']
- NNODE_FITS = fitn['NNODE_FITS']
- NBIT_SUM = nbit['NBIT_SUM']
- NBIT_DATA_FL = nbit['NBIT_DATA_FL']
- NBIT_WEIGHT = nbit['NBIT_WEIGHT']
- NBIT_WEIGHT_FL = nbit['NBIT_WEIGHT_FL']
- NBIT_SPE = nbit['NBIT_SPE']
- NSTDM = ctrl['NSTDM']
- NSEL = ctrl['NSEL']
-
- # encode all parameters
- bb, bw = [], []
- for ll in range(nlayer_fit):
- bbt, bwt = [], []
- for tt in range(ntype_max):
- # get parameters: weight and bias
- if (tt < ntype):
- w, b = get_fitnet_weight(weight, tt, ll, nlayer_fit)
- else:
- w, b = get_fitnet_weight(weight, 0, ll, nlayer_fit)
- w = w * 0
- b = b * 0
- # restrict the shift value of energy
- if (ll == (nlayer_fit - 1)):
- b = b * 0
- bbi = self.wrap_bias(b, NBIT_SUM, NBIT_DATA_FL)
- bwi = self.wrap_weight(w, NBIT_WEIGHT, NBIT_WEIGHT_FL)
- bbt.append(bbi)
- bwt.append(bwi)
- bb.append(bbt)
- bw.append(bwt)
- #
- bfps, bbps = [], []
- for ss in range(NSEL):
- tt = ss // NSTDM
- sc = ss % NSTDM
- sr = ss % NSTDM
- bfp, bbp = '', ''
- for ll in range(nlayer_fit):
- nr = NNODE_FITS[ll]
- nc = NNODE_FITS[ll + 1]
- nrs = int(np.ceil(nr / NSTDM))
- ncs = int(np.ceil(nc / NSTDM))
- if (nc == 1):
- # final layer
- # fp #
- bi = [bw[ll][tt][sr * nrs + rr][cc] for rr in range(nrs) for cc in range(nc)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- #
- bi = [bb[ll][tt][sc * ncs * 0 + cc] for cc in range(ncs)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- # bp #
- bi = [bw[ll][tt][sr * nrs + rr][cc] for rr in range(nrs) for cc in range(nc)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- #
- bi = [bb[ll][tt][sc * ncs * 0 + cc] for cc in range(ncs)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- else:
- # fp #
- bi = [bw[ll][tt][rr][sc * ncs + cc] for cc in range(ncs) for rr in range(nr)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- #
- bi = [bb[ll][tt][sc * ncs + cc] for cc in range(ncs)]
- bi.reverse()
- bfp = ''.join(bi) + bfp
- # bp #
- bi = [bw[ll][tt][sr * nrs + rr][cc] for rr in range(nrs) for cc in range(nc)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- #
- bi = [bb[ll][tt][sc * ncs + cc] for cc in range(ncs)]
- bi.reverse()
- bbp = ''.join(bi) + bbp
- bfps.append(bfp)
- bbps.append(bbp)
- return bfps, bbps
-
- def wrap_bias(self, bias, NBIT_SUM, NBIT_DATA_FL):
- e = Encode()
- bias = e.qr(bias, NBIT_DATA_FL)
- Bs = e.dec2bin(bias, NBIT_SUM, True)
- return Bs
-
- def wrap_weight(self, weight, NBIT_WEIGHT, NBIT_WEIGHT_FL):
- sh = weight.shape
- nr, nc = sh[0], sh[1]
- e = Encode()
- weight = e.qr(weight, NBIT_WEIGHT_FL)
- Ws = e.dec2bin(weight, NBIT_WEIGHT, True)
- Ws = [[Ws[nc * rr + cc] for cc in range(nc)] for rr in range(nr)]
- return Ws
-
- def wrap_map(self):
- r"""Wrap the mapping table of embedding network
- """
- dscp = nvnmd_cfg.dscp
- maps = nvnmd_cfg.map
- nbit = nvnmd_cfg.nbit
-
- M1 = dscp['M1']
- ntype = dscp['ntype']
- NBIT_FEA = nbit['NBIT_FEA']
- NBIT_FEA_FL = nbit['NBIT_FEA_FL']
-
- keys = 's,sr,G'.split(',')
- keys2 = 'ds_dr2,dsr_dr2,dG_ds'.split(',')
-
- e = Encode()
-
- datas = {}
- datas2 = {}
- idxs = [[0, tt] for tt in range(ntype)]
- for ii in range(len(idxs)):
- tt, tt2 = idxs[ii]
- postfix = f'_t{tt}_t{tt2}'
- for key in (keys + keys2):
- if ii == 0:
- datas[key] = []
- datas2[key] = []
- datas[key].append(maps[key + postfix][0]) # v
- datas2[key].append(maps[key + postfix][1]) # dv
-
- for key in (keys + keys2):
- datas[key] = np.vstack(datas[key])
- datas[key] = e.qr(datas[key], NBIT_FEA_FL)
-
- datas2[key] = np.vstack(datas2[key])
- datas2[key] = e.qr(datas2[key], NBIT_FEA_FL)
- # fea
- dat = [datas[key] for key in keys] + [datas2[key] for key in keys]
- idx = np.int32(np.arange(0, int((M1 + 2) * 2)).reshape([2, -1]).transpose().reshape(-1))
- dat = np.hstack(dat)
- dat = dat[:, ::-1]
- dat = dat[:, idx] # data consists of value and delta_value
- bs = e.dec2bin(dat, NBIT_FEA, True, 'fea')
- bs = e.merge_bin(bs, (M1 + 2) * 2)
- bfea = bs
- # gra
- dat = [datas[key] for key in keys2] + [datas2[key] for key in keys2]
- dat = np.hstack(dat)
- dat = dat[:, ::-1]
- dat = dat[:, idx]
- bs = e.dec2bin(dat, NBIT_FEA, True, 'gra')
- bs = e.merge_bin(bs, (M1 + 2) * 2)
- bgra = bs
- return bfea, bgra
-
-
-def wrap(
- *,
- nvnmd_config: Optional[str] = 'nvnmd/config.npy',
- nvnmd_weight: Optional[str] = 'nvnmd/weight.npy',
- nvnmd_map: Optional[str] = 'nvnmd/map.npy',
- nvnmd_model: Optional[str] = 'nvnmd/model.pb',
- **kwargs
-):
- wrapObj = Wrap(nvnmd_config, nvnmd_weight, nvnmd_map, nvnmd_model)
- wrapObj.wrap()
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/fit/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/fit/__init__.py
deleted file mode 100644
index 1d60f25a54724611a63e0419e1fa6913e01c0745..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/fit/__init__.py
+++ /dev/null
@@ -1,9 +0,0 @@
-"""
-nvnmd.fit
-=========
-
-Provides
- 1. continuous fitting network
- 2. quantized fitting network
-
-"""
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/fit/ener.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/fit/ener.py
deleted file mode 100644
index b22a9da3f795cecd0e26176a7f54374afd2a886c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/fit/ener.py
+++ /dev/null
@@ -1,5 +0,0 @@
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.network import one_layer as one_layer_nvnmd
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/__init__.py
deleted file mode 100644
index 90077cba6af3150d3077782d0e7fa2172e1e4f48..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/__init__.py
+++ /dev/null
@@ -1,21 +0,0 @@
-
-from .argcheck import nvnmd_args
-from .config import nvnmd_cfg
-from .encode import Encode
-from .fio import FioBin, FioDic, FioTxt
-from .network import one_layer
-from .op import map_nvnmd
-from .weight import get_filter_weight, get_fitnet_weight
-
-__all__ = [
- "nvnmd_args",
- "nvnmd_cfg",
- "Encode",
- "FioBin",
- "FioDic",
- "FioTxt",
- "one_layer",
- "map_nvnmd",
- "get_filter_weight",
- "get_fitnet_weight",
-]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/argcheck.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/argcheck.py
deleted file mode 100644
index de33ede4b3f893f0ee5a75d878f2f2643fad3f35..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/argcheck.py
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
-from dargs import Argument
-
-
-def nvnmd_args():
- doc_net_size_file = "configuration the number of nodes of fitting_net, just can be set as 128"
- doc_map_file = "A file containing the mapping tables to replace the calculation of embedding nets"
- doc_config_file = "A file containing the parameters about how to implement the model in certain hardware"
- doc_weight_file = "a *.npy file containing the weights of the model"
- doc_enable = "enable the nvnmd training"
- doc_restore_descriptor = "enable to restore the parameter of embedding_net from weight.npy"
- doc_restore_fitting_net = "enable to restore the parameter of fitting_net from weight.npy"
- doc_quantize_descriptor = "enable the quantizatioin of descriptor"
- doc_quantize_fitting_net = "enable the quantizatioin of fitting_net"
- args = [
- Argument("net_size", int, optional=False, default=128, doc=doc_net_size_file),
- Argument("map_file", str, optional=False, default='none', doc=doc_map_file),
- Argument("config_file", str, optional=False, default='none', doc=doc_config_file),
- Argument("weight_file", str, optional=False, default='none', doc=doc_weight_file),
- Argument("enable", bool, optional=False, default=False, doc=doc_enable),
- Argument("restore_descriptor", bool, optional=False, default=False, doc=doc_restore_descriptor),
- Argument("restore_fitting_net", bool, optional=False, default=False, doc=doc_restore_fitting_net),
- Argument("quantize_descriptor", bool, optional=False, default=False, doc=doc_quantize_descriptor),
- Argument("quantize_fitting_net", bool, optional=False, default=False, doc=doc_quantize_fitting_net),
- ]
-
- doc_nvnmd = 'The nvnmd options.'
- return Argument("nvnmd", dict, args, [], optional=True, doc = doc_nvnmd)
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/config.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/config.py
deleted file mode 100644
index dc71c4f14365bc8d6dc4f065740ad8242f2f67b4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/config.py
+++ /dev/null
@@ -1,283 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.nvnmd.data.data import jdata_config, jdata_configs, jdata_deepmd_input
-from deepmd.nvnmd.data.data import NVNMD_WELCOME, NVNMD_CITATION
-from deepmd.nvnmd.utils.fio import FioDic
-
-log = logging.getLogger(__name__)
-
-
-class NvnmdConfig():
- r"""Configuration for NVNMD
- record the message of model such as size, using nvnmd or not
-
- Parameters
- ----------
- jdata
- a dictionary of input script
-
- References
- ----------
- DOI: 10.1038/s41524-022-00773-z
- """
-
- def __init__(
- self,
- jdata: dict
- ):
- self.map = {}
- self.config = jdata_config
- self.save_path = 'nvnmd/config.npy'
- self.weight = {}
- self.init_from_jdata(jdata)
-
- def init_from_jdata(self, jdata: dict = {}):
- r"""Initial this class with `jdata` loaded from input script
- """
- if jdata == {}:
- return None
-
- self.net_size = jdata['net_size']
- self.map_file = jdata['map_file']
- self.config_file = jdata['config_file']
- self.enable = jdata['enable']
- self.weight_file = jdata['weight_file']
- self.restore_descriptor = jdata['restore_descriptor']
- self.restore_fitting_net = jdata['restore_fitting_net']
- self.quantize_descriptor = jdata['quantize_descriptor']
- self.quantize_fitting_net = jdata['quantize_fitting_net']
-
- # load data
- if self.enable:
- self.map = FioDic().load(self.map_file, {})
- self.weight = FioDic().load(self.weight_file, {})
-
- jdata_config_ = jdata_config.copy()
- jdata_config_['fitn']['neuron'][0] = self.net_size
- load_config = FioDic().load(self.config_file, jdata_config_)
- self.init_from_config(load_config)
- # if load the file, set net_size
- self.init_net_size()
-
- def init_value(self):
- r"""Initial member with dict
- """
- self.dscp = self.config['dscp']
- self.fitn = self.config['fitn']
- self.size = self.config['size']
- self.ctrl = self.config['ctrl']
- self.nbit = self.config['nbit']
-
- def init_train_mode(self, mod='cnn'):
- r"""Configure for taining cnn or qnn
- """
- if mod == 'cnn':
- self.restore_descriptor = False
- self.restore_fitting_net = False
- self.quantize_descriptor = False
- self.quantize_fitting_net = False
- elif mod == 'qnn':
- self.restore_descriptor = True
- self.restore_fitting_net = True
- self.quantize_descriptor = True
- self.quantize_fitting_net = True
-
- def init_from_config(self, jdata):
- r"""Initial member element one by one
- """
- self.config = FioDic().update(jdata, self.config)
- self.config['dscp'] = self.init_dscp(self.config['dscp'], self.config)
- self.config['fitn'] = self.init_fitn(self.config['fitn'], self.config)
- self.config['size'] = self.init_size(self.config['size'], self.config)
- self.config['ctrl'] = self.init_ctrl(self.config['ctrl'], self.config)
- self.config['nbit'] = self.init_nbit(self.config['nbit'], self.config)
- self.init_value()
-
- def init_net_size(self):
- r"""Initial net_size
- """
- # self.net_size = self.fitn['neuron'][0]
- self.net_size = self.config['fitn']['neuron'][0]
- if self.enable:
- key = str(self.net_size)
- if key in jdata_configs.keys():
- # log.info(f"NVNMD: configure the net_size is {key}")
- self.init_from_config(jdata_configs[key])
- else:
- log.error("NVNMD: don't have the configure of net_size")
-
- def init_from_deepmd_input(self, jdata):
- r"""Initial members with input script of deepmd
- """
- self.config['dscp'] = FioDic().update(jdata['descriptor'], self.config['dscp'])
- self.config['fitn'] = FioDic().update(jdata['fitting_net'], self.config['fitn'])
- self.config['dscp'] = self.init_dscp(self.config['dscp'], self.config)
- self.config['fitn'] = self.init_fitn(self.config['fitn'], self.config)
- #
- self.init_net_size()
- self.init_value()
-
- def init_dscp(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about descriptor
- """
- jdata['M1'] = jdata['neuron'][-1]
- jdata['M2'] = jdata['axis_neuron']
- jdata['NNODE_FEAS'] = [1] + jdata['neuron']
- jdata['nlayer_fea'] = len(jdata['neuron'])
- jdata['same_net'] = int(1) if jdata['type_one_side'] else int(0)
- jdata['NIDP'] = int(np.sum(jdata['sel']))
- jdata['NIX'] = 2 ** int(np.ceil(np.log2(jdata['NIDP'] / 1.5)))
- jdata['SEL'] = (jdata['sel'] + [0, 0, 0, 0])[0:4]
- jdata['ntype'] = len(jdata['sel'])
- jdata['ntypex'] = 1 if(jdata['same_net']) else jdata['ntype']
-
- return jdata
-
- def init_fitn(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about fitting network
- """
- M1 = jdata_parent['dscp']['M1']
- M2 = jdata_parent['dscp']['M2']
-
- jdata['NNODE_FITS'] = [int(M1 * M2)] + jdata['neuron'] + [1]
- jdata['nlayer_fit'] = len(jdata['neuron']) + 1
- jdata['NLAYER'] = jdata['nlayer_fit']
-
- return jdata
-
- def init_size(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about ram capacity
- """
- jdata['Na'] = jdata['NSPU']
- jdata['NaX'] = jdata['MSPU']
- return jdata
-
- def init_ctrl(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about control signal
- """
- ntype_max = jdata_parent['dscp']['ntype_max']
- jdata['NSADV'] = jdata['NSTDM'] + 1
- jdata['NSEL'] = jdata['NSTDM'] * ntype_max
- if (32 % jdata['NSTDM_M1X'] > 0):
- log.warning("NVNMD: NSTDM_M1X must be divisor of 32 for the right runing in data_merge module")
- return jdata
-
- def init_nbit(self, jdata: dict, jdata_parent: dict = {}) -> dict:
- r"""Initial members about quantification precision
- """
- Na = jdata_parent['size']['Na']
- NaX = jdata_parent['size']['NaX']
- jdata['NBIT_CRD'] = jdata['NBIT_DATA'] * 3
- jdata['NBIT_LST'] = int(np.ceil(np.log2(NaX)))
- jdata['NBIT_ATOM'] = jdata['NBIT_SPE'] + jdata['NBIT_CRD']
- jdata['NBIT_LONG_ATOM'] = jdata['NBIT_SPE'] + jdata['NBIT_LONG_DATA'] * 3
- jdata['NBIT_RIJ'] = jdata['NBIT_DATA_FL'] + 5
- jdata['NBIT_SUM'] = jdata['NBIT_DATA_FL'] + 8
- jdata['NBIT_DATA2'] = jdata['NBIT_DATA'] + jdata['NBIT_DATA_FL']
- jdata['NBIT_DATA2_FL'] = 2 * jdata['NBIT_DATA_FL']
- jdata['NBIT_DATA_FEA'] = jdata['NBIT_DATA'] + jdata['NBIT_FEA_FL']
- jdata['NBIT_DATA_FEA_FL'] = jdata['NBIT_DATA_FL'] + jdata['NBIT_FEA_FL']
- jdata['NBIT_FORCE_FL'] = 2 * jdata['NBIT_DATA_FL'] - 1
- return jdata
-
- def save(self, file_name=None):
- r"""Save all configuration to file
- """
- if file_name is None:
- file_name = self.save_path
- else:
- self.save_path = file_name
- FioDic().save(file_name, self.config)
-
- def get_dscp_jdata(self):
- r"""Generate `model/descriptor` in input script
- """
- dscp = self.dscp
- jdata = jdata_deepmd_input['model']['descriptor']
- jdata['sel'] = dscp['sel']
- jdata['rcut'] = dscp['rcut']
- jdata['rcut_smth'] = dscp['rcut_smth']
- jdata['neuron'] = dscp['neuron']
- jdata['type_one_side'] = dscp['type_one_side']
- jdata['axis_neuron'] = dscp['axis_neuron']
- return jdata
-
- def get_fitn_jdata(self):
- r"""Generate `model/fitting_net` in input script
- """
- fitn = self.fitn
- jdata = jdata_deepmd_input['model']['fitting_net']
- jdata['neuron'] = fitn['neuron']
- return jdata
-
- def get_model_jdata(self):
- r"""Generate `model` in input script
- """
- jdata = jdata_deepmd_input['model']
- jdata['descriptor'] = self.get_dscp_jdata()
- jdata['fitting_net'] = self.get_fitn_jdata()
- return jdata
-
- def get_nvnmd_jdata(self):
- r"""Generate `nvnmd` in input script
- """
- jdata = jdata_deepmd_input['nvnmd']
- jdata['net_size'] = self.net_size
- jdata['config_file'] = self.config_file
- jdata['weight_file'] = self.weight_file
- jdata['map_file'] = self.map_file
- jdata['enable'] = self.enable
- jdata['restore_descriptor'] = self.restore_descriptor
- jdata['restore_fitting_net'] = self.restore_fitting_net
- jdata['quantize_descriptor'] = self.quantize_descriptor
- jdata['quantize_fitting_net'] = self.quantize_fitting_net
- return jdata
-
- def get_learning_rate_jdata(self):
- r"""Generate `learning_rate` in input script
- """
- return jdata_deepmd_input['learning_rate']
-
- def get_loss_jdata(self):
- r"""Generate `loss` in input script
- """
- return jdata_deepmd_input['loss']
-
- def get_training_jdata(self):
- r"""Generate `training` in input script
- """
- return jdata_deepmd_input['training']
-
- def get_deepmd_jdata(self):
- r"""Generate input script with member element one by one
- """
- jdata = jdata_deepmd_input.copy()
- jdata['model'] = self.get_model_jdata()
- jdata['nvnmd'] = self.get_nvnmd_jdata()
- jdata['learning_rate'] = self.get_learning_rate_jdata()
- jdata['loss'] = self.get_loss_jdata()
- jdata['training'] = self.get_training_jdata()
- return jdata
-
- def disp_message(self):
- r"""Display the log of NVNMD
- """
- NVNMD_CONFIG = (
- f"enable: {self.enable}",
- f"net_size: {self.net_size}",
- f"map_file: {self.map_file}",
- f"config_file: {self.config_file}",
- f"weight_file: {self.weight_file}",
- f"restore_descriptor: {self.restore_descriptor}",
- f"restore_fitting_net: {self.restore_fitting_net}",
- f"quantize_descriptor: {self.quantize_descriptor}",
- f"quantize_fitting_net: {self.quantize_fitting_net}",
- )
- for message in NVNMD_WELCOME + NVNMD_CITATION + NVNMD_CONFIG:
- log.info(message)
-
-
-# global configuration for nvnmd
-nvnmd_cfg = NvnmdConfig(jdata_deepmd_input['nvnmd'])
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/encode.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/encode.py
deleted file mode 100644
index 8ed7c2456a7f4b29a9e60b0498f2dcb6a6250d9b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/encode.py
+++ /dev/null
@@ -1,192 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.nvnmd.data.data import jdata_sys
-
-log = logging.getLogger(__name__)
-
-
-class Encode():
- r"""Encoding value as hex, bin, and dec format
- """
-
- def __init__(self):
- pass
-
- def qr(self, v, nbit: int = 14):
- r"""Quantize value using round
- """
- return np.round(v * (2**nbit))
-
- def qf(self, v, nbit: int = 14):
- r"""Quantize value using floor
- """
- return np.floor(v * (2**nbit))
-
- def qc(self, v, nbit: int = 14):
- r"""Quantize value using ceil
- """
- return np.ceil(v * (2**nbit))
-
- def check_dec(self, idec, nbit, signed=False, name=''):
- r"""Check whether the data (idec) is in the range
- range is :math:`[0, 2^nbit-1]` for unsigned
- range is :math:`[-2^{nbit-1}, 2^{nbit-1}-1]` for signed
- """
- prec = np.int64(2**nbit)
- if signed:
- pmax = prec // 2 - 1
- pmin = -pmax
- else:
- pmax = prec - 1
- pmin = 0
- I1 = idec < pmin
- I2 = idec > pmax
-
- if jdata_sys['debug']:
- if np.sum(I1) > 0:
- log.warning(f"NVNMD: there are data {name} smaller than the lower limit {pmin}")
- if np.sum(I2) > 0:
- log.warning(f"NVNMD: there are data {name} bigger than the upper limit {pmax}")
-
- def extend_list(self, slbin, nfull):
- r"""Extend the list (slbin) to the length (nfull)
- the attched element of list is 0
-
- such as, when
-
- | slbin = ['10010','10100'],
- | nfull = 4
-
- extent it to
-
- ['10010','10100','00000','00000]
- """
- nfull = int(nfull)
- n = len(slbin)
- dn = nfull - n
- ds = '0' * len(slbin[0])
- return slbin + [ds for ii in range(dn)]
-
- def extend_bin(self, slbin, nfull):
- r"""Extend the element of list (slbin) to the length (nfull)
-
- such as, when
-
- | slbin = ['10010','10100'],
- | nfull = 6
-
- extent to
-
- ['010010','010100']
- """
- nfull = int(nfull)
- n = len(slbin[0])
- dn = nfull - n
- ds = '0' * int(dn)
- return [ds + s for s in slbin]
-
- def extend_hex(self, slhex, nfull):
- r"""Extend the element of list (slhex) to the length (nfull)
- """
- nfull = int(nfull)
- n = len(slhex[0])
- dn = (nfull // 4) - n
- ds = '0' * int(dn)
- return [ds + s for s in slhex]
-
- def split_bin(self, sbin, nbit: int):
- r"""Split sbin into many segment with the length nbit
- """
- if isinstance(sbin, list):
- sl = []
- for s in sbin:
- sl.extend(self.split_bin(s, nbit))
- return sl
- else:
- n = len(sbin)
- nseg = int(np.ceil(n / nbit))
- s = '0' * int(nseg * nbit - n)
- sbin = s + sbin
-
- sl = [sbin[ii * nbit:(ii + 1) * nbit] for ii in range(nseg)]
- sl = sl[::-1]
- return sl
-
- def reverse_bin(self, slbin, nreverse):
- r"""Reverse binary string list per `nreverse` value
- """
- nreverse = int(nreverse)
- # consider that {len(slbin)} can not be divided by {nreverse} without remainder
- n = int(np.ceil(len(slbin) / nreverse))
- slbin = self.extend_list(slbin, n * nreverse)
- return [slbin[ii * nreverse + nreverse - 1 - jj] for ii in range(n) for jj in range(nreverse)]
-
- def merge_bin(self, slbin, nmerge):
- r"""Merge binary string list per `nmerge` value
- """
- nmerge = int(nmerge)
- # consider that {len(slbin)} can not be divided by {nmerge} without remainder
- n = int(np.ceil(len(slbin) / nmerge))
- slbin = self.extend_list(slbin, n * nmerge)
- return [''.join(slbin[nmerge * ii: nmerge * (ii + 1)]) for ii in range(n)]
-
- def dec2bin(self, idec, nbit=10, signed=False, name=''):
- r"""Convert dec array to binary string list
- """
- idec = np.int64(np.reshape(np.array(idec), [-1]))
- self.check_dec(idec, nbit, signed, name)
-
- prec = np.int64(2**nbit)
- if signed:
- pmax = prec // 2 - 1
- pmin = -pmax
- else:
- pmax = prec - 1
- pmin = 0
- idec = np.maximum(pmin, idec)
- idec = np.minimum(pmax, idec)
- idec = idec + 2 * prec
-
- sl = []
- n = len(idec)
- for ii in range(n):
- s = bin(idec[ii])
- s = s[-nbit:]
- sl.append(s)
- return sl
-
- def hex2bin_str(self, shex):
- r"""Convert hex string to binary string
- """
- n = len(shex)
- sl = []
- for ii in range(n):
- si = bin(int(shex[ii], 16) + 16)
- sl.append(si[-4:])
- return ''.join(sl)
-
- def hex2bin(self, data):
- r"""Convert hex string list to binary string list
- """
- data = np.reshape(np.array(data), [-1])
- return [self.hex2bin_str(d) for d in data]
-
- def bin2hex_str(self, sbin):
- r"""Convert binary string to hex string
- """
- n = len(sbin)
- nx = int(np.ceil(n / 4))
- sbin = ('0' * (nx * 4 - n)) + sbin
- sl = []
- for ii in range(nx):
- si = hex(int(sbin[4 * ii: 4 * (ii + 1)], 2) + 16)
- sl.append(si[-1])
- return ''.join(sl)
-
- def bin2hex(self, data):
- r"""Convert binary string list to hex string list
- """
- data = np.reshape(np.array(data), [-1])
- return [self.bin2hex_str(d) for d in data]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/fio.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/fio.py
deleted file mode 100644
index acf8b9da4967989276c5813587742427b188afe1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/fio.py
+++ /dev/null
@@ -1,212 +0,0 @@
-
-import os
-import numpy as np
-import json
-import struct
-
-import logging
-log = logging.getLogger(__name__)
-
-
-class Fio:
- r"""Basic class for FIO
- """
- def __init__(self):
- pass
-
- def exits(self, file_name=''):
- if file_name == '':
- return True
- return os.path.exists(file_name)
-
- def mkdir(self, path_name=''):
- if not self.exits(path_name):
- os.makedirs(path_name)
-
- def create_file_path(self, file_name=''):
- pars = file_name.split('/')
- if len(pars) > 0:
- path_name = '/'.join(pars[:-1])
- self.mkdir(path_name)
-
- def is_path(self, path):
- return self.exits(path) and os.path.isdir(path)
-
- def is_file(self, file_name):
- return self.exits(file_name) and os.path.isfile(file_name)
-
- def get_file_list(self, path) -> list:
- if self.is_file(path):
- return []
- if self.is_path:
- listdir = os.listdir(path)
- file_lst = []
- for name in listdir:
- if self.is_file(os.path.join(path, name)):
- file_lst.append(os.path.join(path, name))
- else:
- file_lst_ = self.get_file_list(os.path.join(path, name))
- file_lst.extend(file_lst_)
- return file_lst
- return []
-
-
-class FioDic:
- r"""Input and output for dict class data
- the file can be .json or .npy file containing a dictionary
- """
- def __init__(self) -> None:
- pass
-
- def load(self, file_name='', default_value={}):
- if file_name.endswith('.json'):
- return FioJsonDic().load(file_name, default_value)
- elif file_name.endswith('.npy'):
- return FioNpyDic().load(file_name, default_value)
- else:
- return FioNpyDic().load(file_name, default_value)
-
- def save(self, file_name='', dic={}):
- if file_name.endswith('.json'):
- FioJsonDic().save(file_name, dic)
- elif file_name.endswith('.npy'):
- FioNpyDic().save(file_name, dic)
- else:
- FioNpyDic().save(file_name, dic)
-
- def get(self, jdata, key, default_value):
- if key in jdata.keys():
- return jdata[key]
- else:
- return default_value
-
- def update(self, jdata, jdata_o):
- r"""Update key-value pair is key in jdata_o.keys()
-
- Parameter
- =========
- jdata
- new jdata
- jdata_o
- origin jdata
- """
- for key in jdata.keys():
- if key in jdata_o.keys():
- if isinstance(jdata_o[key], dict):
- jdata_o[key] = self.update(jdata[key], jdata_o[key])
- else:
- jdata_o[key] = jdata[key]
- return jdata_o
-
-
-class FioNpyDic:
- r"""Input and output for .npy file containing dictionary
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value={}):
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- dat = np.load(file_name, allow_pickle=True)[0]
- return dat
- else:
- log.warning(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name='', dic={}):
- Fio().create_file_path(file_name)
- np.save(file_name, [dic])
-
-
-class FioJsonDic:
- r"""Input and output for .json file containing dictionary
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value={}):
- r"""Load .json file into dict
- """
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- with open(file_name, 'r') as fr:
- jdata = fr.read()
- dat = json.loads(jdata)
- return dat
- else:
- log.warning(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name='', dic={}):
- r"""Save dict into .json file
- """
- log.info(f"write jdata to {file_name}")
- Fio().create_file_path(file_name)
- with open(file_name, 'w') as fw:
- json.dump(dic, fw, indent=4)
-
-
-class FioBin():
- r"""Input and output for binary file
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value=''):
- r"""Load binary file into bytes value
- """
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- dat = ""
- with open(file_name, 'rb') as fr:
- dat = fr.read()
- return dat
- else:
- log.warning(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name: str = '', data: str = ''):
- r"""Save hex string into binary file
- """
- log.info(f"write binary to {file_name}")
- Fio().create_file_path(file_name)
- with open(file_name, 'wb') as fp:
- for si in data:
- # one byte consists of two hex chars
- for ii in range(len(si) // 2):
- v = int(si[2 * ii: 2 * (ii + 1)], 16)
- v = struct.pack('B', v)
- fp.write(v)
-
-
-class FioTxt():
- r"""Input and output for .txt file with string
- """
- def __init__(self):
- pass
-
- def load(self, file_name='', default_value=[]):
- r"""Load .txt file into string list
- """
- if Fio().exits(file_name):
- log.info(f"load {file_name}")
- with open(file_name, 'r', encoding='utf-8') as fr:
- dat = fr.readlines()
- dat = [d.replace('\n', '') for d in dat]
- return dat
- else:
- log.info(f"can not find {file_name}")
- return default_value
-
- def save(self, file_name: str = '', data: list = []):
- r"""Save string list into .txt file
- """
- log.info(f"write string to txt file {file_name}")
- Fio().create_file_path(file_name)
-
- if isinstance(data, str):
- data = [data]
- data = [d + '\n' for d in data]
- with open(file_name, 'w') as fw:
- fw.writelines(data)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/network.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/network.py
deleted file mode 100644
index 160276510a63949201912cd1f9662ae81983df52..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/network.py
+++ /dev/null
@@ -1,196 +0,0 @@
-
-import numpy as np
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import op_module
-
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-from deepmd.nvnmd.utils.weight import get_constant_initializer
-from deepmd.utils.network import variable_summaries
-
-
-def get_sess():
- init_op = tf.global_variables_initializer()
- sess = tf.Session()
- sess.run(init_op)
- return sess
-
-
-def matmul2_qq(a, b, nbit):
- r"""Quantized matmul operation for 2d tensor.
- a and b is input tensor, nbit represent quantification precision
- """
- sh_a = a.get_shape().as_list()
- sh_b = b.get_shape().as_list()
- a = tf.reshape(a, [-1, 1, sh_a[1]])
- b = tf.reshape(tf.transpose(b), [1, sh_b[1], sh_b[0]])
- y = a * b
- y = qf(y, nbit)
- y = tf.reduce_sum(y, axis=2)
- return y
-
-
-def matmul3_qq(a, b, nbit):
- r"""Quantized matmul operation for 3d tensor.
- a and b is input tensor, nbit represent quantification precision
- """
- sh_a = a.get_shape().as_list()
- sh_b = b.get_shape().as_list()
- a = tf.reshape(a, [-1, sh_a[1], 1, sh_a[2]])
- b = tf.reshape(tf.transpose(b, [0, 2, 1]), [-1, 1, sh_b[2], sh_b[1]])
- y = a * b
- if nbit == -1:
- y = y
- else:
- y = qf(y, nbit)
- y = tf.reduce_sum(y, axis=3)
- return y
-
-
-def qf(x, nbit):
- r"""Quantize and floor tensor `x` with quantification precision `nbit`.
- """
- prec = 2**nbit
-
- y = tf.floor(x * prec) / prec
- y = x + tf.stop_gradient(y - x)
- return y
-
-
-def qr(x, nbit):
- r"""Quantize and round tensor `x` with quantification precision `nbit`.
- """
- prec = 2**nbit
-
- y = tf.round(x * prec) / prec
- y = x + tf.stop_gradient(y - x)
- return y
-
-
-# fitting_net
-def tanh2(x, nbit=-1, nbit2=-1):
- r"""User-defined activation function tanh2
-
- Parameter
- ---------
- x
- input tensor
- nbit
- quantification precision for forward calculation
- nbit2
- quantification precision for backward calculation
- """
- y = op_module.tanh2_nvnmd(x, 0, nbit, nbit2, -1)
- return y
-
-
-def tanh4(x, nbit=-1, nbit2=-1):
- r"""User-defined activation function tanh4
-
- Parameter
- ---------
- x
- input tensor
- nbit
- quantification precision for forward calculation
- nbit2
- quantification precision for backward calculation
- """
- y = op_module.tanh4_nvnmd(x, 0, nbit, nbit2, -1)
- return y
-
-
-def one_layer_wb(
- shape,
- outputs_size,
- bavg,
- stddev,
- precision,
- trainable,
- initial_variables,
- seed,
- uniform_seed,
- name
-):
- if nvnmd_cfg.restore_fitting_net:
- # initializer
- w_initializer = get_constant_initializer(nvnmd_cfg.weight, 'matrix')
- b_initializer = get_constant_initializer(nvnmd_cfg.weight, 'bias')
- else:
- w_initializer = tf.random_normal_initializer(
- stddev=stddev / np.sqrt(shape[1] + outputs_size),
- seed=seed if (seed is None or uniform_seed) else seed + 0)
- b_initializer = tf.random_normal_initializer(
- stddev=stddev,
- mean=bavg,
- seed=seed if (seed is None or uniform_seed) else seed + 1)
- if initial_variables is not None:
- w_initializer = tf.constant_initializer(initial_variables[name + '/matrix'])
- b_initializer = tf.constant_initializer(initial_variables[name + '/bias'])
- # variable
- w = tf.get_variable('matrix',
- [shape[1], outputs_size],
- precision,
- w_initializer,
- trainable=trainable)
- variable_summaries(w, 'matrix')
- b = tf.get_variable('bias',
- [outputs_size],
- precision,
- b_initializer,
- trainable=trainable)
- variable_summaries(b, 'bias')
-
- return w, b
-
-
-def one_layer(inputs,
- outputs_size,
- activation_fn=tf.nn.tanh,
- precision=GLOBAL_TF_FLOAT_PRECISION,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- reuse=None,
- seed=None,
- use_timestep=False,
- trainable=True,
- useBN=False,
- uniform_seed=False,
- initial_variables=None,
- mixed_prec=None,
- final_layer=False):
- r"""Build one layer with continuous or quantized value.
- Its weight and bias can be initialed with random or constant value.
- """
- if activation_fn is not None:
- activation_fn = tanh4
- with tf.variable_scope(name, reuse=reuse):
- shape = inputs.get_shape().as_list()
- w, b = one_layer_wb(shape, outputs_size, bavg, stddev, precision, trainable, initial_variables, seed, uniform_seed, name)
- if nvnmd_cfg.quantize_fitting_net:
- NBIT_DATA_FL = nvnmd_cfg.nbit['NBIT_DATA_FL']
- NBIT_WEIGHT_FL = nvnmd_cfg.nbit['NBIT_WEIGHT_FL']
- #
- inputs = qf(inputs, NBIT_DATA_FL)
- w = qr(w, NBIT_WEIGHT_FL)
- with tf.variable_scope('wx', reuse=reuse):
- wx = op_module.matmul_nvnmd(inputs, w, 0, NBIT_DATA_FL, NBIT_DATA_FL, -1)
- #
- b = qr(b, NBIT_DATA_FL)
- with tf.variable_scope('wxb', reuse=reuse):
- hidden = wx + b
- #
- with tf.variable_scope('actfun', reuse=reuse):
- if activation_fn is not None:
- y = activation_fn(hidden, NBIT_DATA_FL, NBIT_DATA_FL)
- else:
- y = hidden
- else:
- hidden = tf.matmul(inputs, w) + b
- y = activation_fn(hidden, -1, -1) if (activation_fn is not None) else hidden
- # 'reshape' is necessary
- # the next layer needs shape of input tensor to build weight
- y = tf.reshape(y, [-1, outputs_size])
- return y
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/op.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/op.py
deleted file mode 100644
index f714723efe3522f7dd714afce6d36b5ee6b8f0cb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/op.py
+++ /dev/null
@@ -1,11 +0,0 @@
-
-import numpy as np
-
-
-def map_nvnmd(x, map_y, map_dy, prec, nbit=None):
- r"""Mapping function implemented by numpy
- """
- xk = int(np.floor(x / prec))
- dx = x - xk * prec
- y = map_y[xk] + map_dy[xk] * dx
- return y
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/weight.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/weight.py
deleted file mode 100644
index 416cdb8cff3117dbc18ac802ee0518be570af1c9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/nvnmd/utils/weight.py
+++ /dev/null
@@ -1,95 +0,0 @@
-
-import numpy as np
-import logging
-
-from deepmd.env import tf
-
-log = logging.getLogger(__name__)
-
-
-def get_weight(weights, key):
- r"""Get weight value according to key
- """
- if key in weights.keys():
- return weights[key]
- else:
- log.warning(f"There is not {key} in weights.")
- return None
-
-
-def get_normalize(weights: dict):
- r"""Get normalize parameter (avg and std) of :math:`s_{ji}`
- """
- key = "descrpt_attr.t_avg"
- avg = get_weight(weights, key)
- key = "descrpt_attr.t_std"
- std = get_weight(weights, key)
- return avg, std
-
-
-def get_rng_s(weights: dict):
- r"""Guess the range of :math:`s_{ji}`
- """
- avg, std = get_normalize(weights)
- smin = np.min(-avg[:, 0] / std[:, 0])
- smax = np.max(2.0 / std[:, 0])
- return smin, smax
-
-
-def get_filter_weight(weights: dict, spe_i: int, spe_j: int, layer_l: int):
- r"""Get weight and bias of embedding network
-
- Parameters
- ----------
- spe_i(int)
- special order of central atom i
- 0~ntype-1
- spe_j(int)
- special order of neighbor atom j
- 0~ntype-1
- layer_l
- layer order in embedding network
- 1~nlayer
- """
- # key = f"filter_type_{spe_i}.matrix_{layer_l}_{spe_j}" # type_one_side = false
- key = f"filter_type_all.matrix_{layer_l}_{spe_j}" # type_one_side = true
- weight = get_weight(weights, key)
- # key = f"filter_type_{spe_i}.bias_{layer_l}_{spe_j}" # type_one_side = false
- key = f"filter_type_all.bias_{layer_l}_{spe_j}" # type_one_side = true
- bias = get_weight(weights, key)
- return weight, bias
-
-
-def get_fitnet_weight(weights: dict, spe_i: int, layer_l: int, nlayer: int = 10):
- r"""Get weight and bias of fitting network
-
- Parameters
- ----------
- spe_i(int)
- special order of central atom i
- 0~ntype-1
- layer_l(int)
- layer order in embedding network
- 0~nlayer-1
- """
- if layer_l == nlayer - 1:
- key = f"final_layer_type_{spe_i}.matrix"
- weight = get_weight(weights, key)
- key = f"final_layer_type_{spe_i}.bias"
- bias = get_weight(weights, key)
- else:
- key = f"layer_{layer_l}_type_{spe_i}.matrix"
- weight = get_weight(weights, key)
- key = f"layer_{layer_l}_type_{spe_i}.bias"
- bias = get_weight(weights, key)
-
- return weight, bias
-
-
-def get_constant_initializer(weights, name):
- r"""Get initial value by name and create a initializer
- """
- scope = tf.get_variable_scope().name
- name = scope + '.' + name
- value = get_weight(weights, name)
- return tf.constant_initializer(value)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/__init__.py
deleted file mode 100644
index 7d1985ab39c18878f943bfd955b1f07eb5ddc980..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/__init__.py
+++ /dev/null
@@ -1,28 +0,0 @@
-"""This module will house cust Tf OPs after CMake installation."""
-
-from pathlib import Path
-import importlib
-import logging
-
-NOT_LOADABLE = ("__init__.py",)
-PACKAGE_BASE = "deepmd.op"
-
-log = logging.getLogger(__name__)
-
-
-def import_ops():
- """Import all custom TF ops that are present in this submodule.
-
- Notes
- -----
- Initialy this subdir is unpopulated. CMake will install all the op module python
- files and shared libs.
- """
- for module_file in Path(__file__).parent.glob("*.py"):
- if module_file.name not in NOT_LOADABLE:
- module_name = f".{module_file.stem}"
- log.debug(f"importing op module: {module_name}")
- importlib.import_module(module_name, PACKAGE_BASE)
-
-
-import_ops()
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_gelu.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_gelu.py
deleted file mode 100644
index 5f34677119c775a5bee3bed3a8f38dba57787cf7..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_gelu.py
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/usr/bin/env python3
-"""
-First-order derivatives and second-order derivatives for gelu function.
-"""
-import tensorflow
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-
-try:
- gelu = tensorflow.nn.gelu
-except AttributeError:
- @ops.RegisterGradient("Gelu")
- def _gelu_cc (op, dy) :
- return op_module.gelu_grad_custom(dy, op.inputs[0])
-
- @ops.RegisterGradient("GeluGrad")
- def _gelu_grad_cc (op, dy) :
- return [op_module.gelu_grad_custom(dy, op.inputs[1]), op_module.gelu_grad_grad_custom(dy, op.inputs[0], op.inputs[1])]
-
-
-@ops.RegisterGradient("GeluCustom")
-def _gelu_custom_cc (op, dy):
- return op_module.gelu_grad_custom(dy, op.inputs[0])
-
-@ops.RegisterGradient("GeluGradCustom")
-def _gelu_grad_custom_cc (op, dy) :
- return [op_module.gelu_grad_custom(dy, op.inputs[1]), op_module.gelu_grad_grad_custom(dy, op.inputs[0], op.inputs[1])]
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_map_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_map_nvnmd_grad.py
deleted file mode 100644
index d885ba5c52c9736f928efa9769c24a1e302fe60f..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_map_nvnmd_grad.py
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("MapNvnmd")
-def _MapNvnmdGrad(op, grad):
- x = op.inputs[0]
- v = op.inputs[1]
- dv = op.inputs[2]
- grad_v = op.inputs[3]
- grad_dv = op.inputs[4]
- prec = op.get_attr("prec")
- nbit = op.get_attr("nbit")
- y = op.outputs[0]
- dydx = op_module.map_nvnmd(x, grad_v, grad_dv, tf.zeros_like(v), tf.zeros_like(dv), prec, nbit)
- dydx = op_module.quantize_nvnmd(dydx, 0, nbit, -1, -1)
- dx = tf.reshape(tf.reduce_sum(dydx * grad, axis=1), [-1, 1])
-
- d_v = None
- d_dv = None
- d_grad_v = None
- d_grad_dv = None
- return [dx, d_v, d_dv, d_grad_v, d_grad_dv]
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_matmul_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_matmul_nvnmd_grad.py
deleted file mode 100644
index 05cc8564cce35dba5f1ece4bd35d204933a63f51..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_matmul_nvnmd_grad.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("MatmulNvnmd")
-def _MatmulNvnmdGrad(op, grad):
- x = op.inputs[0]
- w = op.inputs[1]
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- dx = op_module.matmul_nvnmd(grad, tf.transpose(w), isround, nbit2, nbit3, nbit1)
- dw = op_module.matmul_nvnmd(tf.transpose(x), grad, isround, nbit2, nbit3, nbit1)
- return [dx, dw]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_grad.py
deleted file mode 100644
index 4de313f0e3e9663b26d91f71ffd1f6ed50389a4a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_grad.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod force.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdForce")
-def _prod_force_grad_cc (op, grad):
- net_grad = op_grads_module.prod_force_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_se_a_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_se_a_grad.py
deleted file mode 100644
index 594a7101b3d7c1b6c9e3054134f6db537cdebc17..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_se_a_grad.py
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod force.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdForceSeA")
-def _prod_force_se_a_grad_cc (op, grad):
- net_grad = op_grads_module.prod_force_se_a_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_se_r_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_se_r_grad.py
deleted file mode 100644
index aac2baee6a8709b548f379eb58f69e816cfb0c14..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_force_se_r_grad.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod force.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdForceSeR")
-def _prod_force_se_a_grad_cc (op, grad):
- net_grad = op_grads_module.prod_force_se_r_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3])
- return [net_grad, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_grad.py
deleted file mode 100644
index 75c952f20352624dfcd1c1bf6597f3573f2a94c1..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_grad.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdVirial")
-def _prod_virial_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.prod_virial_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- op.inputs[5],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_se_a_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_se_a_grad.py
deleted file mode 100644
index 200651006d8cba109d3377b5caaf84a17c778d3d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_se_a_grad.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdVirialSeA")
-def _prod_virial_se_a_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.prod_virial_se_a_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_se_r_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_se_r_grad.py
deleted file mode 100644
index d820e7cce0714bd46a3adb8b6628969ec12c3938..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_prod_virial_se_r_grad.py
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for prod virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-@ops.RegisterGradient("ProdVirialSeR")
-def _prod_virial_se_a_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.prod_virial_se_r_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4])
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_quantize_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_quantize_nvnmd_grad.py
deleted file mode 100644
index c98eff5407cb2006a1970b94c07e69dddfd84886..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_quantize_nvnmd_grad.py
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("QuantizeNvnmd")
-def _QuantizeNvnmdGrad(op, grad):
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- dx = op_module.quantize_nvnmd(grad, isround, nbit2, nbit3, nbit1)
- return dx
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_soft_min_force_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_soft_min_force_grad.py
deleted file mode 100644
index 21380c253b1d9541f7a3a43039541f9f5bf265c0..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_soft_min_force_grad.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for soft min force
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-
-@ops.RegisterGradient("SoftMinForce")
-def _soft_min_force_grad_cc (op, grad):
- net_grad = op_grads_module.soft_min_force_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_soft_min_virial_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_soft_min_virial_grad.py
deleted file mode 100644
index 6b1cf44ab87d1501c6bfca7f4091726485ca387d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_soft_min_virial_grad.py
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for soft min virial.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_grads_module
-
-
-@ops.RegisterGradient("SoftMinVirial")
-def _soft_min_virial_grad_cc (op, grad, grad_atom):
- net_grad = op_grads_module.soft_min_virial_grad (grad,
- op.inputs[0],
- op.inputs[1],
- op.inputs[2],
- op.inputs[3],
- op.inputs[4],
- n_a_sel = op.get_attr("n_a_sel"),
- n_r_sel = op.get_attr("n_r_sel"))
- return [net_grad, None, None, None, None]
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tabulate_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tabulate_grad.py
deleted file mode 100644
index 2be200910c4feb6cd95aac2237866d90d457d926..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tabulate_grad.py
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/usr/bin/env python3
-"""
-Gradients for tabulate.
-"""
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-# from deepmd.DescrptSeATabulate import last_layer_size
-
-@ops.RegisterGradient("TabulateFusion")
-@ops.RegisterGradient("TabulateFusionSeA")
-def _tabulate_fusion_se_a_grad_cc (op, dy):
- dy_dx, dy_df = op_module.tabulate_fusion_se_a_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, op.outputs[0])
- return [None, None, dy_dx, dy_df]
-
-@ops.RegisterGradient("TabulateFusionGrad")
-@ops.RegisterGradient("TabulateFusionSeAGrad")
-def _tabulate_fusion_se_a_grad_grad_cc (op, dy, dy_):
- dz_dy = op_module.tabulate_fusion_se_a_grad_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, dy_, op.inputs[5])
- return [None, None, None, None, dz_dy, None]
-
-@ops.RegisterGradient("TabulateFusionSeT")
-def _tabulate_fusion_se_t_grad_cc (op, dy):
- dy_dx, dy_df = op_module.tabulate_fusion_se_t_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, op.outputs[0])
- return [None, None, dy_dx, dy_df]
-
-@ops.RegisterGradient("TabulateFusionSeTGrad")
-def _tabulate_fusion_se_t_grad_grad_cc (op, dy, dy_):
- dz_dy = op_module.tabulate_fusion_se_t_grad_grad(op.inputs[0], op.inputs[1], op.inputs[2], op.inputs[3], dy, dy_, op.inputs[5])
- return [None, None, None, None, dz_dy, None]
-
-@ops.RegisterGradient("TabulateFusionSeR")
-def _tabulate_fusion_se_r_grad_cc (op, dy):
- dy_df = op_module.tabulate_fusion_se_r_grad(op.inputs[0], op.inputs[1], op.inputs[2], dy, op.outputs[0])
- return [None, None, dy_df]
-
-@ops.RegisterGradient("TabulateFusionSeRGrad")
-def _tabulate_fusion_se_r_grad_grad_cc (op, dy):
- dz_dy = op_module.tabulate_fusion_se_r_grad_grad(op.inputs[0], op.inputs[1], op.inputs[2], dy, op.inputs[4])
- return [None, None, None, dz_dy, None]
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tanh2_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tanh2_nvnmd_grad.py
deleted file mode 100644
index 8fe809593cda8681907a1a8441cad43a5ae3766b..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tanh2_nvnmd_grad.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("Tanh2Nvnmd")
-def _Tanh2NvnmdGrad(op, grad):
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- prec = 2 ** nbit2
- x = op.inputs[0]
- x_abs = tf.abs(x)
- x1 = tf.clip_by_value(x_abs, 0, 2)
- x2 = tf.clip_by_value(x_abs, 0, 4)
- dydx = (132-64*x1-x2) * 0.0078125
- if (nbit2 > -1):
- dydx = dydx + tf.stop_gradient( tf.floor(dydx * prec) / prec - dydx )
- dx = dydx * grad
- if (nbit2 > -1):
- dx = dx + tf.stop_gradient( tf.floor(dx * prec) / prec - dx )
- return dx
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tanh4_nvnmd_grad.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tanh4_nvnmd_grad.py
deleted file mode 100644
index 47db90f1c78722302196c5be6c9c2dfb6dbc048d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/_tanh4_nvnmd_grad.py
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env python3
-
-from tensorflow.python.framework import ops
-from deepmd.env import op_module
-from deepmd.env import tf
-
-@ops.RegisterGradient("Tanh4Nvnmd")
-def _Tanh4NvnmdGrad(op, grad):
- isround = op.get_attr("isround")
- nbit1 = op.get_attr("nbit1")
- nbit2 = op.get_attr("nbit2")
- nbit3 = op.get_attr("nbit3")
- prec = 2 ** nbit2
- x = op.inputs[0]
- xc = tf.clip_by_value(x, -2, 2)
- xa = tf.abs(xc)
- xx = xa * xa
- if (nbit2 > -1):
- xx = xx + tf.stop_gradient(tf.floor(xx * prec) / prec - xx)
- #
- dydx = xx * (xa/4 - 3/4) + 1
- if (nbit2 > -1):
- dydx = dydx + tf.stop_gradient( tf.floor(dydx * prec) / prec - dydx)
- #
- dx = dydx * grad
- if (nbit2 > -1):
- dx = dx + tf.stop_gradient( tf.floor(dx * prec) / prec - dx )
- return dx
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libdeepmd.so b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libdeepmd.so
deleted file mode 100644
index ba4004eabdb9fb6f7464f1d94851012bed8a8902..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libdeepmd.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libop_abi.so b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libop_abi.so
deleted file mode 100644
index 393f66d823a0f45a992f0c99390bfb57f55d4e5c..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libop_abi.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libop_grads.so b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libop_grads.so
deleted file mode 100644
index 8ff84c1cbb80f473c5dcd39f89faab5a3fed0e9b..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/op/libop_grads.so and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/pkg_config/run_config.ini b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/pkg_config/run_config.ini
deleted file mode 100644
index 0a7a1cd6b3440a0864c2d2535a2089e95b0bdb8e..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/pkg_config/run_config.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[CONFIG]
-INSTALL_PREFIX = /root/deepmd-kit/_skbuild/linux-x86_64-3.6/cmake-install
-GIT_SUMM = v2.1.5-dirty
-GIT_HASH = 6e3d4a62
-GIT_DATE = 2022-09-23 16:10:28 +0800
-GIT_BRANCH = HEAD
-TF_INCLUDE_DIR = /usr/local/lib/python3.6/dist-packages/tensorflow/include;/usr/local/lib/python3.6/dist-packages/tensorflow/include
-TF_LIBS =
-TF_VERSION = 2.4.0
-TF_CXX11_ABI_FLAG = 0
-MODEL_VERSION=1.1
-DP_VARIANT=cpu
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/__init__.py
deleted file mode 100644
index d3f5a12faa99758192ecc4ed3fc22c9249232e86..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/__init__.py
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/run_options.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/run_options.py
deleted file mode 100644
index ce5815e1fe1419e98e196e41eae6f1861f91dcbb..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/run_options.py
+++ /dev/null
@@ -1,233 +0,0 @@
-"""Module taking care of important package constants."""
-
-import logging
-import os
-from pathlib import Path
-from typing import TYPE_CHECKING, Dict, List, Optional, Tuple
-
-import numpy as np
-from deepmd.cluster import get_resource
-from deepmd.env import get_tf_default_nthreads, tf, GLOBAL_CONFIG, global_float_prec
-from deepmd.loggers import set_log_handles
-
-if TYPE_CHECKING:
- import horovod.tensorflow as HVD
-
-
-__all__ = [
- "WELCOME",
- "CITATION",
- "BUILD",
- "RunOptions",
-]
-
-log = logging.getLogger(__name__)
-
-
-# http://patorjk.com/software/taag. Font:Big"
-WELCOME = ( # noqa
- " _____ _____ __ __ _____ _ _ _ ",
- "| __ \ | __ \ | \/ || __ \ | | (_)| | ",
- "| | | | ___ ___ | |__) || \ / || | | | ______ | | __ _ | |_ ",
- "| | | | / _ \ / _ \| ___/ | |\/| || | | ||______|| |/ /| || __|",
- "| |__| || __/| __/| | | | | || |__| | | < | || |_ ",
- "|_____/ \___| \___||_| |_| |_||_____/ |_|\_\|_| \__|",
-)
-
-CITATION = (
- "Please read and cite:",
- "Wang, Zhang, Han and E, Comput.Phys.Comm. 228, 178-184 (2018)",
-)
-
-_sep = "\n "
-BUILD = (
- f"installed to: {GLOBAL_CONFIG['install_prefix']}",
- f"source : {GLOBAL_CONFIG['git_summ']}",
- f"source brach: {GLOBAL_CONFIG['git_branch']}",
- f"source commit: {GLOBAL_CONFIG['git_hash']}",
- f"source commit at: {GLOBAL_CONFIG['git_date']}",
- f"build float prec: {global_float_prec}",
- f"build variant: {GLOBAL_CONFIG['dp_variant']}",
- f"build with tf inc: {GLOBAL_CONFIG['tf_include_dir']}",
- f"build with tf lib: {GLOBAL_CONFIG['tf_libs'].replace(';', _sep)}" # noqa
-)
-
-
-class RunOptions:
- """Class with inf oon how to run training (cluster, MPI and GPU config).
-
- Attributes
- ----------
- gpus: Optional[List[int]]
- list of GPUs if any are present else None
- is_chief: bool
- in distribured training it is true for tha main MPI process in serail it is
- always true
- world_size: int
- total worker count
- my_rank: int
- index of the MPI task
- nodename: str
- name of the node
- node_list_ : List[str]
- the list of nodes of the current mpirun
- my_device: str
- deviice type - gpu or cpu
- """
-
- gpus: Optional[List[int]]
- world_size: int
- my_rank: int
- nodename: str
- nodelist: List[int]
- my_device: str
-
- _HVD: Optional["HVD"]
- _log_handles_already_set: bool = False
-
- def __init__(
- self,
- init_model: Optional[str] = None,
- init_frz_model: Optional[str] = None,
- restart: Optional[str] = None,
- log_path: Optional[str] = None,
- log_level: int = 0,
- mpi_log: str = "master"
- ):
- self._try_init_distrib()
-
- if all((init_model, restart)):
- raise RuntimeError(
- "--init-model and --restart should not be set at the same time"
- )
-
- # model init options
- self.restart = restart
- self.init_model = init_model
- self.init_mode = "init_from_scratch"
-
- if restart is not None:
- self.restart = os.path.abspath(restart)
- self.init_mode = "restart"
- elif init_model is not None:
- self.init_model = os.path.abspath(init_model)
- self.init_mode = "init_from_model"
- elif init_frz_model is not None:
- self.init_frz_model = os.path.abspath(init_frz_model)
- self.init_mode = "init_from_frz_model"
-
- self._setup_logger(Path(log_path) if log_path else None, log_level, mpi_log)
-
- @property
- def is_chief(self):
- """Whether my rank is 0."""
- return self.my_rank == 0
-
- def print_resource_summary(self):
- """Print build and current running cluster configuration summary."""
- log.info("---Summary of the training---------------------------------------")
- if self.is_distrib:
- log.info("distributed")
- log.info(f"world size: {self.world_size}")
- log.info(f"my rank: {self.my_rank}")
- log.info(f"node list: {self.nodelist}")
- log.info(f"running on: {self.nodename}")
- log.info(f"computing device: {self.my_device}")
- env_value = os.environ.get('CUDA_VISIBLE_DEVICES', 'unset')
- log.info(f"CUDA_VISIBLE_DEVICES: {env_value}")
- log.info(f"Count of visible GPU: {len(self.gpus or [])}")
- intra, inter = get_tf_default_nthreads()
- log.info(f"num_intra_threads: {intra:d}")
- log.info(f"num_inter_threads: {inter:d}")
- log.info("-----------------------------------------------------------------")
-
- def _setup_logger(
- self,
- log_path: Optional[Path],
- log_level: int,
- mpi_log: Optional[str],
- ):
- """Set up package loggers.
-
- Parameters
- ----------
- log_level: int
- logging level
- log_path: Optional[str]
- path to log file, if None logs will be send only to console. If the parent
- directory does not exist it will be automatically created, by default None
- mpi_log : Optional[str], optional
- mpi log type. Has three options. `master` will output logs to file and
- console only from rank==0. `collect` will write messages from all ranks to
- one file opened under rank==0 and to console. `workers` will open one log
- file for each worker designated by its rank, console behaviour is the same
- as for `collect`.
- """
- if not self._log_handles_already_set:
- if not self._HVD:
- mpi_log = None
- set_log_handles(log_level, log_path, mpi_log=mpi_log)
- self._log_handles_already_set = True
- log.debug("Log handles were successfully set")
- else:
- log.warning(
- f"Log handles have already been set. It is not advisable to "
- f"reset them{', especially when runnig with MPI!' if self._HVD else ''}"
- )
-
- def _try_init_distrib(self):
- try:
- import horovod.tensorflow as HVD
- HVD.init()
- self.is_distrib = HVD.size() > 1
- except ImportError:
- log.warning("Switch to serial execution due to lack of horovod module.")
- self.is_distrib = False
-
- # Do real intialization
- if self.is_distrib:
- self._init_distributed(HVD)
- self._HVD = HVD
- else:
- self._init_serial()
- self._HVD = None
-
- def _init_distributed(self, HVD: "HVD"):
- """Initialize settings for distributed training.
-
- Parameters
- ----------
- HVD : HVD
- horovod object
- """
- nodename, nodelist, gpus = get_resource()
- self.nodename = nodename
- self.nodelist = nodelist
- self.gpus = gpus
- self.my_rank = HVD.rank()
- self.world_size = HVD.size()
-
- if gpus is not None:
- gpu_idx = HVD.local_rank()
- if gpu_idx >= len(gpus):
- raise RuntimeError('Count of local processes is larger than that of available GPUs!')
- self.my_device = f"gpu:{gpu_idx:d}"
- else:
- self.my_device = "cpu:0"
-
- def _init_serial(self):
- """Initialize setting for serial training."""
- nodename, _, gpus = get_resource()
-
- self.gpus = gpus
- self.world_size = 1
- self.my_rank = 0
- self.nodename = nodename
- self.nodelist = [nodename]
-
- if gpus is not None:
- self.my_device = "gpu:0"
- else:
- self.my_device = "cpu:0"
-
- self._HVD = None
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/trainer.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/trainer.py
deleted file mode 100644
index e2f1e3925fb3d9e947a1b71ac138ab97555f00c2..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/train/trainer.py
+++ /dev/null
@@ -1,744 +0,0 @@
-#!/usr/bin/env python3
-from deepmd.descriptor.descriptor import Descriptor
-import logging
-import os
-import glob
-import platform
-import time
-import shutil
-import google.protobuf.message
-import numpy as np
-from packaging.version import Version
-
-from deepmd.env import tf, tfv2
-from deepmd.env import get_tf_session_config
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.fit import EnerFitting, WFCFitting, PolarFittingLocFrame, PolarFittingSeA, GlobalPolarFittingSeA, DipoleFittingSeA
-from deepmd.descriptor import Descriptor
-from deepmd.model import EnerModel, WFCModel, DipoleModel, PolarModel, GlobalPolarModel
-from deepmd.loss import EnerStdLoss, EnerDipoleLoss, TensorLoss
-from deepmd.utils.errors import GraphTooLargeError
-from deepmd.utils.learning_rate import LearningRateExp
-from deepmd.utils.neighbor_stat import NeighborStat
-from deepmd.utils.sess import run_sess
-from deepmd.utils.type_embed import TypeEmbedNet
-from deepmd.utils.graph import load_graph_def, get_tensor_by_name_from_graph
-from deepmd.utils.argcheck import type_embedding_args
-
-from tensorflow.python.client import timeline
-from deepmd.env import op_module, TF_VERSION
-from deepmd.utils.errors import GraphWithoutTensorError
-
-# load grad of force module
-import deepmd.op
-
-from deepmd.common import j_must_have, ClassArg, data_requirement, get_precision
-
-log = logging.getLogger(__name__)
-
-# nvnmd
-from deepmd.nvnmd.utils.config import nvnmd_cfg
-
-def _is_subdir(path, directory):
- path = os.path.realpath(path)
- directory = os.path.realpath(directory)
- if path == directory:
- return False
- relative = os.path.relpath(path, directory) + os.sep
- return not relative.startswith(os.pardir + os.sep)
-
-
-class DPTrainer (object):
- def __init__(self,
- jdata,
- run_opt,
- is_compress = False):
- self.run_opt = run_opt
- self._init_param(jdata)
- self.is_compress = is_compress
-
- def _init_param(self, jdata):
- # model config
- model_param = j_must_have(jdata, 'model')
- descrpt_param = j_must_have(model_param, 'descriptor')
- fitting_param = j_must_have(model_param, 'fitting_net')
- typeebd_param = model_param.get('type_embedding', None)
- self.model_param = model_param
- self.descrpt_param = descrpt_param
-
- # nvnmd
- self.nvnmd_param = jdata.get('nvnmd', {})
- nvnmd_cfg.init_from_jdata(self.nvnmd_param)
- if nvnmd_cfg.enable:
- nvnmd_cfg.init_from_deepmd_input(model_param)
- nvnmd_cfg.disp_message()
- nvnmd_cfg.save()
-
- # descriptor
- try:
- descrpt_type = descrpt_param['type']
- self.descrpt_type = descrpt_type
- except KeyError:
- raise KeyError('the type of descriptor should be set by `type`')
-
- if descrpt_param['type'] in ['se_atten']:
- descrpt_param['ntypes'] = len(model_param['type_map'])
- self.descrpt = Descriptor(**descrpt_param)
-
- # fitting net
- fitting_type = fitting_param.get('type', 'ener')
- self.fitting_type = fitting_type
- fitting_param.pop('type', None)
- fitting_param['descrpt'] = self.descrpt
- if fitting_type == 'ener':
- self.fitting = EnerFitting(**fitting_param)
- # elif fitting_type == 'wfc':
- # self.fitting = WFCFitting(fitting_param, self.descrpt)
- elif fitting_type == 'dipole':
- if descrpt_type == 'se_e2_a':
- self.fitting = DipoleFittingSeA(**fitting_param)
- else :
- raise RuntimeError('fitting dipole only supports descrptors: se_e2_a')
- elif fitting_type == 'polar':
- # if descrpt_type == 'loc_frame':
- # self.fitting = PolarFittingLocFrame(fitting_param, self.descrpt)
- if descrpt_type == 'se_e2_a':
- self.fitting = PolarFittingSeA(**fitting_param)
- else :
- raise RuntimeError('fitting polar only supports descrptors: loc_frame and se_e2_a')
- elif fitting_type == 'global_polar':
- if descrpt_type == 'se_e2_a':
- self.fitting = GlobalPolarFittingSeA(**fitting_param)
- else :
- raise RuntimeError('fitting global_polar only supports descrptors: loc_frame and se_e2_a')
- else :
- raise RuntimeError('unknow fitting type ' + fitting_type)
-
- # type embedding
- padding = False
- if descrpt_type == 'se_atten':
- padding = True
- if typeebd_param is not None:
- self.typeebd = TypeEmbedNet(
- neuron=typeebd_param['neuron'],
- resnet_dt=typeebd_param['resnet_dt'],
- activation_function=typeebd_param['activation_function'],
- precision=typeebd_param['precision'],
- trainable=typeebd_param['trainable'],
- seed=typeebd_param['seed'],
- padding=padding
- )
- elif descrpt_type == 'se_atten':
- default_args = type_embedding_args()
- default_args_dict = {i.name: i.default for i in default_args}
- self.typeebd = TypeEmbedNet(
- neuron=default_args_dict['neuron'],
- resnet_dt=default_args_dict['resnet_dt'],
- activation_function=None,
- precision=default_args_dict['precision'],
- trainable=default_args_dict['trainable'],
- seed=default_args_dict['seed'],
- padding=padding
- )
- else:
- self.typeebd = None
-
- # init model
- # infer model type by fitting_type
- if fitting_type == 'ener':
- self.model = EnerModel(
- self.descrpt,
- self.fitting,
- self.typeebd,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2),
- model_param.get('use_srtab'),
- model_param.get('smin_alpha'),
- model_param.get('sw_rmin'),
- model_param.get('sw_rmax')
- )
- # elif fitting_type == 'wfc':
- # self.model = WFCModel(model_param, self.descrpt, self.fitting)
- elif fitting_type == 'dipole':
- self.model = DipoleModel(
- self.descrpt,
- self.fitting,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2)
- )
- elif fitting_type == 'polar':
- self.model = PolarModel(
- self.descrpt,
- self.fitting,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2)
- )
- elif fitting_type == 'global_polar':
- self.model = GlobalPolarModel(
- self.descrpt,
- self.fitting,
- model_param.get('type_map'),
- model_param.get('data_stat_nbatch', 10),
- model_param.get('data_stat_protect', 1e-2)
- )
- else :
- raise RuntimeError('get unknown fitting type when building model')
-
- # learning rate
- lr_param = j_must_have(jdata, 'learning_rate')
- scale_by_worker = lr_param.get('scale_by_worker', 'linear')
- if scale_by_worker == 'linear':
- self.scale_lr_coef = float(self.run_opt.world_size)
- elif scale_by_worker == 'sqrt':
- self.scale_lr_coef = np.sqrt(self.run_opt.world_size).real
- else:
- self.scale_lr_coef = 1.
- lr_type = lr_param.get('type', 'exp')
- if lr_type == 'exp':
- self.lr = LearningRateExp(lr_param['start_lr'],
- lr_param['stop_lr'],
- lr_param['decay_steps'])
- else :
- raise RuntimeError('unknown learning_rate type ' + lr_type)
-
- # loss
- # infer loss type by fitting_type
- loss_param = jdata.get('loss', None)
- loss_type = loss_param.get('type', 'ener')
-
- if fitting_type == 'ener':
- loss_param.pop('type', None)
- loss_param['starter_learning_rate'] = self.lr.start_lr()
- if loss_type == 'ener':
- self.loss = EnerStdLoss(**loss_param)
- elif loss_type == 'ener_dipole':
- self.loss = EnerDipoleLoss(**loss_param)
- else:
- raise RuntimeError('unknow loss type')
- elif fitting_type == 'wfc':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'wfc',
- tensor_size = self.model.get_out_size(),
- label_name = 'wfc')
- elif fitting_type == 'dipole':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'dipole',
- tensor_size = 3,
- label_name = 'dipole')
- elif fitting_type == 'polar':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'polar',
- tensor_size = 9,
- label_name = 'polarizability')
- elif fitting_type == 'global_polar':
- self.loss = TensorLoss(loss_param,
- model = self.model,
- tensor_name = 'global_polar',
- tensor_size = 9,
- atomic = False,
- label_name = 'polarizability')
- else :
- raise RuntimeError('get unknown fitting type when building loss function')
-
- # training
- tr_data = jdata['training']
- self.disp_file = tr_data.get('disp_file', 'lcurve.out')
- self.disp_freq = tr_data.get('disp_freq', 1000)
- self.save_freq = tr_data.get('save_freq', 1000)
- self.save_ckpt = tr_data.get('save_ckpt', 'model.ckpt')
- self.display_in_training = tr_data.get('disp_training', True)
- self.timing_in_training = tr_data.get('time_training', True)
- self.profiling = self.run_opt.is_chief and tr_data.get('profiling', False)
- self.profiling_file = tr_data.get('profiling_file', 'timeline.json')
- self.enable_profiler = tr_data.get('enable_profiler', False)
- self.tensorboard = self.run_opt.is_chief and tr_data.get('tensorboard', False)
- self.tensorboard_log_dir = tr_data.get('tensorboard_log_dir', 'log')
- self.tensorboard_freq = tr_data.get('tensorboard_freq', 1)
- self.mixed_prec = tr_data.get('mixed_precision', None)
- if self.mixed_prec is not None:
- if (self.mixed_prec['compute_prec'] != 'float16' or self.mixed_prec['output_prec'] != 'float32'):
- raise RuntimeError(
- "Unsupported mixed precision option [output_prec, compute_prec]: [%s, %s], "
- " Supported: [float32, float16], Please set mixed precision option correctly!"
- % (self.mixed_prec['output_prec'], self.mixed_prec['compute_prec']))
- # self.sys_probs = tr_data['sys_probs']
- # self.auto_prob_style = tr_data['auto_prob']
- self.useBN = False
- if fitting_type == 'ener' and self.fitting.get_numb_fparam() > 0 :
- self.numb_fparam = self.fitting.get_numb_fparam()
- else :
- self.numb_fparam = 0
-
- if tr_data.get("validation_data", None) is not None:
- self.valid_numb_batch = tr_data["validation_data"].get("numb_btch", 1)
- else:
- self.valid_numb_batch = 1
-
- # if init the graph with the frozen model
- self.frz_model = None
- self.model_type = None
-
-
- def build (self,
- data = None,
- stop_batch = 0,
- suffix = "") :
- self.ntypes = self.model.get_ntypes()
- self.stop_batch = stop_batch
-
- if not self.is_compress and data.mixed_type:
- assert self.descrpt_type in ['se_atten'], 'Data in mixed_type format must use attention descriptor!'
- assert self.fitting_type in ['ener'], 'Data in mixed_type format must use ener fitting!'
-
- if self.numb_fparam > 0 :
- log.info("training with %d frame parameter(s)" % self.numb_fparam)
- else:
- log.info("training without frame parameter")
-
- if not self.is_compress:
- # Usually, the type number of the model should be equal to that of the data
- # However, nt_model > nt_data should be allowed, since users may only want to
- # train using a dataset that only have some of elements
- if self.ntypes < data.get_ntypes():
- raise ValueError(
- "The number of types of the training data is %d, but that of the "
- "model is only %d. The latter must be no less than the former. "
- "You may need to reset one or both of them. Usually, the former "
- "is given by `model/type_map` in the training parameter (if set) "
- "or the maximum number in the training data. The latter is given "
- "by `model/descriptor/sel` in the training parameter." % (
- data.get_ntypes(), self.ntypes
- ))
- self.type_map = data.get_type_map()
- self.batch_size = data.get_batch_size()
- if self.run_opt.init_mode not in ('init_from_model', 'restart', 'init_from_frz_model'):
- # self.saver.restore (in self._init_session) will restore avg and std variables, so data_stat is useless
- # init_from_frz_model will restore data_stat variables in `init_variables` method
- log.info("data stating... (this step may take long time)")
- self.model.data_stat(data)
-
- # config the init_frz_model command
- if self.run_opt.init_mode == 'init_from_frz_model':
- self._init_from_frz_model()
-
- # neighbor_stat is moved to train.py as duplicated
- # TODO: this is a simple fix but we should have a clear
- # architecture to call neighbor stat
- else :
- graph, graph_def = load_graph_def(self.model_param['compress']['model_file'])
- self.descrpt.enable_compression(self.model_param['compress']["min_nbor_dist"], self.model_param['compress']['model_file'], self.model_param['compress']['table_config'][0], self.model_param['compress']['table_config'][1], self.model_param['compress']['table_config'][2], self.model_param['compress']['table_config'][3])
- self.fitting.init_variables(graph, graph_def)
- # for fparam or aparam settings in 'ener' type fitting net
- if self.fitting_type == 'ener':
- self.fitting.enable_compression(self.model_param['compress']['model_file'])
-
- if self.is_compress or self.model_type == 'compressed_model':
- tf.constant("compressed_model", name = 'model_type', dtype = tf.string)
- else:
- tf.constant("original_model", name = 'model_type', dtype = tf.string)
-
- if self.mixed_prec is not None:
- self.descrpt.enable_mixed_precision(self.mixed_prec)
- self.fitting.enable_mixed_precision(self.mixed_prec)
-
- self._build_lr()
- self._build_network(data, suffix)
- self._build_training()
-
-
- def _build_lr(self):
- self._extra_train_ops = []
- self.global_step = tf.train.get_or_create_global_step()
- self.learning_rate = self.lr.build(self.global_step, self.stop_batch)
- log.info("built lr")
-
- def _build_network(self, data, suffix=""):
- self.place_holders = {}
- if self.is_compress :
- for kk in ['coord', 'box']:
- self.place_holders[kk] = tf.placeholder(GLOBAL_TF_FLOAT_PRECISION, [None], 't_' + kk)
- self._get_place_horders(data_requirement)
- else :
- self._get_place_horders(data.get_data_dict())
-
- self.place_holders['type'] = tf.placeholder(tf.int32, [None], name='t_type')
- self.place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name='t_natoms')
- self.place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name='t_mesh')
- self.place_holders['is_training'] = tf.placeholder(tf.bool)
- self.model_pred\
- = self.model.build (self.place_holders['coord'],
- self.place_holders['type'],
- self.place_holders['natoms_vec'],
- self.place_holders['box'],
- self.place_holders['default_mesh'],
- self.place_holders,
- self.frz_model,
- suffix = suffix,
- reuse = False)
-
- self.l2_l, self.l2_more\
- = self.loss.build (self.learning_rate,
- self.place_holders['natoms_vec'],
- self.model_pred,
- self.place_holders,
- suffix = "test")
-
- if self.mixed_prec is not None:
- self.l2_l = tf.cast(self.l2_l, get_precision(self.mixed_prec['output_prec']))
- log.info("built network")
-
- def _build_training(self):
- trainable_variables = tf.trainable_variables()
- if self.run_opt.is_distrib:
- if self.scale_lr_coef > 1.:
- log.info('Scale learning rate by coef: %f', self.scale_lr_coef)
- optimizer = tf.train.AdamOptimizer(self.learning_rate*self.scale_lr_coef)
- else:
- optimizer = tf.train.AdamOptimizer(self.learning_rate)
- optimizer = self.run_opt._HVD.DistributedOptimizer(optimizer)
- else:
- optimizer = tf.train.AdamOptimizer(learning_rate = self.learning_rate)
- if self.mixed_prec is not None:
- _TF_VERSION = Version(TF_VERSION)
- # check the TF_VERSION, when TF < 1.12, mixed precision is not allowed
- if _TF_VERSION < Version('1.14.0'):
- raise RuntimeError("TensorFlow version %s is not compatible with the mixed precision setting. Please consider upgrading your TF version!" % TF_VERSION)
- elif _TF_VERSION < Version('2.4.0'):
- optimizer = tf.train.experimental.enable_mixed_precision_graph_rewrite(optimizer)
- else:
- optimizer = tf.mixed_precision.enable_mixed_precision_graph_rewrite(optimizer)
- apply_op = optimizer.minimize(loss=self.l2_l,
- global_step=self.global_step,
- var_list=trainable_variables,
- name='train_step')
- train_ops = [apply_op] + self._extra_train_ops
- self.train_op = tf.group(*train_ops)
- log.info("built training")
-
- def _init_session(self):
- config = get_tf_session_config()
- device, idx = self.run_opt.my_device.split(":", 1)
- if device == "gpu":
- config.gpu_options.visible_device_list = idx
- self.sess = tf.Session(config=config)
-
- # Initializes or restore global variables
- init_op = tf.global_variables_initializer()
- if self.run_opt.is_chief:
- self.saver = tf.train.Saver(save_relative_paths=True)
- if self.run_opt.init_mode == 'init_from_scratch' :
- log.info("initialize model from scratch")
- run_sess(self.sess, init_op)
- if not self.is_compress:
- fp = open(self.disp_file, "w")
- fp.close ()
- elif self.run_opt.init_mode == 'init_from_model' :
- log.info("initialize from model %s" % self.run_opt.init_model)
- run_sess(self.sess, init_op)
- self.saver.restore (self.sess, self.run_opt.init_model)
- run_sess(self.sess, self.global_step.assign(0))
- fp = open(self.disp_file, "w")
- fp.close ()
- elif self.run_opt.init_mode == 'restart' :
- log.info("restart from model %s" % self.run_opt.restart)
- run_sess(self.sess, init_op)
- self.saver.restore (self.sess, self.run_opt.restart)
- elif self.run_opt.init_mode == 'init_from_frz_model' :
- log.info("initialize training from the frozen model")
- run_sess(self.sess, init_op)
- fp = open(self.disp_file, "w")
- fp.close ()
- else :
- raise RuntimeError ("unkown init mode")
- else:
- run_sess(self.sess, init_op)
- self.saver = None
-
- # Ensure variable consistency among tasks when training starts
- if self.run_opt.is_distrib:
- bcast_op = self.run_opt._HVD.broadcast_global_variables(0)
- if self.run_opt.is_chief:
- log.info('broadcast global variables to other tasks')
- else:
- log.info('receive global variables from task#0')
- run_sess(self.sess, bcast_op)
-
- def train (self, train_data = None, valid_data=None) :
-
- # if valid_data is None: # no validation set specified.
- # valid_data = train_data # using training set as validation set.
-
- stop_batch = self.stop_batch
- self._init_session()
-
- # Before data shard is enabled, only cheif do evaluation and record it
- # self.print_head()
- fp = None
- if self.run_opt.is_chief :
- fp = open(self.disp_file, "a")
-
- cur_batch = run_sess(self.sess, self.global_step)
- is_first_step = True
- self.cur_batch = cur_batch
- log.info("start training at lr %.2e (== %.2e), decay_step %d, decay_rate %f, final lr will be %.2e" %
- (run_sess(self.sess, self.learning_rate),
- self.lr.value(cur_batch),
- self.lr.decay_steps_,
- self.lr.decay_rate_,
- self.lr.value(stop_batch))
- )
-
- prf_options = None
- prf_run_metadata = None
- if self.profiling:
- prf_options = tf.RunOptions(trace_level=tf.RunOptions.FULL_TRACE)
- prf_run_metadata = tf.RunMetadata()
-
- # set tensorboard execution environment
- if self.tensorboard:
- summary_merged_op = tf.summary.merge_all()
- # Remove TB old logging directory from previous run
- try:
- shutil.rmtree(self.tensorboard_log_dir)
- except FileNotFoundError:
- pass # directory does not exist, this is OK
- except Exception as e:
- # general error when removing directory, warn user
- log.exception(
- f"Could not remove old tensorboard logging directory: "
- f"{self.tensorboard_log_dir}. Error: {e}"
- )
- else:
- log.debug("Removing old tensorboard log directory.")
- tb_train_writer = tf.summary.FileWriter(self.tensorboard_log_dir + '/train', self.sess.graph)
- tb_valid_writer = tf.summary.FileWriter(self.tensorboard_log_dir + '/test')
- else:
- tb_train_writer = None
- tb_valid_writer = None
- if self.enable_profiler:
- # https://www.tensorflow.org/guide/profiler
- tfv2.profiler.experimental.start(self.tensorboard_log_dir)
-
- train_time = 0
-
- while cur_batch < stop_batch :
-
- # first round validation:
- train_batch = train_data.get_batch()
- if self.display_in_training and is_first_step:
- if self.run_opt.is_chief:
- valid_batches = [valid_data.get_batch() for ii in range(self.valid_numb_batch)] if valid_data is not None else None
- self.valid_on_the_fly(fp, [train_batch], valid_batches, print_header=True)
- is_first_step = False
-
- if self.timing_in_training: tic = time.time()
- train_feed_dict = self.get_feed_dict(train_batch, is_training=True)
- # use tensorboard to visualize the training of deepmd-kit
- # it will takes some extra execution time to generate the tensorboard data
- if self.tensorboard and (cur_batch % self.tensorboard_freq == 0):
- summary, _ = run_sess(self.sess, [summary_merged_op, self.train_op], feed_dict=train_feed_dict,
- options=prf_options, run_metadata=prf_run_metadata)
- tb_train_writer.add_summary(summary, cur_batch)
- else:
- run_sess(self.sess, [self.train_op], feed_dict=train_feed_dict,
- options=prf_options, run_metadata=prf_run_metadata)
- if self.timing_in_training: toc = time.time()
- if self.timing_in_training: train_time += toc - tic
- cur_batch = run_sess(self.sess, self.global_step)
- self.cur_batch = cur_batch
-
- # on-the-fly validation
- if self.display_in_training and (cur_batch % self.disp_freq == 0):
- if self.timing_in_training:
- tic = time.time()
- if self.run_opt.is_chief:
- valid_batches = [valid_data.get_batch() for ii in range(self.valid_numb_batch)] if valid_data is not None else None
- self.valid_on_the_fly(fp, [train_batch], valid_batches)
- if self.timing_in_training:
- toc = time.time()
- test_time = toc - tic
- log.info("batch %7d training time %.2f s, testing time %.2f s"
- % (cur_batch, train_time, test_time))
- train_time = 0
- if self.save_freq > 0 and cur_batch % self.save_freq == 0 and self.saver is not None:
- self.save_checkpoint(cur_batch)
- if (self.save_freq == 0 or cur_batch == 0 or cur_batch % self.save_freq != 0) and self.saver is not None:
- self.save_checkpoint(cur_batch)
- if self.run_opt.is_chief:
- fp.close ()
- if self.profiling and self.run_opt.is_chief :
- fetched_timeline = timeline.Timeline(prf_run_metadata.step_stats)
- chrome_trace = fetched_timeline.generate_chrome_trace_format()
- with open(self.profiling_file, 'w') as f:
- f.write(chrome_trace)
- if self.enable_profiler and self.run_opt.is_chief:
- tfv2.profiler.experimental.stop()
-
- def save_checkpoint(self, cur_batch: int):
- try:
- ckpt_prefix = self.saver.save (self.sess, os.path.join(os.getcwd(), self.save_ckpt), global_step=cur_batch)
- except google.protobuf.message.DecodeError as e:
- raise GraphTooLargeError(
- "The graph size exceeds 2 GB, the hard limitation of protobuf."
- " Then a DecodeError was raised by protobuf. You should "
- "reduce the size of your model."
- ) from e
- # make symlinks from prefix with step to that without step to break nothing
- # get all checkpoint files
- original_files = glob.glob(ckpt_prefix + ".*")
- for ori_ff in original_files:
- new_ff = self.save_ckpt + ori_ff[len(ckpt_prefix):]
- try:
- # remove old one
- os.remove(new_ff)
- except OSError:
- pass
- if platform.system() != 'Windows':
- # by default one does not have access to create symlink on Windows
- os.symlink(ori_ff, new_ff)
- else:
- shutil.copyfile(ori_ff, new_ff)
- log.info("saved checkpoint %s" % self.save_ckpt)
-
- def get_feed_dict(self, batch, is_training):
- feed_dict = {}
- for kk in batch.keys():
- if kk == 'find_type' or kk == 'type' or kk == 'real_natoms_vec':
- continue
- if 'find_' in kk:
- feed_dict[self.place_holders[kk]] = batch[kk]
- else:
- feed_dict[self.place_holders[kk]] = np.reshape(batch[kk], [-1])
- for ii in ['type']:
- feed_dict[self.place_holders[ii]] = np.reshape(batch[ii], [-1])
- for ii in ['natoms_vec', 'default_mesh']:
- feed_dict[self.place_holders[ii]] = batch[ii]
- feed_dict[self.place_holders['is_training']] = is_training
- return feed_dict
-
- def get_global_step(self):
- return run_sess(self.sess, self.global_step)
-
- # def print_head (self) : # depreciated
- # if self.run_opt.is_chief:
- # fp = open(self.disp_file, "a")
- # print_str = "# %5s" % 'batch'
- # print_str += self.loss.print_header()
- # print_str += ' %8s\n' % 'lr'
- # fp.write(print_str)
- # fp.close ()
-
- def valid_on_the_fly(self,
- fp,
- train_batches,
- valid_batches,
- print_header=False):
- train_results = self.get_evaluation_results(train_batches)
- valid_results = self.get_evaluation_results(valid_batches)
-
- cur_batch = self.cur_batch
- current_lr = run_sess(self.sess, self.learning_rate)
- if print_header:
- self.print_header(fp, train_results, valid_results)
- self.print_on_training(fp, train_results, valid_results, cur_batch, current_lr)
-
- @staticmethod
- def print_header(fp, train_results, valid_results):
- print_str = ''
- print_str += "# %5s" % 'step'
- if valid_results is not None:
- prop_fmt = ' %11s %11s'
- for k in train_results.keys():
- print_str += prop_fmt % (k + '_val', k + '_trn')
- else:
- prop_fmt = ' %11s'
- for k in train_results.keys():
- print_str += prop_fmt % (k + '_trn')
- print_str += ' %8s\n' % 'lr'
- fp.write(print_str)
- fp.flush()
-
- @staticmethod
- def print_on_training(fp, train_results, valid_results, cur_batch, cur_lr):
- print_str = ''
- print_str += "%7d" % cur_batch
- if valid_results is not None:
- prop_fmt = " %11.2e %11.2e"
- for k in valid_results.keys():
- # assert k in train_results.keys()
- print_str += prop_fmt % (valid_results[k], train_results[k])
- else:
- prop_fmt = " %11.2e"
- for k in train_results.keys():
- print_str += prop_fmt % (train_results[k])
- print_str += " %8.1e\n" % cur_lr
- fp.write(print_str)
- fp.flush()
-
- def get_evaluation_results(self, batch_list):
- if batch_list is None: return None
- numb_batch = len(batch_list)
-
- sum_results = {} # sum of losses on all atoms
- sum_natoms = 0
- for i in range(numb_batch):
- batch = batch_list[i]
- natoms = batch["natoms_vec"]
- feed_dict = self.get_feed_dict(batch, is_training=False)
- results = self.loss.eval(self.sess, feed_dict, natoms)
-
- for k, v in results.items():
- if k == "natoms":
- sum_natoms += v
- else:
- sum_results[k] = sum_results.get(k, 0.) + v * results["natoms"]
- avg_results = {k: v / sum_natoms for k, v in sum_results.items() if not k == "natoms"}
- return avg_results
-
- def save_compressed(self):
- """
- Save the compressed graph
- """
- self._init_session()
- if self.is_compress:
- self.saver.save (self.sess, os.path.join(os.getcwd(), self.save_ckpt))
-
- def _get_place_horders(self, data_dict):
- for kk in data_dict.keys():
- if kk == 'type':
- continue
- prec = GLOBAL_TF_FLOAT_PRECISION
- if data_dict[kk]['high_prec'] :
- prec = GLOBAL_ENER_FLOAT_PRECISION
- self.place_holders[kk] = tf.placeholder(prec, [None], name = 't_' + kk)
- self.place_holders['find_' + kk] = tf.placeholder(tf.float32, name = 't_find_' + kk)
-
- def _init_from_frz_model(self):
- try:
- graph, graph_def = load_graph_def(self.run_opt.init_frz_model)
- except FileNotFoundError as e:
- # throw runtime error if there's no frozen model
- raise RuntimeError(
- "The input frozen model %s (%s) does not exist! Please check the path of the frozen model. " % (self.run_opt.init_frz_model, os.path.abspath(self.run_opt.init_frz_model))
- ) from e
- # get the model type from the frozen model(self.run_opt.init_frz_model)
- try:
- t_model_type = get_tensor_by_name_from_graph(graph, 'model_type')
- except GraphWithoutTensorError as e:
- # throw runtime error if the frozen_model has no model type information...
- raise RuntimeError(
- "The input frozen model: %s has no 'model_type' information, "
- "which is not supported by the 'dp train init-frz-model' interface. " % self.run_opt.init_frz_model
- ) from e
- else:
- self.model_type = bytes.decode(t_model_type)
- if self.model_type == 'compressed_model':
- self.frz_model = self.run_opt.init_frz_model
- self.model.init_variables(graph, graph_def, model_type=self.model_type)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/__init__.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/__init__.py
deleted file mode 100644
index 2646df2fbf8aa3a07be92d1dfb460e68cd258c49..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/__init__.py
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-from .data import DeepmdData
-from .data_system import DeepmdDataSystem
-
-# out-of-dated
-from .data import DataSets
-from .data_system import DataSystem
-from .pair_tab import PairTab
-from .learning_rate import LearningRateExp
-from .plugin import Plugin, PluginVariant
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/argcheck.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/argcheck.py
deleted file mode 100644
index 3f81f31b34739c4f95e1bdd1b0304b6df5291cbf..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/argcheck.py
+++ /dev/null
@@ -1,789 +0,0 @@
-from typing import List, Callable
-
-from dargs import dargs, Argument, Variant, ArgumentEncoder
-from deepmd import descriptor
-from deepmd.common import ACTIVATION_FN_DICT, PRECISION_DICT
-from deepmd.utils.plugin import Plugin
-import json
-
-from deepmd.nvnmd.utils.argcheck import nvnmd_args
-
-def list_to_doc(xx):
- items = []
- for ii in xx:
- if len(items) == 0:
- items.append(f'"{ii}"')
- else:
- items.append(f', "{ii}"')
- items.append('.')
- return ''.join(items)
-
-
-def make_link(content, ref_key):
- return f'`{content} <{ref_key}_>`_' if not dargs.RAW_ANCHOR \
- else f'`{content} <#{ref_key}>`_'
-
-
-def type_embedding_args():
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_seed = 'Random seed for parameter initialization'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net are trainable'
-
- return [
- Argument("neuron", list, optional = True, default = [8], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, default = None, doc = doc_seed),
- ]
-
-
-# --- Descriptor configurations: --- #
-
-class ArgsPlugin:
- def __init__(self) -> None:
- self.__plugin = Plugin()
-
- def register(self, name : str, alias : List[str] = None) -> Callable[[], List[Argument]]:
- """Regiester a descriptor argument plugin.
-
- Parameters
- ----------
- name : str
- the name of a descriptor
- alias : List[str], optional
- the list of aliases of this descriptor
-
- Returns
- -------
- Callable[[], List[Argument]]
- the regiestered descriptor argument method
-
- Examples
- --------
- >>> some_plugin = ArgsPlugin()
- >>> @some_plugin.register("some_descrpt")
- def descrpt_some_descrpt_args():
- return []
- """
- # convert alias to hashed item
- if isinstance(alias, list):
- alias = tuple(alias)
- return self.__plugin.register((name, alias))
-
- def get_all_argument(self, exclude_hybrid: bool = False) -> List[Argument]:
- """Get all arguments.
-
- Parameters
- ----------
- exclude_hybrid : bool
- exclude hybrid descriptor to prevent circular calls
-
- Returns
- -------
- List[Argument]
- all arguments
- """
- arguments = []
- for (name, alias), metd in self.__plugin.plugins.items():
- if exclude_hybrid and name == "hybrid":
- continue
- arguments.append(Argument(name=name, dtype=dict, sub_fields=metd(), alias=alias))
- return arguments
-
-
-descrpt_args_plugin = ArgsPlugin()
-
-@descrpt_args_plugin.register("loc_frame")
-def descrpt_local_frame_args ():
- doc_sel_a = 'A list of integers. The length of the list should be the same as the number of atom types in the system. `sel_a[i]` gives the selected number of type-i neighbors. The full relative coordinates of the neighbors are used by the descriptor.'
- doc_sel_r = 'A list of integers. The length of the list should be the same as the number of atom types in the system. `sel_r[i]` gives the selected number of type-i neighbors. Only relative distance of the neighbors are used by the descriptor. sel_a[i] + sel_r[i] is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius.'
- doc_rcut = 'The cut-off radius. The default value is 6.0'
- doc_axis_rule = 'A list of integers. The length should be 6 times of the number of types. \n\n\
-- axis_rule[i*6+0]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
-- axis_rule[i*6+1]: type of the atom defining the first axis of type-i atom.\n\n\
-- axis_rule[i*6+2]: index of the axis atom defining the first axis. Note that the neighbors with the same class and type are sorted according to their relative distance.\n\n\
-- axis_rule[i*6+3]: class of the atom defining the first axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.\n\n\
-- axis_rule[i*6+4]: type of the atom defining the second axis of type-i atom.\n\n\
-- axis_rule[i*6+5]: class of the atom defining the second axis of type-i atom. 0 for neighbors with full coordinates and 1 for neighbors only with relative distance.'
-
- return [
- Argument("sel_a", list, optional = False, doc = doc_sel_a),
- Argument("sel_r", list, optional = False, doc = doc_sel_r),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("axis_rule", list, optional = False, doc = doc_axis_rule)
- ]
-
-
-@descrpt_args_plugin.register("se_e2_a", alias=["se_a"])
-def descrpt_se_a_args():
- doc_sel = 'This parameter set the number of selected neighbors for each type of atom. It can be:\n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. `sel[i]` is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius. It is noted that the total sel value must be less than 4096 in a GPU environment.\n\n\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_axis_neuron = 'Size of the submatrix of G (embedding matrix).'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_type_one_side = 'Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net is trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_exclude_types = 'The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1.'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
-
- return [
- Argument("sel", [list,str], optional = True, default = "auto", doc = doc_sel),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("rcut_smth", float, optional = True, default = 0.5, doc = doc_rcut_smth),
- Argument("neuron", list, optional = True, default = [10,20,40], doc = doc_neuron),
- Argument("axis_neuron", int, optional = True, default = 4, alias = ['n_axis_neuron'], doc = doc_axis_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("type_one_side", bool, optional = True, default = False, doc = doc_type_one_side),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("exclude_types", list, optional = True, default = [], doc = doc_exclude_types),
- Argument("set_davg_zero", bool, optional = True, default = False, doc = doc_set_davg_zero)
- ]
-
-
-@descrpt_args_plugin.register("se_e3", alias=['se_at', 'se_a_3be', 'se_t'])
-def descrpt_se_t_args():
- doc_sel = 'This parameter set the number of selected neighbors for each type of atom. It can be:\n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. `sel[i]` is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius. It is noted that the total sel value must be less than 4096 in a GPU environment.\n\n\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net are trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
-
- return [
- Argument("sel", [list,str], optional = True, default = "auto", doc = doc_sel),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("rcut_smth", float, optional = True, default = 0.5, doc = doc_rcut_smth),
- Argument("neuron", list, optional = True, default = [10,20,40], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("set_davg_zero", bool, optional = True, default = False, doc = doc_set_davg_zero)
- ]
-
-
-
-@descrpt_args_plugin.register("se_a_tpe", alias=['se_a_ebd'])
-def descrpt_se_a_tpe_args():
- doc_type_nchanl = 'number of channels for type embedding'
- doc_type_nlayer = 'number of hidden layers of type embedding net'
- doc_numb_aparam = 'dimension of atomic parameter. if set to a value > 0, the atomic parameters are embedded.'
-
- return descrpt_se_a_args() + [
- Argument("type_nchanl", int, optional = True, default = 4, doc = doc_type_nchanl),
- Argument("type_nlayer", int, optional = True, default = 2, doc = doc_type_nlayer),
- Argument("numb_aparam", int, optional = True, default = 0, doc = doc_numb_aparam)
- ]
-
-
-@descrpt_args_plugin.register("se_e2_r", alias=['se_r'])
-def descrpt_se_r_args():
- doc_sel = 'This parameter set the number of selected neighbors for each type of atom. It can be:\n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. `sel[i]` is recommended to be larger than the maximally possible number of type-i neighbors in the cut-off radius. It is noted that the total sel value must be less than 4096 in a GPU environment.\n\n\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_type_one_side = 'Try to build N_types embedding nets. Otherwise, building N_types^2 embedding nets'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net are trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_exclude_types = 'The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1.'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
-
- return [
- Argument("sel", [list,str], optional = True, default = "auto", doc = doc_sel),
- Argument("rcut", float, optional = True, default = 6.0, doc = doc_rcut),
- Argument("rcut_smth", float, optional = True, default = 0.5, doc = doc_rcut_smth),
- Argument("neuron", list, optional = True, default = [10,20,40], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = False, doc = doc_resnet_dt),
- Argument("type_one_side", bool, optional = True, default = False, doc = doc_type_one_side),
- Argument("precision", str, optional = True, default = "default", doc = doc_precision),
- Argument("trainable", bool, optional = True, default = True, doc = doc_trainable),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("exclude_types", list, optional = True, default = [], doc = doc_exclude_types),
- Argument("set_davg_zero", bool, optional = True, default = False, doc = doc_set_davg_zero)
- ]
-
-
-@descrpt_args_plugin.register("hybrid")
-def descrpt_hybrid_args():
- doc_list = f'A list of descriptor definitions'
-
- return [
- Argument("list", list, optional = False, doc = doc_list)
- ]
-
-
-@descrpt_args_plugin.register("se_atten")
-def descrpt_se_atten_args():
- doc_sel = 'This parameter set the number of selected neighbors. Note that this parameter is a little different from that in other descriptors. Instead of separating each type of atoms, only the summation matters. And this number is highly related with the efficiency, thus one should not make it too large. Usually 200 or less is enough, far away from the GPU limitation 4096. It can be:\n\n\
- - `int`. The maximum number of neighbor atoms to be considered. We recommend it to be less than 200. \n\n\
- - `List[int]`. The length of the list should be the same as the number of atom types in the system. `sel[i]` gives the selected number of type-i neighbors. Only the summation of `sel[i]` matters, and it is recommended to be less than 200.\
- - `str`. Can be "auto:factor" or "auto". "factor" is a float number larger than 1. This option will automatically determine the `sel`. In detail it counts the maximal number of neighbors with in the cutoff radius for each type of neighbor, then multiply the maximum by the "factor". Finally the number is wraped up to 4 divisible. The option "auto" is equivalent to "auto:1.1".'
- doc_rcut = 'The cut-off radius.'
- doc_rcut_smth = 'Where to start smoothing. For example the 1/r term is smoothed from `rcut` to `rcut_smth`'
- doc_neuron = 'Number of neurons in each hidden layers of the embedding net. When two layers are of the same size or one layer is twice as large as the previous layer, a skip connection is built.'
- doc_axis_neuron = 'Size of the submatrix of G (embedding matrix).'
- doc_activation_function = f'The activation function in the embedding net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_type_one_side = 'Whether to consider the information from only one side or both sides.'
- doc_precision = f'The precision of the embedding net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_trainable = 'If the parameters in the embedding net is trainable'
- doc_seed = 'Random seed for parameter initialization'
- doc_exclude_types = 'The excluded pairs of types which have no interaction with each other. For example, `[[0, 1]]` means no interaction between type 0 and type 1.'
- doc_set_davg_zero = 'Set the normalization average to zero. This option should be set when `atom_ener` in the energy fitting is used'
- doc_attn = 'The length of hidden vectors in attention layers'
- doc_attn_layer = 'The number of attention layers'
- doc_attn_dotr = 'Whether to do dot product with the normalized relative coordinates'
- doc_attn_mask = 'Whether to do mask on the diagonal in the attention matrix'
-
- return [
- Argument("sel", [int, list, str], optional=True, default="auto", doc=doc_sel),
- Argument("rcut", float, optional=True, default=6.0, doc=doc_rcut),
- Argument("rcut_smth", float, optional=True, default=0.5, doc=doc_rcut_smth),
- Argument("neuron", list, optional=True, default=[10, 20, 40], doc=doc_neuron),
- Argument("axis_neuron", int, optional=True, default=4, alias=['n_axis_neuron'], doc=doc_axis_neuron),
- Argument("activation_function", str, optional=True, default='tanh', doc=doc_activation_function),
- Argument("resnet_dt", bool, optional=True, default=False, doc=doc_resnet_dt),
- Argument("type_one_side", bool, optional=True, default=False, doc=doc_type_one_side),
- Argument("precision", str, optional=True, default="default", doc=doc_precision),
- Argument("trainable", bool, optional=True, default=True, doc=doc_trainable),
- Argument("seed", [int, None], optional=True, doc=doc_seed),
- Argument("exclude_types", list, optional=True, default=[], doc=doc_exclude_types),
- Argument("set_davg_zero", bool, optional=True, default=False, doc=doc_set_davg_zero),
- Argument("attn", int, optional=True, default=128, doc=doc_attn),
- Argument("attn_layer", int, optional=True, default=2, doc=doc_attn_layer),
- Argument("attn_dotr", bool, optional=True, default=True, doc=doc_attn_dotr),
- Argument("attn_mask", bool, optional=True, default=False, doc=doc_attn_mask)
- ]
-
-def descrpt_variant_type_args(exclude_hybrid: bool = False) -> Variant:
- link_lf = make_link('loc_frame', 'model/descriptor[loc_frame]')
- link_se_e2_a = make_link('se_e2_a', 'model/descriptor[se_e2_a]')
- link_se_e2_r = make_link('se_e2_r', 'model/descriptor[se_e2_r]')
- link_se_e3 = make_link('se_e3', 'model/descriptor[se_e3]')
- link_se_a_tpe = make_link('se_a_tpe', 'model/descriptor[se_a_tpe]')
- link_hybrid = make_link('hybrid', 'model/descriptor[hybrid]')
- link_se_atten = make_link('se_atten', 'model/descriptor[se_atten]')
- doc_descrpt_type = f'The type of the descritpor. See explanation below. \n\n\
-- `loc_frame`: Defines a local frame at each atom, and the compute the descriptor as local coordinates under this frame.\n\n\
-- `se_e2_a`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor.\n\n\
-- `se_e2_r`: Used by the smooth edition of Deep Potential. Only the distance between atoms is used to construct the descriptor.\n\n\
-- `se_e3`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor. Three-body embedding will be used by this descriptor.\n\n\
-- `se_a_tpe`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor. Type embedding will be used by this descriptor.\n\n\
-- `se_atten`: Used by the smooth edition of Deep Potential. The full relative coordinates are used to construct the descriptor. Attention mechanism will be used by this descriptor.\n\n\
-- `hybrid`: Concatenate of a list of descriptors as a new descriptor.'
-
- return Variant("type", descrpt_args_plugin.get_all_argument(), doc = doc_descrpt_type)
-
-
-# --- Fitting net configurations: --- #
-def fitting_ener():
- doc_numb_fparam = 'The dimension of the frame parameter. If set to >0, file `fparam.npy` should be included to provided the input fparams.'
- doc_numb_aparam = 'The dimension of the atomic parameter. If set to >0, file `aparam.npy` should be included to provided the input aparams.'
- doc_neuron = 'The number of neurons in each hidden layers of the fitting net. When two hidden layers are of the same size, a skip connection is built.'
- doc_activation_function = f'The activation function in the fitting net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_precision = f'The precision of the fitting net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_trainable = 'Whether the parameters in the fitting net are trainable. This option can be\n\n\
-- bool: True if all parameters of the fitting net are trainable, False otherwise.\n\n\
-- list of bool: Specifies if each layer is trainable. Since the fitting net is composed by hidden layers followed by a output layer, the length of tihs list should be equal to len(`neuron`)+1.'
- doc_rcond = 'The condition number used to determine the inital energy shift for each type of atoms.'
- doc_seed = 'Random seed for parameter initialization of the fitting net'
- doc_atom_ener = 'Specify the atomic energy in vacuum for each type'
-
- return [
- Argument("numb_fparam", int, optional = True, default = 0, doc = doc_numb_fparam),
- Argument("numb_aparam", int, optional = True, default = 0, doc = doc_numb_aparam),
- Argument("neuron", list, optional = True, default = [120,120,120], alias = ['n_neuron'], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("precision", str, optional = True, default = 'default', doc = doc_precision),
- Argument("resnet_dt", bool, optional = True, default = True, doc = doc_resnet_dt),
- Argument("trainable", [list,bool], optional = True, default = True, doc = doc_trainable),
- Argument("rcond", float, optional = True, default = 1e-3, doc = doc_rcond),
- Argument("seed", [int,None], optional = True, doc = doc_seed),
- Argument("atom_ener", list, optional = True, default = [], doc = doc_atom_ener)
- ]
-
-
-def fitting_polar():
- doc_neuron = 'The number of neurons in each hidden layers of the fitting net. When two hidden layers are of the same size, a skip connection is built.'
- doc_activation_function = f'The activation function in the fitting net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_precision = f'The precision of the fitting net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_scale = 'The output of the fitting net (polarizability matrix) will be scaled by ``scale``'
- #doc_diag_shift = 'The diagonal part of the polarizability matrix will be shifted by ``diag_shift``. The shift operation is carried out after ``scale``.'
- doc_fit_diag = 'Fit the diagonal part of the rotational invariant polarizability matrix, which will be converted to normal polarizability matrix by contracting with the rotation matrix.'
- doc_sel_type = 'The atom types for which the atomic polarizability will be provided. If not set, all types will be selected.'
- doc_seed = 'Random seed for parameter initialization of the fitting net'
-
- # YWolfeee: user can decide whether to use shift diag
- doc_shift_diag = 'Whether to shift the diagonal of polar, which is beneficial to training. Default is true.'
-
- return [
- Argument("neuron", list, optional = True, default = [120,120,120], alias = ['n_neuron'], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = True, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = 'default', doc = doc_precision),
- Argument("fit_diag", bool, optional = True, default = True, doc = doc_fit_diag),
- Argument("scale", [list,float], optional = True, default = 1.0, doc = doc_scale),
- #Argument("diag_shift", [list,float], optional = True, default = 0.0, doc = doc_diag_shift),
- Argument("shift_diag", bool, optional = True, default = True, doc = doc_shift_diag),
- Argument("sel_type", [list,int,None], optional = True, alias = ['pol_type'], doc = doc_sel_type),
- Argument("seed", [int,None], optional = True, doc = doc_seed)
- ]
-
-
-#def fitting_global_polar():
-# return fitting_polar()
-
-
-def fitting_dipole():
- doc_neuron = 'The number of neurons in each hidden layers of the fitting net. When two hidden layers are of the same size, a skip connection is built.'
- doc_activation_function = f'The activation function in the fitting net. Supported activation functions are {list_to_doc(ACTIVATION_FN_DICT.keys())} Note that "gelu" denotes the custom operator version, and "gelu_tf" denotes the TF standard version.'
- doc_resnet_dt = 'Whether to use a "Timestep" in the skip connection'
- doc_precision = f'The precision of the fitting net parameters, supported options are {list_to_doc(PRECISION_DICT.keys())} Default follows the interface precision.'
- doc_sel_type = 'The atom types for which the atomic dipole will be provided. If not set, all types will be selected.'
- doc_seed = 'Random seed for parameter initialization of the fitting net'
- return [
- Argument("neuron", list, optional = True, default = [120,120,120], alias = ['n_neuron'], doc = doc_neuron),
- Argument("activation_function", str, optional = True, default = 'tanh', doc = doc_activation_function),
- Argument("resnet_dt", bool, optional = True, default = True, doc = doc_resnet_dt),
- Argument("precision", str, optional = True, default = 'default', doc = doc_precision),
- Argument("sel_type", [list,int,None], optional = True, alias = ['dipole_type'], doc = doc_sel_type),
- Argument("seed", [int,None], optional = True, doc = doc_seed)
- ]
-
-# YWolfeee: Delete global polar mode, merge it into polar mode and use loss setting to support.
-def fitting_variant_type_args():
- doc_descrpt_type = 'The type of the fitting. See explanation below. \n\n\
-- `ener`: Fit an energy model (potential energy surface).\n\n\
-- `dipole`: Fit an atomic dipole model. Global dipole labels or atomic dipole labels for all the selected atoms (see `sel_type`) should be provided by `dipole.npy` in each data system. The file either has number of frames lines and 3 times of number of selected atoms columns, or has number of frames lines and 3 columns. See `loss` parameter.\n\n\
-- `polar`: Fit an atomic polarizability model. Global polarizazbility labels or atomic polarizability labels for all the selected atoms (see `sel_type`) should be provided by `polarizability.npy` in each data system. The file eith has number of frames lines and 9 times of number of selected atoms columns, or has number of frames lines and 9 columns. See `loss` parameter.\n\n'
-
- return Variant("type", [Argument("ener", dict, fitting_ener()),
- Argument("dipole", dict, fitting_dipole()),
- Argument("polar", dict, fitting_polar()),
- ],
- optional = True,
- default_tag = 'ener',
- doc = doc_descrpt_type)
-
-
-# --- Modifier configurations: --- #
-def modifier_dipole_charge():
- doc_model_name = "The name of the frozen dipole model file."
- doc_model_charge_map = f"The charge of the WFCC. The list length should be the same as the {make_link('sel_type', 'model/fitting_net[dipole]/sel_type')}. "
- doc_sys_charge_map = f"The charge of real atoms. The list length should be the same as the {make_link('type_map', 'model/type_map')}"
- doc_ewald_h = f"The grid spacing of the FFT grid. Unit is A"
- doc_ewald_beta = f"The splitting parameter of Ewald sum. Unit is A^{-1}"
-
- return [
- Argument("model_name", str, optional = False, doc = doc_model_name),
- Argument("model_charge_map", list, optional = False, doc = doc_model_charge_map),
- Argument("sys_charge_map", list, optional = False, doc = doc_sys_charge_map),
- Argument("ewald_beta", float, optional = True, default = 0.4, doc = doc_ewald_beta),
- Argument("ewald_h", float, optional = True, default = 1.0, doc = doc_ewald_h),
- ]
-
-
-def modifier_variant_type_args():
- doc_modifier_type = "The type of modifier. See explanation below.\n\n\
--`dipole_charge`: Use WFCC to model the electronic structure of the system. Correct the long-range interaction"
- return Variant("type",
- [
- Argument("dipole_charge", dict, modifier_dipole_charge()),
- ],
- optional = False,
- doc = doc_modifier_type)
-
-# --- model compression configurations: --- #
-def model_compression():
- doc_model_file = f"The input model file, which will be compressed by the DeePMD-kit."
- doc_table_config = f"The arguments of model compression, including extrapolate(scale of model extrapolation), stride(uniform stride of tabulation's first and second table), and frequency(frequency of tabulation overflow check)."
- doc_min_nbor_dist = f"The nearest distance between neighbor atoms saved in the frozen model."
-
- return [
- Argument("model_file", str, optional = False, doc = doc_model_file),
- Argument("table_config", list, optional = False, doc = doc_table_config),
- Argument("min_nbor_dist", float, optional = False, doc = doc_min_nbor_dist),
- ]
-
-# --- model compression configurations: --- #
-def model_compression_type_args():
- doc_compress_type = "The type of model compression, which should be consistent with the descriptor type."
-
- return Variant("type", [
- Argument("se_e2_a", dict, model_compression(), alias = ['se_a'])
- ],
- optional = True,
- default_tag = 'se_e2_a',
- doc = doc_compress_type)
-
-
-def model_args ():
- doc_type_map = 'A list of strings. Give the name to each type of atoms. It is noted that the number of atom type of training system must be less than 128 in a GPU environment.'
- doc_data_stat_nbatch = 'The model determines the normalization from the statistics of the data. This key specifies the number of `frames` in each `system` used for statistics.'
- doc_data_stat_protect = 'Protect parameter for atomic energy regression.'
- doc_type_embedding = "The type embedding."
- doc_descrpt = 'The descriptor of atomic environment.'
- doc_fitting = 'The fitting of physical properties.'
- doc_modifier = 'The modifier of model output.'
- doc_use_srtab = 'The table for the short-range pairwise interaction added on top of DP. The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes. The first colume is the distance between atoms. The second to the last columes are energies for pairs of certain types. For example we have two atom types, 0 and 1. The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.'
- doc_smin_alpha = 'The short-range tabulated interaction will be swithed according to the distance of the nearest neighbor. This distance is calculated by softmin. This parameter is the decaying parameter in the softmin. It is only required when `use_srtab` is provided.'
- doc_sw_rmin = 'The lower boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.'
- doc_sw_rmax = 'The upper boundary of the interpolation between short-range tabulated interaction and DP. It is only required when `use_srtab` is provided.'
- doc_compress_config = 'Model compression configurations'
-
- ca = Argument("model", dict,
- [Argument("type_map", list, optional = True, doc = doc_type_map),
- Argument("data_stat_nbatch", int, optional = True, default = 10, doc = doc_data_stat_nbatch),
- Argument("data_stat_protect", float, optional = True, default = 1e-2, doc = doc_data_stat_protect),
- Argument("use_srtab", str, optional = True, doc = doc_use_srtab),
- Argument("smin_alpha", float, optional = True, doc = doc_smin_alpha),
- Argument("sw_rmin", float, optional = True, doc = doc_sw_rmin),
- Argument("sw_rmax", float, optional = True, doc = doc_sw_rmax),
- Argument("type_embedding", dict, type_embedding_args(), [], optional = True, doc = doc_type_embedding),
- Argument("descriptor", dict, [], [descrpt_variant_type_args()], doc = doc_descrpt),
- Argument("fitting_net", dict, [], [fitting_variant_type_args()], doc = doc_fitting),
- Argument("modifier", dict, [], [modifier_variant_type_args()], optional = True, doc = doc_modifier),
- Argument("compress", dict, [], [model_compression_type_args()], optional = True, doc = doc_compress_config)
- ])
- # print(ca.gen_doc())
- return ca
-
-
-# --- Learning rate configurations: --- #
-def learning_rate_exp():
- doc_start_lr = 'The learning rate the start of the training.'
- doc_stop_lr = 'The desired learning rate at the end of the training.'
- doc_decay_steps = 'The learning rate is decaying every this number of training steps.'
-
- args = [
- Argument("start_lr", float, optional = True, default = 1e-3, doc = doc_start_lr),
- Argument("stop_lr", float, optional = True, default = 1e-8, doc = doc_stop_lr),
- Argument("decay_steps", int, optional = True, default = 5000, doc = doc_decay_steps)
- ]
- return args
-
-
-def learning_rate_variant_type_args():
- doc_lr = 'The type of the learning rate.'
-
- return Variant("type",
- [Argument("exp", dict, learning_rate_exp())],
- optional = True,
- default_tag = 'exp',
- doc = doc_lr)
-
-
-def learning_rate_args():
- doc_scale_by_worker = 'When parallel training or batch size scaled, how to alter learning rate. Valid values are `linear`(default), `sqrt` or `none`.'
- doc_lr = "The definitio of learning rate"
- return Argument("learning_rate", dict,
- [Argument("scale_by_worker", str, optional=True, default='linear', doc=doc_scale_by_worker)],
- [learning_rate_variant_type_args()],
- doc = doc_lr)
-
-
-# --- Loss configurations: --- #
-def start_pref(item):
- return f'The prefactor of {item} loss at the start of the training. Should be larger than or equal to 0. If set to none-zero value, the {item} label should be provided by file {item}.npy in each data system. If both start_pref_{item} and limit_pref_{item} are set to 0, then the {item} will be ignored.'
-
-
-def limit_pref(item):
- return f'The prefactor of {item} loss at the limit of the training, Should be larger than or equal to 0. i.e. the training step goes to infinity.'
-
-
-def loss_ener():
- doc_start_pref_e = start_pref('energy')
- doc_limit_pref_e = limit_pref('energy')
- doc_start_pref_f = start_pref('force')
- doc_limit_pref_f = limit_pref('force')
- doc_start_pref_v = start_pref('virial')
- doc_limit_pref_v = limit_pref('virial')
- doc_start_pref_ae = start_pref('atom_ener')
- doc_limit_pref_ae = limit_pref('atom_ener')
- doc_start_pref_pf = start_pref('atom_pref')
- doc_limit_pref_pf = limit_pref('atom_pref')
- doc_relative_f = 'If provided, relative force error will be used in the loss. The difference of force will be normalized by the magnitude of the force in the label with a shift given by `relative_f`, i.e. DF_i / ( || F || + relative_f ) with DF denoting the difference between prediction and label and || F || denoting the L2 norm of the label.'
- doc_enable_atom_ener_coeff = "If true, the energy will be computed as \sum_i c_i E_i. c_i should be provided by file atom_ener_coeff.npy in each data system, otherwise it's 1."
- return [
- Argument("start_pref_e", [float,int], optional = True, default = 0.02, doc = doc_start_pref_e),
- Argument("limit_pref_e", [float,int], optional = True, default = 1.00, doc = doc_limit_pref_e),
- Argument("start_pref_f", [float,int], optional = True, default = 1000, doc = doc_start_pref_f),
- Argument("limit_pref_f", [float,int], optional = True, default = 1.00, doc = doc_limit_pref_f),
- Argument("start_pref_v", [float,int], optional = True, default = 0.00, doc = doc_start_pref_v),
- Argument("limit_pref_v", [float,int], optional = True, default = 0.00, doc = doc_limit_pref_v),
- Argument("start_pref_ae", [float,int], optional = True, default = 0.00, doc = doc_start_pref_ae),
- Argument("limit_pref_ae", [float,int], optional = True, default = 0.00, doc = doc_limit_pref_ae),
- Argument("start_pref_pf", [float,int], optional = True, default = 0.00, doc = doc_start_pref_pf),
- Argument("limit_pref_pf", [float,int], optional = True, default = 0.00, doc = doc_limit_pref_pf),
- Argument("relative_f", [float,None], optional = True, doc = doc_relative_f),
- Argument("enable_atom_ener_coeff", [bool], optional=True, default=False, doc=doc_enable_atom_ener_coeff),
- ]
-
-# YWolfeee: Modified to support tensor type of loss args.
-def loss_tensor():
- #doc_global_weight = "The prefactor of the weight of global loss. It should be larger than or equal to 0. If only `pref` is provided or both are not provided, training will be global mode, i.e. the shape of 'polarizability.npy` or `dipole.npy` should be #frams x [9 or 3]."
- #doc_local_weight = "The prefactor of the weight of atomic loss. It should be larger than or equal to 0. If only `pref_atomic` is provided, training will be atomic mode, i.e. the shape of `polarizability.npy` or `dipole.npy` should be #frames x ([9 or 3] x #selected atoms). If both `pref` and `pref_atomic` are provided, training will be combined mode, and atomic label should be provided as well."
- doc_global_weight = "The prefactor of the weight of global loss. It should be larger than or equal to 0. If controls the weight of loss corresponding to global label, i.e. 'polarizability.npy` or `dipole.npy`, whose shape should be #frames x [9 or 3]. If it's larger than 0.0, this npy should be included."
- doc_local_weight = "The prefactor of the weight of atomic loss. It should be larger than or equal to 0. If controls the weight of loss corresponding to atomic label, i.e. `atomic_polarizability.npy` or `atomic_dipole.npy`, whose shape should be #frames x ([9 or 3] x #selected atoms). If it's larger than 0.0, this npy should be included. Both `pref` and `pref_atomic` should be provided, and either can be set to 0.0."
- return [
- Argument("pref", [float,int], optional = False, default = None, doc = doc_global_weight),
- Argument("pref_atomic", [float,int], optional = False, default = None, doc = doc_local_weight),
- ]
-
-
-def loss_variant_type_args():
- doc_loss = 'The type of the loss. When the fitting type is `ener`, the loss type should be set to `ener` or left unset. When the fitting type is `dipole` or `polar`, the loss type should be set to `tensor`. \n\.'
-
-
- return Variant("type",
- [Argument("ener", dict, loss_ener()),
- Argument("tensor", dict, loss_tensor()),
- #Argument("polar", dict, loss_tensor()),
- #Argument("global_polar", dict, loss_tensor("global"))
- ],
- optional = True,
- default_tag = 'ener',
- doc = doc_loss)
-
-
-def loss_args():
- doc_loss = 'The definition of loss function. The loss type should be set to `tensor`, `ener` or left unset.\n\.'
- ca = Argument('loss', dict, [],
- [loss_variant_type_args()],
- optional = True,
- doc = doc_loss)
- return ca
-
-
-# --- Training configurations: --- #
-def training_data_args(): # ! added by Ziyao: new specification style for data systems.
- link_sys = make_link("systems", "training/training_data/systems")
- doc_systems = 'The data systems for training. ' \
- 'This key can be provided with a list that specifies the systems, or be provided with a string ' \
- 'by which the prefix of all systems are given and the list of the systems is automatically generated.'
- doc_set_prefix = f'The prefix of the sets in the {link_sys}.'
- doc_batch_size = f'This key can be \n\n\
-- list: the length of which is the same as the {link_sys}. The batch size of each system is given by the elements of the list.\n\n\
-- int: all {link_sys} use the same batch size.\n\n\
-- string "auto": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than 32.\n\n\
-- string "auto:N": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than N.'
- doc_auto_prob_style = 'Determine the probability of systems automatically. The method is assigned by this key and can be\n\n\
-- "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()\n\n\
-- "prob_sys_size" : the probability of a system is proportional to the number of batches in the system\n\n\
-- "prob_sys_size;stt_idx:end_idx:weight;stt_idx:end_idx:weight;..." : the list of systems is devided into blocks. A block is specified by `stt_idx:end_idx:weight`, where `stt_idx` is the starting index of the system, `end_idx` is then ending (not including) index of the system, the probabilities of the systems in this block sums up to `weight`, and the relatively probabilities within this block is proportional to the number of batches in the system.'
- doc_sys_probs = "A list of float if specified. " \
- "Should be of the same length as `systems`, " \
- "specifying the probability of each system."
-
-
- args = [
- Argument("systems", [list, str], optional=False, default=".", doc=doc_systems),
- Argument("set_prefix", str, optional=True, default='set', doc=doc_set_prefix),
- Argument("batch_size", [list, int, str], optional=True, default='auto', doc=doc_batch_size),
- Argument("auto_prob", str, optional=True, default="prob_sys_size",
- doc=doc_auto_prob_style, alias=["auto_prob_style",]),
- Argument("sys_probs", list, optional=True, default=None, doc=doc_sys_probs, alias=["sys_weights"]),
- ]
-
- doc_training_data = "Configurations of training data."
- return Argument("training_data", dict, optional=False,
- sub_fields=args, sub_variants=[], doc=doc_training_data)
-
-
-def validation_data_args(): # ! added by Ziyao: new specification style for data systems.
- link_sys = make_link("systems", "training/validation_data/systems")
- doc_systems = 'The data systems for validation. ' \
- 'This key can be provided with a list that specifies the systems, or be provided with a string ' \
- 'by which the prefix of all systems are given and the list of the systems is automatically generated.'
- doc_set_prefix = f'The prefix of the sets in the {link_sys}.'
- doc_batch_size = f'This key can be \n\n\
-- list: the length of which is the same as the {link_sys}. The batch size of each system is given by the elements of the list.\n\n\
-- int: all {link_sys} use the same batch size.\n\n\
-- string "auto": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than 32.\n\n\
-- string "auto:N": automatically determines the batch size so that the batch_size times the number of atoms in the system is no less than N.'
- doc_auto_prob_style = 'Determine the probability of systems automatically. The method is assigned by this key and can be\n\n\
-- "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()\n\n\
-- "prob_sys_size" : the probability of a system is proportional to the number of batches in the system\n\n\
-- "prob_sys_size;stt_idx:end_idx:weight;stt_idx:end_idx:weight;..." : the list of systems is devided into blocks. A block is specified by `stt_idx:end_idx:weight`, where `stt_idx` is the starting index of the system, `end_idx` is then ending (not including) index of the system, the probabilities of the systems in this block sums up to `weight`, and the relatively probabilities within this block is proportional to the number of batches in the system.'
- doc_sys_probs = "A list of float if specified. " \
- "Should be of the same length as `systems`, " \
- "specifying the probability of each system."
- doc_numb_btch = "An integer that specifies the number of systems to be sampled for each validation period."
-
- args = [
- Argument("systems", [list, str], optional=False, default=".", doc=doc_systems),
- Argument("set_prefix", str, optional=True, default='set', doc=doc_set_prefix),
- Argument("batch_size", [list, int, str], optional=True, default='auto', doc=doc_batch_size),
- Argument("auto_prob", str, optional=True, default="prob_sys_size",
- doc=doc_auto_prob_style, alias=["auto_prob_style", ]),
- Argument("sys_probs", list, optional=True, default=None, doc=doc_sys_probs, alias=["sys_weights"]),
- Argument("numb_btch", int, optional=True, default=1, doc=doc_numb_btch, alias=["numb_batch", ])
- ]
-
- doc_validation_data = "Configurations of validation data. Similar to that of training data, " \
- "except that a `numb_btch` argument may be configured"
- return Argument("validation_data", dict, optional=True, default=None,
- sub_fields=args, sub_variants=[], doc=doc_validation_data)
-
-
-def mixed_precision_args(): # ! added by Denghui.
- doc_output_prec = 'The precision for mixed precision params. " \
- "The trainable variables precision during the mixed precision training process, " \
- "supported options are float32 only currently.'
- doc_compute_prec = 'The precision for mixed precision compute. " \
- "The compute precision during the mixed precision training process, "" \
- "supported options are float16 only currently.'
-
- args = [
- Argument("output_prec", str, optional=True, default="float32", doc=doc_output_prec),
- Argument("compute_prec", str, optional=False, default="float16", doc=doc_compute_prec),
- ]
-
- doc_mixed_precision = "Configurations of mixed precision."
- return Argument("mixed_precision", dict, optional=True,
- sub_fields=args, sub_variants=[], doc=doc_mixed_precision)
-
-
-def training_args(): # ! modified by Ziyao: data configuration isolated.
- doc_numb_steps = 'Number of training batch. Each training uses one batch of data.'
- doc_seed = 'The random seed for getting frames from the training data set.'
- doc_disp_file = 'The file for printing learning curve.'
- doc_disp_freq = 'The frequency of printing learning curve.'
- doc_save_freq = 'The frequency of saving check point.'
- doc_save_ckpt = 'The file name of saving check point.'
- doc_disp_training = 'Displaying verbose information during training.'
- doc_time_training = 'Timing durining training.'
- doc_profiling = 'Profiling during training.'
- doc_profiling_file = 'Output file for profiling.'
- doc_enable_profiler = 'Enable TensorFlow Profiler (available in TensorFlow 2.3) to analyze performance. The log will be saved to `tensorboard_log_dir`.'
- doc_tensorboard = 'Enable tensorboard'
- doc_tensorboard_log_dir = 'The log directory of tensorboard outputs'
- doc_tensorboard_freq = 'The frequency of writing tensorboard events.'
-
- arg_training_data = training_data_args()
- arg_validation_data = validation_data_args()
- mixed_precision_data = mixed_precision_args()
-
- args = [
- arg_training_data,
- arg_validation_data,
- mixed_precision_data,
- Argument("numb_steps", int, optional=False, doc=doc_numb_steps, alias=["stop_batch"]),
- Argument("seed", [int,None], optional=True, doc=doc_seed),
- Argument("disp_file", str, optional=True, default='lcurve.out', doc=doc_disp_file),
- Argument("disp_freq", int, optional=True, default=1000, doc=doc_disp_freq),
- Argument("save_freq", int, optional=True, default=1000, doc=doc_save_freq),
- Argument("save_ckpt", str, optional=True, default='model.ckpt', doc=doc_save_ckpt),
- Argument("disp_training", bool, optional=True, default=True, doc=doc_disp_training),
- Argument("time_training", bool, optional=True, default=True, doc=doc_time_training),
- Argument("profiling", bool, optional=True, default=False, doc=doc_profiling),
- Argument("profiling_file", str, optional=True, default='timeline.json', doc=doc_profiling_file),
- Argument("enable_profiler", bool, optional=True, default=False, doc=doc_enable_profiler),
- Argument("tensorboard", bool, optional=True, default=False, doc=doc_tensorboard),
- Argument("tensorboard_log_dir", str, optional=True, default='log', doc=doc_tensorboard_log_dir),
- Argument("tensorboard_freq", int, optional=True, default=1, doc=doc_tensorboard_freq),
- ]
-
- doc_training = 'The training options.'
- return Argument("training", dict, args, [], doc = doc_training)
-
-
-def make_index(keys):
- ret = []
- for ii in keys:
- ret.append(make_link(ii, ii))
- return ', '.join(ret)
-
-
-def gen_doc(*, make_anchor=True, make_link=True, **kwargs):
- if make_link:
- make_anchor = True
- ma = model_args()
- lra = learning_rate_args()
- la = loss_args()
- ta = training_args()
- nvnmda = nvnmd_args()
- ptr = []
- ptr.append(ma.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(la.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(lra.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(ta.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
- ptr.append(nvnmda.gen_doc(make_anchor=make_anchor, make_link=make_link, **kwargs))
-
- key_words = []
- for ii in "\n\n".join(ptr).split('\n'):
- if 'argument path' in ii:
- key_words.append(ii.split(':')[1].replace('`','').strip())
- #ptr.insert(0, make_index(key_words))
-
- return "\n\n".join(ptr)
-
-def gen_json(**kwargs):
- return json.dumps((
- model_args(),
- learning_rate_args(),
- loss_args(),
- training_args(),
- nvnmd_args(),
- ), cls=ArgumentEncoder)
-
-def normalize_hybrid_list(hy_list):
- new_list = []
- base = Argument("base", dict, [], [descrpt_variant_type_args()], doc = "")
- for ii in range(len(hy_list)):
- data = base.normalize_value(hy_list[ii], trim_pattern="_*")
- base.check_value(data, strict=True)
- new_list.append(data)
- return new_list
-
-
-def normalize(data):
- if "hybrid" == data["model"]["descriptor"]["type"]:
- data["model"]["descriptor"]["list"] \
- = normalize_hybrid_list(data["model"]["descriptor"]["list"])
-
- ma = model_args()
- lra = learning_rate_args()
- la = loss_args()
- ta = training_args()
- nvnmda = nvnmd_args()
-
- base = Argument("base", dict, [ma, lra, la, ta, nvnmda])
- data = base.normalize_value(data, trim_pattern="_*")
- base.check_value(data, strict=True)
-
- return data
-
-
-if __name__ == '__main__':
- gen_doc()
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/batch_size.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/batch_size.py
deleted file mode 100644
index aa724decd70be812c0a44e83a859bb0c189487a3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/batch_size.py
+++ /dev/null
@@ -1,129 +0,0 @@
-import logging
-from typing import Callable, Tuple
-
-import numpy as np
-
-from deepmd.utils.errors import OutOfMemoryError
-
-class AutoBatchSize:
- """This class allows DeePMD-kit to automatically decide the maximum
- batch size that will not cause an OOM error.
-
- Notes
- -----
- We assume all OOM error will raise :class:`OutOfMemoryError`.
-
- Parameters
- ----------
- initial_batch_size : int, default: 1024
- initial batch size (number of total atoms)
- factor : float, default: 2.
- increased factor
-
- Attributes
- ----------
- current_batch_size : int
- current batch size (number of total atoms)
- maximum_working_batch_size : int
- maximum working batch size
- minimal_not_working_batch_size : int
- minimal not working batch size
- """
- def __init__(self, initial_batch_size: int = 1024, factor: float = 2.) -> None:
- # See also PyTorchLightning/pytorch-lightning#1638
- # TODO: discuss a proper initial batch size
- self.current_batch_size = initial_batch_size
- self.maximum_working_batch_size = 0
- self.minimal_not_working_batch_size = 2**31
- self.factor = factor
-
- def execute(self, callable: Callable, start_index: int, natoms: int) -> Tuple[int, tuple]:
- """Excuate a method with given batch size.
-
- Parameters
- ----------
- callable : Callable
- The method should accept the batch size and start_index as parameters,
- and returns executed batch size and data.
- start_index : int
- start index
- natoms : int
- natoms
-
- Returns
- -------
- int
- executed batch size * number of atoms
- tuple
- result from callable, None if failing to execute
-
- Raises
- ------
- OutOfMemoryError
- OOM when batch size is 1
- """
- try:
- n_batch, result = callable(max(self.current_batch_size // natoms, 1), start_index)
- except OutOfMemoryError as e:
- # TODO: it's very slow to catch OOM error; I don't know what TF is doing here
- # but luckily we only need to catch once
- self.minimal_not_working_batch_size = min(self.minimal_not_working_batch_size, self.current_batch_size)
- if self.maximum_working_batch_size >= self.minimal_not_working_batch_size:
- self.maximum_working_batch_size = int(self.minimal_not_working_batch_size / self.factor)
- if self.minimal_not_working_batch_size <= natoms:
- raise OutOfMemoryError("The callable still throws an out-of-memory (OOM) error even when batch size is 1!") from e
- # adjust the next batch size
- self._adjust_batch_size(1./self.factor)
- return 0, None
- else:
- n_tot = n_batch * natoms
- self.maximum_working_batch_size = max(self.maximum_working_batch_size, n_tot)
- # adjust the next batch size
- if n_tot + natoms > self.current_batch_size and self.current_batch_size * self.factor < self.minimal_not_working_batch_size:
- self._adjust_batch_size(self.factor)
- return n_batch, result
-
- def _adjust_batch_size(self, factor: float):
- old_batch_size = self.current_batch_size
- self.current_batch_size = int(self.current_batch_size * factor)
- logging.info("Adjust batch size from %d to %d" % (old_batch_size, self.current_batch_size))
-
- def execute_all(self, callable: Callable, total_size: int, natoms: int, *args, **kwargs) -> Tuple[np.ndarray]:
- """Excuate a method with all given data.
-
- Parameters
- ----------
- callable : Callable
- The method should accept *args and **kwargs as input and return the similiar array.
- total_size : int
- Total size
- natoms : int
- The number of atoms
- **kwargs
- If 2D np.ndarray, assume the first axis is batch; otherwise do nothing.
- """
- def execute_with_batch_size(batch_size: int, start_index: int) -> Tuple[int, Tuple[np.ndarray]]:
- end_index = start_index + batch_size
- end_index = min(end_index, total_size)
- return (end_index - start_index), callable(
- *[(vv[start_index:end_index] if isinstance(vv, np.ndarray) and vv.ndim > 1 else vv) for vv in args],
- **{kk: (vv[start_index:end_index] if isinstance(vv, np.ndarray) and vv.ndim > 1 else vv) for kk, vv in kwargs.items()},
- )
-
- index = 0
- results = []
- while index < total_size:
- n_batch, result = self.execute(execute_with_batch_size, index, natoms)
- if not isinstance(result, tuple):
- result = (result,)
- index += n_batch
- if n_batch:
- for rr in result:
- rr.reshape((n_batch, -1))
- results.append(result)
-
- r = tuple([np.concatenate(r, axis=0) for r in zip(*results)])
- if len(r) == 1:
- # avoid returning tuple if callable doesn't return tuple
- r = r[0]
- return r
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/compat.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/compat.py
deleted file mode 100644
index 1d012a7adc4815c714326d4c1cb264998243b4c3..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/compat.py
+++ /dev/null
@@ -1,376 +0,0 @@
-"""Module providing compatibility between `0.x.x` and `1.x.x` input versions."""
-
-import json
-import warnings
-from pathlib import Path
-from typing import Any, Dict, Optional, Sequence, Union
-
-import numpy as np
-from deepmd.common import j_must_have
-
-
-def convert_input_v0_v1(
- jdata: Dict[str, Any], warning: bool = True, dump: Optional[Union[str, Path]] = None
-) -> Dict[str, Any]:
- """Convert input from v0 format to v1.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- loaded json/yaml file
- warning : bool, optional
- whether to show deprecation warning, by default True
- dump : Optional[Union[str, Path]], optional
- whether to dump converted file, by default None
-
- Returns
- -------
- Dict[str, Any]
- converted output
- """
-
- output = {}
- output["model"] = _model(jdata, jdata["use_smooth"])
- output["learning_rate"] = _learning_rate(jdata)
- output["loss"] = _loss(jdata)
- output["training"] = _training(jdata)
- if warning:
- _warning_input_v0_v1(dump)
- if dump is not None:
- with open(dump, "w") as fp:
- json.dump(output, fp, indent=4)
- return output
-
-
-def _warning_input_v0_v1(fname: Optional[Union[str, Path]]):
- msg = "It seems that you are using a deepmd-kit input of version 0.x.x, " \
- "which is deprecated. we have converted the input to >2.0.0 compatible"
- if fname is not None:
- msg += f", and output it to file {fname}"
- warnings.warn(msg)
-
-
-def _model(jdata: Dict[str, Any], smooth: bool) -> Dict[str, Dict[str, Any]]:
- """Convert data to v1 input for non-smooth model.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
- smooth : bool
- whether to use smooth or non-smooth descriptor version
-
- Returns
- -------
- Dict[str, Dict[str, Any]]
- dictionary with model input parameters and sub-dictionaries for descriptor and
- fitting net
- """
- model = {}
- model["descriptor"] = (
- _smth_descriptor(jdata) if smooth else _nonsmth_descriptor(jdata)
- )
- model["fitting_net"] = _fitting_net(jdata)
- return model
-
-
-def _nonsmth_descriptor(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for non-smooth descriptor.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with descriptor parameters
- """
- descriptor = {}
- descriptor["type"] = "loc_frame"
- _jcopy(jdata, descriptor, ("sel_a", "sel_r", "rcut", "axis_rule"))
- return descriptor
-
-
-def _smth_descriptor(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for smooth descriptor.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with descriptor parameters
- """
- descriptor = {}
- seed = jdata.get("seed", None)
- if seed is not None:
- descriptor["seed"] = seed
- descriptor["type"] = "se_a"
- descriptor["sel"] = jdata["sel_a"]
- _jcopy(jdata, descriptor, ("rcut", ))
- descriptor["rcut_smth"] = jdata.get("rcut_smth", descriptor["rcut"])
- descriptor["neuron"] = j_must_have(jdata, "filter_neuron")
- descriptor["axis_neuron"] = j_must_have(jdata, "axis_neuron", ["n_axis_neuron"])
- descriptor["resnet_dt"] = False
- if "resnet_dt" in jdata:
- descriptor["resnet_dt"] = jdata["filter_resnet_dt"]
-
- return descriptor
-
-
-def _fitting_net(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for fitting net.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with fitting net parameters
- """
- fitting_net = {}
-
- seed = jdata.get("seed", None)
- if seed is not None:
- fitting_net["seed"] = seed
- fitting_net["neuron"] = j_must_have(jdata, "fitting_neuron", ["n_neuron"])
- fitting_net["resnet_dt"] = True
- if "resnet_dt" in jdata:
- fitting_net["resnet_dt"] = jdata["resnet_dt"]
- if "fitting_resnet_dt" in jdata:
- fitting_net["resnet_dt"] = jdata["fitting_resnet_dt"]
- return fitting_net
-
-
-def _learning_rate(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for learning rate section.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with learning rate parameters
- """
- learning_rate = {}
- learning_rate["type"] = "exp"
- _jcopy(jdata, learning_rate, ("decay_steps", "decay_rate", "start_lr"))
- return learning_rate
-
-
-def _loss(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for loss function.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with loss function parameters
- """
- loss: Dict[str, Any] = {}
- _jcopy(
- jdata,
- loss,
- (
- "start_pref_e",
- "limit_pref_e",
- "start_pref_f",
- "limit_pref_f",
- "start_pref_v",
- "limit_pref_v",
- ),
- )
- if "start_pref_ae" in jdata:
- loss["start_pref_ae"] = jdata["start_pref_ae"]
- if "limit_pref_ae" in jdata:
- loss["limit_pref_ae"] = jdata["limit_pref_ae"]
- return loss
-
-
-def _training(jdata: Dict[str, Any]) -> Dict[str, Any]:
- """Convert data to v1 input for training.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- parsed input json/yaml data
-
- Returns
- -------
- Dict[str, Any]
- dict with training parameters
- """
- training = {}
- seed = jdata.get("seed", None)
- if seed is not None:
- training["seed"] = seed
-
- _jcopy(jdata, training, ("systems", "set_prefix", "stop_batch", "batch_size"))
- training["disp_file"] = "lcurve.out"
- if "disp_file" in jdata:
- training["disp_file"] = jdata["disp_file"]
- training["disp_freq"] = j_must_have(jdata, "disp_freq")
- training["numb_test"] = j_must_have(jdata, "numb_test")
- training["save_freq"] = j_must_have(jdata, "save_freq")
- training["save_ckpt"] = j_must_have(jdata, "save_ckpt")
- training["disp_training"] = j_must_have(jdata, "disp_training")
- training["time_training"] = j_must_have(jdata, "time_training")
- if "profiling" in jdata:
- training["profiling"] = jdata["profiling"]
- if training["profiling"]:
- training["profiling_file"] = j_must_have(jdata, "profiling_file")
- return training
-
-
-def _jcopy(src: Dict[str, Any], dst: Dict[str, Any], keys: Sequence[str]):
- """Copy specified keys from one dict to another.
-
- Parameters
- ----------
- src : Dict[str, Any]
- source dictionary
- dst : Dict[str, Any]
- destination dictionary, will be modified in place
- keys : Sequence[str]
- list of keys to copy
- must_have : bool
- ensure that the source dictionary contains the copyyied keys
- """
- for k in keys:
- dst[k] = src[k]
-
-
-def remove_decay_rate(jdata: Dict[str, Any]):
- """convert decay_rate to stop_lr.
-
- Parameters
- ----------
- jdata: Dict[str, Any]
- input data
- """
- lr = jdata["learning_rate"]
- if "decay_rate" in lr:
- decay_rate = lr["decay_rate"]
- start_lr = lr["start_lr"]
- stop_step = jdata["training"]["stop_batch"]
- decay_steps = lr["decay_steps"]
- stop_lr = np.exp(np.log(decay_rate) * (stop_step / decay_steps)) * start_lr
- lr["stop_lr"] = stop_lr
- lr.pop("decay_rate")
-
-
-def convert_input_v1_v2(jdata: Dict[str, Any],
- warning: bool = True,
- dump: Optional[Union[str, Path]] = None) -> Dict[str, Any]:
-
- tr_cfg = jdata["training"]
- tr_data_keys = {
- "systems",
- "set_prefix",
- "batch_size",
- "sys_prob",
- "auto_prob",
- # alias included
- "sys_weights",
- "auto_prob_style"
- }
-
- tr_data_cfg = {k: v for k, v in tr_cfg.items() if k in tr_data_keys}
- new_tr_cfg = {k: v for k, v in tr_cfg.items() if k not in tr_data_keys}
- new_tr_cfg["training_data"] = tr_data_cfg
-
- jdata["training"] = new_tr_cfg
-
- # remove deprecated arguments
- remove_decay_rate(jdata)
-
- if warning:
- _warning_input_v1_v2(dump)
- if dump is not None:
- with open(dump, "w") as fp:
- json.dump(jdata, fp, indent=4)
-
- return jdata
-
-
-def _warning_input_v1_v2(fname: Optional[Union[str, Path]]):
- msg = "It seems that you are using a deepmd-kit input of version 1.x.x, " \
- "which is deprecated. we have converted the input to >2.0.0 compatible"
- if fname is not None:
- msg += f", and output it to file {fname}"
- warnings.warn(msg)
-
-
-def deprecate_numb_test(jdata: Dict[str, Any],
- warning: bool = True,
- dump: Optional[Union[str, Path]] = None) -> Dict[str, Any]:
- """Deprecate `numb_test` since v2.1. It has taken no effect since v2.0.
-
- See `#1243 `_.
-
- Parameters
- ----------
- jdata : Dict[str, Any]
- loaded json/yaml file
- warning : bool, optional
- whether to show deprecation warning, by default True
- dump : Optional[Union[str, Path]], optional
- whether to dump converted file, by default None
-
- Returns
- -------
- Dict[str, Any]
- converted output
- """
- try:
- jdata.get("training", {}).pop("numb_test")
- except KeyError:
- pass
- else:
- if warning:
- warnings.warn(
- "The argument training->numb_test has been deprecated since v2.0.0. "
- "Use training->validation_data->batch_size instead."
- )
-
- if dump is not None:
- with open(dump, "w") as fp:
- json.dump(jdata, fp, indent=4)
- return jdata
-
-
-def update_deepmd_input(jdata: Dict[str, Any],
- warning: bool = True,
- dump: Optional[Union[str, Path]] = None) -> Dict[str, Any]:
- def is_deepmd_v0_input(jdata):
- return "model" not in jdata.keys()
-
- def is_deepmd_v1_input(jdata):
- return "systems" in j_must_have(jdata, "training").keys()
-
- if is_deepmd_v0_input(jdata):
- jdata = convert_input_v0_v1(jdata, warning, None)
- jdata = convert_input_v1_v2(jdata, False, None)
- jdata = deprecate_numb_test(jdata, False, dump)
- elif is_deepmd_v1_input(jdata):
- jdata = convert_input_v1_v2(jdata, warning, None)
- jdata = deprecate_numb_test(jdata, False, dump)
- else:
- jdata = deprecate_numb_test(jdata, warning, dump)
-
- return jdata
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/convert.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/convert.py
deleted file mode 100644
index 66887083829cb6644637219a6533d0e9207a0890..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/convert.py
+++ /dev/null
@@ -1,389 +0,0 @@
-import os
-import textwrap
-from deepmd.env import tf
-from google.protobuf import text_format
-
-
-def convert_13_to_21(input_model: str, output_model: str):
- """Convert DP 1.3 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_13_to_21(input_model: str, output_model: str):
- """Convert DP 1.3 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_12_to_21(input_model: str, output_model: str):
- """Convert DP 1.2 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp12_to_dp13('frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_10_to_21(input_model: str, output_model: str):
- """Convert DP 1.0 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp10_to_dp11('frozen_model.pbtxt')
- convert_dp12_to_dp13('frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_012_to_21(input_model: str, output_model: str):
- """Convert DP 0.12 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp012_to_dp10('frozen_model.pbtxt')
- convert_dp10_to_dp11('frozen_model.pbtxt')
- convert_dp12_to_dp13('frozen_model.pbtxt')
- convert_dp13_to_dp20('frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-
-def convert_20_to_21(input_model: str, output_model: str):
- """Convert DP 2.0 graph to 2.1 graph.
-
- Parameters
- ----------
- input_model : str
- filename of the input graph
- output_model : str
- filename of the output graph
- """
- convert_pb_to_pbtxt(input_model, 'frozen_model.pbtxt')
- convert_dp20_to_dp21('frozen_model.pbtxt')
- convert_pbtxt_to_pb('frozen_model.pbtxt', output_model)
- if os.path.isfile('frozen_model.pbtxt'):
- os.remove('frozen_model.pbtxt')
- print("the converted output model (2.1 support) is saved in %s" % output_model)
-
-def convert_pb_to_pbtxt(pbfile: str, pbtxtfile: str):
- """Convert DP graph to graph text.
-
- Parameters
- ----------
- pbfile : str
- filename of the input graph
- pbtxtfile : str
- filename of the output graph text
- """
- with tf.gfile.GFile(pbfile, 'rb') as f:
- graph_def = tf.GraphDef()
- graph_def.ParseFromString(f.read())
- tf.import_graph_def(graph_def, name='')
- tf.train.write_graph(graph_def, './', pbtxtfile, as_text=True)
-
-def convert_pbtxt_to_pb(pbtxtfile: str, pbfile: str):
- """Convert DP graph text to graph.
-
- Parameters
- ----------
- pbtxtfile : str
- filename of the input graph text
- pbfile : str
- filename of the output graph
- """
- with tf.gfile.GFile(pbtxtfile, 'r') as f:
- graph_def = tf.GraphDef()
- file_content = f.read()
- # Merges the human-readable string in `file_content` into `graph_def`.
- text_format.Merge(file_content, graph_def)
- tf.train.write_graph(graph_def, './', pbfile, as_text=False)
-
-
-def convert_dp012_to_dp10(file: str):
- """Convert DP 1.0 graph text to 1.1 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- with open(file) as fp:
- file_content = fp.read()
- # note: atom_energy must be put before energy,
- # otherwise atom_energy_test -> atom_o_energy
- file_content = file_content\
- .replace('DescrptNorot', 'DescrptSeA') \
- .replace('ProdForceNorot', 'ProdForceSeA') \
- .replace('ProdVirialNorot', 'ProdVirialSeA') \
- .replace('t_rcut', 'descrpt_attr/rcut') \
- .replace('t_ntypes', 'descrpt_attr/ntypes') \
- .replace('atom_energy_test', 'o_atom_energy') \
- .replace('atom_virial_test', 'o_atom_virial') \
- .replace('energy_test', 'o_energy') \
- .replace('force_test', 'o_force') \
- .replace('virial_test', 'o_virial')
- file_content += textwrap.dedent("""\
- node {
- name: "fitting_attr/dfparam"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- }
- }
- }
- """)
- file_content += textwrap.dedent("""\
- node {
- name: "model_attr/model_type"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "ener"
- }
- }
- }
- }
- """)
- with open(file, 'w') as fp:
- fp.write(file_content)
-
-
-def convert_dp10_to_dp11(file: str):
- """Convert DP 1.0 graph text to 1.1 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- with open(file, 'a') as f:
- f.write(textwrap.dedent("""\
- node {
- name: "fitting_attr/daparam"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_INT32
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_INT32
- tensor_shape {
- }
- int_val: 0
- }
- } }
- }
- """))
-
-
-def convert_dp12_to_dp13(file: str):
- """Convert DP 1.2 graph text to 1.3 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- file_data = ""
- with open(file, "r", encoding="utf-8") as f:
- ii = 0
- lines = f.readlines()
- while (ii < len(lines)):
- line = lines[ii]
- file_data += line
- ii+=1
- if 'name' in line and ('DescrptSeA' in line or 'ProdForceSeA' in line or 'ProdVirialSeA' in line):
- while not('attr' in lines[ii] and '{' in lines[ii]):
- file_data += lines[ii]
- ii+=1
- file_data += ' attr {\n'
- file_data += ' key: \"T\"\n'
- file_data += ' value {\n'
- file_data += ' type: DT_DOUBLE\n'
- file_data += ' }\n'
- file_data += ' }\n'
- with open(file, "w", encoding="utf-8") as f:
- f.write(file_data)
-
-
-def convert_dp13_to_dp20(fname: str):
- """Convert DP 1.3 graph text to 2.0 graph text.
-
- Parameters
- ----------
- file : str
- filename of the graph text
- """
- with open(fname) as fp:
- file_content = fp.read()
- file_content += textwrap.dedent("""\
- node {
- name: "model_attr/model_version"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "1.0"
- }
- }
- }
- }
- """)
- file_content = file_content\
- .replace('DescrptSeA', 'ProdEnvMatA')\
- .replace('DescrptSeR', 'ProdEnvMatR')
- with open(fname, 'w') as fp:
- fp.write(file_content)
-
-def convert_dp20_to_dp21(fname: str):
- with open(fname) as fp:
- file_content = fp.read()
- old_model_version_node = textwrap.dedent("""\
- node {
- name: "model_attr/model_version"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "1.0"
- }
- }
- }
- }
- """)
- new_model_version_node = textwrap.dedent("""\
- node {
- name: "model_attr/model_version"
- op: "Const"
- attr {
- key: "dtype"
- value {
- type: DT_STRING
- }
- }
- attr {
- key: "value"
- value {
- tensor {
- dtype: DT_STRING
- tensor_shape {
- }
- string_val: "1.1"
- }
- }
- }
- }
- """)
- file_content = file_content\
- .replace(old_model_version_node, new_model_version_node)\
- .replace('TabulateFusion', 'TabulateFusionSeA')\
- .replace('TabulateFusionGrad', 'TabulateFusionSeAGrad')\
- .replace('TabulateFusionGradGrad', 'TabulateFusionSeAGradGrad')
- with open(fname, 'w') as fp:
- fp.write(file_content)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/data.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/data.py
deleted file mode 100644
index f5d2cd905e1c70c147c110d3506e822d2f99415f..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/data.py
+++ /dev/null
@@ -1,827 +0,0 @@
-#!/usr/bin/env python3
-
-import time
-import glob
-import numpy as np
-import os.path
-from typing import Tuple, List
-import logging
-
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import GLOBAL_ENER_FLOAT_PRECISION
-from deepmd.utils import random as dp_random
-from deepmd.utils.path import DPPath
-
-log = logging.getLogger(__name__)
-
-class DeepmdData() :
- """
- Class for a data system.
-
- It loads data from hard disk, and mantains the data as a `data_dict`
-
- Parameters
- ----------
- sys_path
- Path to the data system
- set_prefix
- Prefix for the directories of different sets
- shuffle_test
- If the test data are shuffled
- type_map
- Gives the name of different atom types
- modifier
- Data modifier that has the method `modify_data`
- trn_all_set
- Use all sets as training dataset. Otherwise, if the number of sets is more than 1, the last set is left for test.
- """
- def __init__ (self,
- sys_path : str,
- set_prefix : str = 'set',
- shuffle_test : bool = True,
- type_map : List[str] = None,
- modifier = None,
- trn_all_set : bool = False) :
- """
- Constructor
- """
- root = DPPath(sys_path)
- self.dirs = root.glob(set_prefix + ".*")
- self.dirs.sort()
- self.mixed_type = self._check_mode(self.dirs[0]) # mixed_type format only has one set
- # load atom type
- self.atom_type = self._load_type(root)
- self.natoms = len(self.atom_type)
- if self.mixed_type:
- # nframes x natoms
- self.atom_type_mix = self._load_type_mix(self.dirs[0])
- # load atom type map
- self.type_map = self._load_type_map(root)
- if self.type_map is not None:
- assert(len(self.type_map) >= max(self.atom_type)+1)
- # check pbc
- self.pbc = self._check_pbc(root)
- # enforce type_map if necessary
- if type_map is not None and self.type_map is not None:
- if not self.mixed_type:
- atom_type_ = [type_map.index(self.type_map[ii]) for ii in self.atom_type]
- self.atom_type = np.array(atom_type_, dtype = np.int32)
- else:
- sorter = np.argsort(type_map)
- type_idx_map = sorter[np.searchsorted(type_map, self.type_map, sorter=sorter)]
- try:
- atom_type_mix_ = np.array(type_idx_map)[self.atom_type_mix].astype(np.int32)
- except RuntimeError as e:
- raise RuntimeError("some types in 'real_atom_types.npy' of sys {} are not contained in {} types!"
- .format(self.dirs[0], self.get_ntypes())) from e
- self.atom_type_mix = atom_type_mix_
- self.type_map = type_map
- if type_map is None and self.type_map is None and self.mixed_type:
- raise RuntimeError('mixed_type format must have type_map!')
- # make idx map
- self.idx_map = self._make_idx_map(self.atom_type)
- # train dirs
- self.test_dir = self.dirs[-1]
- if trn_all_set:
- self.train_dirs = self.dirs
- else:
- if len(self.dirs) == 1 :
- self.train_dirs = self.dirs
- else :
- self.train_dirs = self.dirs[:-1]
- self.data_dict = {}
- # add box and coord
- self.add('box', 9, must = self.pbc)
- self.add('coord', 3, atomic = True, must = True)
- # set counters
- self.set_count = 0
- self.iterator = 0
- self.shuffle_test = shuffle_test
- # set modifier
- self.modifier = modifier
-
-
- def add(self,
- key : str,
- ndof : int,
- atomic : bool = False,
- must : bool = False,
- high_prec : bool = False,
- type_sel : List[int] = None,
- repeat : int = 1,
- default: float=0.,
- ) :
- """
- Add a data item that to be loaded
-
- Parameters
- ----------
- key
- The key of the item. The corresponding data is stored in `sys_path/set.*/key.npy`
- ndof
- The number of dof
- atomic
- The item is an atomic property.
- If False, the size of the data should be nframes x ndof
- If True, the size of data should be nframes x natoms x ndof
- must
- The data file `sys_path/set.*/key.npy` must exist.
- If must is False and the data file does not exist, the `data_dict[find_key]` is set to 0.0
- high_prec
- Load the data and store in float64, otherwise in float32
- type_sel
- Select certain type of atoms
- repeat
- The data will be repeated `repeat` times.
- default : float, default=0.
- default value of data
- """
- self.data_dict[key] = {'ndof': ndof,
- 'atomic': atomic,
- 'must': must,
- 'high_prec': high_prec,
- 'type_sel': type_sel,
- 'repeat': repeat,
- 'reduce': None,
- 'default': default,
- }
- return self
-
-
- def reduce(self,
- key_out : str,
- key_in : str
- ) :
- """
- Generate a new item from the reduction of another atom
-
- Parameters
- ----------
- key_out
- The name of the reduced item
- key_in
- The name of the data item to be reduced
- """
- assert (key_in in self.data_dict), 'cannot find input key'
- assert (self.data_dict[key_in]['atomic']), 'reduced property should be atomic'
- assert (not(key_out in self.data_dict)), 'output key should not have been added'
- assert (self.data_dict[key_in]['repeat'] == 1), 'reduced proerties should not have been repeated'
-
- self.data_dict[key_out] = {'ndof': self.data_dict[key_in]['ndof'],
- 'atomic': False,
- 'must': True,
- 'high_prec': True,
- 'type_sel': None,
- 'repeat': 1,
- 'reduce': key_in,
- }
- return self
-
- def get_data_dict(self) -> dict:
- """
- Get the `data_dict`
- """
- return self.data_dict
-
- def check_batch_size (self, batch_size) :
- """
- Check if the system can get a batch of data with `batch_size` frames.
- """
- for ii in self.train_dirs :
- if self.data_dict['coord']['high_prec'] :
- tmpe = (ii / "coord.npy").load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- tmpe = (ii / "coord.npy").load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- if tmpe.ndim == 1:
- tmpe = tmpe.reshape([1,-1])
- if tmpe.shape[0] < batch_size :
- return ii, tmpe.shape[0]
- return None
-
- def check_test_size (self, test_size) :
- """
- Check if the system can get a test dataset with `test_size` frames.
- """
- if self.data_dict['coord']['high_prec'] :
- tmpe = (self.test_dir / "coord.npy").load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- tmpe = (self.test_dir / "coord.npy").load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- if tmpe.ndim == 1:
- tmpe = tmpe.reshape([1,-1])
- if tmpe.shape[0] < test_size :
- return self.test_dir, tmpe.shape[0]
- else :
- return None
-
- def get_batch(self,
- batch_size : int
- ) -> dict :
- """
- Get a batch of data with `batch_size` frames. The frames are randomly picked from the data system.
-
- Parameters
- ----------
- batch_size
- size of the batch
- """
- if hasattr(self, 'batch_set') :
- set_size = self.batch_set["coord"].shape[0]
- else :
- set_size = 0
- if self.iterator + batch_size > set_size :
- self._load_batch_set (self.train_dirs[self.set_count % self.get_numb_set()])
- self.set_count += 1
- set_size = self.batch_set["coord"].shape[0]
- if self.modifier is not None:
- self.modifier.modify_data(self.batch_set)
- iterator_1 = self.iterator + batch_size
- if iterator_1 >= set_size :
- iterator_1 = set_size
- idx = np.arange (self.iterator, iterator_1)
- self.iterator += batch_size
- ret = self._get_subdata(self.batch_set, idx)
- return ret
-
- def get_test (self,
- ntests : int = -1
- ) -> dict:
- """
- Get the test data with `ntests` frames.
-
- Parameters
- ----------
- ntests
- Size of the test data set. If `ntests` is -1, all test data will be get.
- """
- if not hasattr(self, 'test_set') :
- self._load_test_set(self.test_dir, self.shuffle_test)
- if ntests == -1:
- idx = None
- else :
- ntests_ = ntests if ntests < self.test_set['type'].shape[0] else self.test_set['type'].shape[0]
- # print('ntest', self.test_set['type'].shape[0], ntests, ntests_)
- idx = np.arange(ntests_)
- ret = self._get_subdata(self.test_set, idx = idx)
- if self.modifier is not None:
- self.modifier.modify_data(ret)
- return ret
-
- def get_ntypes(self) -> int:
- """
- Number of atom types in the system
- """
- if self.type_map is not None:
- return len(self.type_map)
- else:
- return max(self.get_atom_type()) + 1
-
- def get_type_map(self) -> List[str]:
- """
- Get the type map
- """
- return self.type_map
-
- def get_atom_type(self) -> List[int]:
- """
- Get atom types
- """
- return self.atom_type
-
- def get_numb_set (self) -> int:
- """
- Get number of training sets
- """
- return len (self.train_dirs)
-
- def get_numb_batch (self,
- batch_size : int,
- set_idx : int
- ) -> int:
- """
- Get the number of batches in a set.
- """
- data = self._load_set(self.train_dirs[set_idx])
- ret = data["coord"].shape[0] // batch_size
- if ret == 0:
- ret = 1
- return ret
-
- def get_sys_numb_batch (self,
- batch_size : int
- ) -> int:
- """
- Get the number of batches in the data system.
- """
- ret = 0
- for ii in range(len(self.train_dirs)) :
- ret += self.get_numb_batch(batch_size, ii)
- return ret
-
- def get_natoms (self) :
- """
- Get number of atoms
- """
- return len(self.atom_type)
-
- def get_natoms_vec (self,
- ntypes : int) :
- """
- Get number of atoms and number of atoms in different types
-
- Parameters
- ----------
- ntypes
- Number of types (may be larger than the actual number of types in the system).
-
- Returns
- -------
- natoms
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- """
- natoms, natoms_vec = self._get_natoms_2 (ntypes)
- tmp = [natoms, natoms]
- tmp = np.append (tmp, natoms_vec)
- return tmp.astype(np.int32)
-
- def avg(self, key) :
- """
- Return the average value of an item.
- """
- if key not in self.data_dict.keys() :
- raise RuntimeError('key %s has not been added' % key)
- info = self.data_dict[key]
- ndof = info['ndof']
- eners = np.array([])
- for ii in self.train_dirs:
- data = self._load_set(ii)
- ei = data[key].reshape([-1, ndof])
- if eners.size == 0 :
- eners = ei
- else :
- eners = np.concatenate((eners, ei), axis = 0)
- if eners.size == 0 :
- return 0
- else :
- return np.average(eners, axis = 0)
-
- def _idx_map_sel(self, atom_type, type_sel) :
- new_types = []
- for ii in atom_type :
- if ii in type_sel:
- new_types.append(ii)
- new_types = np.array(new_types, dtype = int)
- natoms = new_types.shape[0]
- idx = np.arange(natoms)
- idx_map = np.lexsort((idx, new_types))
- return idx_map
-
- def _get_natoms_2 (self, ntypes) :
- sample_type = self.atom_type
- natoms = len(sample_type)
- natoms_vec = np.zeros (ntypes).astype(int)
- for ii in range (ntypes) :
- natoms_vec[ii] = np.count_nonzero(sample_type == ii)
- return natoms, natoms_vec
-
- def _get_subdata(self, data, idx = None) :
- new_data = {}
- for ii in data:
- dd = data[ii]
- if 'find_' in ii:
- new_data[ii] = dd
- else:
- if idx is not None:
- new_data[ii] = dd[idx]
- else :
- new_data[ii] = dd
- return new_data
-
- def _load_batch_set (self,
- set_name: DPPath) :
- self.batch_set = self._load_set(set_name)
- self.batch_set, _ = self._shuffle_data(self.batch_set)
- self.reset_get_batch()
-
- def reset_get_batch(self):
- self.iterator = 0
-
- def _load_test_set (self,
- set_name: DPPath,
- shuffle_test) :
- self.test_set = self._load_set(set_name)
- if shuffle_test :
- self.test_set, _ = self._shuffle_data(self.test_set)
-
- def _shuffle_data (self,
- data) :
- ret = {}
- nframes = data['coord'].shape[0]
- idx = np.arange (nframes)
- dp_random.shuffle(idx)
- for kk in data :
- if type(data[kk]) == np.ndarray and \
- len(data[kk].shape) == 2 and \
- data[kk].shape[0] == nframes and \
- not('find_' in kk):
- ret[kk] = data[kk][idx]
- else :
- ret[kk] = data[kk]
- return ret, idx
-
- def _load_set(self, set_name: DPPath) :
- # get nframes
- if not isinstance(set_name, DPPath):
- set_name = DPPath(set_name)
- path = set_name / "coord.npy"
- if self.data_dict['coord']['high_prec'] :
- coord = path.load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- coord = path.load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- if coord.ndim == 1:
- coord = coord.reshape([1,-1])
- nframes = coord.shape[0]
- assert(coord.shape[1] == self.data_dict['coord']['ndof'] * self.natoms)
- # load keys
- data = {}
- for kk in self.data_dict.keys():
- if self.data_dict[kk]['reduce'] is None :
- data['find_'+kk], data[kk] \
- = self._load_data(set_name,
- kk,
- nframes,
- self.data_dict[kk]['ndof'],
- atomic = self.data_dict[kk]['atomic'],
- high_prec = self.data_dict[kk]['high_prec'],
- must = self.data_dict[kk]['must'],
- type_sel = self.data_dict[kk]['type_sel'],
- repeat = self.data_dict[kk]['repeat'],
- default=self.data_dict[kk]['default'],
- )
- for kk in self.data_dict.keys():
- if self.data_dict[kk]['reduce'] is not None :
- k_in = self.data_dict[kk]['reduce']
- ndof = self.data_dict[kk]['ndof']
- data['find_'+kk] = data['find_'+k_in]
- tmp_in = data[k_in].astype(GLOBAL_ENER_FLOAT_PRECISION)
- data[kk] = np.sum(np.reshape(tmp_in, [nframes, self.natoms, ndof]), axis = 1)
-
- if self.mixed_type:
- real_type = self.atom_type_mix.reshape([nframes, self.natoms])
- data['type'] = real_type
- natoms = data['type'].shape[1]
- # nframes x ntypes
- atom_type_nums = np.array([(real_type == i).sum(axis=-1) for i in range(self.get_ntypes())],
- dtype=np.int32).T
- assert (atom_type_nums.sum(axis=-1) == natoms).all(), \
- "some types in 'real_atom_types.npy' of sys {} are not contained in {} types!" \
- .format(self.dirs[0], self.get_ntypes())
- data['real_natoms_vec'] = np.concatenate((np.tile(np.array([natoms, natoms], dtype=np.int32), (nframes, 1)),
- atom_type_nums), axis=-1)
- else:
- data['type'] = np.tile(self.atom_type[self.idx_map], (nframes, 1))
-
- return data
-
-
- def _load_data(self, set_name, key, nframes, ndof_, atomic = False, must = True, repeat = 1, high_prec = False, type_sel = None, default: float=0.):
- if atomic:
- natoms = self.natoms
- idx_map = self.idx_map
- # if type_sel, then revise natoms and idx_map
- if type_sel is not None:
- natoms = 0
- for jj in type_sel :
- natoms += np.sum(self.atom_type == jj)
- idx_map = self._idx_map_sel(self.atom_type, type_sel)
- ndof = ndof_ * natoms
- else:
- ndof = ndof_
- path = set_name / (key+".npy")
- if path.is_file() :
- if high_prec :
- data = path.load_numpy().astype(GLOBAL_ENER_FLOAT_PRECISION)
- else:
- data = path.load_numpy().astype(GLOBAL_NP_FLOAT_PRECISION)
- try: # YWolfeee: deal with data shape error
- if atomic :
- data = data.reshape([nframes, natoms, -1])
- data = data[:,idx_map,:]
- data = data.reshape([nframes, -1])
- data = np.reshape(data, [nframes, ndof])
- except ValueError as err_message:
- explanation = "This error may occur when your label mismatch it's name, i.e. you might store global tensor in `atomic_tensor.npy` or atomic tensor in `tensor.npy`."
- log.error(str(err_message))
- log.error(explanation)
- raise ValueError(str(err_message) + ". " + explanation)
- if repeat != 1:
- data = np.repeat(data, repeat).reshape([nframes, -1])
- return np.float32(1.0), data
- elif must:
- raise RuntimeError("%s not found!" % path)
- else:
- if high_prec :
- data = np.full([nframes, ndof], default, dtype=GLOBAL_ENER_FLOAT_PRECISION)
- else :
- data = np.full([nframes, ndof], default, dtype=GLOBAL_NP_FLOAT_PRECISION)
- if repeat != 1:
- data = np.repeat(data, repeat).reshape([nframes, -1])
- return np.float32(0.0), data
-
-
- def _load_type (self, sys_path: DPPath) :
- atom_type = (sys_path / "type.raw").load_txt(dtype=np.int32, ndmin=1)
- return atom_type
-
- def _load_type_mix(self, set_name: DPPath):
- type_path = set_name / "real_atom_types.npy"
- real_type = type_path.load_numpy().astype(np.int32).reshape([-1, self.natoms])
- return real_type
-
- def _make_idx_map(self, atom_type):
- natoms = atom_type.shape[0]
- idx = np.arange (natoms)
- idx_map = np.lexsort ((idx, atom_type))
- return idx_map
-
- def _load_type_map(self, sys_path: DPPath) :
- fname = sys_path / 'type_map.raw'
- if fname.is_file() :
- return fname.load_txt(dtype=str, ndmin=1).tolist()
- else :
- return None
-
- def _check_pbc(self, sys_path: DPPath):
- pbc = True
- if (sys_path / 'nopbc').is_file() :
- pbc = False
- return pbc
-
- def _check_mode(self, set_path: DPPath):
- return (set_path / 'real_atom_types.npy').is_file()
-
-
-class DataSets (object):
- """
- Outdated class for one data system.
-
- .. deprecated:: 2.0.0
- This class is not maintained any more.
- """
- def __init__ (self,
- sys_path,
- set_prefix,
- seed = None,
- shuffle_test = True) :
- self.dirs = glob.glob (os.path.join(sys_path, set_prefix + ".*"))
- self.dirs.sort()
- # load atom type
- self.atom_type, self.idx_map, self.idx3_map = self.load_type (sys_path)
- # load atom type map
- self.type_map = self.load_type_map(sys_path)
- if self.type_map is not None:
- assert(len(self.type_map) >= max(self.atom_type)+1)
- # train dirs
- self.test_dir = self.dirs[-1]
- if len(self.dirs) == 1 :
- self.train_dirs = self.dirs
- else :
- self.train_dirs = self.dirs[:-1]
- # check fparam
- has_fparam = [ os.path.isfile(os.path.join(ii, 'fparam.npy')) for ii in self.dirs ]
- if any(has_fparam) and (not all(has_fparam)) :
- raise RuntimeError("system %s: if any set has frame parameter, then all sets should have frame parameter" % sys_path)
- if all(has_fparam) :
- self.has_fparam = 0
- else :
- self.has_fparam = -1
- # check aparam
- has_aparam = [ os.path.isfile(os.path.join(ii, 'aparam.npy')) for ii in self.dirs ]
- if any(has_aparam) and (not all(has_aparam)) :
- raise RuntimeError("system %s: if any set has frame parameter, then all sets should have frame parameter" % sys_path)
- if all(has_aparam) :
- self.has_aparam = 0
- else :
- self.has_aparam = -1
- # energy norm
- self.eavg = self.stats_energy()
- # load sets
- self.set_count = 0
- self.load_batch_set (self.train_dirs[self.set_count % self.get_numb_set()])
- self.load_test_set (self.test_dir, shuffle_test)
-
- def check_batch_size (self, batch_size) :
- for ii in self.train_dirs :
- tmpe = np.load(os.path.join(ii, "coord.npy"))
- if tmpe.shape[0] < batch_size :
- return ii, tmpe.shape[0]
- return None
-
- def check_test_size (self, test_size) :
- tmpe = np.load(os.path.join(self.test_dir, "coord.npy"))
- if tmpe.shape[0] < test_size :
- return self.test_dir, tmpe.shape[0]
- else :
- return None
-
- def load_type (self, sys_path) :
- atom_type = np.loadtxt (os.path.join(sys_path, "type.raw"), dtype=np.int32, ndmin=1)
- natoms = atom_type.shape[0]
- idx = np.arange (natoms)
- idx_map = np.lexsort ((idx, atom_type))
- atom_type3 = np.repeat(atom_type, 3)
- idx3 = np.arange (natoms * 3)
- idx3_map = np.lexsort ((idx3, atom_type3))
- return atom_type, idx_map, idx3_map
-
- def load_type_map(self, sys_path) :
- fname = os.path.join(sys_path, 'type_map.raw')
- if os.path.isfile(fname) :
- with open(os.path.join(sys_path, 'type_map.raw')) as fp:
- return fp.read().split()
- else :
- return None
-
- def get_type_map(self) :
- return self.type_map
-
- def get_numb_set (self) :
- return len (self.train_dirs)
-
- def stats_energy (self) :
- eners = np.array([])
- for ii in self.train_dirs:
- ener_file = os.path.join(ii, "energy.npy")
- if os.path.isfile(ener_file) :
- ei = np.load(ener_file)
- eners = np.append(eners, ei)
- if eners.size == 0 :
- return 0
- else :
- return np.average(eners)
-
- def load_energy(self,
- set_name,
- nframes,
- nvalues,
- energy_file,
- atom_energy_file) :
- """
- return : coeff_ener, ener, coeff_atom_ener, atom_ener
- """
- # load atom_energy
- coeff_atom_ener, atom_ener = self.load_data(set_name, atom_energy_file, [nframes, nvalues], False)
- # ignore energy_file
- if coeff_atom_ener == 1:
- ener = np.sum(atom_ener, axis = 1)
- coeff_ener = 1
- # load energy_file
- else:
- coeff_ener, ener = self.load_data(set_name, energy_file, [nframes], False)
- return coeff_ener, ener, coeff_atom_ener, atom_ener
-
- def load_data(self, set_name, data_name, shape, is_necessary = True):
- path = os.path.join(set_name, data_name+".npy")
- if os.path.isfile (path) :
- data = np.load(path)
- data = np.reshape(data, shape)
- if is_necessary:
- return data
- return 1, data
- elif is_necessary:
- raise OSError("%s not found!" % path)
- else:
- data = np.zeros(shape)
- return 0, data
-
- def load_set(self, set_name, shuffle = True):
- data = {}
- data["box"] = self.load_data(set_name, "box", [-1, 9])
- nframe = data["box"].shape[0]
- data["coord"] = self.load_data(set_name, "coord", [nframe, -1])
- ncoord = data["coord"].shape[1]
- if self.has_fparam >= 0:
- data["fparam"] = self.load_data(set_name, "fparam", [nframe, -1])
- if self.has_fparam == 0 :
- self.has_fparam = data["fparam"].shape[1]
- else :
- assert self.has_fparam == data["fparam"].shape[1]
- if self.has_aparam >= 0:
- data["aparam"] = self.load_data(set_name, "aparam", [nframe, -1])
- if self.has_aparam == 0 :
- self.has_aparam = data["aparam"].shape[1] // (ncoord//3)
- else :
- assert self.has_aparam == data["aparam"].shape[1] // (ncoord//3)
- data["prop_c"] = np.zeros(5)
- data["prop_c"][0], data["energy"], data["prop_c"][3], data["atom_ener"] \
- = self.load_energy (set_name, nframe, ncoord // 3, "energy", "atom_ener")
- data["prop_c"][1], data["force"] = self.load_data(set_name, "force", [nframe, ncoord], False)
- data["prop_c"][2], data["virial"] = self.load_data(set_name, "virial", [nframe, 9], False)
- data["prop_c"][4], data["atom_pref"] = self.load_data(set_name, "atom_pref", [nframe, ncoord//3], False)
- data["atom_pref"] = np.repeat(data["atom_pref"], 3, axis=1)
- # shuffle data
- if shuffle:
- idx = np.arange (nframe)
- dp_random.shuffle(idx)
- for ii in data:
- if ii != "prop_c":
- data[ii] = data[ii][idx]
- data["type"] = np.tile (self.atom_type, (nframe, 1))
- # sort according to type
- for ii in ["type", "atom_ener"]:
- data[ii] = data[ii][:, self.idx_map]
- for ii in ["coord", "force", "atom_pref"]:
- data[ii] = data[ii][:, self.idx3_map]
- return data
-
- def load_batch_set (self,
- set_name) :
- self.batch_set = self.load_set(set_name, True)
- self.reset_iter ()
-
- def load_test_set (self,
- set_name,
- shuffle_test) :
- self.test_set = self.load_set(set_name, shuffle_test)
-
- def reset_iter (self) :
- self.iterator = 0
- self.set_count += 1
-
- def get_set(self, data, idx = None) :
- new_data = {}
- for ii in data:
- dd = data[ii]
- if ii == "prop_c":
- new_data[ii] = dd.astype(np.float32)
- else:
- if idx is not None:
- dd = dd[idx]
- if ii == "type":
- new_data[ii] = dd
- else:
- new_data[ii] = dd.astype(GLOBAL_NP_FLOAT_PRECISION)
- return new_data
-
- def get_test (self) :
- """
- returned property prefector [4] in order:
- energy, force, virial, atom_ener
- """
- return self.get_set(self.test_set)
-
- def get_batch (self,
- batch_size) :
- """
- returned property prefector [4] in order:
- energy, force, virial, atom_ener
- """
- set_size = self.batch_set["energy"].shape[0]
- # assert (batch_size <= set_size), "batch size should be no more than set size"
- if self.iterator + batch_size > set_size :
- self.load_batch_set (self.train_dirs[self.set_count % self.get_numb_set()])
- set_size = self.batch_set["energy"].shape[0]
- # print ("%d %d %d" % (self.iterator, self.iterator + batch_size, set_size))
- iterator_1 = self.iterator + batch_size
- if iterator_1 >= set_size :
- iterator_1 = set_size
- idx = np.arange (self.iterator, iterator_1)
- self.iterator += batch_size
- return self.get_set(self.batch_set, idx)
-
- def get_natoms (self) :
- sample_type = self.batch_set["type"][0]
- natoms = len(sample_type)
- return natoms
-
- def get_natoms_2 (self, ntypes) :
- sample_type = self.batch_set["type"][0]
- natoms = len(sample_type)
- natoms_vec = np.zeros (ntypes).astype(int)
- for ii in range (ntypes) :
- natoms_vec[ii] = np.count_nonzero(sample_type == ii)
- return natoms, natoms_vec
-
- def get_natoms_vec (self, ntypes) :
- natoms, natoms_vec = self.get_natoms_2 (ntypes)
- tmp = [natoms, natoms]
- tmp = np.append (tmp, natoms_vec)
- return tmp.astype(np.int32)
-
- def set_numb_batch (self,
- batch_size) :
- return self.batch_set["energy"].shape[0] // batch_size
-
- def get_sys_numb_batch (self, batch_size) :
- return self.set_numb_batch(batch_size) * self.get_numb_set()
-
- def get_ener (self) :
- return self.eavg
-
- def numb_fparam(self) :
- return self.has_fparam
-
- def numb_aparam(self) :
- return self.has_aparam
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/data_system.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/data_system.py
deleted file mode 100644
index 398db547f8e833533cd7b52f611be532238d4dc4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/data_system.py
+++ /dev/null
@@ -1,745 +0,0 @@
-#!/usr/bin/env python3
-
-import logging
-import os
-import collections
-import warnings
-import numpy as np
-from typing import Tuple, List
-
-from deepmd.utils import random as dp_random
-from deepmd.utils.data import DataSets
-from deepmd.utils.data import DeepmdData
-
-log = logging.getLogger(__name__)
-
-
-class DeepmdDataSystem() :
- """
- Class for manipulating many data systems.
-
- It is implemented with the help of DeepmdData
- """
- def __init__ (self,
- systems : List[str],
- batch_size : int,
- test_size : int,
- rcut : float,
- set_prefix : str = 'set',
- shuffle_test : bool = True,
- type_map : List[str] = None,
- modifier = None,
- trn_all_set = False,
- sys_probs = None,
- auto_prob_style ="prob_sys_size") :
- """
- Constructor
-
- Parameters
- ----------
- systems
- Specifying the paths to systems
- batch_size
- The batch size
- test_size
- The size of test data
- rcut
- The cut-off radius
- set_prefix
- Prefix for the directories of different sets
- shuffle_test
- If the test data are shuffled
- type_map
- Gives the name of different atom types
- modifier
- Data modifier that has the method `modify_data`
- trn_all_set
- Use all sets as training dataset. Otherwise, if the number of sets is more than 1, the last set is left for test.
- sys_probs: list of float
- The probabilitis of systems to get the batch.
- Summation of positive elements of this list should be no greater than 1.
- Element of this list can be negative, the probability of the corresponding system is determined
- automatically by the number of batches in the system.
- auto_prob_style: str
- Determine the probability of systems automatically. The method is assigned by this key and can be
- - "prob_uniform" : the probability all the systems are equal, namely 1.0/self.get_nsystems()
- - "prob_sys_size" : the probability of a system is proportional to the number of batches in the system
- - "prob_sys_size;stt_idx:end_idx:weight;stt_idx:end_idx:weight;..." :
- the list of systems is devided into blocks. A block is specified by `stt_idx:end_idx:weight`,
- where `stt_idx` is the starting index of the system, `end_idx` is then ending (not including) index of the system,
- the probabilities of the systems in this block sums up to `weight`, and the relatively probabilities within this block is proportional
- to the number of batches in the system."""
- # init data
- self.rcut = rcut
- self.system_dirs = systems
- self.nsystems = len(self.system_dirs)
- self.data_systems = []
- for ii in self.system_dirs :
- self.data_systems.append(
- DeepmdData(
- ii,
- set_prefix=set_prefix,
- shuffle_test=shuffle_test,
- type_map = type_map,
- modifier = modifier,
- trn_all_set = trn_all_set
- ))
- # check mix_type format
- error_format_msg = "if one of the system is of mixed_type format, " \
- "then all of the systems should be of mixed_type format!"
- if self.data_systems[0].mixed_type:
- for data_sys in self.data_systems[1:]:
- assert data_sys.mixed_type, error_format_msg
- self.mixed_type = True
- else:
- for data_sys in self.data_systems[1:]:
- assert not data_sys.mixed_type, error_format_msg
- self.mixed_type = False
- # batch size
- self.batch_size = batch_size
- if isinstance(self.batch_size, int):
- self.batch_size = self.batch_size * np.ones(self.nsystems, dtype=int)
- elif isinstance(self.batch_size, str):
- words = self.batch_size.split(':')
- if 'auto' == words[0] :
- rule = 32
- if len(words) == 2 :
- rule = int(words[1])
- else:
- raise RuntimeError('unknown batch_size rule ' + words[0])
- self.batch_size = self._make_auto_bs(rule)
- elif isinstance(self.batch_size, list):
- pass
- else :
- raise RuntimeError('invalid batch_size')
- assert(isinstance(self.batch_size, (list,np.ndarray)))
- assert(len(self.batch_size) == self.nsystems)
-
- # natoms, nbatches
- ntypes = []
- for ii in self.data_systems :
- ntypes.append(ii.get_ntypes())
- self.sys_ntypes = max(ntypes)
- self.natoms = []
- self.natoms_vec = []
- self.nbatches = []
- type_map_list = []
- for ii in range(self.nsystems) :
- self.natoms.append(self.data_systems[ii].get_natoms())
- self.natoms_vec.append(self.data_systems[ii].get_natoms_vec(self.sys_ntypes).astype(int))
- self.nbatches.append(self.data_systems[ii].get_sys_numb_batch(self.batch_size[ii]))
- type_map_list.append(self.data_systems[ii].get_type_map())
- self.type_map = self._check_type_map_consistency(type_map_list)
-
- # ! altered by Marián Rynik
- # test size
- # now test size can be set as a percentage of systems data or test size
- # can be set for each system individualy in the same manner as batch
- # size. This enables one to use systems with diverse number of
- # structures and different number of atoms.
- self.test_size = test_size
- if isinstance(self.test_size, int):
- self.test_size = self.test_size * np.ones(self.nsystems, dtype=int)
- elif isinstance(self.test_size, str):
- words = self.test_size.split('%')
- try:
- percent = int(words[0])
- except ValueError:
- raise RuntimeError('unknown test_size rule ' + words[0])
- self.test_size = self._make_auto_ts(percent)
- elif isinstance(self.test_size, list):
- pass
- else :
- raise RuntimeError('invalid test_size')
- assert(isinstance(self.test_size, (list,np.ndarray)))
- assert(len(self.test_size) == self.nsystems)
-
- # prob of batch, init pick idx
- self.prob_nbatches = [ float(i) for i in self.nbatches] / np.sum(self.nbatches)
- self.pick_idx = 0
-
- # derive system probabilities
- self.sys_probs = None
- self.set_sys_probs(sys_probs, auto_prob_style)
-
- # check batch and test size
- for ii in range(self.nsystems) :
- chk_ret = self.data_systems[ii].check_batch_size(self.batch_size[ii])
- if chk_ret is not None :
- warnings.warn("system %s required batch size is larger than the size of the dataset %s (%d > %d)" % \
- (self.system_dirs[ii], chk_ret[0], self.batch_size[ii], chk_ret[1]))
- chk_ret = self.data_systems[ii].check_test_size(self.test_size[ii])
- if chk_ret is not None :
- warnings.warn("system %s required test size is larger than the size of the dataset %s (%d > %d)" % \
- (self.system_dirs[ii], chk_ret[0], self.test_size[ii], chk_ret[1]))
-
-
- def _load_test(self, ntests = -1):
- self.test_data = collections.defaultdict(list)
- for ii in range(self.nsystems) :
- test_system_data = self.data_systems[ii].get_test(ntests = ntests)
- for nn in test_system_data:
- self.test_data[nn].append(test_system_data[nn])
-
-
- def _make_default_mesh(self):
- self.default_mesh = []
- cell_size = np.max (self.rcut)
- for ii in range(self.nsystems) :
- if self.data_systems[ii].pbc :
- test_system_data = self.data_systems[ii].get_batch(self.batch_size[ii])
- self.data_systems[ii].reset_get_batch()
- # test_system_data = self.data_systems[ii].get_test()
- avg_box = np.average (test_system_data["box"], axis = 0)
- avg_box = np.reshape (avg_box, [3,3])
- ncell = (np.linalg.norm(avg_box, axis=1)/ cell_size).astype(np.int32)
- ncell[ncell < 2] = 2
- default_mesh = np.zeros (6, dtype = np.int32)
- default_mesh[3:6] = ncell
- self.default_mesh.append(default_mesh)
- else:
- self.default_mesh.append(np.array([], dtype = np.int32))
-
-
- def compute_energy_shift(self, rcond = 1e-3, key = 'energy') :
- sys_ener = np.array([])
- for ss in self.data_systems :
- sys_ener = np.append(sys_ener, ss.avg(key))
- sys_tynatom = np.array(self.natoms_vec, dtype = float)
- sys_tynatom = np.reshape(sys_tynatom, [self.nsystems,-1])
- sys_tynatom = sys_tynatom[:,2:]
- energy_shift,resd,rank,s_value \
- = np.linalg.lstsq(sys_tynatom, sys_ener, rcond = rcond)
- return energy_shift
-
- def add_dict(self, adict: dict) -> None:
- """
- Add items to the data system by a `dict`.
- `adict` should have items like
- .. code-block:: python
-
- adict[key] = {
- 'ndof': ndof,
- 'atomic': atomic,
- 'must': must,
- 'high_prec': high_prec,
- 'type_sel': type_sel,
- 'repeat': repeat,
- }
-
- For the explaination of the keys see `add`
- """
- for kk in adict :
- self.add(kk,
- adict[kk]['ndof'],
- atomic=adict[kk]['atomic'],
- must=adict[kk]['must'],
- high_prec=adict[kk]['high_prec'],
- type_sel=adict[kk]['type_sel'],
- repeat=adict[kk]['repeat'],
- default=adict[kk]['default'],
- )
-
- def add(self,
- key : str,
- ndof : int,
- atomic : bool = False,
- must : bool = False,
- high_prec : bool = False,
- type_sel : List[int] = None,
- repeat : int = 1,
- default: float=0.,
- ) :
- """
- Add a data item that to be loaded
-
- Parameters
- ----------
- key
- The key of the item. The corresponding data is stored in `sys_path/set.*/key.npy`
- ndof
- The number of dof
- atomic
- The item is an atomic property.
- If False, the size of the data should be nframes x ndof
- If True, the size of data should be nframes x natoms x ndof
- must
- The data file `sys_path/set.*/key.npy` must exist.
- If must is False and the data file does not exist, the `data_dict[find_key]` is set to 0.0
- high_prec
- Load the data and store in float64, otherwise in float32
- type_sel
- Select certain type of atoms
- repeat
- The data will be repeated `repeat` times.
- default, default=0.
- Default value of data
- """
- for ii in self.data_systems:
- ii.add(key, ndof, atomic=atomic, must=must, high_prec=high_prec, repeat=repeat, type_sel=type_sel, default=default)
-
- def reduce(self, key_out, key_in):
- """
- Generate a new item from the reduction of another atom
-
- Parameters
- ----------
- key_out
- The name of the reduced item
- key_in
- The name of the data item to be reduced
- """
- for ii in self.data_systems:
- ii.reduce(key_out, key_in)
-
- def get_data_dict(self, ii: int = 0) -> dict:
- return self.data_systems[ii].get_data_dict()
-
- def set_sys_probs(self, sys_probs=None,
- auto_prob_style: str = "prob_sys_size"):
- if sys_probs is None :
- if auto_prob_style == "prob_uniform":
- prob_v = 1./float(self.nsystems)
- probs = [prob_v for ii in range(self.nsystems)]
- elif auto_prob_style == "prob_sys_size":
- probs = self.prob_nbatches
- elif auto_prob_style[:14] == "prob_sys_size;":
- probs = self._prob_sys_size_ext(auto_prob_style)
- else:
- raise RuntimeError("Unknown auto prob style: " + auto_prob_style)
- else:
- probs = self._process_sys_probs(sys_probs)
- self.sys_probs = probs
-
- def _get_sys_probs(self,
- sys_probs,
- auto_prob_style) : # depreciated
- if sys_probs is None :
- if auto_prob_style == "prob_uniform" :
- prob_v = 1./float(self.nsystems)
- prob = [prob_v for ii in range(self.nsystems)]
- elif auto_prob_style == "prob_sys_size" :
- prob = self.prob_nbatches
- elif auto_prob_style[:14] == "prob_sys_size;" :
- prob = self._prob_sys_size_ext(auto_prob_style)
- else :
- raise RuntimeError("unkown style " + auto_prob_style )
- else :
- prob = self._process_sys_probs(sys_probs)
- return prob
-
- def get_batch(self, sys_idx : int = None):
- # batch generation style altered by Ziyao Li:
- # one should specify the "sys_prob" and "auto_prob_style" params
- # via set_sys_prob() function. The sys_probs this function uses is
- # defined as a private variable, self.sys_probs, initialized in __init__().
- # This is to optimize the (vain) efforts in evaluating sys_probs every batch.
- """
- Get a batch of data from the data systems
-
- Parameters
- ----------
- sys_idx: int
- The index of system from which the batch is get.
- If sys_idx is not None, `sys_probs` and `auto_prob_style` are ignored
- If sys_idx is None, automatically determine the system according to `sys_probs` or `auto_prob_style`, see the following.
- """
- if not hasattr(self, 'default_mesh') :
- self._make_default_mesh()
- if sys_idx is not None :
- self.pick_idx = sys_idx
- else :
- # prob = self._get_sys_probs(sys_probs, auto_prob_style)
- self.pick_idx = dp_random.choice(np.arange(self.nsystems), p=self.sys_probs)
- b_data = self.data_systems[self.pick_idx].get_batch(self.batch_size[self.pick_idx])
- b_data["natoms_vec"] = self.natoms_vec[self.pick_idx]
- b_data["default_mesh"] = self.default_mesh[self.pick_idx]
- return b_data
-
- # ! altered by Marián Rynik
- def get_test (self,
- sys_idx : int = None,
- n_test : int = -1) : # depreciated
- """
- Get test data from the the data systems.
-
- Parameters
- ----------
- sys_idx
- The test dat of system with index `sys_idx` will be returned.
- If is None, the currently selected system will be returned.
- n_test
- Number of test data. If set to -1 all test data will be get.
- """
- if not hasattr(self, 'default_mesh') :
- self._make_default_mesh()
- if not hasattr(self, 'test_data') :
- self._load_test(ntests = n_test)
- if sys_idx is not None :
- idx = sys_idx
- else :
- idx = self.pick_idx
-
- test_system_data = {}
- for nn in self.test_data:
- test_system_data[nn] = self.test_data[nn][idx]
- test_system_data["natoms_vec"] = self.natoms_vec[idx]
- test_system_data["default_mesh"] = self.default_mesh[idx]
- return test_system_data
-
- def get_sys_ntest(self, sys_idx=None):
- """
- Get number of tests for the currently selected system,
- or one defined by sys_idx.
- """
- if sys_idx is not None :
- return self.test_size[sys_idx]
- else :
- return self.test_size[self.pick_idx]
-
- def get_type_map(self) -> List[str]:
- """
- Get the type map
- """
- return self.type_map
-
- def get_nbatches (self) -> int:
- """
- Get the total number of batches
- """
- return self.nbatches
-
- def get_ntypes (self) -> int:
- """
- Get the number of types
- """
- return self.sys_ntypes
-
- def get_nsystems (self) -> int:
- """
- Get the number of data systems
- """
- return self.nsystems
-
- def get_sys (self, idx : int) -> DeepmdData:
- """
- Get a certain data system
- """
- return self.data_systems[idx]
-
- def get_batch_size(self) -> int:
- """
- Get the batch size
- """
- return self.batch_size
-
- def _format_name_length(self, name, width) :
- if len(name) <= width:
- return '{: >{}}'.format(name, width)
- else :
- name = name[-(width-3):]
- name = '-- ' + name
- return name
-
- def print_summary(self, name) :
- # width 65
- sys_width = 42
- log.info(f"---Summary of DataSystem: {name:13s}-----------------------------------------------")
- log.info("found %d system(s):" % self.nsystems)
- log.info(("%s " % self._format_name_length('system', sys_width)) +
- ("%6s %6s %6s %5s %3s" % ('natoms', 'bch_sz', 'n_bch', 'prob', 'pbc')))
- for ii in range(self.nsystems) :
- log.info("%s %6d %6d %6d %5.3f %3s" %
- (self._format_name_length(self.system_dirs[ii], sys_width),
- self.natoms[ii],
- # TODO batch size * nbatches = number of structures
- self.batch_size[ii],
- self.nbatches[ii],
- self.sys_probs[ii],
- "T" if self.data_systems[ii].pbc else "F"
- ) )
- log.info("--------------------------------------------------------------------------------------")
-
- def _make_auto_bs(self, rule) :
- bs = []
- for ii in self.data_systems:
- ni = ii.get_natoms()
- bsi = rule // ni
- if bsi * ni < rule:
- bsi += 1
- bs.append(bsi)
- return bs
-
- # ! added by Marián Rynik
- def _make_auto_ts(self, percent):
- ts = []
- for ii in range(self.nsystems):
- ni = self.batch_size[ii] * self.nbatches[ii]
- tsi = int(ni * percent / 100)
- ts.append(tsi)
-
- return ts
-
- def _check_type_map_consistency(self, type_map_list):
- ret = []
- for ii in type_map_list:
- if ii is not None:
- min_len = min([len(ii), len(ret)])
- for idx in range(min_len) :
- if ii[idx] != ret[idx] :
- raise RuntimeError('inconsistent type map: %s %s' % (str(ret), str(ii)))
- if len(ii) > len(ret) :
- ret = ii
- return ret
-
- def _process_sys_probs(self, sys_probs) :
- sys_probs = np.array(sys_probs)
- type_filter = sys_probs >= 0
- assigned_sum_prob = np.sum(type_filter * sys_probs)
- # 1e-8 is to handle floating point error; See #1917
- assert assigned_sum_prob <= 1. + 1e-8, "the sum of assigned probability should be less than 1"
- rest_sum_prob = 1. - assigned_sum_prob
- if not np.isclose(rest_sum_prob, 0):
- rest_nbatch = (1 - type_filter) * self.nbatches
- rest_prob = rest_sum_prob * rest_nbatch / np.sum(rest_nbatch)
- ret_prob = rest_prob + type_filter * sys_probs
- else :
- ret_prob = sys_probs
- assert np.isclose(np.sum(ret_prob), 1), "sum of probs should be 1"
- return ret_prob
-
- def _prob_sys_size_ext(self, keywords):
- block_str = keywords.split(';')[1:]
- block_stt = []
- block_end = []
- block_weights = []
- for ii in block_str:
- stt = int(ii.split(':')[0])
- end = int(ii.split(':')[1])
- weight = float(ii.split(':')[2])
- assert(weight >= 0), "the weight of a block should be no less than 0"
- block_stt.append(stt)
- block_end.append(end)
- block_weights.append(weight)
- nblocks = len(block_str)
- block_probs = np.array(block_weights) / np.sum(block_weights)
- sys_probs = np.zeros([self.get_nsystems()])
- for ii in range(nblocks):
- nbatch_block = self.nbatches[block_stt[ii]:block_end[ii]]
- tmp_prob = [float(i) for i in nbatch_block] / np.sum(nbatch_block)
- sys_probs[block_stt[ii]:block_end[ii]] = tmp_prob * block_probs[ii]
- return sys_probs
-
-
-
-class DataSystem (object) :
- """
- Outdated class for the data systems.
-
- .. deprecated:: 2.0.0
- This class is not maintained any more.
- """
- def __init__ (self,
- systems,
- set_prefix,
- batch_size,
- test_size,
- rcut,
- run_opt = None) :
- self.system_dirs = systems
- self.nsystems = len(self.system_dirs)
- self.batch_size = batch_size
- if isinstance(self.batch_size, int) :
- self.batch_size = self.batch_size * np.ones(self.nsystems, dtype=int)
- assert(isinstance(self.batch_size, (list,np.ndarray)))
- assert(len(self.batch_size) == self.nsystems)
- self.data_systems = []
- self.ntypes = []
- self.natoms = []
- self.natoms_vec = []
- self.nbatches = []
- for ii in self.system_dirs :
- self.data_systems.append(DataSets(ii, set_prefix))
- sys_all_types = np.loadtxt(os.path.join(ii, "type.raw")).astype(int)
- self.ntypes.append(np.max(sys_all_types) + 1)
- self.sys_ntypes = max(self.ntypes)
- type_map = []
- for ii in range(self.nsystems) :
- self.natoms.append(self.data_systems[ii].get_natoms())
- self.natoms_vec.append(self.data_systems[ii].get_natoms_vec(self.sys_ntypes).astype(int))
- self.nbatches.append(self.data_systems[ii].get_sys_numb_batch(self.batch_size[ii]))
- type_map.append(self.data_systems[ii].get_type_map())
- self.type_map = self.check_type_map_consistency(type_map)
-
- # check frame parameters
- has_fparam = [ii.numb_fparam() for ii in self.data_systems]
- for ii in has_fparam :
- if ii != has_fparam[0] :
- raise RuntimeError("if any system has frame parameter, then all systems should have the same number of frame parameter")
- self.has_fparam = has_fparam[0]
-
- # check the size of data if they satisfy the requirement of batch and test
- for ii in range(self.nsystems) :
- chk_ret = self.data_systems[ii].check_batch_size(self.batch_size[ii])
- if chk_ret is not None :
- raise RuntimeError ("system %s required batch size %d is larger than the size %d of the dataset %s" % \
- (self.system_dirs[ii], self.batch_size[ii], chk_ret[1], chk_ret[0]))
- chk_ret = self.data_systems[ii].check_test_size(test_size)
- if chk_ret is not None :
- print("WARNNING: system %s required test size %d is larger than the size %d of the dataset %s" % \
- (self.system_dirs[ii], test_size, chk_ret[1], chk_ret[0]))
-
- if run_opt is not None:
- self.print_summary(run_opt)
-
- self.prob_nbatches = [ float(i) for i in self.nbatches] / np.sum(self.nbatches)
-
- self.test_data = collections.defaultdict(list)
- self.default_mesh = []
- for ii in range(self.nsystems) :
- test_system_data = self.data_systems[ii].get_test ()
- for nn in test_system_data:
- self.test_data[nn].append(test_system_data[nn])
- cell_size = np.max (rcut)
- avg_box = np.average (test_system_data["box"], axis = 0)
- avg_box = np.reshape (avg_box, [3,3])
- ncell = (np.linalg.norm(avg_box, axis=1)/ cell_size).astype(np.int32)
- ncell[ncell < 2] = 2
- default_mesh = np.zeros (6, dtype = np.int32)
- default_mesh[3:6] = ncell
- self.default_mesh.append(default_mesh)
- self.pick_idx = 0
-
-
- def check_type_map_consistency(self, type_map_list):
- ret = []
- for ii in type_map_list:
- if ii is not None:
- min_len = min([len(ii), len(ret)])
- for idx in range(min_len) :
- if ii[idx] != ret[idx] :
- raise RuntimeError('inconsistent type map: %s %s' % (str(ret), str(ii)))
- if len(ii) > len(ret) :
- ret = ii
- return ret
-
-
- def get_type_map(self):
- return self.type_map
-
-
- def format_name_length(self, name, width) :
- if len(name) <= width:
- return '{: >{}}'.format(name, width)
- else :
- name = name[-(width-3):]
- name = '-- ' + name
- return name
-
- def print_summary(self) :
- tmp_msg = ""
- # width 65
- sys_width = 42
- tmp_msg += "---Summary of DataSystem-----------------------------------------\n"
- tmp_msg += "find %d system(s):\n" % self.nsystems
- tmp_msg += "%s " % self.format_name_length('system', sys_width)
- tmp_msg += "%s %s %s\n" % ('natoms', 'bch_sz', 'n_bch')
- for ii in range(self.nsystems) :
- tmp_msg += ("%s %6d %6d %5d\n" %
- (self.format_name_length(self.system_dirs[ii], sys_width),
- self.natoms[ii],
- self.batch_size[ii],
- self.nbatches[ii]) )
- tmp_msg += "-----------------------------------------------------------------\n"
- log.info(tmp_msg)
-
- def compute_energy_shift(self) :
- sys_ener = np.array([])
- for ss in self.data_systems :
- sys_ener = np.append(sys_ener, ss.get_ener())
- sys_tynatom = np.array(self.natoms_vec, dtype = float)
- sys_tynatom = np.reshape(sys_tynatom, [self.nsystems,-1])
- sys_tynatom = sys_tynatom[:,2:]
- energy_shift,resd,rank,s_value \
- = np.linalg.lstsq(sys_tynatom, sys_ener, rcond = 1e-3)
- return energy_shift
-
- def process_sys_weights(self, sys_weights) :
- sys_weights = np.array(sys_weights)
- type_filter = sys_weights >= 0
- assigned_sum_prob = np.sum(type_filter * sys_weights)
- assert assigned_sum_prob <= 1, "the sum of assigned probability should be less than 1"
- rest_sum_prob = 1. - assigned_sum_prob
- rest_nbatch = (1 - type_filter) * self.nbatches
- rest_prob = rest_sum_prob * rest_nbatch / np.sum(rest_nbatch)
- ret_prob = rest_prob + type_filter * sys_weights
- assert np.sum(ret_prob) == 1, "sum of probs should be 1"
- return ret_prob
-
- def get_batch (self,
- sys_idx = None,
- sys_weights = None,
- style = "prob_sys_size") :
- if sys_idx is not None :
- self.pick_idx = sys_idx
- else :
- if sys_weights is None :
- if style == "prob_sys_size" :
- prob = self.prob_nbatches
- elif style == "prob_uniform" :
- prob = None
- else :
- raise RuntimeError("unkown get_batch style")
- else :
- prob = self.process_sys_weights(sys_weights)
- self.pick_idx = dp_random.choice(np.arange(self.nsystems), p=prob)
- b_data = self.data_systems[self.pick_idx].get_batch(self.batch_size[self.pick_idx])
- b_data["natoms_vec"] = self.natoms_vec[self.pick_idx]
- b_data["default_mesh"] = self.default_mesh[self.pick_idx]
- return b_data
-
- def get_test (self,
- sys_idx = None) :
- if sys_idx is not None :
- idx = sys_idx
- else :
- idx = self.pick_idx
- test_system_data = {}
- for nn in self.test_data:
- test_system_data[nn] = self.test_data[nn][idx]
- test_system_data["natoms_vec"] = self.natoms_vec[idx]
- test_system_data["default_mesh"] = self.default_mesh[idx]
- return test_system_data
-
- def get_nbatches (self) :
- return self.nbatches
-
- def get_ntypes (self) :
- return self.sys_ntypes
-
- def get_nsystems (self) :
- return self.nsystems
-
- def get_sys (self, sys_idx) :
- return self.data_systems[sys_idx]
-
- def get_batch_size(self) :
- return self.batch_size
-
- def numb_fparam(self) :
- return self.has_fparam
-
-def _main () :
- sys = ['/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/20',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/30',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/38',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/MoS2',
- '/home/wanghan/study/deep.md/results.01/data/mos2/only_raws/Pt_cluster']
- set_prefix = 'set'
- ds = DataSystem (sys, set_prefix, 4, 6)
- r = ds.get_batch()
- print(r[1][0])
-
-if __name__ == '__main__':
- _main()
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/errors.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/errors.py
deleted file mode 100644
index 231a9e620da486b35ee35759740650492feb1c77..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/errors.py
+++ /dev/null
@@ -1,8 +0,0 @@
-class GraphTooLargeError(Exception):
- """The graph is too large, exceeding protobuf's hard limit of 2GB."""
-
-class GraphWithoutTensorError(Exception):
- pass
-
-class OutOfMemoryError(Exception):
- """This error is caused by out-of-memory (OOM)."""
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/graph.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/graph.py
deleted file mode 100644
index 2cd2e59862170c1b00360dd91d1947aa8dce9147..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/graph.py
+++ /dev/null
@@ -1,453 +0,0 @@
-import re
-import numpy as np
-from typing import Tuple, Dict
-from deepmd.env import tf, EMBEDDING_NET_PATTERN, FITTING_NET_PATTERN, TYPE_EMBEDDING_PATTERN, ATTENTION_LAYER_PATTERN
-from deepmd.utils.sess import run_sess
-from deepmd.utils.errors import GraphWithoutTensorError
-
-# TODO (JZ): I think in this file we can merge some duplicated lines into one method...
-def load_graph_def(model_file: str) -> Tuple[tf.Graph, tf.GraphDef]:
- """
- Load graph as well as the graph_def from the frozen model(model_file)
-
- Parameters
- ----------
- model_file : str
- The input frozen model path
-
- Returns
- -------
- tf.Graph
- The graph loaded from the frozen model
- tf.GraphDef
- The graph_def loaded from the frozen model
- """
- graph_def = tf.GraphDef()
- with open(model_file, "rb") as f:
- graph_def.ParseFromString(f.read())
- with tf.Graph().as_default() as graph:
- tf.import_graph_def(graph_def, name = "")
- return graph, graph_def
-
-
-def get_tensor_by_name_from_graph(graph: tf.Graph,
- tensor_name: str) -> tf.Tensor:
- """
- Load tensor value from the given tf.Graph object
-
- Parameters
- ----------
- graph : tf.Graph
- The input TensorFlow graph
- tensor_name : str
- Indicates which tensor which will be loaded from the frozen model
-
- Returns
- -------
- tf.Tensor
- The tensor which was loaded from the frozen model
-
- Raises
- ------
- GraphWithoutTensorError
- Whether the tensor_name is within the frozen model
- """
- try:
- tensor = graph.get_tensor_by_name(tensor_name + ':0')
- except KeyError as e:
- raise GraphWithoutTensorError() from e
- with tf.Session(graph=graph) as sess:
- tensor = run_sess(sess, tensor)
- return tensor
-
-
-def get_tensor_by_name(model_file: str,
- tensor_name: str) -> tf.Tensor:
- """
- Load tensor value from the frozen model(model_file)
-
- Parameters
- ----------
- model_file : str
- The input frozen model path
- tensor_name : str
- Indicates which tensor which will be loaded from the frozen model
-
- Returns
- -------
- tf.Tensor
- The tensor which was loaded from the frozen model
-
- Raises
- ------
- GraphWithoutTensorError
- Whether the tensor_name is within the frozen model
- """
- graph, _ = load_graph_def(model_file)
- return get_tensor_by_name_from_graph(graph, tensor_name)
-
-
-def get_tensor_by_type(node,
- data_type : np.dtype) -> tf.Tensor:
- """
- Get the tensor value within the given node according to the input data_type
-
- Parameters
- ----------
- node
- The given tensorflow graph node
- data_type
- The data type of the node
-
- Returns
- ----------
- tf.Tensor
- The tensor value of the given node
- """
- if data_type == np.float64:
- tensor = np.array(node.double_val)
- elif data_type == np.float32:
- tensor = np.array(node.float_val)
- else:
- raise RuntimeError('model compression does not support the half precision')
- return tensor
-
-
-def get_pattern_nodes_from_graph_def(graph_def: tf.GraphDef, pattern: str) -> Dict:
- """
- Get the pattern nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- pattern
- The node pattern within the graph_def
-
- Returns
- ----------
- Dict
- The fitting net nodes within the given tf.GraphDef object
- """
- nodes = {}
- pattern = re.compile(pattern)
- for node in graph_def.node:
- if re.fullmatch(pattern, node.name) != None:
- nodes[node.name] = node.attr["value"].tensor
- return nodes
-
-
-def get_embedding_net_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the embedding net nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The scope suffix
-
- Returns
- ----------
- Dict
- The embedding net nodes within the given tf.GraphDef object
- """
- # embedding_net_pattern = f"filter_type_\d+{suffix}/matrix_\d+_\d+|filter_type_\d+{suffix}/bias_\d+_\d+|filter_type_\d+{suffix}/idt_\d+_\d+|filter_type_all{suffix}/matrix_\d+_\d+|filter_type_all{suffix}/matrix_\d+_\d+_\d+|filter_type_all{suffix}/bias_\d+_\d+|filter_type_all{suffix}/bias_\d+_\d+_\d+|filter_type_all{suffix}/idt_\d+_\d+"
- if suffix != "":
- embedding_net_pattern = EMBEDDING_NET_PATTERN\
- .replace('/idt', suffix + '/idt')\
- .replace('/bias', suffix + '/bias')\
- .replace('/matrix', suffix + '/matrix')
- else:
- embedding_net_pattern = EMBEDDING_NET_PATTERN
-
- embedding_net_nodes = get_pattern_nodes_from_graph_def(graph_def, embedding_net_pattern)
- for key in embedding_net_nodes.keys():
- assert key.find('bias') > 0 or key.find(
- 'matrix') > 0, "currently, only support weight matrix and bias matrix at the tabulation op!"
- return embedding_net_nodes
-
-
-def get_embedding_net_nodes(model_file: str, suffix: str = "") -> Dict:
- """
- Get the embedding net nodes with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net nodes with the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_embedding_net_nodes_from_graph_def(graph_def, suffix=suffix)
-
-
-def get_embedding_net_variables_from_graph_def(graph_def : tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the embedding net variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net variables within the given tf.GraphDef object
- """
- embedding_net_variables = {}
- embedding_net_nodes = get_embedding_net_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in embedding_net_nodes:
- node = embedding_net_nodes[item]
- dtype = tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype = tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- embedding_net_variables[item] = np.reshape(tensor_value, tensor_shape)
- return embedding_net_variables
-
-def get_embedding_net_variables(model_file : str, suffix: str = "") -> Dict:
- """
- Get the embedding net variables with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net variables within the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_embedding_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
-def get_fitting_net_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the fitting net nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix
- suffix of the scope
-
- Returns
- ----------
- Dict
- The fitting net nodes within the given tf.GraphDef object
- """
- if suffix != "":
- fitting_net_pattern = FITTING_NET_PATTERN\
- .replace('/idt', suffix + '/idt')\
- .replace('/bias', suffix + '/bias')\
- .replace('/matrix', suffix + '/matrix')
- else:
- fitting_net_pattern = FITTING_NET_PATTERN
- fitting_net_nodes = get_pattern_nodes_from_graph_def(graph_def, fitting_net_pattern)
- for key in fitting_net_nodes.keys():
- assert key.find('bias') > 0 or key.find('matrix') > 0 or key.find(
- 'idt') > 0, "currently, only support weight matrix, bias and idt at the model compression process!"
- return fitting_net_nodes
-
-
-def get_fitting_net_nodes(model_file : str) -> Dict:
- """
- Get the fitting net nodes with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
-
- Returns
- ----------
- Dict
- The fitting net nodes with the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_fitting_net_nodes_from_graph_def(graph_def)
-
-
-def get_fitting_net_variables_from_graph_def(graph_def : tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the fitting net variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix
- suffix of the scope
-
- Returns
- ----------
- Dict
- The fitting net variables within the given tf.GraphDef object
- """
- fitting_net_variables = {}
- fitting_net_nodes = get_fitting_net_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in fitting_net_nodes:
- node = fitting_net_nodes[item]
- dtype= tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype = tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- fitting_net_variables[item] = np.reshape(tensor_value, tensor_shape)
- return fitting_net_variables
-
-def get_fitting_net_variables(model_file : str, suffix: str = "") -> Dict:
- """
- Get the fitting net variables with the given frozen model(model_file)
-
- Parameters
- ----------
- model_file
- The input frozen model path
- suffix
- suffix of the scope
-
- Returns
- ----------
- Dict
- The fitting net variables within the given frozen model
- """
- _, graph_def = load_graph_def(model_file)
- return get_fitting_net_variables_from_graph_def(graph_def, suffix=suffix)
-
-
-def get_type_embedding_net_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the type embedding net nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The scope suffix
-
- Returns
- ----------
- Dict
- The type embedding net nodes within the given tf.GraphDef object
- """
- if suffix != "":
- type_embedding_net_pattern = TYPE_EMBEDDING_PATTERN\
- .replace('/idt', suffix + '/idt')\
- .replace('/bias', suffix + '/bias')\
- .replace('/matrix', suffix + '/matrix')
- else:
- type_embedding_net_pattern = TYPE_EMBEDDING_PATTERN
-
- type_embedding_net_nodes = get_pattern_nodes_from_graph_def(graph_def, type_embedding_net_pattern)
- return type_embedding_net_nodes
-
-
-def get_type_embedding_net_variables_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the type embedding net variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def : tf.GraphDef
- The input tf.GraphDef object
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The embedding net variables within the given tf.GraphDef object
- """
- type_embedding_net_variables = {}
- type_embedding_net_nodes = get_type_embedding_net_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in type_embedding_net_nodes:
- node = type_embedding_net_nodes[item]
- dtype = tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype = tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- type_embedding_net_variables[item] = np.reshape(tensor_value, tensor_shape)
- return type_embedding_net_variables
-
-
-def get_attention_layer_nodes_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the attention layer nodes with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def
- The input tf.GraphDef object
- suffix : str, optional
- The scope suffix
-
- Returns
- ----------
- Dict
- The attention layer nodes within the given tf.GraphDef object
- """
- if suffix != "":
- attention_layer_pattern = ATTENTION_LAYER_PATTERN \
- .replace('/c_query', suffix + '/c_query') \
- .replace('/c_key', suffix + '/c_key') \
- .replace('/c_value', suffix + '/c_value') \
- .replace('/c_out', suffix + '/c_out') \
- .replace('/layer_normalization', suffix + '/layer_normalization')
- else:
- attention_layer_pattern = ATTENTION_LAYER_PATTERN
-
- attention_layer_nodes = get_pattern_nodes_from_graph_def(graph_def, attention_layer_pattern)
- return attention_layer_nodes
-
-
-def get_attention_layer_variables_from_graph_def(graph_def: tf.GraphDef, suffix: str = "") -> Dict:
- """
- Get the attention layer variables with the given tf.GraphDef object
-
- Parameters
- ----------
- graph_def : tf.GraphDef
- The input tf.GraphDef object
- suffix : str, optional
- The suffix of the scope
-
- Returns
- ----------
- Dict
- The attention layer variables within the given tf.GraphDef object
- """
- attention_layer_variables = {}
- attention_layer_net_nodes = get_attention_layer_nodes_from_graph_def(graph_def, suffix=suffix)
- for item in attention_layer_net_nodes:
- node = attention_layer_net_nodes[item]
- dtype = tf.as_dtype(node.dtype).as_numpy_dtype
- tensor_shape = tf.TensorShape(node.tensor_shape).as_list()
- if (len(tensor_shape) != 1) or (tensor_shape[0] != 1):
- tensor_value = np.frombuffer(node.tensor_content, dtype=tf.as_dtype(node.dtype).as_numpy_dtype)
- else:
- tensor_value = get_tensor_by_type(node, dtype)
- attention_layer_variables[item] = np.reshape(tensor_value, tensor_shape)
- return attention_layer_variables
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/learning_rate.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/learning_rate.py
deleted file mode 100644
index 685eb444f2ab1c8ba59a5abee56b7bfc37b6aaa9..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/learning_rate.py
+++ /dev/null
@@ -1,100 +0,0 @@
-import numpy as np
-from deepmd.env import tf
-from deepmd.common import ClassArg
-
-class LearningRateExp (object) :
- r"""
- The exponentially decaying learning rate.
-
- The learning rate at step :math:`t` is given by
-
- .. math::
-
- \alpha(t) = \alpha_0 \lambda ^ { t / \tau }
-
- where :math:`\alpha` is the learning rate, :math:`\alpha_0` is the starting learning rate,
- :math:`\lambda` is the decay rate, and :math:`\tau` is the decay steps.
-
- Parameters
- ----------
- start_lr
- Starting learning rate :math:`\alpha_0`
- stop_lr
- Stop learning rate :math:`\alpha_1`
- decay_steps
- Learning rate decay every this number of steps :math:`\tau`
- decay_rate
- The decay rate :math:`\lambda`.
- If `stop_step` is provided in `build`, then it will be determined automatically and overwritten.
- """
- def __init__ (self,
- start_lr : float,
- stop_lr : float = 5e-8,
- decay_steps : int = 5000,
- decay_rate : float = 0.95
- ) -> None :
- """
- Constructor
- """
- # args = ClassArg()\
- # .add('decay_steps', int, must = False)\
- # .add('decay_rate', float, must = False)\
- # .add('start_lr', float, must = True)\
- # .add('stop_lr', float, must = False)
- # self.cd = args.parse(jdata)
- self.cd = {}
- self.cd['start_lr'] = start_lr
- self.cd['stop_lr'] = stop_lr
- self.cd['decay_steps'] = decay_steps
- self.cd['decay_rate'] = decay_rate
- self.start_lr_ = self.cd['start_lr']
-
- def build(self,
- global_step : tf.Tensor,
- stop_step : int = None
- ) -> tf.Tensor :
- """
- Build the learning rate
-
- Parameters
- ----------
- global_step
- The tf Tensor prividing the global training step
- stop_step
- The stop step. If provided, the decay_rate will be determined automatically and overwritten.
-
- Returns
- -------
- learning_rate
- The learning rate
- """
- if stop_step is None:
- self.decay_steps_ = self.cd['decay_steps'] if self.cd['decay_steps'] is not None else 5000
- self.decay_rate_ = self.cd['decay_rate'] if self.cd['decay_rate'] is not None else 0.95
- else:
- self.stop_lr_ = self.cd['stop_lr'] if self.cd['stop_lr'] is not None else 5e-8
- default_ds = 100 if stop_step // 10 > 100 else stop_step // 100 + 1
- self.decay_steps_ = self.cd['decay_steps'] if self.cd['decay_steps'] is not None else default_ds
- if self.decay_steps_ >= stop_step:
- self.decay_steps_ = default_ds
- self.decay_rate_ = np.exp(np.log(self.stop_lr_ / self.start_lr_) / (stop_step / self.decay_steps_))
-
- return tf.train.exponential_decay(self.start_lr_,
- global_step,
- self.decay_steps_,
- self.decay_rate_,
- staircase=True)
- def start_lr(self) -> float:
- """
- Get the start lr
- """
- return self.start_lr_
-
- def value (self,
- step : int
- ) -> float:
- """
- Get the lr at a certain step
- """
- return self.start_lr_ * np.power (self.decay_rate_, (step // self.decay_steps_))
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/neighbor_stat.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/neighbor_stat.py
deleted file mode 100644
index 79a988e8db3eca65d32669d0886f6209b1d1e7ef..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/neighbor_stat.py
+++ /dev/null
@@ -1,127 +0,0 @@
-import math
-import logging
-import numpy as np
-from deepmd.env import tf
-from typing import Tuple, List
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.utils.data_system import DeepmdDataSystem
-from deepmd.utils.parallel_op import ParallelOp
-
-log = logging.getLogger(__name__)
-
-class NeighborStat():
- """
- Class for getting training data information.
-
- It loads data from DeepmdData object, and measures the data info, including neareest nbor distance between atoms, max nbor size of atoms and the output data range of the environment matrix.
-
- Parameters
- ----------
- ntypes
- The num of atom types
- rcut
- The cut-off radius
- one_type : bool, optional, default=False
- Treat all types as a single type.
- """
- def __init__(self,
- ntypes : int,
- rcut: float,
- one_type : bool = False,
- ) -> None:
- """
- Constructor
- """
- self.rcut = rcut
- self.ntypes = ntypes
- self.one_type = one_type
- sub_graph = tf.Graph()
-
- def builder():
- place_holders = {}
- for ii in ['coord', 'box']:
- place_holders[ii] = tf.placeholder(GLOBAL_NP_FLOAT_PRECISION, [None, None], name='t_'+ii)
- place_holders['type'] = tf.placeholder(tf.int32, [None, None], name='t_type')
- place_holders['natoms_vec'] = tf.placeholder(tf.int32, [self.ntypes+2], name='t_natoms')
- place_holders['default_mesh'] = tf.placeholder(tf.int32, [None], name='t_mesh')
- t_type = place_holders['type']
- t_natoms = place_holders['natoms_vec']
- if self.one_type:
- # all types = 0, natoms_vec = [natoms, natoms, natoms]
- t_type = tf.zeros_like(t_type, dtype=tf.int32)
- t_natoms = tf.repeat(t_natoms[0], 3)
-
- _max_nbor_size, _min_nbor_dist \
- = op_module.neighbor_stat(place_holders['coord'],
- t_type,
- t_natoms,
- place_holders['box'],
- place_holders['default_mesh'],
- rcut = self.rcut)
- place_holders['dir'] = tf.placeholder(tf.string)
- return place_holders, (_max_nbor_size, _min_nbor_dist, place_holders['dir'])
-
- with sub_graph.as_default():
- self.p = ParallelOp(builder, config=default_tf_session_config)
-
- self.sub_sess = tf.Session(graph = sub_graph, config=default_tf_session_config)
-
- def get_stat(self,
- data : DeepmdDataSystem) -> Tuple[float, List[int]]:
- """
- get the data statistics of the training data, including nearest nbor distance between atoms, max nbor size of atoms
-
- Parameters
- ----------
- data
- Class for manipulating many data systems. It is implemented with the help of DeepmdData.
-
- Returns
- -------
- min_nbor_dist
- The nearest distance between neighbor atoms
- max_nbor_size
- A list with ntypes integers, denotes the actual achieved max sel
- """
- self.min_nbor_dist = 100.0
- self.max_nbor_size = [0]
- if not self.one_type:
- self.max_nbor_size *= self.ntypes
-
- def feed():
- for ii in range(len(data.system_dirs)):
- for jj in data.data_systems[ii].dirs:
- data_set = data.data_systems[ii]._load_set(jj)
- for kk in range(np.array(data_set['type']).shape[0]):
- yield {
- 'coord': np.array(data_set['coord'])[kk].reshape([-1, data.natoms[ii] * 3]),
- 'type': np.array(data_set['type'])[kk].reshape([-1, data.natoms[ii]]),
- 'natoms_vec': np.array(data.natoms_vec[ii]),
- 'box': np.array(data_set['box'])[kk].reshape([-1, 9]),
- 'default_mesh': np.array(data.default_mesh[ii]),
- 'dir': str(jj),
- }
-
- for mn, dt, jj in self.p.generate(self.sub_sess, feed()):
- if dt.size != 0:
- dt = np.min(dt)
- else:
- dt = self.rcut
- log.warning("Atoms with no neighbors found in %s. Please make sure it's what you expected." % jj)
- if dt < self.min_nbor_dist:
- if math.isclose(dt, 0., rel_tol=1e-6):
- # it's unexpected that the distance between two atoms is zero
- # zero distance will cause nan (#874)
- raise RuntimeError(
- "Some atoms are overlapping in %s. Please check your"
- " training data to remove duplicated atoms." % jj
- )
- self.min_nbor_dist = dt
- var = np.max(mn, axis=0)
- self.max_nbor_size = np.maximum(var, self.max_nbor_size)
-
- log.info('training data with min nbor dist: ' + str(self.min_nbor_dist))
- log.info('training data with max nbor size: ' + str(self.max_nbor_size))
- return self.min_nbor_dist, self.max_nbor_size
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/network.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/network.py
deleted file mode 100644
index aa3dabb225643c657ccf1a6f8946603c9a88d08a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/network.py
+++ /dev/null
@@ -1,265 +0,0 @@
-import numpy as np
-
-from deepmd.env import tf
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.common import get_precision
-
-def one_layer_rand_seed_shift():
- return 3
-
-def one_layer(inputs,
- outputs_size,
- activation_fn=tf.nn.tanh,
- precision = GLOBAL_TF_FLOAT_PRECISION,
- stddev=1.0,
- bavg=0.0,
- name='linear',
- scope='',
- reuse=None,
- seed=None,
- use_timestep = False,
- trainable = True,
- useBN = False,
- uniform_seed = False,
- initial_variables = None,
- mixed_prec = None,
- final_layer = False):
- # For good accuracy, the last layer of the fitting network uses a higher precision neuron network.
- if mixed_prec is not None and final_layer:
- inputs = tf.cast(inputs, get_precision(mixed_prec['output_prec']))
- with tf.variable_scope(name, reuse=reuse):
- shape = inputs.get_shape().as_list()
- w_initializer = tf.random_normal_initializer(
- stddev=stddev / np.sqrt(shape[1] + outputs_size),
- seed=seed if (seed is None or uniform_seed) else seed + 0)
- b_initializer = tf.random_normal_initializer(
- stddev=stddev,
- mean=bavg,
- seed=seed if (seed is None or uniform_seed) else seed + 1)
- if initial_variables is not None:
- w_initializer = tf.constant_initializer(initial_variables[scope + name + '/matrix'])
- b_initializer = tf.constant_initializer(initial_variables[scope + name + '/bias'])
- w = tf.get_variable('matrix',
- [shape[1], outputs_size],
- precision,
- w_initializer,
- trainable = trainable)
- variable_summaries(w, 'matrix')
- b = tf.get_variable('bias',
- [outputs_size],
- precision,
- b_initializer,
- trainable = trainable)
- variable_summaries(b, 'bias')
-
- if mixed_prec is not None and not final_layer:
- inputs = tf.cast(inputs, get_precision(mixed_prec['compute_prec']))
- w = tf.cast(w, get_precision(mixed_prec['compute_prec']))
- b = tf.cast(b, get_precision(mixed_prec['compute_prec']))
-
- hidden = tf.nn.bias_add(tf.matmul(inputs, w), b)
- if activation_fn != None and use_timestep :
- idt_initializer = tf.random_normal_initializer(
- stddev=0.001,
- mean=0.1,
- seed=seed if (seed is None or uniform_seed) else seed + 2)
- if initial_variables is not None:
- idt_initializer = tf.constant_initializer(initial_variables[scope + name + '/idt'])
- idt = tf.get_variable('idt',
- [outputs_size],
- precision,
- idt_initializer,
- trainable = trainable)
- variable_summaries(idt, 'idt')
- if activation_fn != None:
- if useBN:
- None
- # hidden_bn = self._batch_norm(hidden, name=name+'_normalization', reuse=reuse)
- # return activation_fn(hidden_bn)
- else:
- if use_timestep :
- if mixed_prec is not None and not final_layer:
- idt = tf.cast(idt, get_precision(mixed_prec['compute_prec']))
- hidden = tf.reshape(activation_fn(hidden), [-1, outputs_size]) * idt
- else :
- hidden = tf.reshape(activation_fn(hidden), [-1, outputs_size])
-
- if mixed_prec is not None:
- hidden = tf.cast(hidden, get_precision(mixed_prec['output_prec']))
- return hidden
-
-
-def embedding_net_rand_seed_shift(
- network_size
-):
- shift = 3 * (len(network_size) + 1)
- return shift
-
-def embedding_net(xx,
- network_size,
- precision,
- activation_fn = tf.nn.tanh,
- resnet_dt = False,
- name_suffix = '',
- stddev = 1.0,
- bavg = 0.0,
- seed = None,
- trainable = True,
- uniform_seed = False,
- initial_variables = None,
- mixed_prec = None):
- r"""The embedding network.
-
- The embedding network function :math:`\mathcal{N}` is constructed by is the
- composition of multiple layers :math:`\mathcal{L}^{(i)}`:
-
- .. math::
- \mathcal{N} = \mathcal{L}^{(n)} \circ \mathcal{L}^{(n-1)}
- \circ \cdots \circ \mathcal{L}^{(1)}
-
- A layer :math:`\mathcal{L}` is given by one of the following forms,
- depending on the number of nodes: [1]_
-
- .. math::
- \mathbf{y}=\mathcal{L}(\mathbf{x};\mathbf{w},\mathbf{b})=
- \begin{cases}
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b}) + \mathbf{x}, & N_2=N_1 \\
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b}) + (\mathbf{x}, \mathbf{x}), & N_2 = 2N_1\\
- \boldsymbol{\phi}(\mathbf{x}^T\mathbf{w}+\mathbf{b}), & \text{otherwise} \\
- \end{cases}
-
- where :math:`\mathbf{x} \in \mathbb{R}^{N_1}`$` is the input vector and :math:`\mathbf{y} \in \mathbb{R}^{N_2}`
- is the output vector. :math:`\mathbf{w} \in \mathbb{R}^{N_1 \times N_2}` and
- :math:`\mathbf{b} \in \mathbb{R}^{N_2}`$` are weights and biases, respectively,
- both of which are trainable if `trainable` is `True`. :math:`\boldsymbol{\phi}`
- is the activation function.
-
- Parameters
- ----------
- xx : Tensor
- Input tensor :math:`\mathbf{x}` of shape [-1,1]
- network_size: list of int
- Size of the embedding network. For example [16,32,64]
- precision:
- Precision of network weights. For example, tf.float64
- activation_fn:
- Activation function :math:`\boldsymbol{\phi}`
- resnet_dt: boolean
- Using time-step in the ResNet construction
- name_suffix: str
- The name suffix append to each variable.
- stddev: float
- Standard deviation of initializing network parameters
- bavg: float
- Mean of network intial bias
- seed: int
- Random seed for initializing network parameters
- trainable: boolean
- If the network is trainable
- uniform_seed : boolean
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- initial_variables : dict
- The input dict which stores the embedding net variables
- mixed_prec
- The input dict which stores the mixed precision setting for the embedding net
-
-
- References
- ----------
- .. [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Identitymappings
- in deep residual networks. InComputer Vision – ECCV 2016,pages 630–645. Springer
- International Publishing, 2016.
- """
- input_shape = xx.get_shape().as_list()
- outputs_size = [input_shape[1]] + network_size
-
- for ii in range(1, len(outputs_size)):
- w_initializer = tf.random_normal_initializer(
- stddev=stddev/np.sqrt(outputs_size[ii]+outputs_size[ii-1]),
- seed = seed if (seed is None or uniform_seed) else seed + ii*3+0
- )
- b_initializer = tf.random_normal_initializer(
- stddev=stddev,
- mean = bavg,
- seed = seed if (seed is None or uniform_seed) else seed + 3*ii+1
- )
- if initial_variables is not None:
- scope = tf.get_variable_scope().name
- w_initializer = tf.constant_initializer(initial_variables[scope+'/matrix_'+str(ii)+name_suffix])
- b_initializer = tf.constant_initializer(initial_variables[scope+'/bias_'+str(ii)+name_suffix])
- w = tf.get_variable('matrix_'+str(ii)+name_suffix,
- [outputs_size[ii - 1], outputs_size[ii]],
- precision,
- w_initializer,
- trainable = trainable)
- variable_summaries(w, 'matrix_'+str(ii)+name_suffix)
-
- b = tf.get_variable('bias_'+str(ii)+name_suffix,
- [outputs_size[ii]],
- precision,
- b_initializer,
- trainable = trainable)
- variable_summaries(b, 'bias_'+str(ii)+name_suffix)
-
- if mixed_prec is not None:
- xx = tf.cast(xx, get_precision(mixed_prec['compute_prec']))
- w = tf.cast(w, get_precision(mixed_prec['compute_prec']))
- b = tf.cast(b, get_precision(mixed_prec['compute_prec']))
- if activation_fn is not None:
- hidden = tf.reshape(activation_fn(tf.nn.bias_add(tf.matmul(xx, w), b)), [-1, outputs_size[ii]])
- else:
- hidden = tf.reshape(tf.nn.bias_add(tf.matmul(xx, w), b), [-1, outputs_size[ii]])
- if resnet_dt :
- idt_initializer = tf.random_normal_initializer(
- stddev=0.001,
- mean = 1.0,
- seed = seed if (seed is None or uniform_seed) else seed + 3*ii+2
- )
- if initial_variables is not None:
- scope = tf.get_variable_scope().name
- idt_initializer = tf.constant_initializer(initial_variables[scope+'/idt_'+str(ii)+name_suffix])
- idt = tf.get_variable('idt_'+str(ii)+name_suffix,
- [1, outputs_size[ii]],
- precision,
- idt_initializer,
- trainable = trainable)
- variable_summaries(idt, 'idt_'+str(ii)+name_suffix)
- if mixed_prec is not None:
- idt = tf.cast(idt, get_precision(mixed_prec['compute_prec']))
-
- if outputs_size[ii] == outputs_size[ii-1]:
- if resnet_dt :
- xx += hidden * idt
- else :
- xx += hidden
- elif outputs_size[ii] == outputs_size[ii-1] * 2:
- if resnet_dt :
- xx = tf.concat([xx,xx], 1) + hidden * idt
- else :
- xx = tf.concat([xx,xx], 1) + hidden
- else:
- xx = hidden
- if mixed_prec is not None:
- xx = tf.cast(xx, get_precision(mixed_prec['output_prec']))
- return xx
-
-def variable_summaries(var: tf.Variable, name: str):
- """Attach a lot of summaries to a Tensor (for TensorBoard visualization).
-
- Parameters
- ----------
- var : tf.Variable
- [description]
- name : str
- variable name
- """
- with tf.name_scope(name):
- mean = tf.reduce_mean(var)
- tf.summary.scalar('mean', mean)
-
- with tf.name_scope('stddev'):
- stddev = tf.sqrt(tf.reduce_mean(tf.square(var - mean)))
- tf.summary.scalar('stddev', stddev)
- tf.summary.scalar('max', tf.reduce_max(var))
- tf.summary.scalar('min', tf.reduce_min(var))
- tf.summary.histogram('histogram', var)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/pair_tab.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/pair_tab.py
deleted file mode 100644
index d9919bd369391fb36428a4df20aad2442760655c..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/pair_tab.py
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/usr/bin/env python3
-
-import numpy as np
-from typing import Tuple, List
-
-from scipy.interpolate import CubicSpline
-
-class PairTab (object):
- """
-
- Parameters
- ----------
- filename
- File name for the short-range tabulated potential.
- The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes.
- The first colume is the distance between atoms.
- The second to the last columes are energies for pairs of certain types.
- For example we have two atom types, 0 and 1.
- The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.
- """
- def __init__(self,
- filename : str
- ) -> None:
- """
- Constructor
- """
- self.reinit(filename)
-
- def reinit(self,
- filename : str
- ) -> None:
- """
- Initialize the tabulated interaction
-
- Parameters
- ----------
- filename
- File name for the short-range tabulated potential.
- The table is a text data file with (N_t + 1) * N_t / 2 + 1 columes.
- The first colume is the distance between atoms.
- The second to the last columes are energies for pairs of certain types.
- For example we have two atom types, 0 and 1.
- The columes from 2nd to 4th are for 0-0, 0-1 and 1-1 correspondingly.
- """
- self.vdata = np.loadtxt(filename)
- self.rmin = self.vdata[0][0]
- self.hh = self.vdata[1][0] - self.vdata[0][0]
- self.nspline = self.vdata.shape[0] - 1
- ncol = self.vdata.shape[1] - 1
- n0 = (-1 + np.sqrt(1 + 8 * ncol)) * 0.5
- self.ntypes = int(n0 + 0.1)
- assert(self.ntypes * (self.ntypes+1) // 2 == ncol),\
- "number of volumes provided in %s does not match guessed number of types %d" % (filename, self.ntypes)
- self.tab_info = np.array([self.rmin, self.hh, self.nspline, self.ntypes])
- self.tab_data = self._make_data()
-
- def get(self) -> Tuple[np.array, np.array]:
- """
- Get the serialized table.
- """
- return self.tab_info, self.tab_data
-
- def _make_data(self) :
- data = np.zeros([self.ntypes * self.ntypes * 4 * self.nspline])
- stride = 4 * self.nspline
- idx_iter = 0
- xx = self.vdata[:,0]
- for t0 in range(self.ntypes) :
- for t1 in range(t0, self.ntypes) :
- vv = self.vdata[:,1+idx_iter]
- cs = CubicSpline(xx, vv)
- dd = cs(xx, 1)
- dd *= self.hh
- dtmp = np.zeros(stride)
- for ii in range(self.nspline) :
- dtmp[ii*4+0] = 2 * vv[ii] - 2 * vv[ii+1] + dd[ii] + dd[ii+1]
- dtmp[ii*4+1] =-3 * vv[ii] + 3 * vv[ii+1] - 2 * dd[ii] - dd[ii+1]
- dtmp[ii*4+2] = dd[ii]
- dtmp[ii*4+3] = vv[ii]
- data[(t0 * self.ntypes + t1) * stride : (t0 * self.ntypes + t1) * stride + stride] \
- = dtmp
- data[(t1 * self.ntypes + t0) * stride : (t1 * self.ntypes + t0) * stride + stride] \
- = dtmp
- idx_iter += 1
- return data
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/parallel_op.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/parallel_op.py
deleted file mode 100644
index 675272417a9d4a58c719b2dafde6644595f130e5..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/parallel_op.py
+++ /dev/null
@@ -1,80 +0,0 @@
-from typing import Callable, Generator, Tuple, Dict, Any
-
-from deepmd.env import tf
-from deepmd.utils.sess import run_sess
-
-
-class ParallelOp:
- """Run an op with data parallelism.
-
- Parameters
- ----------
- builder : Callable[..., Tuple[Dict[str, tf.Tensor], Tuple[tf.Tensor]]]
- returns two objects: a dict which stores placeholders by key, and a tuple with the final op(s)
- nthreads : int, optional
- the number of threads
- config : tf.ConfigProto, optional
- tf.ConfigProto
-
- Examples
- --------
- >>> from deepmd.env import tf
- >>> from deepmd.utils.parallel_op import ParallelOp
- >>> def builder():
- ... x = tf.placeholder(tf.int32, [1])
- ... return {"x": x}, (x + 1)
- ...
- >>> p = ParallelOp(builder, nthreads=4)
- >>> def feed():
- ... for ii in range(10):
- ... yield {"x": [ii]}
- ...
- >>> print(*p.generate(tf.Session(), feed()))
- [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
- """
- def __init__(self, builder: Callable[..., Tuple[Dict[str, tf.Tensor], Tuple[tf.Tensor]]], nthreads: int = None, config: tf.ConfigProto = None) -> None:
- if nthreads is not None:
- self.nthreads = nthreads
- elif config is not None:
- self.nthreads = max(config.inter_op_parallelism_threads, 1)
- else:
- self.nthreads = 1
-
- self.placeholders = []
- self.ops = []
- for ii in range(self.nthreads):
- with tf.name_scope("task_%d" % ii) as scope:
- placeholder, op = builder()
- self.placeholders.append(placeholder)
- self.ops.append(op)
-
- def generate(self, sess: tf.Session, feed: Generator[Dict[str, Any], None, None]) -> Generator[Tuple, None, None]:
- """Returns a generator.
-
- Parameters
- ----------
- feed : Generator[dict, None, None]
- generator which yields feed_dict
-
- Yields
- ------
- Generator[Tuple, None, None]
- generator which yields session returns
- """
- nn = self.nthreads
- while True:
- feed_dict = {}
- for ii in range(self.nthreads):
- try:
- fd = next(feed)
- except StopIteration:
- if ii == 0:
- return
- nn = ii
- break
- for kk, vv in fd.items():
- feed_dict[self.placeholders[ii][kk]] = vv
- ops = self.ops[:nn]
- for yy in run_sess(sess, ops, feed_dict=feed_dict):
- yield yy
-
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/path.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/path.py
deleted file mode 100644
index 30f3e9b7247a731697e58d8274e2f52a2da4b177..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/path.py
+++ /dev/null
@@ -1,338 +0,0 @@
-import os
-from abc import ABC, abstractmethod
-from typing import List
-from pathlib import Path
-from functools import lru_cache
-
-import numpy as np
-import h5py
-from wcmatch.glob import globfilter
-
-class DPPath(ABC):
- """The path class to data system (DeepmdData).
-
- Parameters
- ----------
- path : str
- path
- """
- def __new__(cls, path: str):
- if cls is DPPath:
- if os.path.isdir(path):
- return super().__new__(DPOSPath)
- elif os.path.isfile(path.split("#")[0]):
- # assume h5 if it is not dir
- # TODO: check if it is a real h5? or just check suffix?
- return super().__new__(DPH5Path)
- raise FileNotFoundError("%s not found" % path)
- return super().__new__(cls)
-
- @abstractmethod
- def load_numpy(self) -> np.ndarray:
- """Load NumPy array.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
-
- @abstractmethod
- def load_txt(self, **kwargs) -> np.ndarray:
- """Load NumPy array from text.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
-
- @abstractmethod
- def glob(self, pattern: str) -> List["DPPath"]:
- """Search path using the glob pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
-
- @abstractmethod
- def rglob(self, pattern: str) -> List["DPPath"]:
- """This is like calling :meth:`DPPath.glob()` with `**/` added in front
- of the given relative pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
-
- @abstractmethod
- def is_file(self) -> bool:
- """Check if self is file."""
-
- @abstractmethod
- def is_dir(self) -> bool:
- """Check if self is directory."""
-
- @abstractmethod
- def __truediv__(self, key: str) -> "DPPath":
- """Used for / operator."""
-
- @abstractmethod
- def __lt__(self, other: "DPPath") -> bool:
- """whether this DPPath is less than other for sorting"""
-
- @abstractmethod
- def __str__(self) -> str:
- """Represent string"""
-
- def __repr__(self) -> str:
- return "%s (%s)" % (type(self), str(self))
-
- def __eq__(self, other) -> bool:
- return str(self) == str(other)
-
- def __hash__(self):
- return hash(str(self))
-
-
-class DPOSPath(DPPath):
- """The OS path class to data system (DeepmdData) for real directories.
-
- Parameters
- ----------
- path : str
- path
- """
- def __init__(self, path: str) -> None:
- super().__init__()
- if isinstance(path, Path):
- self.path = path
- else:
- self.path = Path(path)
-
- def load_numpy(self) -> np.ndarray:
- """Load NumPy array.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- return np.load(str(self.path))
-
- def load_txt(self, **kwargs) -> np.ndarray:
- """Load NumPy array from text.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- return np.loadtxt(str(self.path), **kwargs)
-
- def glob(self, pattern: str) -> List["DPPath"]:
- """Search path using the glob pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- # currently DPOSPath will only derivative DPOSPath
- # TODO: discuss if we want to mix DPOSPath and DPH5Path?
- return list([type(self)(p) for p in self.path.glob(pattern)])
-
- def rglob(self, pattern: str) -> List["DPPath"]:
- """This is like calling :meth:`DPPath.glob()` with `**/` added in front
- of the given relative pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- return list([type(self)(p) for p in self.path.rglob(pattern)])
-
- def is_file(self) -> bool:
- """Check if self is file."""
- return self.path.is_file()
-
- def is_dir(self) -> bool:
- """Check if self is directory."""
- return self.path.is_dir()
-
- def __truediv__(self, key: str) -> "DPPath":
- """Used for / operator."""
- return type(self)(self.path / key)
-
- def __lt__(self, other: "DPOSPath") -> bool:
- """whether this DPPath is less than other for sorting"""
- return self.path < other.path
-
- def __str__(self) -> str:
- """Represent string"""
- return str(self.path)
-
-
-class DPH5Path(DPPath):
- """The path class to data system (DeepmdData) for HDF5 files.
-
- Notes
- -----
- OS - HDF5 relationship:
- directory - Group
- file - Dataset
-
- Parameters
- ----------
- path : str
- path
- """
- def __init__(self, path: str) -> None:
- super().__init__()
- # we use "#" to split path
- # so we do not support file names containing #...
- s = path.split("#")
- self.root_path = s[0]
- self.root = self._load_h5py(s[0])
- # h5 path: default is the root path
- self.name = s[1] if len(s) > 1 else "/"
-
- @classmethod
- @lru_cache(None)
- def _load_h5py(cls, path: str) -> h5py.File:
- """Load hdf5 file.
-
- Parameters
- ----------
- path : str
- path to hdf5 file
- """
- # this method has cache to avoid duplicated
- # loading from different DPH5Path
- # However the file will be never closed?
- return h5py.File(path, 'r')
-
- def load_numpy(self) -> np.ndarray:
- """Load NumPy array.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- return self.root[self.name][:]
-
- def load_txt(self, dtype: np.dtype = None, **kwargs) -> np.ndarray:
- """Load NumPy array from text.
-
- Returns
- -------
- np.ndarray
- loaded NumPy array
- """
- arr = self.load_numpy()
- if dtype:
- arr = arr.astype(dtype)
- return arr
-
- def glob(self, pattern: str) -> List["DPPath"]:
- """Search path using the glob pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- # got paths starts with current path first, which is faster
- subpaths = [ii for ii in self._keys if ii.startswith(self.name)]
- return list([type(self)("%s#%s"%(self.root_path, pp)) for pp in globfilter(subpaths, self._connect_path(pattern))])
-
- def rglob(self, pattern: str) -> List["DPPath"]:
- """This is like calling :meth:`DPPath.glob()` with `**/` added in front
- of the given relative pattern.
-
- Parameters
- ----------
- pattern : str
- glob pattern
-
- Returns
- -------
- List[DPPath]
- list of paths
- """
- return self.glob("**" + pattern)
-
- @property
- def _keys(self) -> List[str]:
- """Walk all groups and dataset"""
- return self._file_keys(self.root)
-
- @classmethod
- @lru_cache(None)
- def _file_keys(cls, file: h5py.File) -> List[str]:
- """Walk all groups and dataset"""
- l = []
- file.visit(lambda x: l.append("/" + x))
- return l
-
- def is_file(self) -> bool:
- """Check if self is file."""
- if self.name not in self._keys:
- return False
- return isinstance(self.root[self.name], h5py.Dataset)
-
- def is_dir(self) -> bool:
- """Check if self is directory."""
- if self.name not in self._keys:
- return False
- return isinstance(self.root[self.name], h5py.Group)
-
- def __truediv__(self, key: str) -> "DPPath":
- """Used for / operator."""
- return type(self)("%s#%s" % (self.root_path, self._connect_path(key)))
-
- def _connect_path(self, path: str) -> str:
- """Connect self with path"""
- if self.name.endswith("/"):
- return "%s%s" % (self.name, path)
- return "%s/%s" % (self.name, path)
-
- def __lt__(self, other: "DPH5Path") -> bool:
- """whether this DPPath is less than other for sorting"""
- if self.root_path == other.root_path:
- return self.name < other.name
- return self.root_path < other.root_path
-
- def __str__(self) -> str:
- """returns path of self"""
- return "%s#%s" % (self.root_path, self.name)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/plugin.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/plugin.py
deleted file mode 100644
index a0799f8eae78f35386e4bb3bc1cd3c20f20b8dff..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/plugin.py
+++ /dev/null
@@ -1,84 +0,0 @@
-
-"""Base of plugin systems."""
-# copied from https://github.com/deepmodeling/dpdata/blob/a3e76d75de53f6076254de82d18605a010dc3b00/dpdata/plugin.py
-
-from abc import ABCMeta
-from typing import Callable
-
-
-class Plugin:
- """A class to register and restore plugins.
-
- Attributes
- ----------
- plugins : Dict[str, object]
- plugins
-
- Examples
- --------
- >>> plugin = Plugin()
- >>> @plugin.register("xx")
- def xxx():
- pass
- >>> print(plugin.plugins['xx'])
- """
- def __init__(self):
- self.plugins = {}
-
- def __add__(self, other) -> "Plugin":
- self.plugins.update(other.plugins)
- return self
-
- def register(self, key : str) -> Callable[[object], object]:
- """Register a plugin.
-
- Parameters
- ----------
- key : str
- key of the plugin
-
- Returns
- -------
- Callable[[object], object]
- decorator
- """
- def decorator(object : object) -> object:
- self.plugins[key] = object
- return object
- return decorator
-
- def get_plugin(self, key) -> object:
- """Visit a plugin by key.
-
- Parameters
- ----------
- key : str
- key of the plugin
-
- Returns
- -------
- object
- the plugin
- """
- return self.plugins[key]
-
-class VariantMeta:
- def __call__(cls, *args, **kwargs):
- """Remove `type` and keys that starts with underline."""
- obj = cls.__new__(cls, *args, **kwargs)
- kwargs.pop('type', None)
- to_pop = []
- for kk in kwargs:
- if kk[0] == '_':
- to_pop.append(kk)
- for kk in to_pop:
- kwargs.pop(kk, None)
- obj.__init__(*args, **kwargs)
- return obj
-
-class VariantABCMeta(VariantMeta, ABCMeta):
- pass
-
-class PluginVariant(metaclass=VariantABCMeta):
- """A class to remove `type` from input arguments."""
- pass
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/random.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/random.py
deleted file mode 100644
index 565f28c74124ba35d6b71a4ed4da5544c5fd9b16..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/random.py
+++ /dev/null
@@ -1,63 +0,0 @@
-import numpy as np
-
-
-_RANDOM_GENERATOR = np.random.RandomState()
-
-
-def choice(a: np.ndarray, p: np.ndarray = None):
- """Generates a random sample from a given 1-D array.
-
- Parameters
- ----------
- a : np.ndarray
- A random sample is generated from its elements.
- p : np.ndarray
- The probabilities associated with each entry in a.
-
- Returns
- -------
- np.ndarray
- arrays with results and their shapes
- """
- return _RANDOM_GENERATOR.choice(a, p=p)
-
-
-def random(size=None):
- """Return random floats in the half-open interval [0.0, 1.0).
-
- Parameters
- ----------
- size
- Output shape.
-
- Returns
- -------
- np.ndarray
- Arrays with results and their shapes.
- """
- return _RANDOM_GENERATOR.random_sample(size)
-
-
-def seed(val: int = None):
- """Seed the generator.
-
- Parameters
- ----------
- val : int
- Seed.
- """
- _RANDOM_GENERATOR.seed(val)
-
-
-def shuffle(x: np.ndarray):
- """Modify a sequence in-place by shuffling its contents.
-
- Parameters
- ----------
- x : np.ndarray
- The array or list to be shuffled.
- """
- _RANDOM_GENERATOR.shuffle(x)
-
-
-__all__ = ['choice', 'random', 'seed', 'shuffle']
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/sess.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/sess.py
deleted file mode 100644
index 829ba741e70d5b72319fed201d6eccdeb06f0c79..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/sess.py
+++ /dev/null
@@ -1,39 +0,0 @@
-import os
-
-from deepmd.env import tf
-from deepmd.utils.errors import OutOfMemoryError
-
-
-def run_sess(sess: tf.Session, *args, **kwargs):
- """Run session with erorrs caught.
-
- Parameters
- ----------
- sess: tf.Session
- TensorFlow Session
-
- Returns
- -------
- the result of sess.run()
- """
- try:
- # https://www.tensorflow.org/api_docs/python/tf/compat/v1/Session#run
- return sess.run(*args, **kwargs)
- except tf.errors.ResourceExhaustedError as e:
- MESSAGE = (
- "Your memory may be not enough, thus an error has been raised "
- "above. You need to take the following actions:\n"
- "1. Check if the network size of the model is too large.\n"
- "2. Check if the batch size of training or testing is too large."
- " You can set the training batch size to `auto`.\n"
- "3. Check if the number of atoms is too large.\n"
- )
- if tf.test.is_built_with_cuda():
- MESSAGE += (
- "4. Check if another program is using the same GPU by "
- "execuating `nvidia-smi`. The usage of GPUs is "
- "controlled by `CUDA_VISIBLE_DEVICES` environment "
- "variable (current value: %s).\n" % (
- os.getenv("CUDA_VISIBLE_DEVICES", None),
- ))
- raise OutOfMemoryError(MESSAGE) from e
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/tabulate.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/tabulate.py
deleted file mode 100644
index 8c9159efd8fbdc5d86e3c80db9929b6b48ee8c65..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/tabulate.py
+++ /dev/null
@@ -1,496 +0,0 @@
-import logging
-import numpy as np
-import deepmd
-from typing import Callable
-from typing import Tuple, List, Dict
-from functools import lru_cache
-from scipy.special import comb
-from deepmd.env import tf
-from deepmd.env import op_module
-from deepmd.common import ACTIVATION_FN_DICT
-from deepmd.utils.graph import get_tensor_by_name_from_graph, load_graph_def
-from deepmd.utils.graph import get_embedding_net_nodes_from_graph_def
-from deepmd.descriptor import Descriptor
-
-log = logging.getLogger(__name__)
-
-class DPTabulate():
- """
- Class for tabulation.
-
- Compress a model, which including tabulating the embedding-net.
- The table is composed of fifth-order polynomial coefficients and is assembled from two sub-tables. The first table takes the stride(parameter) as it\'s uniform stride, while the second table takes 10 * stride as it\s uniform stride
- The range of the first table is automatically detected by deepmd-kit, while the second table ranges from the first table\'s upper boundary(upper) to the extrapolate(parameter) * upper.
-
- Parameters
- ----------
- descrpt
- Descriptor of the original model
- neuron
- Number of neurons in each hidden layers of the embedding net :math:`\mathcal{N}`
- model_file
- The frozen model
- type_one_side
- Try to build N_types tables. Otherwise, building N_types^2 tables
- exclude_types : List[List[int]]
- The excluded pairs of types which have no interaction with each other.
- For example, `[[0, 1]]` means no interaction between type 0 and type 1.
- activation_function
- The activation function in the embedding net. Supported options are {"tanh","gelu"} in common.ACTIVATION_FN_DICT.
- suffix : str, optional
- The suffix of the scope
- """
- def __init__(self,
- descrpt : Descriptor,
- neuron : List[int],
- model_file : str,
- type_one_side : bool = False,
- exclude_types : List[List[int]] = [],
- activation_fn : Callable[[tf.Tensor], tf.Tensor] = tf.nn.tanh,
- suffix : str = "",
- ) -> None:
- """
- Constructor
- """
- self.descrpt = descrpt
- self.neuron = neuron
- self.model_file = model_file
- self.type_one_side = type_one_side
- self.exclude_types = exclude_types
- self.suffix = suffix
-
- # functype
- if activation_fn == ACTIVATION_FN_DICT["tanh"]:
- self.functype = 1
- elif activation_fn == ACTIVATION_FN_DICT["gelu"]:
- self.functype = 2
- elif activation_fn == ACTIVATION_FN_DICT["relu"]:
- self.functype = 3
- elif activation_fn == ACTIVATION_FN_DICT["relu6"]:
- self.functype = 4
- elif activation_fn == ACTIVATION_FN_DICT["softplus"]:
- self.functype = 5
- elif activation_fn == ACTIVATION_FN_DICT["sigmoid"]:
- self.functype = 6
- else:
- raise RuntimeError("Unknown actication function type!")
- self.activation_fn = activation_fn
-
- self.graph, self.graph_def = load_graph_def(self.model_file)
- #self.sess = tf.Session(graph = self.graph)
-
- self.sub_graph, self.sub_graph_def = self._load_sub_graph()
- self.sub_sess = tf.Session(graph = self.sub_graph)
-
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- self.sel_a = self.descrpt.sel_r
- self.rcut = self.descrpt.rcut
- self.rcut_smth = self.descrpt.rcut_smth
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- self.sel_a = self.descrpt.sel_a
- self.rcut = self.descrpt.rcut_r
- self.rcut_smth = self.descrpt.rcut_r_smth
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- self.sel_a = self.descrpt.sel_a
- self.rcut = self.descrpt.rcut_r
- self.rcut_smth = self.descrpt.rcut_r_smth
- else:
- raise RuntimeError("Unsupported descriptor")
-
- self.davg = get_tensor_by_name_from_graph(self.graph, f'descrpt_attr{self.suffix}/t_avg')
- self.dstd = get_tensor_by_name_from_graph(self.graph, f'descrpt_attr{self.suffix}/t_std')
- self.ntypes = get_tensor_by_name_from_graph(self.graph, 'descrpt_attr/ntypes')
-
- self.embedding_net_nodes = get_embedding_net_nodes_from_graph_def(self.graph_def, suffix=self.suffix)
-
- # move it to the descriptor class
- # for tt in self.exclude_types:
- # if (tt[0] not in range(self.ntypes)) or (tt[1] not in range(self.ntypes)):
- # raise RuntimeError("exclude types" + str(tt) + " must within the number of atomic types " + str(self.ntypes) + "!")
- # if (self.ntypes * self.ntypes - len(self.exclude_types) == 0):
- # raise RuntimeError("empty embedding-net are not supported in model compression!")
- self.layer_size = self._get_layer_size()
- self.table_size = self._get_table_size()
-
- self.bias = self._get_bias()
- self.matrix = self._get_matrix()
-
- self.data_type = self._get_data_type()
- self.last_layer_size = self._get_last_layer_size()
-
- self.data = {}
-
- self.upper = {}
- self.lower = {}
-
-
- def build(self,
- min_nbor_dist : float,
- extrapolate : float,
- stride0 : float,
- stride1 : float) -> Tuple[Dict[str, int], Dict[str, int]]:
- """
- Build the tables for model compression
-
- Parameters
- ----------
- min_nbor_dist
- The nearest distance between neighbor atoms
- extrapolate
- The scale of model extrapolation
- stride0
- The uniform stride of the first table
- stride1
- The uniform stride of the second table
- neuron
- Number of neurons in each hidden layers of the embedding net :math:`\mathcal{N}`
-
- Returns
- ----------
- lower : dict[str, int]
- The lower boundary of environment matrix by net
- upper : dict[str, int]
- The upper boundary of environment matrix by net
- """
- # tabulate range [lower, upper] with stride0 'stride0'
- lower, upper = self._get_env_mat_range(min_nbor_dist)
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- for ii in range(self.table_size):
- if (self.type_one_side and not self._all_excluded(ii)) or (not self.type_one_side and (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types):
- if self.type_one_side:
- net = "filter_-1_net_" + str(ii)
- # upper and lower should consider all types which are not excluded and sel>0
- idx = [(type_i, ii) not in self.exclude_types and self.sel_a[type_i] > 0 for type_i in range(self.ntypes)]
- uu = np.max(upper[idx])
- ll = np.min(lower[idx])
- else:
- ielement = ii // self.ntypes
- net = "filter_" + str(ielement) + "_net_" + str(ii % self.ntypes)
- uu = upper[ielement]
- ll = lower[ielement]
- xx = np.arange(ll, uu, stride0, dtype = self.data_type)
- xx = np.append(xx, np.arange(uu, extrapolate * uu, stride1, dtype = self.data_type))
- xx = np.append(xx, np.array([extrapolate * uu], dtype = self.data_type))
- nspline = ((uu - ll) / stride0 + (extrapolate * uu - uu) / stride1).astype(int)
- self._build_lower(net, xx, ii, uu, ll, stride0, stride1, extrapolate, nspline)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- xx_all = []
- for ii in range(self.ntypes):
- xx = np.arange(extrapolate * lower[ii], lower[ii], stride1, dtype = self.data_type)
- xx = np.append(xx, np.arange(lower[ii], upper[ii], stride0, dtype = self.data_type))
- xx = np.append(xx, np.arange(upper[ii], extrapolate * upper[ii], stride1, dtype = self.data_type))
- xx = np.append(xx, np.array([extrapolate * upper[ii]], dtype = self.data_type))
- xx_all.append(xx)
- nspline = ((upper - lower) / stride0 + 2 * ((extrapolate * upper - upper) / stride1)).astype(int)
- idx = 0
- for ii in range(self.ntypes):
- for jj in range(ii, self.ntypes):
- net = "filter_" + str(ii) + "_net_" + str(jj)
- self._build_lower(net, xx_all[ii], idx, upper[ii], lower[ii], stride0, stride1, extrapolate, nspline[ii])
- idx += 1
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- for ii in range(self.table_size):
- if (self.type_one_side and not self._all_excluded(ii)) or (not self.type_one_side and (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types):
- if self.type_one_side:
- net = "filter_-1_net_" + str(ii)
- # upper and lower should consider all types which are not excluded and sel>0
- idx = [(type_i, ii) not in self.exclude_types and self.sel_a[type_i] > 0 for type_i in range(self.ntypes)]
- uu = np.max(upper[idx])
- ll = np.min(lower[idx])
- else:
- ielement = ii // self.ntypes
- net = "filter_" + str(ielement) + "_net_" + str(ii % self.ntypes)
- uu = upper[ielement]
- ll = lower[ielement]
- xx = np.arange(ll, uu, stride0, dtype = self.data_type)
- xx = np.append(xx, np.arange(uu, extrapolate * uu, stride1, dtype = self.data_type))
- xx = np.append(xx, np.array([extrapolate * uu], dtype = self.data_type))
- nspline = ((uu - ll) / stride0 + (extrapolate * uu - uu) / stride1).astype(int)
- self._build_lower(net, xx, ii, uu, ll, stride0, stride1, extrapolate, nspline)
- else:
- raise RuntimeError("Unsupported descriptor")
- self._convert_numpy_to_tensor()
-
- return self.lower, self.upper
-
- def _build_lower(self, net, xx, idx, upper, lower, stride0, stride1, extrapolate, nspline):
- vv, dd, d2 = self._make_data(xx, idx)
- self.data[net] = np.zeros([nspline, 6 * self.last_layer_size], dtype = self.data_type)
-
- # tt.shape: [nspline, self.last_layer_size]
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- tt = np.full((nspline, self.last_layer_size), stride1)
- tt[:int((upper - lower) / stride0), :] = stride0
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- tt = np.full((nspline, self.last_layer_size), stride1)
- tt[int((lower - extrapolate * lower) / stride1) + 1:(int((lower - extrapolate * lower) / stride1) + int((upper - lower) / stride0)), :] = stride0
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- tt = np.full((nspline, self.last_layer_size), stride1)
- tt[:int((upper - lower) / stride0), :] = stride0
- else:
- raise RuntimeError("Unsupported descriptor")
-
- # hh.shape: [nspline, self.last_layer_size]
- hh = vv[1:nspline+1, :self.last_layer_size] - vv[:nspline, :self.last_layer_size]
-
- self.data[net][:, :6 * self.last_layer_size:6] = vv[:nspline, :self.last_layer_size]
- self.data[net][:, 1:6 * self.last_layer_size:6] = dd[:nspline, :self.last_layer_size]
- self.data[net][:, 2:6 * self.last_layer_size:6] = 0.5 * d2[:nspline, :self.last_layer_size]
- self.data[net][:, 3:6 * self.last_layer_size:6] = (1 / (2 * tt * tt * tt)) * (20 * hh - (8 * dd[1:nspline+1, :self.last_layer_size] + 12 * dd[:nspline, :self.last_layer_size]) * tt - (3 * d2[:nspline, :self.last_layer_size] - d2[1:nspline+1, :self.last_layer_size]) * tt * tt)
- self.data[net][:, 4:6 * self.last_layer_size:6] = (1 / (2 * tt * tt * tt * tt)) * (-30 * hh + (14 * dd[1:nspline+1, :self.last_layer_size] + 16 * dd[:nspline, :self.last_layer_size]) * tt + (3 * d2[:nspline, :self.last_layer_size] - 2 * d2[1:nspline+1, :self.last_layer_size]) * tt * tt)
- self.data[net][:, 5:6 * self.last_layer_size:6] = (1 / (2 * tt * tt * tt * tt * tt)) * (12 * hh - 6 * (dd[1:nspline+1, :self.last_layer_size] + dd[:nspline, :self.last_layer_size]) * tt + (d2[1:nspline+1, :self.last_layer_size] - d2[:nspline, :self.last_layer_size]) * tt * tt)
-
- self.upper[net] = upper
- self.lower[net] = lower
-
- def _load_sub_graph(self):
- sub_graph_def = tf.GraphDef()
- with tf.Graph().as_default() as sub_graph:
- tf.import_graph_def(sub_graph_def, name = "")
- return sub_graph, sub_graph_def
-
- def _get_bias(self):
- bias = {}
- for layer in range(1, self.layer_size + 1):
- bias["layer_" + str(layer)] = []
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/bias_{layer}_{ii}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/bias_{layer}_{ii % self.ntypes}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- for ii in range(self.ntypes):
- for jj in range(ii, self.ntypes):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/bias_{layer}_{ii}_{jj}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/bias_{layer}_{ii}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/bias_{layer}_{ii % self.ntypes}"]
- bias["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- bias["layer_" + str(layer)].append(np.array([]))
- else:
- raise RuntimeError("Unsupported descriptor")
- return bias
-
- def _get_matrix(self):
- matrix = {}
- for layer in range(1, self.layer_size + 1):
- matrix["layer_" + str(layer)] = []
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/matrix_{layer}_{ii}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/matrix_{layer}_{ii % self.ntypes}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- for ii in range(self.ntypes):
- for jj in range(ii, self.ntypes):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/matrix_{layer}_{ii}_{jj}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- if self.type_one_side:
- for ii in range(0, self.ntypes):
- if not self._all_excluded(ii):
- node = self.embedding_net_nodes[f"filter_type_all{self.suffix}/matrix_{layer}_{ii}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- else:
- for ii in range(0, self.ntypes * self.ntypes):
- if (ii // self.ntypes, ii % self.ntypes) not in self.exclude_types:
- node = self.embedding_net_nodes[f"filter_type_{ii // self.ntypes}{self.suffix}/matrix_{layer}_{ii % self.ntypes}"]
- matrix["layer_" + str(layer)].append(tf.make_ndarray(node))
- else:
- matrix["layer_" + str(layer)].append(np.array([]))
- else:
- raise RuntimeError("Unsupported descriptor")
-
- return matrix
-
- # one-by-one executions
- def _make_data(self, xx, idx):
- with self.sub_graph.as_default():
- with self.sub_sess.as_default():
- xx = tf.reshape(xx, [xx.size, -1])
- for layer in range(self.layer_size):
- if layer == 0:
- xbar = tf.matmul(
- xx, self.matrix["layer_" + str(layer + 1)][idx]) + self.bias["layer_" + str(layer + 1)][idx]
- if self.neuron[0] == 1:
- yy = self._layer_0(
- xx, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx]) + xx
- dy = op_module.unaggregated_dy_dx_s(
- yy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype)) + tf.ones([1, 1], yy.dtype)
- dy2 = op_module.unaggregated_dy2_dx_s(
- yy, dy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- elif self.neuron[0] == 2:
- tt, yy = self._layer_1(
- xx, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx])
- dy = op_module.unaggregated_dy_dx_s(
- yy - tt, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype)) + tf.ones([1, 2], yy.dtype)
- dy2 = op_module.unaggregated_dy2_dx_s(
- yy - tt, dy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- else:
- yy = self._layer_0(
- xx, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx])
- dy = op_module.unaggregated_dy_dx_s(
- yy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- dy2 = op_module.unaggregated_dy2_dx_s(
- yy, dy, self.matrix["layer_" + str(layer + 1)][idx], xbar, tf.constant(self.functype))
- else:
- ybar = tf.matmul(
- yy, self.matrix["layer_" + str(layer + 1)][idx]) + self.bias["layer_" + str(layer + 1)][idx]
- tt, zz = self._layer_1(
- yy, self.matrix["layer_" + str(layer + 1)][idx], self.bias["layer_" + str(layer + 1)][idx])
- dz = op_module.unaggregated_dy_dx(
- zz - tt, self.matrix["layer_" + str(layer + 1)][idx], dy, ybar, tf.constant(self.functype))
- dy2 = op_module.unaggregated_dy2_dx(
- zz - tt, self.matrix["layer_" + str(layer + 1)][idx], dy, dy2, ybar, tf.constant(self.functype))
- dy = dz
- yy = zz
-
- vv = zz.eval()
- dd = dy.eval()
- d2 = dy2.eval()
- return vv, dd, d2
-
- def _layer_0(self, x, w, b):
- return self.activation_fn(tf.matmul(x, w) + b)
-
- def _layer_1(self, x, w, b):
- t = tf.concat([x, x], axis=1)
- return t, self.activation_fn(tf.matmul(x, w) + b) + t
-
- # Change the embedding net range to sw / min_nbor_dist
- def _get_env_mat_range(self,
- min_nbor_dist):
- sw = self._spline5_switch(min_nbor_dist, self.rcut_smth, self.rcut)
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- lower = -self.davg[:, 0] / self.dstd[:, 0]
- upper = ((1 / min_nbor_dist) * sw - self.davg[:, 0]) / self.dstd[:, 0]
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- var = np.square(sw / (min_nbor_dist * self.dstd[:, 1:4]))
- lower = np.min(-var, axis=1)
- upper = np.max(var, axis=1)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- lower = -self.davg[:, 0] / self.dstd[:, 0]
- upper = ((1 / min_nbor_dist) * sw - self.davg[:, 0]) / self.dstd[:, 0]
- else:
- raise RuntimeError("Unsupported descriptor")
- log.info('training data with lower boundary: ' + str(lower))
- log.info('training data with upper boundary: ' + str(upper))
- # returns element-wise lower and upper
- return np.floor(lower), np.ceil(upper)
-
- def _spline5_switch(self,
- xx,
- rmin,
- rmax):
- if xx < rmin:
- vv = 1
- elif xx < rmax:
- uu = (xx - rmin) / (rmax - rmin)
- vv = uu*uu*uu * (-6 * uu*uu + 15 * uu - 10) + 1
- else:
- vv = 0
- return vv
-
- def _get_layer_size(self):
- layer_size = 0
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes * self.ntypes - len(self.exclude_types)) * 2)
- if self.type_one_side :
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes - self._n_all_excluded) * 2)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- layer_size = len(self.embedding_net_nodes) // int(comb(self.ntypes + 1, 2) * 2)
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes * self.ntypes - len(self.exclude_types)) * 2)
- if self.type_one_side :
- layer_size = len(self.embedding_net_nodes) // ((self.ntypes - self._n_all_excluded) * 2)
- else:
- raise RuntimeError("Unsupported descriptor")
- return layer_size
-
- @property
- @lru_cache()
- def _n_all_excluded(self) -> int:
- """Then number of types excluding all types."""
- return sum((int(self._all_excluded(ii)) for ii in range(0, self.ntypes)))
-
- @lru_cache()
- def _all_excluded(self, ii: int) -> bool:
- """Check if type ii excluds all types.
-
- Parameters
- ----------
- ii : int
- type index
-
- Returns
- -------
- bool
- if type ii excluds all types
- """
- return all([(ii, type_i) in self.exclude_types for type_i in range(self.ntypes)])
-
- def _get_table_size(self):
- table_size = 0
- if isinstance(self.descrpt, deepmd.descriptor.DescrptSeA):
- table_size = self.ntypes * self.ntypes
- if self.type_one_side :
- table_size = self.ntypes
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeT):
- table_size = int(comb(self.ntypes + 1, 2))
- elif isinstance(self.descrpt, deepmd.descriptor.DescrptSeR):
- table_size = self.ntypes * self.ntypes
- if self.type_one_side :
- table_size = self.ntypes
- else:
- raise RuntimeError("Unsupported descriptor")
- return table_size
-
- def _get_data_type(self):
- for item in self.matrix["layer_" + str(self.layer_size)]:
- if len(item) != 0:
- return type(item[0][0])
- return None
-
- def _get_last_layer_size(self):
- for item in self.matrix["layer_" + str(self.layer_size)]:
- if len(item) != 0:
- return item.shape[1]
- return 0
-
- def _convert_numpy_to_tensor(self):
- """Convert self.data from np.ndarray to tf.Tensor."""
- for ii in self.data:
- self.data[ii] = tf.constant(self.data[ii])
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/type_embed.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/type_embed.py
deleted file mode 100644
index c2712bc85a88a4eb505dafb395e7be66bae9481d..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/type_embed.py
+++ /dev/null
@@ -1,168 +0,0 @@
-import numpy as np
-from typing import Tuple, List, Union
-
-from deepmd.env import tf
-from deepmd.utils.network import one_layer
-from deepmd.env import GLOBAL_TF_FLOAT_PRECISION
-from deepmd.env import GLOBAL_NP_FLOAT_PRECISION
-from deepmd.env import op_module
-from deepmd.env import default_tf_session_config
-from deepmd.utils.network import embedding_net
-
-from deepmd.utils.graph import get_type_embedding_net_variables_from_graph_def
-from deepmd.common import get_activation_func, get_precision
-
-
-def embed_atom_type(
- ntypes : int,
- natoms : tf.Tensor,
- type_embedding : tf.Tensor,
-):
- """
- Make the embedded type for the atoms in system.
- The atoms are assumed to be sorted according to the type,
- thus their types are described by a `tf.Tensor` natoms, see explanation below.
-
- Parameters
- ----------
- ntypes:
- Number of types.
- natoms:
- The number of atoms. This tensor has the length of Ntypes + 2
- natoms[0]: number of local atoms
- natoms[1]: total number of atoms held by this processor
- natoms[i]: 2 <= i < Ntypes+2, number of type i atoms
- type_embedding:
- The type embedding.
- It has the shape of [ntypes, embedding_dim]
-
- Returns
- -------
- atom_embedding
- The embedded type of each atom.
- It has the shape of [numb_atoms, embedding_dim]
- """
- te_out_dim = type_embedding.get_shape().as_list()[-1]
- atype = []
- for ii in range(ntypes):
- atype.append(tf.tile([ii], [natoms[2+ii]]))
- atype = tf.concat(atype, axis = 0)
- atm_embed = tf.nn.embedding_lookup(type_embedding,tf.cast(atype,dtype=tf.int32)) #(nf*natom)*nchnl
- atm_embed = tf.reshape(atm_embed,[-1,te_out_dim])
- return atm_embed
-
-
-class TypeEmbedNet():
- """
-
- Parameters
- ----------
- neuron : list[int]
- Number of neurons in each hidden layers of the embedding net
- resnet_dt
- Time-step `dt` in the resnet construction:
- y = x + dt * \phi (Wx + b)
- activation_function
- The activation function in the embedding net. Supported options are |ACTIVATION_FN|
- precision
- The precision of the embedding net parameters. Supported options are |PRECISION|
- trainable
- If the weights of embedding net are trainable.
- seed
- Random seed for initializing the network parameters.
- uniform_seed
- Only for the purpose of backward compatibility, retrieves the old behavior of using the random seed
- padding
- Concat the zero padding to the output, as the default embedding of empty type.
- """
- def __init__(
- self,
- neuron: List[int]=[],
- resnet_dt: bool = False,
- activation_function: Union[str, None] = 'tanh',
- precision: str = 'default',
- trainable: bool = True,
- seed: int = None,
- uniform_seed: bool = False,
- padding: bool = False,
- )->None:
- """
- Constructor
- """
- self.neuron = neuron
- self.seed = seed
- self.filter_resnet_dt = resnet_dt
- self.filter_precision = get_precision(precision)
- self.filter_activation_fn = get_activation_func(activation_function)
- self.trainable = trainable
- self.uniform_seed = uniform_seed
- self.type_embedding_net_variables = None
- self.padding = padding
-
-
- def build(
- self,
- ntypes: int,
- reuse = None,
- suffix = '',
- ):
- """
- Build the computational graph for the descriptor
-
- Parameters
- ----------
- ntypes
- Number of atom types.
- reuse
- The weights in the networks should be reused when get the variable.
- suffix
- Name suffix to identify this descriptor
-
- Returns
- -------
- embedded_types
- The computational graph for embedded types
- """
- types = tf.convert_to_tensor(
- [ii for ii in range(ntypes)],
- dtype = tf.int32
- )
- ebd_type = tf.cast(tf.one_hot(tf.cast(types,dtype=tf.int32),int(ntypes)), self.filter_precision)
- ebd_type = tf.reshape(ebd_type, [-1, ntypes])
- name = 'type_embed_net' + suffix
- with tf.variable_scope(name, reuse=reuse):
- ebd_type = embedding_net(
- ebd_type,
- self.neuron,
- activation_fn = self.filter_activation_fn,
- precision = self.filter_precision,
- resnet_dt = self.filter_resnet_dt,
- seed = self.seed,
- trainable = self.trainable,
- initial_variables = self.type_embedding_net_variables,
- uniform_seed = self.uniform_seed)
- ebd_type = tf.reshape(ebd_type, [-1, self.neuron[-1]]) # ntypes * neuron[-1]
- if self.padding:
- last_type = tf.cast(tf.zeros([1, self.neuron[-1]]), self.filter_precision)
- ebd_type = tf.concat([ebd_type, last_type], 0) # (ntypes + 1) * neuron[-1]
- self.ebd_type = tf.identity(ebd_type, name ='t_typeebd')
- return self.ebd_type
-
- def init_variables(self,
- graph: tf.Graph,
- graph_def: tf.GraphDef,
- suffix = '',
- ) -> None:
- """
- Init the type embedding net variables with the given dict
-
- Parameters
- ----------
- graph : tf.Graph
- The input frozen model graph
- graph_def : tf.GraphDef
- The input frozen model graph_def
- suffix
- Name suffix to identify this descriptor
- """
- self.type_embedding_net_variables = get_type_embedding_net_variables_from_graph_def(graph_def, suffix = suffix)
diff --git a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/weight_avg.py b/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/weight_avg.py
deleted file mode 100644
index c58c72d0fedc1885d9e80376a1e92bce4018a088..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.6/setuptools/lib/deepmd/utils/weight_avg.py
+++ /dev/null
@@ -1,34 +0,0 @@
-from typing import TYPE_CHECKING, List, Dict, Optional, Tuple
-import numpy as np
-
-
-def weighted_average(
- errors: List[Dict[str, Tuple[float, float]]]
-) -> Dict:
- """Compute wighted average of prediction errors for model.
-
- Parameters
- ----------
- errors : List[Dict[str, Tuple[float, float]]]
- List: the error of systems
- Dict: the error of quantities, name given by the key
- Tuple: (error, weight)
-
- Returns
- -------
- Dict
- weighted averages
- """
- sum_err = {}
- sum_siz = {}
- for err in errors:
- for kk, (ee, ss) in err.items():
- if kk in sum_err:
- sum_err[kk] += ee * ee * ss
- sum_siz[kk] += ss
- else :
- sum_err[kk] = ee * ee * ss
- sum_siz[kk] = ss
- for kk in sum_err.keys():
- sum_err[kk] = np.sqrt(sum_err[kk] / sum_siz[kk])
- return sum_err
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_deps b/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_deps
index d1a2ba7418329d2b4434b0b5a44e3a203c903e80..e61b420a126b1b1799ca46775cc858e77e3a8e8b 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_deps and b/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_deps differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_log b/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_log
index e0a1a39d56d8133c86763895130a09799b621432..ba1cdc209ada6a8d275a555f7050aa9e4ff078a9 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_log
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/.ninja_log
@@ -1,156 +1,182 @@
# ninja log v5
-26 2730 1679030988605206201 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 6bd5f729d182873
-27 2642 1679030988520206203 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o 707d5995d66d5918
-19 654 1679029146235248876 lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o b4a68222c93b92aa
-6051 13024 1679030998907205962 op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o 2d5a64c917204b63
-6054 16725 1679031002609205876 op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o a9cdfaaf9e5944fa
-8 5573 1679033765828141872 build.ninja 2f76f0d97459a229
-23 6046 1679030991920206124 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 2ef5729eeeeb2b7d
-19 1151 1679029146732248864 lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o f311871d198a3b44
-6050 13418 1679030999302205953 op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o c407ec8bd52a66e9
-26 2698 1679030988574206201 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o d75f80cc2cecc680
-22 112 1679029145692248888 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o d5670ca2ef7a1a96
-6059 13886 1679030999770205942 op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o 5ce0acf016d0666
-17 783 1679029146364248873 lib/CMakeFiles/deepmd.dir/src/gelu.cc.o 16bce1e8c87d0caf
-21 547 1679029146128248878 lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o dcf9bad3336955d0
-27 3332 1678264647845957014 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o 6300cec6862727a3
-20 548 1679029146128248878 lib/CMakeFiles/deepmd.dir/src/region.cc.o 3d6a3e320c17c8bf
-24 2780 1679030988657206199 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o 1f413593c83059f3
-6054 13158 1679030999042205959 op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o 613da99594db826c
-6050 13642 1679030999526205948 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o 83fc60d32958870e
-6052 14669 1679031000554205924 op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o c44b5f464742816c
-22 4728 1679030990601206154 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o e12ba1518b5be0ec
-26 2730 1679030988605206201 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 6bd5f729d182873
-21 468 1679029146049248880 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o 1fed44c0f833d929
-16969 17245 1679031003123205864 op/libop_abi.so 7f8adcdfc5ddb648
-28 4508 1678264649020956986 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o d7cceced293bc6c4
-6061 13218 1679030999103205958 op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o 4896e81d3b438217
-22 2683 1679030988560206202 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o 3e609147294299c3
-6049 13457 1679030999343205952 op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o 3d77c750d290b411
-6057 15510 1679031001395205904 op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o a084d441ec2e1815
+14 800 1681694471030948153 lib/CMakeFiles/deepmd.dir/src/coord.cc.o df72e025f91729f1
+26 8048 1678264652557956904 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 736f388c1d90fe23
+8358 15025 1681694485254830500 op/CMakeFiles/op_abi.dir/prod_force.cc.o 40e909153310bc7e
+24 3716 1681694473937924108 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 1649bee9d320142
+25 5908 1678264650421956954 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o b297a26d54962958
+17 1576 1681694471805941743 lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o 1fa281b5c23fe5b2
+8357 15432 1681694485661827134 op/CMakeFiles/op_abi.dir/pair_tab.cc.o dec2a51ff9a110c6
+8366 8495 1681694478689884803 lib/src/rocm/libdeepmd_op_rocm.so 5ba35aba6b6a535d
+8354 16795 1681694487024815860 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o e5cf62deb0bdf996
+17 1240 1681694471470944514 lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o f078a4d9fe071ddd
+18 711 1681694470941948890 lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o eb4097a205f29184
+8358 15264 1681694485492828532 op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o 64e01dde21b86de
+8361 16671 1681694486899816894 op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o 5d00f2be5624602f
+8354 13990 1681694484219839061 op/CMakeFiles/op_abi.dir/custom_op.cc.o 55658ee3f40457c5
+13 1114 1681694471344945556 lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o 10d506658bfe2ec1
+22 6002 1681694476222905208 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o 885b87148038628
+8359 15427 1681694485655827185 op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o d185280be2c5e2d1
25 3341 1678264647854957013 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o 1e45accaaad9915a
25 3709 1678264648222957005 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 7cf488e3cbc60a5f
-27 2642 1679030988520206203 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o 707d5995d66d5918
-22 541 1679029146122248878 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o dbb4ac1ea331399b
-19 2956 1679030988833206195 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o e4bc10382cea142e
-6050 16969 1679031002853205871 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o 89a7623facdc67a2
-19 461 1679029146042248880 lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o 8a7046adab9da3b1
-27 3538 1679030989415206182 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o 361ee66d84622529
-6055 14877 1679031000761205919 op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o 17c5fbacd5630380
+8360 15760 1681694485989824421 op/CMakeFiles/op_abi.dir/soft_min_force.cc.o 8c4e073b7d4b339b
+8355 15201 1681694485430829045 op/CMakeFiles/op_abi.dir/ewald_recp.cc.o a7655fb0e0e9ba39
+2131 2211 1681694472439936499 lib/libdeepmd.so 13d95b797daf13a8
+8364 15374 1681694485602827622 op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o 1e66da67d2232990
+16 2131 1681694472360937152 lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o f9dfc5a5c1942d37
+8362 9450 1681694479680876606 op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o 487b9f5e4b099876
+22 6002 1681694476222905208 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o 885b87148038628
+18 596 1681694470826949841 lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o b694b0d35282d48a
+19056 19382 1681694489603794528 op/libop_abi.so 9a0a78a003a1c09a
+8355 15086 1681694485314830004 op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o 170c5ebf123678ce
+8358 15582 1681694485811825893 op/CMakeFiles/op_abi.dir/prod_virial.cc.o fa8df2530bca1560
28 3307 1678264647820957014 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o 955d0ded1ea19da5
-6048 14480 1679031000365205928 op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o 8942aafd0b677694
-6051 14231 1679031000116205934 op/CMakeFiles/op_abi.dir/prod_virial.cc.o 127ef69997f44169
-15 761 1679029146342248873 lib/CMakeFiles/deepmd.dir/src/coord.cc.o 18deb4d3ab352c27
-23 6046 1679030991920206124 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 2ef5729eeeeb2b7d
-20 532 1679029146112248879 lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o c94dc2ab232dff26
-6061 15051 1679031000936205915 op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o a07535a3fcb08d3c
-6053 14590 1679031000474205926 op/CMakeFiles/op_abi.dir/soft_min.cc.o e837aef73054a88
-22 1231 1679029146812248862 lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o 973cce964f9a6d76
-16 774 1679029146355248873 lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o d7aefaeedafe14da
-22 2683 1679030988560206202 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o 3e609147294299c3
-17245 17322 0 CMakeFiles/install.util da584cdda67ae3da
-6047 15378 1679031001263205908 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o 345e39ebf0c413f9
-15126 15311 1679031001194205909 op/libop_grads.so f95ed1585bb58474
-18 704 1679029146285248875 lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o 40ea9a61014b7528
-6061 15067 1679031000951205915 op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o fc20046f6ff37378
-25 2714 1679030988591206201 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 64fe931cf47a62ae
-6053 15063 1679031000949205915 op/CMakeFiles/op_abi.dir/soft_min_force.cc.o 21c0c01983eff64d
-6048 13122 1679030999007205960 op/CMakeFiles/op_abi.dir/ewald_recp.cc.o becc671f5697aaa1
-24 2780 1679030988657206199 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o 1f413593c83059f3
-6049 12305 1679030998189205979 op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o df1e4b18b5b6e3bf
-6055 12297 1679030998181205979 op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o 184d1bf7d8a329f1
-6062 15126 1679031001011205913 op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o af3cd5992ef235f2
-6049 13592 1679030999476205949 op/CMakeFiles/op_abi.dir/map_aparam.cc.o aac3ec8e44245839
-15 1139 1679029146720248864 lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o e71dbb8e7ea06109
-26 2698 1679030988574206201 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o d75f80cc2cecc680
-15 1050 1679029146631248866 lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o 8d996239e6ecd1e0
-6046 12018 1679030997902205985 op/CMakeFiles/op_abi.dir/custom_op.cc.o 1e570bd70d727515
-27 3538 1679030989415206182 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o 361ee66d84622529
-6054 12381 1679030998266205977 op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o ae0c77c9e3be9a5e
-19 594 1679029146175248877 lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o 1539d5d80b0b0825
+21 3960 1681694474182922081 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 22bc107cd4b9f9d1
+27 3333 1678264647846957014 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 8a0749d504e48a4a
+22 3730 1681694473949924009 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o de9988f38c36a52a
+22 3730 1681694473949924009 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o de9988f38c36a52a
+8363 14100 1681694484329838152 op/CMakeFiles/op_grads.dir/custom_op.cc.o 4e1a14df630b05fc
+16 131 1681694470360953695 lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o a0bc895d89f29e77
+27 3707 1681694473925924208 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o a31e0b33c8d6be9d
+8357 16304 1681694486533819921 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o 58261eb8cab854c2
+23 3732 1681694473954923968 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o 773f442ac0f6746b
+27 4755 1681694474976915514 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o 7b173b185e8b5170
+21 609 1681694470839949733 lib/CMakeFiles/deepmd.dir/src/utilities.cc.o d4a00ce9891e457f
+19 543 1681694470773950279 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o fdfc6974808b6d01
26 3480 1678264647994957010 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o a3ea94230f9dedd0
-23 519 1679029146099248879 lib/CMakeFiles/deepmd.dir/src/utilities.cc.o 744a98cda3d0032
-21 456 1679029146036248880 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o 4643862244f3a106
-6056 8459 1679030994344206068 op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o 9eb9de8377e58c53
-6056 7568 1679030993453206088 op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o d9356a6171b08a83
-18 2139 1679029147720248841 lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o c6404a5db3301f23
-17 124 1679029145704248888 lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o 699d7ba729ab7c7
-6057 13124 1679030999008205960 op/CMakeFiles/op_grads.dir/custom_op.cc.o 4deb0cffb4ce06c7
-6048 15029 1679031000914205916 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o 941f9cdba320a785
-6047 16491 1679031002376205882 op/CMakeFiles/op_abi.dir/descrpt.cc.o 7cf31500131e03d3
+8365 15839 1681694486068823767 op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o 6510b0d5db89c6ee
+16 763 1681694470993948459 lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o 1d9bb7b0e533a802
+24 3716 1681694473937924108 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 1649bee9d320142
+22 8353 1681694478571885780 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o db7cf8c944ddaf4c
+21 3960 1681694474182922081 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 22bc107cd4b9f9d1
+14 727 1681694470957948757 lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o 65314203694042cc
+26 3695 1681694473917924274 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o f56b5a98cae3716d
+8362 16340 1681694486569819624 op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o ecf584618889bf92
+27 4755 1681694474976915514 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o 7b173b185e8b5170
+9 4508 1681697033234697389 build.ninja 82be048144046b32
+15840 16036 1681694486262822163 op/libop_grads.so e2449470ab6dbe32
+8354 16259 1681694486488820293 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o 3dfb74f405ff2f3e
+8357 19056 1681694489283797175 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o 169d5717679ed34c
+17 523 1681694470752950453 lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o 59192ed5b1c0f16d
+8356 15396 1681694485625827432 op/CMakeFiles/op_abi.dir/map_aparam.cc.o 922c072a4180ea4a
+14 1153 1681694471384945225 lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o 8231c87f3ceb9584
+26 3695 1681694473917924274 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o f56b5a98cae3716d
+8355 16359 1681694486589819458 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o 69092a9818b35b83
+8354 16959 1681694487188814503 op/CMakeFiles/op_abi.dir/descrpt.cc.o 5e38c35aeb1f45ae
27 3435 1678264647947957011 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o bf6f663366b7df9c
-22 4728 1679030990601206154 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o e12ba1518b5be0ec
-17 1520 1679029147101248856 lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o 84ce3a4609cac511
-6053 12423 1679030998308205976 op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o 799dadfcdf302cb2
-16 1295 1679029146876248861 lib/CMakeFiles/deepmd.dir/src/ewald.cc.o 34d35b115b76eb29
-6051 13223 1679030999108205957 op/CMakeFiles/op_abi.dir/prod_force.cc.o a8cdd6803c5e5789
-26 8048 1678264652557956904 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 736f388c1d90fe23
-25 5908 1678264650421956954 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o b297a26d54962958
-25 2714 1679030988591206201 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 64fe931cf47a62ae
-18 1603 1679029147185248854 lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o b8f57fa511d10b37
-6047 13911 1679030999796205941 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o a30f87c8e0015f44
-6062 6214 1679030992061206121 lib/src/rocm/libdeepmd_op_rocm.so 6eaf7ce66423189e
-6050 13255 1679030999139205957 op/CMakeFiles/op_abi.dir/pair_tab.cc.o 65b915ea7ca0ff37
-27 3333 1678264647846957014 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 8a0749d504e48a4a
-19 2956 1679030988833206195 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o e4bc10382cea142e
-6062 14684 1679031000569205924 op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o a77ccf1d8d067add
-2140 2227 1679029147805248839 lib/libdeepmd.so 13d95b797daf13a8
-8 5263 1679033765828141872 build.ninja 2f76f0d97459a229
-26 2677 1679033768508141810 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o bc959bebaa5be34a
-26 2677 1679033768508141810 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o bc959bebaa5be34a
-24 2680 1679033768514141809 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o e794f1bf52579cdd
-24 2680 1679033768514141809 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o e794f1bf52579cdd
-26 2713 1679033768545141809 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o c11c4c1c9ff2375
-26 2713 1679033768545141809 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o c11c4c1c9ff2375
-26 2743 1679033768577141808 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 36934b2f87a6bf35
-26 2743 1679033768577141808 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 36934b2f87a6bf35
-26 2751 1679033768581141808 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 731ac08991b61768
-26 2751 1679033768581141808 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 731ac08991b61768
-25 2766 1679033768600141807 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o e2bf4278bdec1c0b
-25 2766 1679033768600141807 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o e2bf4278bdec1c0b
-23 2984 1679033768818141802 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 74af5afbf8ee58f0
-23 2984 1679033768818141802 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 74af5afbf8ee58f0
-27 3624 1679033769458141788 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o 18c2aea9a30d5764
-27 3624 1679033769458141788 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o 18c2aea9a30d5764
-24 4625 1679033770456141764 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o aa44b8b85bb9716b
-24 4625 1679033770456141764 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o aa44b8b85bb9716b
-24 6126 1679033771956141730 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 11bd4cb673618820
-24 6126 1679033771956141730 /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 11bd4cb673618820
-6144 6284 1679033772092141727 lib/src/rocm/libdeepmd_op_rocm.so e0af2b3627f48bf2
-6129 12749 1679033778590141576 op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o df1e4b18b5b6e3bf
-6141 12788 1679033778629141575 op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o a77ccf1d8d067add
-6138 13277 1679033779117141564 op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o fc20046f6ff37378
-6129 13367 1679033779209141562 op/CMakeFiles/op_abi.dir/map_aparam.cc.o aac3ec8e44245839
-6144 13583 1679033779424141557 op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o af3cd5992ef235f2
-6132 13688 1679033779530141554 op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o 799dadfcdf302cb2
-6128 13885 1679033779728141550 op/CMakeFiles/op_abi.dir/ewald_recp.cc.o becc671f5697aaa1
-6135 14048 1679033779891141546 op/CMakeFiles/op_grads.dir/custom_op.cc.o 4deb0cffb4ce06c7
-6131 14397 1679033780239141538 op/CMakeFiles/op_abi.dir/prod_force.cc.o a8cdd6803c5e5789
-6134 14534 1679033780376141535 op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o 184d1bf7d8a329f1
-6133 14717 1679033780559141530 op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o 613da99594db826c
-6127 14740 1679033780582141530 op/CMakeFiles/op_abi.dir/custom_op.cc.o 1e570bd70d727515
-6133 14754 1679033780597141530 op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o ae0c77c9e3be9a5e
-6131 14895 1679033780737141526 op/CMakeFiles/op_abi.dir/prod_virial.cc.o 127ef69997f44169
-6129 14983 1679033780826141524 op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o 3d77c750d290b411
-6135 15035 1679033780877141523 op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o 5ce0acf016d0666
-6131 15180 1679033781022141520 op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o 2d5a64c917204b63
-6129 15494 1679033781336141512 op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o 8942aafd0b677694
-6132 15558 1679033781401141511 op/CMakeFiles/op_abi.dir/soft_min_force.cc.o 21c0c01983eff64d
-6132 15572 1679033781415141511 op/CMakeFiles/op_abi.dir/soft_min.cc.o e837aef73054a88
-6132 15574 1679033781415141511 op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o c44b5f464742816c
-6133 15672 1679033781513141508 op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o a9cdfaaf9e5944fa
-6127 15793 1679033781635141506 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o a30f87c8e0015f44
-6136 15827 1679033781669141505 op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o 4896e81d3b438217
-6134 15910 1679033781753141503 op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o 17c5fbacd5630380
-6128 16032 1679033781875141500 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o 345e39ebf0c413f9
-6136 16118 1679033781961141498 op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o a07535a3fcb08d3c
-6130 16151 1679033781993141497 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o 83fc60d32958870e
-6130 16240 1679033782083141495 op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o c407ec8bd52a66e9
-16119 16313 1679033782153141494 op/libop_grads.so f95ed1585bb58474
-6130 16712 1679033782555141484 op/CMakeFiles/op_abi.dir/pair_tab.cc.o 65b915ea7ca0ff37
-6134 16752 1679033782594141483 op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o a084d441ec2e1815
-6130 16913 1679033782754141480 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o 89a7623facdc67a2
-6127 17452 1679033783294141467 op/CMakeFiles/op_abi.dir/descrpt.cc.o 7cf31500131e03d3
-6128 17620 1679033783463141463 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o 941f9cdba320a785
-17621 17902 1679033783738141457 op/libop_abi.so 7f8adcdfc5ddb648
-17902 18047 0 CMakeFiles/install.util 6d42897378dc7e52
+8364 15838 1681694486067823775 op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o 93604f1d22213bb9
+15 852 1681694471082947723 lib/CMakeFiles/deepmd.dir/src/gelu.cc.o f2f3fefb3a194815
+8361 15187 1681694485416829160 op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o 2d52f8decfdec6e0
+8366 15610 1681694485839825661 op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o 328d2eda026b9b90
+8356 14249 1681694484478836919 op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o 65b6b84bb106df83
+8357 15604 1681694485833825711 op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o 3bd92a7910439545
+18 560 1681694470790950139 lib/CMakeFiles/deepmd.dir/src/region.cc.o 8218052aefa55af0
+19 618 1681694470848949659 lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o 306a9c646021b2d2
+27 3332 1678264647845957014 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o 6300cec6862727a3
+17 637 1681694470867949502 lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o ffa773cff037856f
+8361 14449 1681694484677835273 op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o bb53ab965419420
+8359 15671 1681694485900825157 op/CMakeFiles/op_abi.dir/soft_min.cc.o 1616007927bce753
+20 1327 1681694471557943794 lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o 9592bb0880bb78d7
+8365 15285 1681694485514828350 op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o f04d915365bb1695
+26 3728 1681694473948924017 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 64760ef0b9ade9e6
+19 496 1681694470725950676 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o 4bcf591427f5b312
+23 3732 1681694473954923968 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o 773f442ac0f6746b
+8360 15150 1681694485379829467 op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o 10e98863fd0a9aae
+20 533 1681694470763950362 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o d79a876d00e853f1
+22 8353 1681694478571885780 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o db7cf8c944ddaf4c
+19382 19436 0 CMakeFiles/install.util 75c3257ec97ebac
+27 3707 1681694473925924208 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o a31e0b33c8d6be9d
+8365 15568 1681694485797826009 op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o eedbbb2395a9c101
+28 4508 1678264649020956986 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/new/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o d7cceced293bc6c4
+8363 10758 1681694480987865795 op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o b44679a04cc9711a
+20 117 1681694470347953803 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o c9cf0f9a638d48a
+8363 18329 1681694488558803172 op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o 80a2356298090f45
+8356 14442 1681694484671835323 op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o d7328e153e5c2e27
+26 3728 1681694473948924017 /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 64760ef0b9ade9e6
+15 1353 1681694471583943579 lib/CMakeFiles/deepmd.dir/src/ewald.cc.o 39c98edf55b1ca5
+8359 15107 1681694485336829822 op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o a4cb5d7af377ede
+15 1495 1681694471725942405 lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o f19c53c465b7b952
+17 110 1681697033386694474 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o 56b70905c07cf0c9
+12 134 1681697033409694033 lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o 7903c2b237775f11
+15 581 1681697033856685459 lib/CMakeFiles/deepmd.dir/src/region.cc.o f45705070ef8c8e1
+16 581 1681697033857685440 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o 934899f83f617e06
+14 633 1681697033909684443 lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o 200c0456ba2ac59d
+13 638 1681697033914684347 lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o 6977f31c16b857b0
+16 650 1681697033926684117 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o 7edeb30fdff6c2eb
+15 654 1681697033930684040 lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o e952cc44ffdfaa01
+16 656 1681697033932684002 lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o 1f5cb4fd8a04a0de
+14 694 1681697033970683273 lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o 3eb8631b859d893b
+18 704 1681697033980683081 lib/CMakeFiles/deepmd.dir/src/utilities.cc.o b2e1616cb032cc4f
+14 752 1681697034028682160 lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o b28bd8f2484b91ea
+10 757 1681697034033682064 lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o b6c33a3ef0d4fc42
+12 825 1681697034101680760 lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o 129e15588ae23837
+9 929 1681697034205678765 lib/CMakeFiles/deepmd.dir/src/coord.cc.o af465e3db62bad1b
+11 945 1681697034221678459 lib/CMakeFiles/deepmd.dir/src/gelu.cc.o 775980f37c0a0433
+9 1182 1681697034458673913 lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o 5776a3ea50837cca
+10 1214 1681697034490673299 lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o 2b41043a399cf857
+18 1367 1681697034643670365 lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o 27a304bc854da764
+13 1380 1681697034656670115 lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o 920ee901b64274b7
+11 1489 1681697034765668024 lib/CMakeFiles/deepmd.dir/src/ewald.cc.o 7a8065323751734d
+11 1563 1681697034839666605 lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o a02a709a4047c946
+13 1648 1681697034924664975 lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o 4e8cacacc1f6d0e0
+12 2322 1681697035598652047 lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o a133a82b878175fe
+2322 2393 1681697035668650705 lib/libdeepmd.so 13d95b797daf13a8
+22 3443 1681697036710630719 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o 82865a4581b8d340
+22 3443 1681697036710630719 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o 82865a4581b8d340
+22 3460 1681697036726630412 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o 829b8b5f0dd7520a
+22 3460 1681697036726630412 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o 829b8b5f0dd7520a
+21 3488 1681697036753629895 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 40fac9380b4e1d08
+21 3488 1681697036753629895 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o 40fac9380b4e1d08
+19 3565 1681697036829628437 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o b6e10021fceaa9e6
+19 3565 1681697036829628437 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o b6e10021fceaa9e6
+21 3566 1681697036832628379 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 67e09ab8b6dcb488
+21 3566 1681697036832628379 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o 67e09ab8b6dcb488
+20 3599 1681697036866627727 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o ca9fdc9b27eaced
+20 3599 1681697036866627727 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o ca9fdc9b27eaced
+18 3817 1681697037084623546 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 69d7fcd189a9b767
+18 3817 1681697037084623546 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o 69d7fcd189a9b767
+23 4606 1681697037873608413 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o be35a941d7c62067
+23 4606 1681697037873608413 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o be35a941d7c62067
+19 6071 1681697039335580371 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o c5133df2292199cf
+19 6071 1681697039335580371 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o c5133df2292199cf
+20 8101 1681697041366541416 lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 5e327dbb9878efb6
+20 8101 1681697041366541416 /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o 5e327dbb9878efb6
+8116 8280 1681697041510538654 lib/src/rocm/libdeepmd_op_rocm.so 39ac444623f79e65
+8110 9434 1681697042711515619 op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o 916baa072293412a
+8110 10250 1681697043527499968 op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o c13e64d9254ad6d3
+8109 13775 1681697047051432377 op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o 672cbd7cb359b87d
+8101 14330 1681697047606421732 op/CMakeFiles/op_abi.dir/custom_op.cc.o 7094959917a1dd78
+8107 14468 1681697047744419085 op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o 5c7218d54cc75d3a
+8104 14509 1681697047786418280 op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o 4a487272ab0d0ec1
+8104 14513 1681697047789418222 op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o 720a22bb408d2b1d
+8109 14948 1681697048224409879 op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o 4b127103946ffe3e
+8106 15345 1681697048621402264 op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o ebc985db14d069b3
+8111 15369 1681697048646401785 op/CMakeFiles/op_grads.dir/custom_op.cc.o 22ad616a8a7c8da9
+8103 15484 1681697048760399598 op/CMakeFiles/op_abi.dir/ewald_recp.cc.o 454de211b058adcc
+8116 15536 1681697048812398601 op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o 57b984697115587f
+8105 15567 1681697048843398006 op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o 1bd2226be9806d1c
+8105 15588 1681697048864397604 op/CMakeFiles/op_abi.dir/pair_tab.cc.o aff12ea17c84d70c
+8115 15613 1681697048889397124 op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o 78d0bef2c653c8a1
+8115 15688 1681697048964395686 op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o d847e0667cbaad20
+8106 15860 1681697049136392387 op/CMakeFiles/op_abi.dir/prod_virial.cc.o 7e18f2d3c9f2a85f
+8106 15881 1681697049157391984 op/CMakeFiles/op_abi.dir/prod_force.cc.o 8b71cf2d337405c1
+8104 15956 1681697049232390545 op/CMakeFiles/op_abi.dir/map_aparam.cc.o d4477fb96cdb59a2
+8110 15994 1681697049270389817 op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o 19c23a95febb6950
+8112 16019 1681697049296389318 op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o da2cf5d35743a63b
+8108 16226 1681697049502385366 op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o c9bb4b47c4b697b6
+8108 16286 1681697049562384216 op/CMakeFiles/op_abi.dir/soft_min_force.cc.o 9cf5718dd5a39029
+8112 16363 1681697049639382739 op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o 42fc6cf5daf4af8a
+8103 16395 1681697049672382106 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o bf816ce0f9c71129
+8107 16405 1681697049681381933 op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o 475fd58b31f5b4e
+8107 16432 1681697049708381415 op/CMakeFiles/op_abi.dir/soft_min.cc.o e089edd99ab2cdff
+8103 16444 1681697049720381185 op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o dc7b53e2d3def9a
+8102 16555 1681697049831379056 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o 795359f1a3afb34d
+8111 16694 1681697049970376390 op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o 255b8db0ab382511
+8114 16737 1681697050013375565 op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o 9563c1dff0a022b7
+8109 16802 1681697050077374338 op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o f485930774f4aff8
+8105 16900 1681697050176372439 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o 32d57c5226fd1166
+16737 16913 1681697050185372267 op/libop_grads.so 47e9745f958d191
+8102 17216 1681697050493366359 op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o c6b7278b2144c6d3
+8102 18077 1681697051353349864 op/CMakeFiles/op_abi.dir/descrpt.cc.o 321292edd7b3f991
+8105 20010 1681697053285312808 op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o ef91c21e26fd7dd8
+20010 20248 1681697053523308243 op/libop_abi.so 1fd4f3cc29955dc5
+20248 20265 0 CMakeFiles/install.util 9ead978810fb2d1e
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeCache.txt b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeCache.txt
index b03eb826e894cdec4965bf81957409456f4b70b8..f9d2c58abd4263570e497b79117b5484a8833114 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeCache.txt
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeCache.txt
@@ -1,6 +1,6 @@
# This is the CMakeCache file.
-# For build in directory: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
-# It was generated by CMake: /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake
+# For build in directory: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+# It was generated by CMake: /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/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.
@@ -82,7 +82,7 @@ CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
//Path to a program.
-CMAKE_DLLTOOL:FILEPATH=/opt/dtk-22.10/llvm/bin/llvm-dlltool
+CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
@@ -103,31 +103,16 @@ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=
//Value Computed by CMake.
-CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/pkgRedirects
-
-//HIP architectures
-CMAKE_HIP_ARCHITECTURES:STRING=gfx906
-
-//HIP compiler
-CMAKE_HIP_COMPILER:STRING=/opt/dtk-22.10/llvm/bin/clang++
-
-//LLVM archiver
-CMAKE_HIP_COMPILER_AR:FILEPATH=/opt/dtk-22.10/llvm/bin/llvm-ar
-
-//`clang-scan-deps` dependency scanner
-CMAKE_HIP_COMPILER_CLANG_SCAN_DEPS:FILEPATH=/opt/dtk-22.10/llvm/bin/clang-scan-deps
-
-//Generate index for LLVM archive
-CMAKE_HIP_COMPILER_RANLIB:FILEPATH=/opt/dtk-22.10/llvm/bin/llvm-ranlib
+CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/pkgRedirects
//No help, variable specified on the command line.
-CMAKE_INSTALL_PREFIX:PATH=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
+CMAKE_INSTALL_PREFIX:PATH=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
//Path to a program.
CMAKE_LINKER:FILEPATH=/opt/rh/devtoolset-7/root/usr/bin/ld
//No help, variable specified on the command line.
-CMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja
+CMAKE_MAKE_PROGRAM:FILEPATH=/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja
//Flags used by the linker during the creation of modules during
// all build types.
@@ -150,7 +135,7 @@ CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//No help, variable specified on the command line.
-CMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake
+CMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake
//Path to a program.
CMAKE_NM:FILEPATH=/opt/rh/devtoolset-7/root/usr/bin/nm
@@ -233,13 +218,13 @@ CMAKE_STRIP:FILEPATH=/opt/rh/devtoolset-7/root/usr/bin/strip
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
-DeePMD_BINARY_DIR:STATIC=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+DeePMD_BINARY_DIR:STATIC=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
//Value Computed by CMake
DeePMD_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
-DeePMD_SOURCE_DIR:STATIC=/public/home/zhangqha/deepmd-kit/source
+DeePMD_SOURCE_DIR:STATIC=/root/deepmd-kit/source
//Git command line client
GIT_EXECUTABLE:FILEPATH=/usr/bin/git
@@ -260,16 +245,16 @@ HIP_CLANG_FLAGS_RELEASE:STRING=
HIP_CLANG_FLAGS_RELWITHDEBINFO:STRING=
//Path to a file.
-HIP_CMAKE:PATH=/opt/dtk-22.10/hip/cmake
+HIP_CMAKE:PATH=/opt/dtk-22.04.2/hip/cmake
//HIP compiler as computed by hipconfig
HIP_COMPILER:STRING=clang
//Path to a program.
-HIP_HIPCC_CMAKE_LINKER_HELPER:FILEPATH=/opt/dtk-22.10/hip/bin/hipcc_cmake_linker_helper
+HIP_HIPCC_CMAKE_LINKER_HELPER:FILEPATH=/opt/dtk-22.04.2/hip/bin/hipcc_cmake_linker_helper
//Path to a program.
-HIP_HIPCC_EXECUTABLE:FILEPATH=/opt/dtk-22.10/hip/bin/hipcc
+HIP_HIPCC_EXECUTABLE:FILEPATH=/opt/dtk-22.04.2/hip/bin/hipcc
//Semicolon delimited flags for HIPCC
HIP_HIPCC_FLAGS:STRING=
@@ -287,7 +272,7 @@ HIP_HIPCC_FLAGS_RELEASE:STRING=
HIP_HIPCC_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
-HIP_HIPCONFIG_EXECUTABLE:FILEPATH=/opt/dtk-22.10/hip/bin/hipconfig
+HIP_HIPCONFIG_EXECUTABLE:FILEPATH=/opt/dtk-22.04.2/hip/bin/hipconfig
//Host code compilation mode
HIP_HOST_COMPILATION_CPP:BOOL=ON
@@ -311,7 +296,7 @@ HIP_NVCC_FLAGS_RELWITHDEBINFO:STRING=
HIP_PLATFORM:STRING=amd
//HIP installed location
-HIP_ROOT_DIR:PATH=/opt/dtk-22.10/hip
+HIP_ROOT_DIR:PATH=/opt/dtk-22.04.2/hip
//HIP runtime as computed by hipconfig
HIP_RUNTIME:STRING=rocclr
@@ -323,7 +308,7 @@ HIP_RUNTIME:STRING=rocclr
HIP_VERBOSE_BUILD:BOOL=OFF
//Version of HIP as computed from hipcc
-HIP_VERSION:STRING=5.2.22451-8f78d635
+HIP_VERSION:STRING=4.3.22313-cccb3896
//CXX compiler flags for OpenMP parallelization
OpenMP_CXX_FLAGS:STRING=-fopenmp
@@ -364,6 +349,9 @@ Python3_FIND_REGISTRY:STRING=NEVER
//No help, variable specified on the command line.
Python3_INCLUDE_DIR:PATH=/usr/local/include/python3.7m
+//No help, variable specified on the command line.
+Python3_LIBRARY:PATH=/usr/local/lib/libpython3.7m.so
+
//No help, variable specified on the command line.
Python3_ROOT_DIR:PATH=/usr/local
@@ -376,17 +364,20 @@ Python_FIND_REGISTRY:STRING=NEVER
//No help, variable specified on the command line.
Python_INCLUDE_DIR:PATH=/usr/local/include/python3.7m
+//No help, variable specified on the command line.
+Python_LIBRARY:PATH=/usr/local/lib/libpython3.7m.so
+
//No help, variable specified on the command line.
Python_ROOT_DIR:PATH=/usr/local
//Path to a file.
-ROCM_INCLUDE_DIRS:PATH=/opt/dtk-22.10/include
+ROCM_INCLUDE_DIRS:PATH=/opt/dtk-22.04.2/include
//Path to a library.
-ROCM_LIBRARIES_amdhip64:FILEPATH=/opt/dtk-22.10/hip/lib/libamdhip64.so
+ROCM_LIBRARIES_amdhip64:FILEPATH=/opt/dtk-22.04.2/hip/lib/libamdhip64.so
//No help, variable specified on the command line.
-ROCM_ROOT:STRING=/opt/dtk-22.10/
+ROCM_ROOT:STRING=/opt/dtk-22.04.2
//No help, variable specified on the command line.
TENSORFLOW_ROOT:STRING=/usr/local/lib/python3.7/site-packages/tensorflow
@@ -404,13 +395,13 @@ TensorFlow_INCLUDE_DIRS_GOOGLE:PATH=/usr/local/lib/python3.7/site-packages/tenso
USE_ROCM_TOOLKIT:BOOL=TRUE
//Value Computed by CMake
-deepmd_op_rocm_BINARY_DIR:STATIC=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm
+deepmd_op_rocm_BINARY_DIR:STATIC=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm
//Value Computed by CMake
deepmd_op_rocm_IS_TOP_LEVEL:STATIC=OFF
//Value Computed by CMake
-deepmd_op_rocm_SOURCE_DIR:STATIC=/public/home/zhangqha/deepmd-kit/source/lib/src/rocm
+deepmd_op_rocm_SOURCE_DIR:STATIC=/root/deepmd-kit/source/lib/src/rocm
########################
@@ -422,19 +413,19 @@ 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=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+CMAKE_CACHEFILE_DIR:INTERNAL=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/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=26
//Patch version of cmake used to create the current loaded cache
-CMAKE_CACHE_PATCH_VERSION:INTERNAL=0
+CMAKE_CACHE_PATCH_VERSION:INTERNAL=3
//Path to CMake executable.
-CMAKE_COMMAND:INTERNAL=/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake
+CMAKE_COMMAND:INTERNAL=/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake
//Path to cpack program executable.
-CMAKE_CPACK_COMMAND:INTERNAL=/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cpack
+CMAKE_CPACK_COMMAND:INTERNAL=/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cpack
//Path to ctest program executable.
-CMAKE_CTEST_COMMAND:INTERNAL=/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/ctest
+CMAKE_CTEST_COMMAND:INTERNAL=/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/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
@@ -499,17 +490,9 @@ CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
-//ADVANCED property for variable: CMAKE_HIP_COMPILER
-CMAKE_HIP_COMPILER-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_HIP_COMPILER_AR
-CMAKE_HIP_COMPILER_AR-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_HIP_COMPILER_CLANG_SCAN_DEPS
-CMAKE_HIP_COMPILER_CLANG_SCAN_DEPS-ADVANCED:INTERNAL=1
-//ADVANCED property for variable: CMAKE_HIP_COMPILER_RANLIB
-CMAKE_HIP_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
-CMAKE_HOME_DIRECTORY:INTERNAL=/public/home/zhangqha/deepmd-kit/source
+CMAKE_HOME_DIRECTORY:INTERNAL=/root/deepmd-kit/source
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
//ADVANCED property for variable: CMAKE_LINKER
@@ -539,7 +522,7 @@ 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-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26
+CMAKE_ROOT:INTERNAL=/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
@@ -573,7 +556,7 @@ CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//Details about finding Git
FIND_PACKAGE_MESSAGE_DETAILS_Git:INTERNAL=[/usr/bin/git][v1.8.3.1()]
//Details about finding HIP
-FIND_PACKAGE_MESSAGE_DETAILS_HIP:INTERNAL=[/opt/dtk-22.10/hip][/opt/dtk-22.10/hip/bin/hipcc][/opt/dtk-22.10/hip/bin/hipconfig][amd][clang][rocclr][v5.2.22451-8f78d635()]
+FIND_PACKAGE_MESSAGE_DETAILS_HIP:INTERNAL=[/opt/dtk-22.04.2/hip][/opt/dtk-22.04.2/hip/bin/hipcc][/opt/dtk-22.04.2/hip/bin/hipconfig][amd][clang][rocclr][v4.3.22313-cccb3896()]
//Details about finding OpenMP
FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][TRUE][c ][v4.5()]
//Details about finding OpenMP_C
@@ -631,9 +614,9 @@ HIP_RUNTIME-ADVANCED:INTERNAL=1
//ADVANCED property for variable: HIP_VERSION
HIP_VERSION-ADVANCED:INTERNAL=1
//Location of
-HIP_run_hipcc:INTERNAL=/opt/dtk-22.10/hip/cmake/FindHIP/run_hipcc.cmake
+HIP_run_hipcc:INTERNAL=/opt/dtk-22.04.2/hip/cmake/FindHIP/run_hipcc.cmake
//Location of
-HIP_run_make2cmake:INTERNAL=/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake
+HIP_run_make2cmake:INTERNAL=/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake
//Result of TRY_COMPILE
OpenMP_COMPILE_RESULT_CXX_fopenmp:INTERNAL=TRUE
//Result of TRY_COMPILE
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeHIPCompiler.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeHIPCompiler.cmake
deleted file mode 100644
index 09a31d90397cb185aea2ea96a84e9d36566d4356..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeHIPCompiler.cmake
+++ /dev/null
@@ -1,60 +0,0 @@
-set(CMAKE_HIP_COMPILER "/opt/dtk-22.10/llvm/bin/clang++")
-set(CMAKE_HIP_COMPILER_ID "Clang")
-set(CMAKE_HIP_COMPILER_VERSION "14.0.0")
-set(CMAKE_HIP_STANDARD_COMPUTED_DEFAULT "11")
-set(CMAKE_HIP_EXTENSIONS_COMPUTED_DEFAULT "OFF")
-set(CMAKE_HIP_COMPILE_FEATURES "")
-set(CMAKE_HIP98_COMPILE_FEATURES "")
-set(CMAKE_HIP11_COMPILE_FEATURES "")
-set(CMAKE_HIP14_COMPILE_FEATURES "")
-set(CMAKE_HIP17_COMPILE_FEATURES "")
-set(CMAKE_HIP20_COMPILE_FEATURES "")
-set(CMAKE_HIP23_COMPILE_FEATURES "")
-
-set(CMAKE_HIP_PLATFORM_ID "Linux")
-set(CMAKE_HIP_SIMULATE_ID "")
-set(CMAKE_HIP_COMPILER_FRONTEND_VARIANT "GNU")
-set(CMAKE_HIP_SIMULATE_VERSION "")
-
-
-set(CMAKE_HIP_COMPILER_ROCM_ROOT "/opt/dtk-22.10")
-
-set(CMAKE_HIP_COMPILER_ENV_VAR "HIPCXX")
-
-set(CMAKE_HIP_COMPILER_LOADED 1)
-set(CMAKE_HIP_COMPILER_ID_RUN 1)
-set(CMAKE_HIP_SOURCE_FILE_EXTENSIONS hip)
-set(CMAKE_HIP_LINKER_PREFERENCE 90)
-set(CMAKE_HIP_LINKER_PREFERENCE_PROPAGATES 1)
-
-set(CMAKE_HIP_SIZEOF_DATA_PTR "")
-set(CMAKE_HIP_COMPILER_ABI "")
-set(CMAKE_HIP_LIBRARY_ARCHITECTURE "")
-
-if(CMAKE_HIP_SIZEOF_DATA_PTR)
- set(CMAKE_SIZEOF_VOID_P "${CMAKE_HIP_SIZEOF_DATA_PTR}")
-endif()
-
-if(CMAKE_HIP_COMPILER_ABI)
- set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_HIP_COMPILER_ABI}")
-endif()
-
-if(CMAKE_HIP_LIBRARY_ARCHITECTURE)
- set(CMAKE_LIBRARY_ARCHITECTURE "")
-endif()
-
-set(CMAKE_HIP_TOOLKIT_INCLUDE_DIRECTORIES "")
-
-set(CMAKE_HIP_IMPLICIT_INCLUDE_DIRECTORIES "")
-set(CMAKE_HIP_IMPLICIT_LINK_LIBRARIES "")
-set(CMAKE_HIP_IMPLICIT_LINK_DIRECTORIES "")
-set(CMAKE_HIP_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
-
-set(CMAKE_HIP_RUNTIME_LIBRARY_DEFAULT "SHARED")
-
-set(CMAKE_AR "/opt/rh/devtoolset-7/root/usr/bin/ar")
-set(CMAKE_HIP_COMPILER_AR "/opt/dtk-22.10/llvm/bin/llvm-ar")
-set(CMAKE_RANLIB "/opt/rh/devtoolset-7/root/usr/bin/ranlib")
-set(CMAKE_HIP_COMPILER_RANLIB "/opt/dtk-22.10/llvm/bin/llvm-ranlib")
-set(CMAKE_LINKER "/opt/rh/devtoolset-7/root/usr/bin/ld")
-set(CMAKE_MT "")
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeSystem.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeSystem.cmake
deleted file mode 100644
index cbcb8ff4bdc5366227bdc36f0245bf6b968d5cd4..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeSystem.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-set(CMAKE_HOST_SYSTEM "Linux-3.10.0-957.el7.x86_64")
-set(CMAKE_HOST_SYSTEM_NAME "Linux")
-set(CMAKE_HOST_SYSTEM_VERSION "3.10.0-957.el7.x86_64")
-set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
-
-
-
-set(CMAKE_SYSTEM "Linux-3.10.0-957.el7.x86_64")
-set(CMAKE_SYSTEM_NAME "Linux")
-set(CMAKE_SYSTEM_VERSION "3.10.0-957.el7.x86_64")
-set(CMAKE_SYSTEM_PROCESSOR "x86_64")
-
-set(CMAKE_CROSSCOMPILING "FALSE")
-
-set(CMAKE_SYSTEM_LOADED 1)
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/CMakeHIPCompilerId.hip b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/CMakeHIPCompilerId.hip
deleted file mode 100644
index e9318625f0c194db5cbfce7fcfabafb833c4542a..0000000000000000000000000000000000000000
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/CMakeHIPCompilerId.hip
+++ /dev/null
@@ -1,803 +0,0 @@
-#ifndef __HIP__
-# error "A C or C++ compiler has been selected for HIP"
-#endif
-
-
-/* Version number components: V=Version, R=Revision, P=Patch
- Version date components: YYYY=Year, MM=Month, DD=Day */
-
-#if defined(__INTEL_COMPILER) || defined(__ICC)
-# define COMPILER_ID "Intel"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# if defined(__GNUC__)
-# define SIMULATE_ID "GNU"
-# endif
- /* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
- except that a few beta releases use the old format with V=2021. */
-# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
-# if defined(__INTEL_COMPILER_UPDATE)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
-# else
-# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
-# endif
-# else
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
- /* The third version component from --version is an update index,
- but no macro is provided for it. */
-# define COMPILER_VERSION_PATCH DEC(0)
-# endif
-# if defined(__INTEL_COMPILER_BUILD_DATE)
- /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
-# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
-# endif
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# if defined(__GNUC__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-# elif defined(__GNUG__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-# endif
-# if defined(__GNUC_MINOR__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
-# define COMPILER_ID "IntelLLVM"
-#if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-#endif
-#if defined(__GNUC__)
-# define SIMULATE_ID "GNU"
-#endif
-/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
- * later. Look for 6 digit vs. 8 digit version number to decide encoding.
- * VVVV is no smaller than the current year when a version is released.
- */
-#if __INTEL_LLVM_COMPILER < 1000000L
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
-#else
-# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
-# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
-#endif
-#if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-#endif
-#if defined(__GNUC__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-#elif defined(__GNUG__)
-# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
-#endif
-#if defined(__GNUC_MINOR__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-#endif
-#if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-#endif
-
-#elif defined(__PATHCC__)
-# define COMPILER_ID "PathScale"
-# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
-# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
-# if defined(__PATHCC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
-# endif
-
-#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
-# define COMPILER_ID "Embarcadero"
-# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
-# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
-# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
-
-#elif defined(__BORLANDC__)
-# define COMPILER_ID "Borland"
- /* __BORLANDC__ = 0xVRR */
-# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
-# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
-
-#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
-# define COMPILER_ID "Watcom"
- /* __WATCOMC__ = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__WATCOMC__)
-# define COMPILER_ID "OpenWatcom"
- /* __WATCOMC__ = VVRP + 1100 */
-# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
-# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
-# if (__WATCOMC__ % 10) > 0
-# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
-# endif
-
-#elif defined(__SUNPRO_C)
-# define COMPILER_ID "SunPro"
-# if __SUNPRO_C >= 0x5100
- /* __SUNPRO_C = 0xVRRP */
-# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
-# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
-# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-# else
- /* __SUNPRO_CC = 0xVRP */
-# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
-# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
-# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
-# endif
-
-#elif defined(__HP_cc)
-# define COMPILER_ID "HP"
- /* __HP_cc = VVRRPP */
-# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
-# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
-# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
-
-#elif defined(__DECC)
-# define COMPILER_ID "Compaq"
- /* __DECC_VER = VVRRTPPPP */
-# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
-# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
-# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
-
-#elif defined(__IBMC__) && defined(__COMPILER_VER__)
-# define COMPILER_ID "zOS"
- /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
-#elif defined(__open_xl__) && defined(__clang__)
-# define COMPILER_ID "IBMClang"
-# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__)
-# define COMPILER_VERSION_MINOR DEC(__open_xl_release__)
-# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__)
-# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__)
-
-
-#elif defined(__ibmxl__) && defined(__clang__)
-# define COMPILER_ID "XLClang"
-# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
-# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
-# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
-# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
-
-
-#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
-# define COMPILER_ID "XL"
- /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
-#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
-# define COMPILER_ID "VisualAge"
- /* __IBMC__ = VRP */
-# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
-# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
-
-#elif defined(__NVCOMPILER)
-# define COMPILER_ID "NVHPC"
-# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
-# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
-# if defined(__NVCOMPILER_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
-# endif
-
-#elif defined(__PGI)
-# define COMPILER_ID "PGI"
-# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
-# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
-# if defined(__PGIC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
-# endif
-
-#elif defined(_CRAYC)
-# define COMPILER_ID "Cray"
-# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
-# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
-
-#elif defined(__TI_COMPILER_VERSION__)
-# define COMPILER_ID "TI"
- /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
-# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
-# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
-# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
-
-#elif defined(__CLANG_FUJITSU)
-# define COMPILER_ID "FujitsuClang"
-# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-# define COMPILER_VERSION_INTERNAL_STR __clang_version__
-
-
-#elif defined(__FUJITSU)
-# define COMPILER_ID "Fujitsu"
-# if defined(__FCC_version__)
-# define COMPILER_VERSION __FCC_version__
-# elif defined(__FCC_major__)
-# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
-# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
-# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
-# endif
-# if defined(__fcc_version)
-# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
-# elif defined(__FCC_VERSION)
-# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
-# endif
-
-
-#elif defined(__ghs__)
-# define COMPILER_ID "GHS"
-/* __GHS_VERSION_NUMBER = VVVVRP */
-# ifdef __GHS_VERSION_NUMBER
-# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
-# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
-# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
-# endif
-
-#elif defined(__TASKING__)
-# define COMPILER_ID "Tasking"
- # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000)
- # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100)
-# define COMPILER_VERSION_INTERNAL DEC(__VERSION__)
-
-#elif defined(__SCO_VERSION__)
-# define COMPILER_ID "SCO"
-
-#elif defined(__ARMCC_VERSION) && !defined(__clang__)
-# define COMPILER_ID "ARMCC"
-#if __ARMCC_VERSION >= 1000000
- /* __ARMCC_VERSION = VRRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#else
- /* __ARMCC_VERSION = VRPPPP */
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
-#endif
-
-
-#elif defined(__clang__) && defined(__apple_build_version__)
-# define COMPILER_ID "AppleClang"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
-
-#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
-# define COMPILER_ID "ARMClang"
- # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
- # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
- # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
-# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
-
-#elif defined(__clang__)
-# define COMPILER_ID "Clang"
-# if defined(_MSC_VER)
-# define SIMULATE_ID "MSVC"
-# endif
-# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
-# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
-# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
-# if defined(_MSC_VER)
- /* _MSC_VER = VVRR */
-# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
-# endif
-
-#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__))
-# define COMPILER_ID "LCC"
-# define COMPILER_VERSION_MAJOR DEC(__LCC__ / 100)
-# define COMPILER_VERSION_MINOR DEC(__LCC__ % 100)
-# if defined(__LCC_MINOR__)
-# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__)
-# endif
-# if defined(__GNUC__) && defined(__GNUC_MINOR__)
-# define SIMULATE_ID "GNU"
-# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
-# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
-# if defined(__GNUC_PATCHLEVEL__)
-# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-# endif
-
-#elif defined(__GNUC__)
-# define COMPILER_ID "GNU"
-# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
-# if defined(__GNUC_MINOR__)
-# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
-# endif
-# if defined(__GNUC_PATCHLEVEL__)
-# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
-# endif
-
-#elif defined(_MSC_VER)
-# define COMPILER_ID "MSVC"
- /* _MSC_VER = VVRR */
-# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
-# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
-# if defined(_MSC_FULL_VER)
-# if _MSC_VER >= 1400
- /* _MSC_FULL_VER = VVRRPPPPP */
-# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
-# else
- /* _MSC_FULL_VER = VVRRPPPP */
-# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
-# endif
-# endif
-# if defined(_MSC_BUILD)
-# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
-# endif
-
-#elif defined(_ADI_COMPILER)
-# define COMPILER_ID "ADSP"
-#if defined(__VERSIONNUM__)
- /* __VERSIONNUM__ = 0xVVRRPPTT */
-# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF)
-# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF)
-# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF)
-# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF)
-#endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# define COMPILER_ID "IAR"
-# if defined(__VER__) && defined(__ICCARM__)
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
-# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
-# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
-# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
-# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
-# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
-# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
-# endif
-
-
-/* These compilers are either not known or too old to define an
- identification macro. Try to identify the platform and guess that
- it is the native compiler. */
-#elif defined(__hpux) || defined(__hpua)
-# define COMPILER_ID "HP"
-
-#else /* unknown compiler */
-# define COMPILER_ID ""
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
-#ifdef SIMULATE_ID
-char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
-#endif
-
-#define STRINGIFY_HELPER(X) #X
-#define STRINGIFY(X) STRINGIFY_HELPER(X)
-
-/* Identify known platforms by name. */
-#if defined(__linux) || defined(__linux__) || defined(linux)
-# define PLATFORM_ID "Linux"
-
-#elif defined(__MSYS__)
-# define PLATFORM_ID "MSYS"
-
-#elif defined(__CYGWIN__)
-# define PLATFORM_ID "Cygwin"
-
-#elif defined(__MINGW32__)
-# define PLATFORM_ID "MinGW"
-
-#elif defined(__APPLE__)
-# define PLATFORM_ID "Darwin"
-
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
-# define PLATFORM_ID "Windows"
-
-#elif defined(__FreeBSD__) || defined(__FreeBSD)
-# define PLATFORM_ID "FreeBSD"
-
-#elif defined(__NetBSD__) || defined(__NetBSD)
-# define PLATFORM_ID "NetBSD"
-
-#elif defined(__OpenBSD__) || defined(__OPENBSD)
-# define PLATFORM_ID "OpenBSD"
-
-#elif defined(__sun) || defined(sun)
-# define PLATFORM_ID "SunOS"
-
-#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
-# define PLATFORM_ID "AIX"
-
-#elif defined(__hpux) || defined(__hpux__)
-# define PLATFORM_ID "HP-UX"
-
-#elif defined(__HAIKU__)
-# define PLATFORM_ID "Haiku"
-
-#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
-# define PLATFORM_ID "BeOS"
-
-#elif defined(__QNX__) || defined(__QNXNTO__)
-# define PLATFORM_ID "QNX"
-
-#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
-# define PLATFORM_ID "Tru64"
-
-#elif defined(__riscos) || defined(__riscos__)
-# define PLATFORM_ID "RISCos"
-
-#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
-# define PLATFORM_ID "SINIX"
-
-#elif defined(__UNIX_SV__)
-# define PLATFORM_ID "UNIX_SV"
-
-#elif defined(__bsdos__)
-# define PLATFORM_ID "BSDOS"
-
-#elif defined(_MPRAS) || defined(MPRAS)
-# define PLATFORM_ID "MP-RAS"
-
-#elif defined(__osf) || defined(__osf__)
-# define PLATFORM_ID "OSF1"
-
-#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
-# define PLATFORM_ID "SCO_SV"
-
-#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
-# define PLATFORM_ID "ULTRIX"
-
-#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
-# define PLATFORM_ID "Xenix"
-
-#elif defined(__WATCOMC__)
-# if defined(__LINUX__)
-# define PLATFORM_ID "Linux"
-
-# elif defined(__DOS__)
-# define PLATFORM_ID "DOS"
-
-# elif defined(__OS2__)
-# define PLATFORM_ID "OS2"
-
-# elif defined(__WINDOWS__)
-# define PLATFORM_ID "Windows3x"
-
-# elif defined(__VXWORKS__)
-# define PLATFORM_ID "VxWorks"
-
-# else /* unknown platform */
-# define PLATFORM_ID
-# endif
-
-#elif defined(__INTEGRITY)
-# if defined(INT_178B)
-# define PLATFORM_ID "Integrity178"
-
-# else /* regular Integrity */
-# define PLATFORM_ID "Integrity"
-# endif
-
-# elif defined(_ADI_COMPILER)
-# define PLATFORM_ID "ADSP"
-
-#else /* unknown platform */
-# define PLATFORM_ID
-
-#endif
-
-/* For windows compilers MSVC and Intel we can determine
- the architecture of the compiler being used. This is because
- the compilers do not have flags that can change the architecture,
- but rather depend on which compiler is being used
-*/
-#if defined(_WIN32) && defined(_MSC_VER)
-# if defined(_M_IA64)
-# define ARCHITECTURE_ID "IA64"
-
-# elif defined(_M_ARM64EC)
-# define ARCHITECTURE_ID "ARM64EC"
-
-# elif defined(_M_X64) || defined(_M_AMD64)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(_M_IX86)
-# define ARCHITECTURE_ID "X86"
-
-# elif defined(_M_ARM64)
-# define ARCHITECTURE_ID "ARM64"
-
-# elif defined(_M_ARM)
-# if _M_ARM == 4
-# define ARCHITECTURE_ID "ARMV4I"
-# elif _M_ARM == 5
-# define ARCHITECTURE_ID "ARMV5I"
-# else
-# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
-# endif
-
-# elif defined(_M_MIPS)
-# define ARCHITECTURE_ID "MIPS"
-
-# elif defined(_M_SH)
-# define ARCHITECTURE_ID "SHx"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__WATCOMC__)
-# if defined(_M_I86)
-# define ARCHITECTURE_ID "I86"
-
-# elif defined(_M_IX86)
-# define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
-# if defined(__ICCARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__ICCRX__)
-# define ARCHITECTURE_ID "RX"
-
-# elif defined(__ICCRH850__)
-# define ARCHITECTURE_ID "RH850"
-
-# elif defined(__ICCRL78__)
-# define ARCHITECTURE_ID "RL78"
-
-# elif defined(__ICCRISCV__)
-# define ARCHITECTURE_ID "RISCV"
-
-# elif defined(__ICCAVR__)
-# define ARCHITECTURE_ID "AVR"
-
-# elif defined(__ICC430__)
-# define ARCHITECTURE_ID "MSP430"
-
-# elif defined(__ICCV850__)
-# define ARCHITECTURE_ID "V850"
-
-# elif defined(__ICC8051__)
-# define ARCHITECTURE_ID "8051"
-
-# elif defined(__ICCSTM8__)
-# define ARCHITECTURE_ID "STM8"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__ghs__)
-# if defined(__PPC64__)
-# define ARCHITECTURE_ID "PPC64"
-
-# elif defined(__ppc__)
-# define ARCHITECTURE_ID "PPC"
-
-# elif defined(__ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__x86_64__)
-# define ARCHITECTURE_ID "x64"
-
-# elif defined(__i386__)
-# define ARCHITECTURE_ID "X86"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-#elif defined(__TI_COMPILER_VERSION__)
-# if defined(__TI_ARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__MSP430__)
-# define ARCHITECTURE_ID "MSP430"
-
-# elif defined(__TMS320C28XX__)
-# define ARCHITECTURE_ID "TMS320C28x"
-
-# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
-# define ARCHITECTURE_ID "TMS320C6x"
-
-# else /* unknown architecture */
-# define ARCHITECTURE_ID ""
-# endif
-
-# elif defined(__ADSPSHARC__)
-# define ARCHITECTURE_ID "SHARC"
-
-# elif defined(__ADSPBLACKFIN__)
-# define ARCHITECTURE_ID "Blackfin"
-
-#elif defined(__TASKING__)
-
-# if defined(__CTC__) || defined(__CPTC__)
-# define ARCHITECTURE_ID "TriCore"
-
-# elif defined(__CMCS__)
-# define ARCHITECTURE_ID "MCS"
-
-# elif defined(__CARM__)
-# define ARCHITECTURE_ID "ARM"
-
-# elif defined(__CARC__)
-# define ARCHITECTURE_ID "ARC"
-
-# elif defined(__C51__)
-# define ARCHITECTURE_ID "8051"
-
-# elif defined(__CPCP__)
-# define ARCHITECTURE_ID "PCP"
-
-# else
-# define ARCHITECTURE_ID ""
-# endif
-
-#else
-# define ARCHITECTURE_ID
-#endif
-
-/* Convert integer to decimal digit literals. */
-#define DEC(n) \
- ('0' + (((n) / 10000000)%10)), \
- ('0' + (((n) / 1000000)%10)), \
- ('0' + (((n) / 100000)%10)), \
- ('0' + (((n) / 10000)%10)), \
- ('0' + (((n) / 1000)%10)), \
- ('0' + (((n) / 100)%10)), \
- ('0' + (((n) / 10)%10)), \
- ('0' + ((n) % 10))
-
-/* Convert integer to hex digit literals. */
-#define HEX(n) \
- ('0' + ((n)>>28 & 0xF)), \
- ('0' + ((n)>>24 & 0xF)), \
- ('0' + ((n)>>20 & 0xF)), \
- ('0' + ((n)>>16 & 0xF)), \
- ('0' + ((n)>>12 & 0xF)), \
- ('0' + ((n)>>8 & 0xF)), \
- ('0' + ((n)>>4 & 0xF)), \
- ('0' + ((n) & 0xF))
-
-/* Construct a string literal encoding the version number. */
-#ifdef COMPILER_VERSION
-char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
-
-/* Construct a string literal encoding the version number components. */
-#elif defined(COMPILER_VERSION_MAJOR)
-char const info_version[] = {
- 'I', 'N', 'F', 'O', ':',
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
- COMPILER_VERSION_MAJOR,
-# ifdef COMPILER_VERSION_MINOR
- '.', COMPILER_VERSION_MINOR,
-# ifdef COMPILER_VERSION_PATCH
- '.', COMPILER_VERSION_PATCH,
-# ifdef COMPILER_VERSION_TWEAK
- '.', COMPILER_VERSION_TWEAK,
-# endif
-# endif
-# endif
- ']','\0'};
-#endif
-
-/* Construct a string literal encoding the internal version number. */
-#ifdef COMPILER_VERSION_INTERNAL
-char const info_version_internal[] = {
- 'I', 'N', 'F', 'O', ':',
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
- 'i','n','t','e','r','n','a','l','[',
- COMPILER_VERSION_INTERNAL,']','\0'};
-#elif defined(COMPILER_VERSION_INTERNAL_STR)
-char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
-#endif
-
-/* Construct a string literal encoding the version number components. */
-#ifdef SIMULATE_VERSION_MAJOR
-char const info_simulate_version[] = {
- 'I', 'N', 'F', 'O', ':',
- 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
- SIMULATE_VERSION_MAJOR,
-# ifdef SIMULATE_VERSION_MINOR
- '.', SIMULATE_VERSION_MINOR,
-# ifdef SIMULATE_VERSION_PATCH
- '.', SIMULATE_VERSION_PATCH,
-# ifdef SIMULATE_VERSION_TWEAK
- '.', SIMULATE_VERSION_TWEAK,
-# endif
-# endif
-# endif
- ']','\0'};
-#endif
-
-/* Construct the string literal in pieces to prevent the source from
- getting matched. Store it in a pointer rather than an array
- because some compilers will just produce instructions to fill the
- array rather than assigning a pointer to a static array. */
-char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
-char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
-
-
-
-const char* info_language_standard_default = "INFO" ":" "standard_default["
-#if __cplusplus > 202002L
- "23"
-#elif __cplusplus > 201703L
- "20"
-#elif __cplusplus >= 201703L
- "17"
-#elif __cplusplus >= 201402L
- "14"
-#elif __cplusplus >= 201103L
- "11"
-#else
- "98"
-#endif
-"]";
-
-const char* info_language_extensions_default = "INFO" ":" "extensions_default["
-#if (defined(__clang__) || defined(__GNUC__)) && !defined(__STRICT_ANSI__)
- "ON"
-#else
- "OFF"
-#endif
-"]";
-
-/*--------------------------------------------------------------------------*/
-
-int main(int argc, char* argv[])
-{
- int require = 0;
- require += info_compiler[argc];
- require += info_platform[argc];
-#ifdef COMPILER_VERSION_MAJOR
- require += info_version[argc];
-#endif
-#ifdef SIMULATE_ID
- require += info_simulate[argc];
-#endif
-#ifdef SIMULATE_VERSION_MAJOR
- require += info_simulate_version[argc];
-#endif
- require += info_language_standard_default[argc];
- require += info_language_extensions_default[argc];
- (void)argv;
- return require;
-}
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
deleted file mode 100755
index 1d9fbf4ad6f673b26580fed4423d674a806de0c9..0000000000000000000000000000000000000000
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out and /dev/null differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeCCompiler.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeCCompiler.cmake
similarity index 87%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeCCompiler.cmake
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeCCompiler.cmake
index ab7dbeb3587db9b1025ef98716e7bad5b29865cf..c4ee442f17795e804fe3a70c58b714cc504d4f96 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeCCompiler.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeCCompiler.cmake
@@ -66,7 +66,7 @@ endif()
-set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/opt/dtk-22.10/include;/opt/dtk-22.10/llvm/include;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include")
+set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include/python3.7m;/usr/local/lib/python3.7/site-packages/torch/include;/opt/dtk-22.04.2/include;/opt/dtk-22.04.2/hip/include;/opt/dtk-22.04.2/llvm/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeCXXCompiler.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeCXXCompiler.cmake
similarity index 91%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeCXXCompiler.cmake
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeCXXCompiler.cmake
index 012dfd9a403dfa95927ad858b879d7d92c393ca7..8e63e2792adfa90d6d3d0d8ee59395c1c73e0926 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeCXXCompiler.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeCXXCompiler.cmake
@@ -77,7 +77,7 @@ endif()
-set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/opt/dtk-22.10/include;/opt/dtk-22.10/llvm/include;/opt/rh/devtoolset-7/root/usr/include/c++/7;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7/backward;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include")
+set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include/python3.7m;/usr/local/lib/python3.7/site-packages/torch/include;/opt/dtk-22.04.2/include;/opt/dtk/llvm/include;/opt/rh/devtoolset-7/root/usr/include/c++/7;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7/backward;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeDetermineCompilerABI_C.bin b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeDetermineCompilerABI_C.bin
similarity index 100%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeDetermineCompilerABI_C.bin
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeDetermineCompilerABI_C.bin
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeDetermineCompilerABI_CXX.bin b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeDetermineCompilerABI_CXX.bin
similarity index 100%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CMakeDetermineCompilerABI_CXX.bin
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeDetermineCompilerABI_CXX.bin
diff --git a/_skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeSystem.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeSystem.cmake
similarity index 100%
rename from _skbuild/linux-x86_64-3.6/cmake-build/CMakeFiles/3.25.2/CMakeSystem.cmake
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CMakeSystem.cmake
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdC/CMakeCCompilerId.c b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdC/CMakeCCompilerId.c
similarity index 100%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdC/CMakeCCompilerId.c
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdC/CMakeCCompilerId.c
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdC/a.out b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdC/a.out
similarity index 100%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdC/a.out
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdC/a.out
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdCXX/CMakeCXXCompilerId.cpp b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdCXX/CMakeCXXCompilerId.cpp
similarity index 100%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdCXX/CMakeCXXCompilerId.cpp
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdCXX/CMakeCXXCompilerId.cpp
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdCXX/a.out b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdCXX/a.out
similarity index 100%
rename from _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdCXX/a.out
rename to _skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdCXX/a.out
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeConfigureLog.yaml b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeConfigureLog.yaml
index 24f04cef9c06349c5a77c0adef0651010c78af4a..b7d512a9ce9a08bcef3d2c2865f885be55910b69 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeConfigureLog.yaml
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeConfigureLog.yaml
@@ -4,16 +4,16 @@ events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:204 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:204 (message)"
- "CMakeLists.txt:2 (project)"
message: |
The system is: Linux - 3.10.0-957.el7.x86_64 - x86_64
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:2 (project)"
message: |
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
@@ -28,14 +28,14 @@ events:
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdC/a.out
+ /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdC/a.out
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
- "CMakeLists.txt:2 (project)"
message: |
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
@@ -50,53 +50,53 @@ events:
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdCXX/a.out
+ /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdCXX/a.out
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
checks:
- "Detecting C compiler ABI info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XBmZ7o"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XBmZ7o"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-z21Ym1"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-z21Ym1"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake"
buildResult:
variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XBmZ7o
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-z21Ym1
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_a2375 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -v -o CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -c /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_6a6cf && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -v -o CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -c /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
- COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccPw3bav.s
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccu4uRqV.s
GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring duplicate directory "/opt/dtk/include"
ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
+ /opt/dtk/include
+ /opt/dtk/llvm/include
.
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include
/usr/local/include
@@ -108,13 +108,13 @@ events:
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8
- COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o /tmp/ccPw3bav.s
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o /tmp/ccu4uRqV.s
GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
- COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -v CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -o cmTC_a2375 && :
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -v CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -o cmTC_6a6cf && :
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
@@ -124,73 +124,73 @@ events:
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
- COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_a2375' '-mtune=generic' '-march=x86-64'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZ9LxMt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_a2375 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
- COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_a2375' '-mtune=generic' '-march=x86-64'
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6a6cf' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccMpV6sY.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_6a6cf /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6a6cf' '-mtune=generic' '-march=x86-64'
exitCode: 0
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed C implicit include dir info: rv=done
found start of include info
found start of implicit include info
- add: [/opt/dtk-22.10/include]
- add: [/opt/dtk-22.10/llvm/include]
+ add: [/opt/dtk/include]
+ add: [/opt/dtk/llvm/include]
add: [.]
add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
add: [/usr/local/include]
add: [/opt/rh/devtoolset-7/root/usr/include]
add: [/usr/include]
end of search list found
- collapse include dir [/opt/dtk-22.10/include] ==> [/opt/dtk-22.10/include]
- collapse include dir [/opt/dtk-22.10/llvm/include] ==> [/opt/dtk-22.10/llvm/include]
+ collapse include dir [/opt/dtk/include] ==> [/opt/dtk/include]
+ collapse include dir [/opt/dtk/llvm/include] ==> [/opt/dtk/llvm/include]
skipping relative include dir [.]
collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/opt/rh/devtoolset-7/root/usr/include] ==> [/opt/rh/devtoolset-7/root/usr/include]
collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/opt/dtk-22.10/include;/opt/dtk-22.10/llvm/include;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include]
+ implicit include dirs: [/opt/dtk/include;/opt/dtk/llvm/include;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include]
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed C implicit link information:
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XBmZ7o]
+ ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-z21Ym1]
ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_a2375 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -v -o CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -c /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c]
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_6a6cf && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -v -o CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -c /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
ignore line: [Target: x86_64-redhat-linux]
ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccPw3bav.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccu4uRqV.s]
ignore line: [GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/include"]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
- ignore line: [ /opt/dtk-22.10/include]
- ignore line: [ /opt/dtk-22.10/llvm/include]
+ ignore line: [ /opt/dtk/include]
+ ignore line: [ /opt/dtk/llvm/include]
ignore line: [ .]
ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
ignore line: [ /usr/local/include]
@@ -202,13 +202,13 @@ events:
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o /tmp/ccPw3bav.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o /tmp/ccu4uRqV.s]
ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
- ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -v CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -o cmTC_a2375 && :]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -v CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -o cmTC_6a6cf && :]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
@@ -218,13 +218,13 @@ events:
ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_a2375' '-mtune=generic' '-march=x86-64']
- link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccZ9LxMt.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_a2375 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_6a6cf' '-mtune=generic' '-march=x86-64']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccMpV6sY.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_6a6cf /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccZ9LxMt.res] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccMpV6sY.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
@@ -239,7 +239,7 @@ events:
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-o] ==> ignore
- arg [cmTC_a2375] ==> ignore
+ arg [cmTC_6a6cf] ==> ignore
arg [/lib/../lib64/crt1.o] ==> obj [/lib/../lib64/crt1.o]
arg [/lib/../lib64/crti.o] ==> obj [/lib/../lib64/crti.o]
arg [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o] ==> obj [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o]
@@ -248,7 +248,7 @@ events:
arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
- arg [CMakeFiles/cmTC_a2375.dir/CMakeCCompilerABI.c.o] ==> ignore
+ arg [CMakeFiles/cmTC_6a6cf.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
arg [-lgcc_s] ==> lib [gcc_s]
@@ -277,48 +277,48 @@ events:
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
checks:
- "Detecting CXX compiler ABI info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oNw4s4"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oNw4s4"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-qcNR9I"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-qcNR9I"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake"
buildResult:
variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oNw4s4
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-qcNR9I
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_e9eba && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -v -o CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -c /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ca868 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -v -o CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -c /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
- COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccxVQngE.s
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/cccl6j94.s
GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring duplicate directory "/opt/dtk/include"
ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
+ /opt/dtk/include
+ /opt/dtk/llvm/include
.
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
@@ -333,13 +333,13 @@ events:
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6
- COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccxVQngE.s
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o /tmp/cccl6j94.s
GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
- COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -v CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_e9eba && :
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -v CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ca868 && :
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
@@ -349,23 +349,23 @@ events:
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
- COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e9eba' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJnEjxG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_e9eba /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
- COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e9eba' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ca868' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKaAvv8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_ca868 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ca868' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
exitCode: 0
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed CXX implicit include dir info: rv=done
found start of include info
found start of implicit include info
- add: [/opt/dtk-22.10/include]
- add: [/opt/dtk-22.10/llvm/include]
+ add: [/opt/dtk/include]
+ add: [/opt/dtk/llvm/include]
add: [.]
add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7]
add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux]
@@ -375,8 +375,8 @@ events:
add: [/opt/rh/devtoolset-7/root/usr/include]
add: [/usr/include]
end of search list found
- collapse include dir [/opt/dtk-22.10/include] ==> [/opt/dtk-22.10/include]
- collapse include dir [/opt/dtk-22.10/llvm/include] ==> [/opt/dtk-22.10/llvm/include]
+ collapse include dir [/opt/dtk/include] ==> [/opt/dtk/include]
+ collapse include dir [/opt/dtk/llvm/include] ==> [/opt/dtk/llvm/include]
skipping relative include dir [.]
collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7] ==> [/opt/rh/devtoolset-7/root/usr/include/c++/7]
collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux] ==> [/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux]
@@ -385,43 +385,43 @@ events:
collapse include dir [/usr/local/include] ==> [/usr/local/include]
collapse include dir [/opt/rh/devtoolset-7/root/usr/include] ==> [/opt/rh/devtoolset-7/root/usr/include]
collapse include dir [/usr/include] ==> [/usr/include]
- implicit include dirs: [/opt/dtk-22.10/include;/opt/dtk-22.10/llvm/include;/opt/rh/devtoolset-7/root/usr/include/c++/7;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7/backward;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include]
+ implicit include dirs: [/opt/dtk/include;/opt/dtk/llvm/include;/opt/rh/devtoolset-7/root/usr/include/c++/7;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7/backward;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include]
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
- "CMakeLists.txt:2 (project)"
message: |
Parsed CXX implicit link information:
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-oNw4s4]
+ ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-qcNR9I]
ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_e9eba && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -v -o CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -c /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp]
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ca868 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -v -o CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -c /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
ignore line: [Target: x86_64-redhat-linux]
ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE /tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccxVQngE.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE /tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/cccl6j94.s]
ignore line: [GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/include"]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
- ignore line: [ /opt/dtk-22.10/include]
- ignore line: [ /opt/dtk-22.10/llvm/include]
+ ignore line: [ /opt/dtk/include]
+ ignore line: [ /opt/dtk/llvm/include]
ignore line: [ .]
ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7]
ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux]
@@ -436,13 +436,13 @@ events:
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccxVQngE.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o /tmp/cccl6j94.s]
ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -v CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_e9eba && :]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -v CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ca868 && :]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
@@ -452,13 +452,13 @@ events:
ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e9eba' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
- link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccJnEjxG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_e9eba /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_ca868' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccKaAvv8.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_ca868 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccJnEjxG.res] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccKaAvv8.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lc] ==> ignore
@@ -473,7 +473,7 @@ events:
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-o] ==> ignore
- arg [cmTC_e9eba] ==> ignore
+ arg [cmTC_ca868] ==> ignore
arg [/lib/../lib64/crt1.o] ==> obj [/lib/../lib64/crt1.o]
arg [/lib/../lib64/crti.o] ==> obj [/lib/../lib64/crti.o]
arg [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o] ==> obj [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o]
@@ -482,7 +482,7 @@ events:
arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
- arg [CMakeFiles/cmTC_e9eba.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
+ arg [CMakeFiles/cmTC_ca868.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgcc_s] ==> lib [gcc_s]
@@ -506,128 +506,27 @@ events:
implicit fwks: []
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b56089/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-fc05d8/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b56089/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-fc05d8/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-1b167e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-1b167e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4d2261.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-4d2261.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
-
kind: "try_run-v1"
backtrace:
- "cmake/Findtensorflow.cmake:169 (try_run)"
- "CMakeLists.txt:88 (find_package)"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7a297 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_7a297.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_7a297.dir/tf_version.cpp.o -o cmTC_7a297 && :
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_e192f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_e192f.dir/tf_version.cpp.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/tf_version.cpp
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_e192f.dir/tf_version.cpp.o -o cmTC_e192f && :
exitCode: 0
runResult:
@@ -639,33 +538,32 @@ events:
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:163 (_threads_check_libc)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:163 (_threads_check_libc)"
- "CMakeLists.txt:109 (find_package)"
checks:
- "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-db9ejO"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-db9ejO"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-JwyBTs"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-JwyBTs"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "CMAKE_HAVE_LIBC_PTHREAD"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-db9ejO
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-JwyBTs
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_73a78 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_73a78.dir/src.c.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-db9ejO/src.c
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc CMakeFiles/cmTC_73a78.dir/src.c.o -o cmTC_73a78 && :
- FAILED: cmTC_73a78
- : && /opt/rh/devtoolset-7/root/usr/bin/cc CMakeFiles/cmTC_73a78.dir/src.c.o -o cmTC_73a78 && :
- CMakeFiles/cmTC_73a78.dir/src.c.o: In function `main':
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_aee7e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_aee7e.dir/src.c.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-JwyBTs/src.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc CMakeFiles/cmTC_aee7e.dir/src.c.o -o cmTC_aee7e && :
+ FAILED: cmTC_aee7e
+ : && /opt/rh/devtoolset-7/root/usr/bin/cc CMakeFiles/cmTC_aee7e.dir/src.c.o -o cmTC_aee7e && :
+ CMakeFiles/cmTC_aee7e.dir/src.c.o: In function `main':
src.c:(.text+0x2d): undefined reference to `pthread_create'
src.c:(.text+0x39): undefined reference to `pthread_detach'
src.c:(.text+0x45): undefined reference to `pthread_cancel'
@@ -678,31 +576,30 @@ events:
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:175 (_threads_check_lib)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:175 (_threads_check_lib)"
- "CMakeLists.txt:109 (find_package)"
checks:
- "Looking for pthread_create in pthreads"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-M4Mnpy"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-M4Mnpy"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4jUjSc"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4jUjSc"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "CMAKE_HAVE_PTHREADS_CREATE"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-M4Mnpy
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4jUjSc
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d62dc && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_d62dc.dir/CheckFunctionExists.c.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-M4Mnpy/CheckFunctionExists.c
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_d62dc.dir/CheckFunctionExists.c.o -o cmTC_d62dc -lpthreads && :
- FAILED: cmTC_d62dc
- : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_d62dc.dir/CheckFunctionExists.c.o -o cmTC_d62dc -lpthreads && :
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7638f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_7638f.dir/CheckFunctionExists.c.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4jUjSc/CheckFunctionExists.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7638f.dir/CheckFunctionExists.c.o -o cmTC_7638f -lpthreads && :
+ FAILED: cmTC_7638f
+ : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7638f.dir/CheckFunctionExists.c.o -o cmTC_7638f -lpthreads && :
/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
@@ -711,76 +608,74 @@ events:
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:176 (_threads_check_lib)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:176 (_threads_check_lib)"
- "CMakeLists.txt:109 (find_package)"
checks:
- "Looking for pthread_create in pthread"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hw3SIi"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hw3SIi"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-1Qfo3W"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-1Qfo3W"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "CMAKE_HAVE_PTHREAD_CREATE"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hw3SIi
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-1Qfo3W
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_29bcb && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_29bcb.dir/CheckFunctionExists.c.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-hw3SIi/CheckFunctionExists.c
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_29bcb.dir/CheckFunctionExists.c.o -o cmTC_29bcb -lpthread && :
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_87400 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_87400.dir/CheckFunctionExists.c.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-1Qfo3W/CheckFunctionExists.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_87400.dir/CheckFunctionExists.c.o -o cmTC_87400 -lpthread && :
exitCode: 0
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
- "CMakeLists.txt:192 (find_package)"
description: "Detecting C OpenMP compiler info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "OpenMP_COMPILE_RESULT_C_fopenmp"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b5563 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v -o CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua/OpenMPTryFlag.c
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_14758 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v -o CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS/OpenMPTryFlag.c
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v -D_REENTRANT /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -version -fopenmp -o /tmp/ccVYYKrw.s
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -version -fopenmp -o /tmp/ccXkJ2cy.s
GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring duplicate directory "/opt/dtk/include"
ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
+ /opt/dtk/include
+ /opt/dtk/llvm/include
.
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include
/usr/local/include
@@ -792,13 +687,13 @@ events:
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o /tmp/ccVYYKrw.s
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o /tmp/ccXkJ2cy.s
GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -o cmTC_b5563 -v && :
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -o cmTC_14758 -v && :
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
@@ -809,45 +704,45 @@ events:
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_b5563' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdQIQcy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_b5563 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -lgomp -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_b5563' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_14758' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cczAEztE.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_14758 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -lgomp -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_14758' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
exitCode: 0
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:262 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:262 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
- "CMakeLists.txt:192 (find_package)"
message: |
Parsed C OpenMP implicit link information from above output:
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua]
+ ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS]
ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b5563 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v -o CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua/OpenMPTryFlag.c]
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_14758 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v -o CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS/OpenMPTryFlag.c]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
ignore line: [Target: x86_64-redhat-linux]
ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v -D_REENTRANT /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-S6xZua/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -version -fopenmp -o /tmp/ccVYYKrw.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-s19ysS/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -version -fopenmp -o /tmp/ccXkJ2cy.s]
ignore line: [GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/include"]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
- ignore line: [ /opt/dtk-22.10/include]
- ignore line: [ /opt/dtk-22.10/llvm/include]
+ ignore line: [ /opt/dtk/include]
+ ignore line: [ /opt/dtk/llvm/include]
ignore line: [ .]
ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
ignore line: [ /usr/local/include]
@@ -859,13 +754,13 @@ events:
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o /tmp/ccVYYKrw.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o /tmp/ccXkJ2cy.s]
ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -o cmTC_b5563 -v && :]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -o cmTC_14758 -v && :]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
@@ -876,13 +771,13 @@ events:
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
ignore line: [Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_b5563' '-v' '-mtune=generic' '-march=x86-64' '-pthread']
- link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdQIQcy.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_b5563 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o -lgomp -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_14758' '-v' '-mtune=generic' '-march=x86-64' '-pthread']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cczAEztE.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_14758 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o -lgomp -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccdQIQcy.res] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/cczAEztE.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
@@ -898,13 +793,13 @@ events:
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-o] ==> ignore
- arg [cmTC_b5563] ==> ignore
+ arg [cmTC_14758] ==> ignore
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64]
arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
- arg [CMakeFiles/cmTC_b5563.dir/OpenMPTryFlag.c.o] ==> ignore
+ arg [CMakeFiles/cmTC_14758.dir/OpenMPTryFlag.c.o] ==> ignore
arg [-lgomp] ==> lib [gomp]
arg [-lgcc] ==> lib [gcc]
arg [--as-needed] ==> ignore
@@ -930,48 +825,47 @@ events:
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
- "CMakeLists.txt:192 (find_package)"
description: "Detecting CXX OpenMP compiler info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "OpenMP_COMPILE_RESULT_CXX_fopenmp"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_109f8 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v -std=gnu++14 -o CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2/OpenMPTryFlag.cpp
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_2628d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v -std=gnu++14 -o CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO/OpenMPTryFlag.cpp
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE -D_REENTRANT /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -std=gnu++14 -version -fopenmp -o /tmp/cc3SOeIE.s
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -std=gnu++14 -version -fopenmp -o /tmp/ccbCY71L.s
GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring duplicate directory "/opt/dtk/include"
ignoring duplicate directory "/opt/dtk/llvm/include"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
#include "..." search starts here:
#include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
+ /opt/dtk/include
+ /opt/dtk/llvm/include
.
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
@@ -986,13 +880,13 @@ events:
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o /tmp/cc3SOeIE.s
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o /tmp/ccbCY71L.s
GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -o cmTC_109f8 -v && :
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -o cmTC_2628d -v && :
Using built-in specs.
COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
@@ -1003,45 +897,45 @@ events:
COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_109f8' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
- /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccT9pxMG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_109f8 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
- COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_109f8' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_2628d' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdFfSXM.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_2628d /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_2628d' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
exitCode: 0
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:262 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:262 (message)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
- "CMakeLists.txt:192 (find_package)"
message: |
Parsed CXX OpenMP implicit link information from above output:
link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
- ignore line: [Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2]
+ ignore line: [Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO]
ignore line: []
- ignore line: [Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_109f8 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v -std=gnu++14 -o CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2/OpenMPTryFlag.cpp]
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_2628d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v -std=gnu++14 -o CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO/OpenMPTryFlag.cpp]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
ignore line: [Target: x86_64-redhat-linux]
ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
ignore line: [Thread model: posix]
ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE -D_REENTRANT /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-zkKkA2/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -std=gnu++14 -version -fopenmp -o /tmp/cc3SOeIE.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE -D_REENTRANT /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-Dfi6aO/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -std=gnu++14 -version -fopenmp -o /tmp/ccbCY71L.s]
ignore line: [GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/include"]
- ignore line: [ignoring duplicate directory "/opt/dtk-22.10/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/include"]
ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
ignore line: [#include "..." search starts here:]
ignore line: [#include <...> search starts here:]
- ignore line: [ /opt/dtk-22.10/include]
- ignore line: [ /opt/dtk-22.10/llvm/include]
+ ignore line: [ /opt/dtk/include]
+ ignore line: [ /opt/dtk/llvm/include]
ignore line: [ .]
ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7]
ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux]
@@ -1056,13 +950,13 @@ events:
ignore line: []
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
ignore line: [Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o /tmp/cc3SOeIE.s]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o /tmp/ccbCY71L.s]
ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -o cmTC_109f8 -v && :]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -o cmTC_2628d -v && :]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
@@ -1073,13 +967,13 @@ events:
ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
ignore line: [Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec]
- ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_109f8' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
- link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccT9pxMG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_109f8 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_2628d' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccdFfSXM.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_2628d /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
arg [-plugin] ==> ignore
arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
- arg [-plugin-opt=-fresolution=/tmp/ccT9pxMG.res] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccdFfSXM.res] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
@@ -1095,13 +989,13 @@ events:
arg [-dynamic-linker] ==> ignore
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
arg [-o] ==> ignore
- arg [cmTC_109f8] ==> ignore
+ arg [cmTC_2628d] ==> ignore
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64]
arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
- arg [CMakeFiles/cmTC_109f8.dir/OpenMPTryFlag.cpp.o] ==> ignore
+ arg [CMakeFiles/cmTC_2628d.dir/OpenMPTryFlag.cpp.o] ==> ignore
arg [-lstdc++] ==> lib [stdc++]
arg [-lm] ==> lib [m]
arg [-lgomp] ==> lib [gomp]
@@ -1125,53 +1019,51 @@ events:
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:419 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:419 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)"
- "CMakeLists.txt:192 (find_package)"
description: "Detecting C OpenMP version"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-EgVq2U"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-EgVq2U"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-QWJxfK"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-QWJxfK"
cmakeVariables:
CMAKE_C_FLAGS: ""
CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "OpenMP_SPECTEST_C_"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-EgVq2U
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-QWJxfK
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_f01eb && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -o CMakeFiles/cmTC_f01eb.dir/OpenMPCheckVersion.c.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-EgVq2U/OpenMPCheckVersion.c
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp CMakeFiles/cmTC_f01eb.dir/OpenMPCheckVersion.c.o -o cmTC_f01eb && :
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_5d1fb && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -o CMakeFiles/cmTC_5d1fb.dir/OpenMPCheckVersion.c.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-QWJxfK/OpenMPCheckVersion.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp CMakeFiles/cmTC_5d1fb.dir/OpenMPCheckVersion.c.o -o cmTC_5d1fb && :
exitCode: 0
-
kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:419 (try_compile)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:419 (try_compile)"
+ - "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)"
- "CMakeLists.txt:192 (find_package)"
description: "Detecting CXX OpenMP version"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-NGMoMN"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-NGMoMN"
+ source: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-7HRAAG"
+ binary: "/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-7HRAAG"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "OpenMP_SPECTEST_CXX_"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-NGMoMN
+ Change Dir: /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-7HRAAG
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_04139 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -std=gnu++14 -o CMakeFiles/cmTC_04139.dir/OpenMPCheckVersion.cpp.o -c /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-NGMoMN/OpenMPCheckVersion.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp CMakeFiles/cmTC_04139.dir/OpenMPCheckVersion.cpp.o -o cmTC_04139 && :
+ Run Build Command(s):/tmp/pip-build-env-abot7ot1/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_f5676 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -std=gnu++14 -o CMakeFiles/cmTC_f5676.dir/OpenMPCheckVersion.cpp.o -c /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-7HRAAG/OpenMPCheckVersion.cpp
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp CMakeFiles/cmTC_f5676.dir/OpenMPCheckVersion.cpp.o -o cmTC_f5676 && :
exitCode: 0
...
@@ -1181,18700 +1073,577 @@ events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake:204 (message)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-42a41a/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c202d1/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-42a41a/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c202d1/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-6a6a18.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-6a6a18.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e14bab.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-e14bab.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8bf24 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8bf24.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8bf24.dir/tf_version.cpp.o -o cmTC_8bf24 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
+ The system is: Linux - 3.10.0-957.el7.x86_64 - x86_64
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake:123 (CMAKE_DETERMINE_COMPILER_ID)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
+ Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
+ Compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
Build flags:
- Id flags: -v
+ Id flags:
The output was:
0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c85b06/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-64e2ce/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-c85b06/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-64e2ce/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-e70a95.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-e70a95.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4e6722.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-4e6722.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
+ The C compiler identification is GNU, found in:
+ /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdC/a.out
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_23d0b && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_23d0b.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_23d0b.dir/tf_version.cpp.o -o cmTC_23d0b && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake:126 (CMAKE_DETERMINE_COMPILER_ID)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
+ Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
+ Compiler: /opt/rh/devtoolset-7/root/usr/bin/c++
Build flags:
- Id flags: -v
+ Id flags:
The output was:
0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-63d22b/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-185248/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-63d22b/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-185248/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-27ab16.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-27ab16.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fb2700.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-fb2700.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
+ The CXX compiler identification is GNU, found in:
+ /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.3/CompilerIdCXX/a.out
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "CMakeLists.txt:2 (project)"
+ checks:
+ - "Detecting C compiler ABI info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-xCCt4m"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-xCCt4m"
cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
+ CMAKE_C_FLAGS: ""
+ CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "CMAKE_C_ABI_COMPILED"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-xCCt4m
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_6904d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_6904d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_6904d.dir/tf_version.cpp.o -o cmTC_6904d && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_e54aa && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -v -o CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -c /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccZ5Ngxl.s
+ GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8e0de5/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cd5f66/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8e0de5/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cd5f66/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-3536cc.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-3536cc.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2fc478.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-2fc478.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
+ #include "..." search starts here:
+ #include <...> search starts here:
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include
+ /usr/local/include/python3.7m
+ /usr/local/lib/python3.7/site-packages/torch/include/
+ /opt/dtk-22.04.2/include
+ /opt/dtk-22.04.2/hip/include
+ /opt/dtk-22.04.2/llvm/include
+ .
+ /usr/local/include
+ /opt/rh/devtoolset-7/root/usr/include
+ /usr/include
+ End of search list.
+ GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_c92ac && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_c92ac.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_c92ac.dir/tf_version.cpp.o -o cmTC_c92ac && :
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o /tmp/ccZ5Ngxl.s
+ GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -v CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -o cmTC_e54aa && :
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
+ COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e54aa' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccxhJoxo.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_e54aa /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e54aa' '-mtune=generic' '-march=x86-64'
exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a298bc/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-66ec94/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a298bc/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-66ec94/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-068939.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-068939.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-83c334.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-83c334.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Parsed C implicit include dir info: rv=done
+ found start of include info
+ found start of implicit include info
+ add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ add: [/usr/local/include/python3.7m]
+ add: [/usr/local/lib/python3.7/site-packages/torch/include/]
+ add: [/opt/dtk-22.04.2/include]
+ add: [/opt/dtk-22.04.2/hip/include]
+ add: [/opt/dtk-22.04.2/llvm/include]
+ add: [.]
+ add: [/usr/local/include]
+ add: [/opt/rh/devtoolset-7/root/usr/include]
+ add: [/usr/include]
+ end of search list found
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ collapse include dir [/usr/local/include/python3.7m] ==> [/usr/local/include/python3.7m]
+ collapse include dir [/usr/local/lib/python3.7/site-packages/torch/include/] ==> [/usr/local/lib/python3.7/site-packages/torch/include]
+ collapse include dir [/opt/dtk-22.04.2/include] ==> [/opt/dtk-22.04.2/include]
+ collapse include dir [/opt/dtk-22.04.2/hip/include] ==> [/opt/dtk-22.04.2/hip/include]
+ collapse include dir [/opt/dtk-22.04.2/llvm/include] ==> [/opt/dtk-22.04.2/llvm/include]
+ skipping relative include dir [.]
+ collapse include dir [/usr/local/include] ==> [/usr/local/include]
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/include] ==> [/opt/rh/devtoolset-7/root/usr/include]
+ collapse include dir [/usr/include] ==> [/usr/include]
+ implicit include dirs: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include/python3.7m;/usr/local/lib/python3.7/site-packages/torch/include;/opt/dtk-22.04.2/include;/opt/dtk-22.04.2/hip/include;/opt/dtk-22.04.2/llvm/include;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include]
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_dc796 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_dc796.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_dc796.dir/tf_version.cpp.o -o cmTC_dc796 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-231183/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-5b4639/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-231183/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-5b4639/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-103cfb.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-103cfb.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-cd877e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-cd877e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_45137 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_45137.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_45137.dir/tf_version.cpp.o -o cmTC_45137 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5e3314/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-76ac60/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-5e3314/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-76ac60/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-69259c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-69259c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b729a3.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-b729a3.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d3914 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d3914.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d3914.dir/tf_version.cpp.o -o cmTC_d3914 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-351c7e/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-2bc591/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-351c7e/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-2bc591/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ea15fa.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ea15fa.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0470e4.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0470e4.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b3e72 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_b3e72.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_b3e72.dir/tf_version.cpp.o -o cmTC_b3e72 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-97e4c3/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-87e7c7/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-97e4c3/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-87e7c7/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8d70f1.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8d70f1.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-934ddf.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-934ddf.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_21367 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_21367.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_21367.dir/tf_version.cpp.o -o cmTC_21367 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b03fac/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-8c3d41/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b03fac/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-8c3d41/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-590f04.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-590f04.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-81566e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-81566e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_968d7 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_968d7.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_968d7.dir/tf_version.cpp.o -o cmTC_968d7 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b8f663/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-986556/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b8f663/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-986556/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-066039.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-066039.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a3b205.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-a3b205.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_a320d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_a320d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_a320d.dir/tf_version.cpp.o -o cmTC_a320d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-3dba2a/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-83ff9f/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-3dba2a/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-83ff9f/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c425ea.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c425ea.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-74b0e1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-74b0e1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d4701 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d4701.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d4701.dir/tf_version.cpp.o -o cmTC_d4701 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e7fee1/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b75621/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-e7fee1/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b75621/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8d2681.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8d2681.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f93227.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-f93227.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_843db && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_843db.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_843db.dir/tf_version.cpp.o -o cmTC_843db && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-aa70a5/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-0e160c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-aa70a5/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-0e160c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-61766e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-61766e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-703ecf.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-703ecf.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_6d95a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_6d95a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_6d95a.dir/tf_version.cpp.o -o cmTC_6d95a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ff891f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-e6fb2c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-ff891f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-e6fb2c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b57008.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b57008.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-cb5772.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-cb5772.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_f28d0 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_f28d0.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_f28d0.dir/tf_version.cpp.o -o cmTC_f28d0 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-04ef9c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-3785d9/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-04ef9c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-3785d9/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-7ab9d5.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-7ab9d5.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d6b147.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-d6b147.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_0b00b && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_0b00b.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_0b00b.dir/tf_version.cpp.o -o cmTC_0b00b && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5777ef/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c39869/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-5777ef/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c39869/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d7464f.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d7464f.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8d9b75.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-8d9b75.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_c2e36 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_c2e36.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_c2e36.dir/tf_version.cpp.o -o cmTC_c2e36 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a2ee9c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b25cbf/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a2ee9c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b25cbf/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-61e98f.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-61e98f.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5c205a.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-5c205a.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8992d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8992d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8992d.dir/tf_version.cpp.o -o cmTC_8992d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-24c787/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d8b6cc/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-24c787/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d8b6cc/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-17211e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-17211e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6b93a3.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-6b93a3.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_addf8 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_addf8.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_addf8.dir/tf_version.cpp.o -o cmTC_addf8 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4b1174/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-31dc30/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4b1174/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-31dc30/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-65095d.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-65095d.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-347ec7.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-347ec7.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_88e27 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_88e27.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_88e27.dir/tf_version.cpp.o -o cmTC_88e27 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5c42b3/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-bff9fe/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-5c42b3/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-bff9fe/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c79565.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c79565.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-3d3d3e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-3d3d3e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_08930 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_08930.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_08930.dir/tf_version.cpp.o -o cmTC_08930 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-eab6d2/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-51c74c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-eab6d2/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-51c74c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ac0269.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ac0269.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6e2535.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-6e2535.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d83a8 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d83a8.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d83a8.dir/tf_version.cpp.o -o cmTC_d83a8 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-909788/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d54d67/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-909788/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d54d67/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d8c8b3.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d8c8b3.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-970250.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-970250.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ab482 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_ab482.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_ab482.dir/tf_version.cpp.o -o cmTC_ab482 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-40a70e/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-0b6c20/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-40a70e/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-0b6c20/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0801d2.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0801d2.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8c8139.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-8c8139.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-jiu2tc5r/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8fb5a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8fb5a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8fb5a.dir/tf_version.cpp.o -o cmTC_8fb5a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4d725c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-4a09b9/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4d725c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-4a09b9/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-cdd763.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-cdd763.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-9aaa01.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-9aaa01.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_33124 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_33124.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_33124.dir/tf_version.cpp.o -o cmTC_33124 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d924c9/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d199f5/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-d924c9/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d199f5/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-2b60f3.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-2b60f3.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b1b3d3.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-b1b3d3.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_03994 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_03994.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_03994.dir/tf_version.cpp.o -o cmTC_03994 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2964c4/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-14f316/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-2964c4/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-14f316/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-6a926a.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-6a926a.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7cc9b2.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7cc9b2.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_afd1a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_afd1a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_afd1a.dir/tf_version.cpp.o -o cmTC_afd1a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ccd1e3/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-8cb178/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-ccd1e3/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-8cb178/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-7f739a.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-7f739a.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-859d98.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-859d98.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_22739 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_22739.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_22739.dir/tf_version.cpp.o -o cmTC_22739 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-00cad5/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-9fbe4f/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-00cad5/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-9fbe4f/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-bec247.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-bec247.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e6bf66.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-e6bf66.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_27a5f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_27a5f.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_27a5f.dir/tf_version.cpp.o -o cmTC_27a5f && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2b90a3/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-281253/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-2b90a3/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-281253/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ab3da8.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ab3da8.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ec2160.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-ec2160.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8caaf && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8caaf.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8caaf.dir/tf_version.cpp.o -o cmTC_8caaf && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-644454/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-7aedcf/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-644454/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-7aedcf/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-78b6f0.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-78b6f0.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-486673.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-486673.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_68836 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_68836.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_68836.dir/tf_version.cpp.o -o cmTC_68836 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-90f1a4/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-302914/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-90f1a4/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-302914/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-405fd3.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-405fd3.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-da794d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-da794d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_01b59 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_01b59.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_01b59.dir/tf_version.cpp.o -o cmTC_01b59 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-816c0f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cd9706/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-816c0f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cd9706/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-41c007.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-41c007.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d87882.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-d87882.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_cb356 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_cb356.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_cb356.dir/tf_version.cpp.o -o cmTC_cb356 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fc27f0/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b635e6/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-fc27f0/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b635e6/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-293d12.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-293d12.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d26bcf.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-d26bcf.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_a6d1d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_a6d1d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_a6d1d.dir/tf_version.cpp.o -o cmTC_a6d1d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-61d7af/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-3dc309/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-61d7af/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-3dc309/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-675a1d.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-675a1d.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e2b96e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-e2b96e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_5a0ae && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_5a0ae.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_5a0ae.dir/tf_version.cpp.o -o cmTC_5a0ae && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ff660e/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c31d47/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-ff660e/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c31d47/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c3d8fc.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c3d8fc.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-88713d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-88713d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_66448 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_66448.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_66448.dir/tf_version.cpp.o -o cmTC_66448 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1ccdc9/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cde055/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-1ccdc9/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cde055/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8f8cbc.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8f8cbc.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-48937c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-48937c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_caa12 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_caa12.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_caa12.dir/tf_version.cpp.o -o cmTC_caa12 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-670f8e/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-712716/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-670f8e/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-712716/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-e0fa38.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-e0fa38.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c85f69.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-c85f69.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d9ef0 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d9ef0.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d9ef0.dir/tf_version.cpp.o -o cmTC_d9ef0 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0a2cf2/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cf9bd1/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-0a2cf2/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cf9bd1/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-2d20d0.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-2d20d0.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-799a42.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-799a42.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d99be && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d99be.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d99be.dir/tf_version.cpp.o -o cmTC_d99be && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4b7b71/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-4bd33c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4b7b71/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-4bd33c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-23b7f6.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-23b7f6.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7f52b6.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7f52b6.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7aa82 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_7aa82.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_7aa82.dir/tf_version.cpp.o -o cmTC_7aa82 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a9eed7/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-7ffb64/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a9eed7/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-7ffb64/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8ef311.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8ef311.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-51c48a.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-51c48a.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_709f8 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_709f8.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_709f8.dir/tf_version.cpp.o -o cmTC_709f8 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-508f09/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-4c0888/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-508f09/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-4c0888/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-562fde.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-562fde.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a2a49c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-a2a49c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_98d6d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_98d6d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_98d6d.dir/tf_version.cpp.o -o cmTC_98d6d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-20cb97/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-ceefe4/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-20cb97/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-ceefe4/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-127486.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-127486.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1a9717.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1a9717.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_feed0 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_feed0.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_feed0.dir/tf_version.cpp.o -o cmTC_feed0 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e4c3fc/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-235eb4/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-e4c3fc/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-235eb4/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0a7176.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0a7176.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-098962.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-098962.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_c73d7 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_c73d7.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_c73d7.dir/tf_version.cpp.o -o cmTC_c73d7 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5d403f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-3ed9a0/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-5d403f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-3ed9a0/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c1f324.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c1f324.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-683c11.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-683c11.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_784fc && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_784fc.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_784fc.dir/tf_version.cpp.o -o cmTC_784fc && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ffa6a2/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-262d59/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-ffa6a2/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-262d59/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-eaf79e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-eaf79e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-54046b.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-54046b.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_09ad3 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_09ad3.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_09ad3.dir/tf_version.cpp.o -o cmTC_09ad3 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0e6109/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-6e5729/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-0e6109/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-6e5729/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-e7509b.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-e7509b.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-162c3a.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-162c3a.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_bd3a4 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_bd3a4.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_bd3a4.dir/tf_version.cpp.o -o cmTC_bd3a4 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2a4d12/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-62068d/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-2a4d12/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-62068d/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-74c538.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-74c538.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-30aac3.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-30aac3.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_c5f7c && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_c5f7c.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_c5f7c.dir/tf_version.cpp.o -o cmTC_c5f7c && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fe4001/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-120706/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-fe4001/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-120706/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-e9a7cf.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-e9a7cf.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-10db9e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-10db9e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_19aba && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_19aba.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_19aba.dir/tf_version.cpp.o -o cmTC_19aba && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-23043b/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-0dae12/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-23043b/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-0dae12/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-467b4a.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-467b4a.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ff2297.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-ff2297.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-ihf5c1k4/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_c7b0a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_c7b0a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_c7b0a.dir/tf_version.cpp.o -o cmTC_c7b0a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a9fe62/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-1f2f06/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a9fe62/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-1f2f06/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a5318a.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a5318a.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ed4f8a.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-ed4f8a.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_3c24d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_3c24d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_3c24d.dir/tf_version.cpp.o -o cmTC_3c24d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f92f6b/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-58b386/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-f92f6b/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-58b386/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a1e272.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a1e272.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6b1156.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-6b1156.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ade52 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_ade52.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_ade52.dir/tf_version.cpp.o -o cmTC_ade52 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-56bc0f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-1256e4/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-56bc0f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-1256e4/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-9e5c7c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-9e5c7c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7bf745.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7bf745.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_90345 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_90345.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_90345.dir/tf_version.cpp.o -o cmTC_90345 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-acbf0d/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-dcf9cc/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-acbf0d/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-dcf9cc/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-305e9c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-305e9c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-242b41.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-242b41.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_f7f9a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_f7f9a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_f7f9a.dir/tf_version.cpp.o -o cmTC_f7f9a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4b490a/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-e0eaf9/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4b490a/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-e0eaf9/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-17aabb.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-17aabb.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-be33a4.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-be33a4.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_67d0a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_67d0a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_67d0a.dir/tf_version.cpp.o -o cmTC_67d0a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e76b19/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-02f5a4/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-e76b19/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-02f5a4/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-99c56e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-99c56e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f250fd.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-f250fd.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_07d80 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_07d80.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_07d80.dir/tf_version.cpp.o -o cmTC_07d80 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-17296d/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-9fc5cc/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-17296d/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-9fc5cc/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-fa092e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-fa092e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-263db0.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-263db0.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8a4c7 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8a4c7.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8a4c7.dir/tf_version.cpp.o -o cmTC_8a4c7 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f5525c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-85a34b/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-f5525c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-85a34b/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-932946.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-932946.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fd36e8.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-fd36e8.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_93060 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_93060.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_93060.dir/tf_version.cpp.o -o cmTC_93060 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8023ea/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-fbe70c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8023ea/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-fbe70c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b74fb5.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b74fb5.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-3035ae.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-3035ae.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_0727e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_0727e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_0727e.dir/tf_version.cpp.o -o cmTC_0727e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c9eea7/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d0590e/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-c9eea7/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d0590e/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c67b2c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c67b2c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8d00b0.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-8d00b0.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_3b383 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_3b383.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_3b383.dir/tf_version.cpp.o -o cmTC_3b383 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ce68e9/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b20ffb/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-ce68e9/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b20ffb/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b71c91.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b71c91.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-dccf9b.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-dccf9b.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_9a1a9 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_9a1a9.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_9a1a9.dir/tf_version.cpp.o -o cmTC_9a1a9 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-88aec8/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cb567d/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-88aec8/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cb567d/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-620a7e.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-620a7e.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-16fd35.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-16fd35.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_f2b2a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_f2b2a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_f2b2a.dir/tf_version.cpp.o -o cmTC_f2b2a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-cf268d/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-4d7b41/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-cf268d/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-4d7b41/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-70b348.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-70b348.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-79bf33.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-79bf33.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_e99f0 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_e99f0.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_e99f0.dir/tf_version.cpp.o -o cmTC_e99f0 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-eb71a6/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d75807/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-eb71a6/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d75807/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0f0ef2.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0f0ef2.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c4937e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-c4937e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_5fd6e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_5fd6e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_5fd6e.dir/tf_version.cpp.o -o cmTC_5fd6e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-267075/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cf6843/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-267075/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cf6843/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ad6dc8.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ad6dc8.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a24157.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-a24157.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d07fa && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d07fa.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d07fa.dir/tf_version.cpp.o -o cmTC_d07fa && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-05e256/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f5d839/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-05e256/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f5d839/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-2b40bd.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-2b40bd.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0d56bc.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0d56bc.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_08a7e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_08a7e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_08a7e.dir/tf_version.cpp.o -o cmTC_08a7e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a2cdde/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-fcb520/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a2cdde/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-fcb520/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-af8746.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-af8746.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d35cd1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-d35cd1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_cde1f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_cde1f.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_cde1f.dir/tf_version.cpp.o -o cmTC_cde1f && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d66a50/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d192cb/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-d66a50/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d192cb/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0820f8.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0820f8.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b31834.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-b31834.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_2811a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_2811a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_2811a.dir/tf_version.cpp.o -o cmTC_2811a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-659361/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c84536/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-659361/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c84536/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-08f9ea.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-08f9ea.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4cd344.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-4cd344.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_4d36e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_4d36e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_4d36e.dir/tf_version.cpp.o -o cmTC_4d36e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7e810a/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-970f4a/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-7e810a/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-970f4a/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-591d0a.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-591d0a.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-428f5d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-428f5d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d4706 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d4706.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d4706.dir/tf_version.cpp.o -o cmTC_d4706 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-81434c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-158c15/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-81434c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-158c15/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d0f823.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d0f823.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0a041b.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0a041b.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b2ca4 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_b2ca4.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_b2ca4.dir/tf_version.cpp.o -o cmTC_b2ca4 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-48fe4c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f08ed6/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-48fe4c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f08ed6/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d94526.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d94526.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-970572.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-970572.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_5811f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_5811f.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_5811f.dir/tf_version.cpp.o -o cmTC_5811f && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b96027/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-3d8ae4/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b96027/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-3d8ae4/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-5a8935.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-5a8935.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1ff3a2.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1ff3a2.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-f94cgnns/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_65f82 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_65f82.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_65f82.dir/tf_version.cpp.o -o cmTC_65f82 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b0c4aa/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c54bc8/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b0c4aa/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c54bc8/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8c70bf.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8c70bf.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-42ee9c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-42ee9c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_302b9 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_302b9.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_302b9.dir/tf_version.cpp.o -o cmTC_302b9 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6e9326/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-973158/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-6e9326/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-973158/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-84578b.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-84578b.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2a1f02.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-2a1f02.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_088dc && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_088dc.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_088dc.dir/tf_version.cpp.o -o cmTC_088dc && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c1abcb/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cd7a39/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-c1abcb/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cd7a39/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a75120.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a75120.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0f7df4.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0f7df4.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_0f2f2 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_0f2f2.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_0f2f2.dir/tf_version.cpp.o -o cmTC_0f2f2 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-cd31bc/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cbd581/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-cd31bc/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cbd581/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b16caa.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b16caa.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-70d731.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-70d731.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ca257 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_ca257.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_ca257.dir/tf_version.cpp.o -o cmTC_ca257 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-aeabb2/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-5e8cec/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-aeabb2/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-5e8cec/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d99124.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d99124.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1126d1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1126d1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_65bf9 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_65bf9.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_65bf9.dir/tf_version.cpp.o -o cmTC_65bf9 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4a5db0/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c105dd/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4a5db0/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c105dd/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a30cea.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a30cea.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-37fce1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-37fce1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8b12e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8b12e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8b12e.dir/tf_version.cpp.o -o cmTC_8b12e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f2a8d9/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-310ba7/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-f2a8d9/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-310ba7/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a15c09.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a15c09.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-9e7054.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-9e7054.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_699d5 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_699d5.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_699d5.dir/tf_version.cpp.o -o cmTC_699d5 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f9b6c7/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-624d66/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-f9b6c7/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-624d66/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b9091d.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b9091d.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8e2e40.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-8e2e40.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_2f9fe && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_2f9fe.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_2f9fe.dir/tf_version.cpp.o -o cmTC_2f9fe && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-99a8f1/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-1b6217/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-99a8f1/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-1b6217/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-e1c044.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-e1c044.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-32f790.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-32f790.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_dfc48 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_dfc48.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_dfc48.dir/tf_version.cpp.o -o cmTC_dfc48 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-624f61/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-aa882d/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-624f61/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-aa882d/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-3eae87.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-3eae87.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-bb7696.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-bb7696.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d8e6c && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d8e6c.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d8e6c.dir/tf_version.cpp.o -o cmTC_d8e6c && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4e469f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cf642e/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4e469f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cf642e/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ff54d9.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ff54d9.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7dfb4d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7dfb4d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_fbb9a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_fbb9a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_fbb9a.dir/tf_version.cpp.o -o cmTC_fbb9a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-905b41/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-7a0f44/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-905b41/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-7a0f44/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-adfe32.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-adfe32.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-95787c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-95787c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_1ba5c && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_1ba5c.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_1ba5c.dir/tf_version.cpp.o -o cmTC_1ba5c && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-99fb92/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-45fae1/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-99fb92/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-45fae1/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0e8df0.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0e8df0.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-346a9c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-346a9c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_50880 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_50880.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_50880.dir/tf_version.cpp.o -o cmTC_50880 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6d2954/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-7ce456/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-6d2954/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-7ce456/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-96f2af.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-96f2af.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-53b2aa.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-53b2aa.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_21d78 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_21d78.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_21d78.dir/tf_version.cpp.o -o cmTC_21d78 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-3addfc/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-4ad0e1/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-3addfc/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-4ad0e1/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-96dce5.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-96dce5.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-025d38.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-025d38.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_33503 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_33503.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_33503.dir/tf_version.cpp.o -o cmTC_33503 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-3ad5cf/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-becd1f/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-3ad5cf/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-becd1f/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-4db557.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-4db557.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7776d6.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7776d6.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_08540 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_08540.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_08540.dir/tf_version.cpp.o -o cmTC_08540 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8633e9/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f55b64/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8633e9/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f55b64/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b145d9.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b145d9.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2686b1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-2686b1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_c5f11 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_c5f11.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_c5f11.dir/tf_version.cpp.o -o cmTC_c5f11 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8f7292/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b730a8/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8f7292/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b730a8/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-3f31ae.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-3f31ae.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-035576.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-035576.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ae41d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_ae41d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_ae41d.dir/tf_version.cpp.o -o cmTC_ae41d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-72c67b/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b15bfe/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-72c67b/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b15bfe/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d56312.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d56312.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-138fdb.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-138fdb.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_9eca0 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_9eca0.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_9eca0.dir/tf_version.cpp.o -o cmTC_9eca0 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c1176c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-fa4ff0/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-c1176c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-fa4ff0/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ee7f0c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ee7f0c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1077ef.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1077ef.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_5b887 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_5b887.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_5b887.dir/tf_version.cpp.o -o cmTC_5b887 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ee77a5/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-4528c9/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-ee77a5/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-4528c9/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-08a918.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-08a918.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-36ee91.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-36ee91.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_01db4 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_01db4.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_01db4.dir/tf_version.cpp.o -o cmTC_01db4 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-97cfea/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-75dfd5/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-97cfea/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-75dfd5/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ec5dc7.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ec5dc7.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ba9956.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-ba9956.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_878d4 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_878d4.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_878d4.dir/tf_version.cpp.o -o cmTC_878d4 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a54cd0/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c36bd3/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a54cd0/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c36bd3/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-fbb6ee.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-fbb6ee.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-86741a.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-86741a.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_3278b && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_3278b.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_3278b.dir/tf_version.cpp.o -o cmTC_3278b && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e05d48/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c41790/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-e05d48/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c41790/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-be0732.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-be0732.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a1ad2b.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-a1ad2b.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-80htwqaa/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_58696 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_58696.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_58696.dir/tf_version.cpp.o -o cmTC_58696 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b5a592/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-1c6e8c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b5a592/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-1c6e8c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-46b7bf.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-46b7bf.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b55757.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-b55757.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_45c11 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_45c11.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_45c11.dir/tf_version.cpp.o -o cmTC_45c11 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8e607a/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-944783/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8e607a/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-944783/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-393536.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-393536.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6ea69e.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-6ea69e.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_bc92b && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_bc92b.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_bc92b.dir/tf_version.cpp.o -o cmTC_bc92b && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fa16b0/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cea0bf/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-fa16b0/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cea0bf/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c6c47a.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c6c47a.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c273fe.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-c273fe.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_99f6c && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_99f6c.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_99f6c.dir/tf_version.cpp.o -o cmTC_99f6c && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f8bd3e/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-a33bda/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-f8bd3e/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-a33bda/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-cfe9f3.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-cfe9f3.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fd3ed2.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-fd3ed2.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b65df && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_b65df.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_b65df.dir/tf_version.cpp.o -o cmTC_b65df && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-4e4ca1/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f50fe4/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-4e4ca1/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f50fe4/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0fa690.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0fa690.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f61609.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-f61609.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_465be && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_465be.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_465be.dir/tf_version.cpp.o -o cmTC_465be && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-881002/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-86ced5/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-881002/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-86ced5/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c808eb.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c808eb.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-ccc3d1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-ccc3d1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b1f8f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_b1f8f.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_b1f8f.dir/tf_version.cpp.o -o cmTC_b1f8f && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-47d2e4/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-320665/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-47d2e4/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-320665/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-666fac.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-666fac.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-bca461.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-bca461.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8a663 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8a663.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8a663.dir/tf_version.cpp.o -o cmTC_8a663 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1840f8/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-d88331/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-1840f8/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-d88331/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8bb0ef.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8bb0ef.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-094ff9.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-094ff9.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_8e96e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_8e96e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_8e96e.dir/tf_version.cpp.o -o cmTC_8e96e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-11c599/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f67a9b/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-11c599/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f67a9b/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-bbfc00.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-bbfc00.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-10b9c5.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-10b9c5.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_bf1d4 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_bf1d4.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_bf1d4.dir/tf_version.cpp.o -o cmTC_bf1d4 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-beadb0/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-e7079c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-beadb0/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-e7079c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-4cb35d.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-4cb35d.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-24e365.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-24e365.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_531a6 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_531a6.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_531a6.dir/tf_version.cpp.o -o cmTC_531a6 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2e9956/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-6116ec/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-2e9956/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-6116ec/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-50969f.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-50969f.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-9df869.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-9df869.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d239a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d239a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d239a.dir/tf_version.cpp.o -o cmTC_d239a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-57dd5e/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-5df708/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-57dd5e/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-5df708/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-54c84c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-54c84c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-27f888.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-27f888.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_90d94 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_90d94.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_90d94.dir/tf_version.cpp.o -o cmTC_90d94 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0b0212/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-6a7943/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-0b0212/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-6a7943/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-521c9b.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-521c9b.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-f7d51c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-f7d51c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_80904 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_80904.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_80904.dir/tf_version.cpp.o -o cmTC_80904 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c338e5/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c13d3b/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-c338e5/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c13d3b/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-55749c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-55749c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-83a63d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-83a63d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_aefc4 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_aefc4.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_aefc4.dir/tf_version.cpp.o -o cmTC_aefc4 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-108f48/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-18d8d5/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-108f48/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-18d8d5/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-592c6c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-592c6c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-78d5ca.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-78d5ca.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_4d027 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_4d027.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_4d027.dir/tf_version.cpp.o -o cmTC_4d027 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a29866/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b8790a/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a29866/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b8790a/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-9ede7b.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-9ede7b.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-80c83b.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-80c83b.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_019ce && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_019ce.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_019ce.dir/tf_version.cpp.o -o cmTC_019ce && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a2a11f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f49886/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-a2a11f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f49886/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-1f6f7f.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-1f6f7f.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-22bc46.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-22bc46.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_34203 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_34203.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_34203.dir/tf_version.cpp.o -o cmTC_34203 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fbf891/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-94500e/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-fbf891/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-94500e/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-ae5d62.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-ae5d62.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1c6bb4.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1c6bb4.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7ff5f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_7ff5f.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_7ff5f.dir/tf_version.cpp.o -o cmTC_7ff5f && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-71bcc4/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-04af92/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-71bcc4/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-04af92/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a2aab5.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a2aab5.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-16f08d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-16f08d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_f1e6c && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_f1e6c.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_f1e6c.dir/tf_version.cpp.o -o cmTC_f1e6c && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8707e4/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-a4fa51/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8707e4/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-a4fa51/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-f57181.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-f57181.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fee1c0.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-fee1c0.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_32cdf && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_32cdf.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_32cdf.dir/tf_version.cpp.o -o cmTC_32cdf && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b42905/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-cc0e3f/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b42905/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-cc0e3f/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-add80d.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-add80d.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fed6ac.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-fed6ac.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_dc6a1 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_dc6a1.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_dc6a1.dir/tf_version.cpp.o -o cmTC_dc6a1 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0c71a5/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-26f73a/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-0c71a5/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-26f73a/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-7f44a3.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-7f44a3.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-681d3d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-681d3d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_9a394 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_9a394.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_9a394.dir/tf_version.cpp.o -o cmTC_9a394 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-52e6bd/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-031313/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-52e6bd/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-031313/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-81b342.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-81b342.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1146ce.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1146ce.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_0b85a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_0b85a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_0b85a.dir/tf_version.cpp.o -o cmTC_0b85a && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-410d35/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-215c14/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-410d35/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-215c14/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-69a359.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-69a359.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7cf3ad.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7cf3ad.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-gk4g4ht_/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_1333c && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_1333c.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_1333c.dir/tf_version.cpp.o -o cmTC_1333c && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.7.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b7b5f4/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-30dace/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b7b5f4/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-30dace/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-2f70cb.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-2f70cb.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-fef337.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-fef337.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_4bdb2 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_4bdb2.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_4bdb2.dir/tf_version.cpp.o -o cmTC_4bdb2 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d08eaf/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-72c13e/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-d08eaf/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-72c13e/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-453aca.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-453aca.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-71cc04.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-71cc04.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_d858d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_d858d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_d858d.dir/tf_version.cpp.o -o cmTC_d858d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b7442c/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-b92268/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b7442c/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-b92268/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-59e973.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-59e973.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0e35bd.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0e35bd.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_193d9 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_193d9.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_193d9.dir/tf_version.cpp.o -o cmTC_193d9 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0007bf/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-bbe90c/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-0007bf/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-bbe90c/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-0dc9eb.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-0dc9eb.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-1cc236.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-1cc236.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_601c0 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_601c0.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_601c0.dir/tf_version.cpp.o -o cmTC_601c0 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6aad23/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-ea2d38/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-6aad23/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-ea2d38/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-db8d36.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-db8d36.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-067f91.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-067f91.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_53472 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_53472.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_53472.dir/tf_version.cpp.o -o cmTC_53472 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2c4a86/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-744f6e/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-2c4a86/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-744f6e/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-466477.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-466477.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5ff171.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-5ff171.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_cab5e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_cab5e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_cab5e.dir/tf_version.cpp.o -o cmTC_cab5e && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-950e3d/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-501456/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-950e3d/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-501456/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8aab10.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8aab10.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-176579.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-176579.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_3b3e1 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_3b3e1.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_3b3e1.dir/tf_version.cpp.o -o cmTC_3b3e1 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-6d77f2/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c901ab/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-6d77f2/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c901ab/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-4a7c46.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-4a7c46.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-593574.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-593574.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_854fe && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_854fe.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_854fe.dir/tf_version.cpp.o -o cmTC_854fe && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-898d80/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-8b9197/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-898d80/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-8b9197/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-88faad.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-88faad.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-d57274.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-d57274.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7e2de && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_7e2de.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_7e2de.dir/tf_version.cpp.o -o cmTC_7e2de && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-faa082/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-1813e9/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-faa082/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-1813e9/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-1f61a9.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-1f61a9.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-613d87.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-613d87.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_ad7e7 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_ad7e7.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_ad7e7.dir/tf_version.cpp.o -o cmTC_ad7e7 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0d7762/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c5ac1f/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-0d7762/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c5ac1f/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-3e31da.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-3e31da.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-a9cb7c.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-a9cb7c.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7a2d7 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_7a2d7.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_7a2d7.dir/tf_version.cpp.o -o cmTC_7a2d7 && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-247602/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f610d7/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-247602/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f610d7/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c5a311.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c5a311.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-16b0fc.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-16b0fc.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_40cbc && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_40cbc.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_40cbc.dir/tf_version.cpp.o -o cmTC_40cbc && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-89081d/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-07268a/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-89081d/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-07268a/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-f4bc9b.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-f4bc9b.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-08a178.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-08a178.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_5a06d && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_5a06d.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_5a06d.dir/tf_version.cpp.o -o cmTC_5a06d && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-97e632/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-f04600/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-97e632/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-f04600/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-d9d08c.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-d9d08c.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7de6d0.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7de6d0.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Parsed C implicit link information:
+ link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
+ ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-xCCt4m]
+ ignore line: []
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_e54aa && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -v -o CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -c /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -version -o /tmp/ccZ5Ngxl.s]
+ ignore line: [GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
+ ignore line: [#include "..." search starts here:]
+ ignore line: [#include <...> search starts here:]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ ignore line: [ /usr/local/include/python3.7m]
+ ignore line: [ /usr/local/lib/python3.7/site-packages/torch/include/]
+ ignore line: [ /opt/dtk-22.04.2/include]
+ ignore line: [ /opt/dtk-22.04.2/hip/include]
+ ignore line: [ /opt/dtk-22.04.2/llvm/include]
+ ignore line: [ .]
+ ignore line: [ /usr/local/include]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/include]
+ ignore line: [ /usr/include]
+ ignore line: [End of search list.]
+ ignore line: [GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o /tmp/ccZ5Ngxl.s]
+ ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -v CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -o cmTC_e54aa && :]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
+ ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e54aa' '-mtune=generic' '-march=x86-64']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccxhJoxo.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_e54aa /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
+ arg [-plugin] ==> ignore
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
+ arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccxhJoxo.res] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [-plugin-opt=-pass-through=-lc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [--build-id] ==> ignore
+ arg [--no-add-needed] ==> ignore
+ arg [--eh-frame-hdr] ==> ignore
+ arg [--hash-style=gnu] ==> ignore
+ arg [-m] ==> ignore
+ arg [elf_x86_64] ==> ignore
+ arg [-dynamic-linker] ==> ignore
+ arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+ arg [-o] ==> ignore
+ arg [cmTC_e54aa] ==> ignore
+ arg [/lib/../lib64/crt1.o] ==> obj [/lib/../lib64/crt1.o]
+ arg [/lib/../lib64/crti.o] ==> obj [/lib/../lib64/crti.o]
+ arg [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o] ==> obj [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64]
+ arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
+ arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
+ arg [CMakeFiles/cmTC_e54aa.dir/CMakeCCompilerABI.c.o] ==> ignore
+ arg [-lgcc] ==> lib [gcc]
+ arg [--as-needed] ==> ignore
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [--no-as-needed] ==> ignore
+ arg [-lc] ==> lib [c]
+ arg [-lgcc] ==> lib [gcc]
+ arg [--as-needed] ==> ignore
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [--no-as-needed] ==> ignore
+ arg [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o] ==> obj [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o]
+ arg [/lib/../lib64/crtn.o] ==> obj [/lib/../lib64/crtn.o]
+ collapse obj [/lib/../lib64/crt1.o] ==> [/lib64/crt1.o]
+ collapse obj [/lib/../lib64/crti.o] ==> [/lib64/crti.o]
+ collapse obj [/lib/../lib64/crtn.o] ==> [/lib64/crtn.o]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> [/opt/rh/devtoolset-7/root/usr/lib64]
+ collapse library dir [/lib/../lib64] ==> [/lib64]
+ collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> [/opt/rh/devtoolset-7/root/usr/lib]
+ implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
+ implicit objs: [/lib64/crt1.o;/lib64/crti.o;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o;/lib64/crtn.o]
+ implicit dirs: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib]
+ implicit fwks: []
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:57 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "CMakeLists.txt:2 (project)"
+ checks:
+ - "Detecting CXX compiler ABI info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-c68rPo"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-c68rPo"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "CMAKE_CXX_ABI_COMPILED"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-c68rPo
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_533ee && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_533ee.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_533ee.dir/tf_version.cpp.o -o cmTC_533ee && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_4d780 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -v -o CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -c /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccTuQrNw.s
+ GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-5daebc/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-1f1cdc/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-5daebc/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-1f1cdc/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-f73c9f.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-f73c9f.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0166df.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0166df.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
+ #include "..." search starts here:
+ #include <...> search starts here:
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include
+ /usr/local/include/python3.7m
+ /usr/local/lib/python3.7/site-packages/torch/include/
+ /opt/dtk-22.04.2/include
+ /opt/dtk/llvm/include
+ .
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
+ /usr/local/include
+ /opt/rh/devtoolset-7/root/usr/include
+ /usr/include
+ End of search list.
+ GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_9396e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_9396e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_9396e.dir/tf_version.cpp.o -o cmTC_9396e && :
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccTuQrNw.s
+ GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -v CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4d780 && :
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
+ COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4d780' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc3xNSjv.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_4d780 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4d780' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:127 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-84cc14/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-ee0f6b/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-84cc14/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-ee0f6b/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-b62c7f.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-b62c7f.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-bfa0d1.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-bfa0d1.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Parsed CXX implicit include dir info: rv=done
+ found start of include info
+ found start of implicit include info
+ add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ add: [/usr/local/include/python3.7m]
+ add: [/usr/local/lib/python3.7/site-packages/torch/include/]
+ add: [/opt/dtk-22.04.2/include]
+ add: [/opt/dtk/llvm/include]
+ add: [.]
+ add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7]
+ add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux]
+ add: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward]
+ add: [/usr/local/include]
+ add: [/opt/rh/devtoolset-7/root/usr/include]
+ add: [/usr/include]
+ end of search list found
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ collapse include dir [/usr/local/include/python3.7m] ==> [/usr/local/include/python3.7m]
+ collapse include dir [/usr/local/lib/python3.7/site-packages/torch/include/] ==> [/usr/local/lib/python3.7/site-packages/torch/include]
+ collapse include dir [/opt/dtk-22.04.2/include] ==> [/opt/dtk-22.04.2/include]
+ collapse include dir [/opt/dtk/llvm/include] ==> [/opt/dtk/llvm/include]
+ skipping relative include dir [.]
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7] ==> [/opt/rh/devtoolset-7/root/usr/include/c++/7]
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux] ==> [/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux]
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward] ==> [/opt/rh/devtoolset-7/root/usr/include/c++/7/backward]
+ collapse include dir [/usr/local/include] ==> [/usr/local/include]
+ collapse include dir [/opt/rh/devtoolset-7/root/usr/include] ==> [/opt/rh/devtoolset-7/root/usr/include]
+ collapse include dir [/usr/include] ==> [/usr/include]
+ implicit include dirs: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include;/usr/local/include/python3.7m;/usr/local/lib/python3.7/site-packages/torch/include;/opt/dtk-22.04.2/include;/opt/dtk/llvm/include;/opt/rh/devtoolset-7/root/usr/include/c++/7;/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux;/opt/rh/devtoolset-7/root/usr/include/c++/7/backward;/usr/local/include;/opt/rh/devtoolset-7/root/usr/include;/usr/include]
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
-
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_a631f && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_a631f.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_a631f.dir/tf_version.cpp.o -o cmTC_a631f && :
-
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake:152 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)"
+ - "CMakeLists.txt:2 (project)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-8774bb/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-631dae/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-8774bb/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-631dae/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-a1b878.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-a1b878.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-7097c3.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-7097c3.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Parsed CXX implicit link information:
+ link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
+ ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-c68rPo]
+ ignore line: []
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_4d780 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -v -o CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -c /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -version -o /tmp/ccTuQrNw.s]
+ ignore line: [GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
+ ignore line: [#include "..." search starts here:]
+ ignore line: [#include <...> search starts here:]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ ignore line: [ /usr/local/include/python3.7m]
+ ignore line: [ /usr/local/lib/python3.7/site-packages/torch/include/]
+ ignore line: [ /opt/dtk-22.04.2/include]
+ ignore line: [ /opt/dtk/llvm/include]
+ ignore line: [ .]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward]
+ ignore line: [ /usr/local/include]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/include]
+ ignore line: [ /usr/include]
+ ignore line: [End of search list.]
+ ignore line: [GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccTuQrNw.s]
+ ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -v CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_4d780 && :]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
+ ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_4d780' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc3xNSjv.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_4d780 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
+ arg [-plugin] ==> ignore
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
+ arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/cc3xNSjv.res] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [--build-id] ==> ignore
+ arg [--no-add-needed] ==> ignore
+ arg [--eh-frame-hdr] ==> ignore
+ arg [--hash-style=gnu] ==> ignore
+ arg [-m] ==> ignore
+ arg [elf_x86_64] ==> ignore
+ arg [-dynamic-linker] ==> ignore
+ arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+ arg [-o] ==> ignore
+ arg [cmTC_4d780] ==> ignore
+ arg [/lib/../lib64/crt1.o] ==> obj [/lib/../lib64/crt1.o]
+ arg [/lib/../lib64/crti.o] ==> obj [/lib/../lib64/crti.o]
+ arg [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o] ==> obj [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64]
+ arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
+ arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
+ arg [CMakeFiles/cmTC_4d780.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
+ arg [-lstdc++] ==> lib [stdc++]
+ arg [-lm] ==> lib [m]
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [-lgcc] ==> lib [gcc]
+ arg [-lc] ==> lib [c]
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [-lgcc] ==> lib [gcc]
+ arg [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o] ==> obj [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o]
+ arg [/lib/../lib64/crtn.o] ==> obj [/lib/../lib64/crtn.o]
+ collapse obj [/lib/../lib64/crt1.o] ==> [/lib64/crt1.o]
+ collapse obj [/lib/../lib64/crti.o] ==> [/lib64/crti.o]
+ collapse obj [/lib/../lib64/crtn.o] ==> [/lib64/crtn.o]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> [/opt/rh/devtoolset-7/root/usr/lib64]
+ collapse library dir [/lib/../lib64] ==> [/lib64]
+ collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> [/opt/rh/devtoolset-7/root/usr/lib]
+ implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
+ implicit objs: [/lib64/crt1.o;/lib64/crti.o;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o;/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o;/lib64/crtn.o]
+ implicit dirs: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib]
+ implicit fwks: []
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
kind: "try_run-v1"
@@ -19882,880 +1651,618 @@ events:
- "cmake/Findtensorflow.cmake:169 (try_run)"
- "CMakeLists.txt:88 (find_package)"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_9eda3 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_9eda3.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_9eda3.dir/tf_version.cpp.o -o cmTC_9eda3 && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_304e8 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_304e8.dir/tf_version.cpp.o -c /root/deepmd-kit/source/cmake/tf_version.cpp
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_304e8.dir/tf_version.cpp.o -o cmTC_304e8 && :
exitCode: 0
runResult:
variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
cached: true
stdout: |
- 2.9.0
+ 2.7.0
exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-84917d/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-dc8144/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-84917d/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-dc8144/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-be7cb5.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-be7cb5.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-2c5c52.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-2c5c52.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake:101 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake:76 (cmake_check_source_compiles)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:97 (CHECK_C_SOURCE_COMPILES)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:163 (_threads_check_libc)"
+ - "CMakeLists.txt:109 (find_package)"
+ checks:
+ - "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-FnSHZr"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-FnSHZr"
cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
+ CMAKE_C_FLAGS: ""
+ CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "CMAKE_HAVE_LIBC_PTHREAD"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-FnSHZr
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_b3590 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_b3590.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_b3590.dir/tf_version.cpp.o -o cmTC_b3590 && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_1bda6 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_1bda6.dir/src.c.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-FnSHZr/src.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc CMakeFiles/cmTC_1bda6.dir/src.c.o -o cmTC_1bda6 && :
+ FAILED: cmTC_1bda6
+ : && /opt/rh/devtoolset-7/root/usr/bin/cc CMakeFiles/cmTC_1bda6.dir/src.c.o -o cmTC_1bda6 && :
+ CMakeFiles/cmTC_1bda6.dir/src.c.o: In function `main':
+ src.c:(.text+0x2d): undefined reference to `pthread_create'
+ src.c:(.text+0x39): undefined reference to `pthread_detach'
+ src.c:(.text+0x45): undefined reference to `pthread_cancel'
+ src.c:(.text+0x56): undefined reference to `pthread_join'
+ src.c:(.text+0x6a): undefined reference to `pthread_atfork'
+ collect2: error: ld returned 1 exit status
+ ninja: build stopped: subcommand failed.
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
+ exitCode: 1
-
- kind: "message-v1"
+ kind: "try_compile-v1"
backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-60581b/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-38a9c2/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-60581b/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-38a9c2/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-506bd1.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-506bd1.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-72817b.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-72817b.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:175 (_threads_check_lib)"
+ - "CMakeLists.txt:109 (find_package)"
+ checks:
+ - "Looking for pthread_create in pthreads"
+ directories:
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuxkkv"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuxkkv"
+ cmakeVariables:
+ CMAKE_C_FLAGS: ""
+ CMAKE_C_FLAGS_DEBUG: "-g"
+ CMAKE_EXE_LINKER_FLAGS: ""
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
+ buildResult:
+ variable: "CMAKE_HAVE_PTHREADS_CREATE"
+ cached: true
+ stdout: |
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuxkkv
+
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7a7aa && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_7a7aa.dir/CheckFunctionExists.c.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-yuxkkv/CheckFunctionExists.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7a7aa.dir/CheckFunctionExists.c.o -o cmTC_7a7aa -lpthreads && :
+ FAILED: cmTC_7a7aa
+ : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_7a7aa.dir/CheckFunctionExists.c.o -o cmTC_7a7aa -lpthreads && :
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/ld: cannot find -lpthreads
+ collect2: error: ld returned 1 exit status
+ ninja: build stopped: subcommand failed.
+
+ exitCode: 1
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake:71 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:112 (CHECK_LIBRARY_EXISTS)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake:176 (_threads_check_lib)"
+ - "CMakeLists.txt:109 (find_package)"
+ checks:
+ - "Looking for pthread_create in pthread"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn9XMy"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn9XMy"
cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
+ CMAKE_C_FLAGS: ""
+ CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "CMAKE_HAVE_PTHREAD_CREATE"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn9XMy
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_7dfc1 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_7dfc1.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_7dfc1.dir/tf_version.cpp.o -o cmTC_7dfc1 && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_fe42a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_fe42a.dir/CheckFunctionExists.c.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-rn9XMy/CheckFunctionExists.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_fe42a.dir/CheckFunctionExists.c.o -o cmTC_fe42a -lpthread && :
exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
+ -
+ kind: "try_compile-v1"
+ backtrace:
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "CMakeLists.txt:192 (find_package)"
+ description: "Detecting C OpenMP compiler info"
+ directories:
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK"
+ cmakeVariables:
+ CMAKE_C_FLAGS: ""
+ CMAKE_C_FLAGS_DEBUG: "-g"
+ CMAKE_EXE_LINKER_FLAGS: ""
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
+ buildResult:
+ variable: "OpenMP_COMPILE_RESULT_C_fopenmp"
cached: true
stdout: |
- 2.9.0
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK
+
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_34899 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v -o CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK/OpenMPTryFlag.c
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -version -fopenmp -o /tmp/ccO2UmBf.s
+ GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
+
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"
+ ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
+ #include "..." search starts here:
+ #include <...> search starts here:
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include
+ /usr/local/include/python3.7m
+ /usr/local/lib/python3.7/site-packages/torch/include/
+ /opt/dtk-22.04.2/include
+ /opt/dtk-22.04.2/hip/include
+ /opt/dtk-22.04.2/llvm/include
+ .
+ /usr/local/include
+ /opt/rh/devtoolset-7/root/usr/include
+ /usr/include
+ End of search list.
+ GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
+
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o /tmp/ccO2UmBf.s
+ GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -o cmTC_34899 -v && :
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc
+ COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_34899' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgbrr1d.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_34899 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -lgomp -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_34899' '-v' '-mtune=generic' '-march=x86-64' '-pthread'
+
exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:262 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "CMakeLists.txt:192 (find_package)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b9b32f/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-165b0e/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b9b32f/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-165b0e/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-dd5e30.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-dd5e30.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-c2c4b8.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-c2c4b8.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Parsed C OpenMP implicit link information from above output:
+ link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
+ ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK]
+ ignore line: []
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_34899 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v -o CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK/OpenMPTryFlag.c]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1 -quiet -v -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-4hcclK/OpenMPTryFlag.c -quiet -dumpbase OpenMPTryFlag.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -version -fopenmp -o /tmp/ccO2UmBf.s]
+ ignore line: [GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/hip/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
+ ignore line: [#include "..." search starts here:]
+ ignore line: [#include <...> search starts here:]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ ignore line: [ /usr/local/include/python3.7m]
+ ignore line: [ /usr/local/lib/python3.7/site-packages/torch/include/]
+ ignore line: [ /opt/dtk-22.04.2/include]
+ ignore line: [ /opt/dtk-22.04.2/hip/include]
+ ignore line: [ /opt/dtk-22.04.2/llvm/include]
+ ignore line: [ .]
+ ignore line: [ /usr/local/include]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/include]
+ ignore line: [ /usr/include]
+ ignore line: [End of search list.]
+ ignore line: [GNU C11 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [Compiler executable checksum: 9297c6e7ca8f6c9f2474dcdc9331bbe8]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o /tmp/ccO2UmBf.s]
+ ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o' '-c' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -v CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -o cmTC_34899 -v && :]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/cc]
+ ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_34899' '-v' '-mtune=generic' '-march=x86-64' '-pthread']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccgbrr1d.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_34899 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o -lgomp -lgcc --as-needed -lgcc_s --no-as-needed -lpthread -lc -lgcc --as-needed -lgcc_s --no-as-needed /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
+ arg [-plugin] ==> ignore
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
+ arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccgbrr1d.res] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
+ arg [-plugin-opt=-pass-through=-lc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [--build-id] ==> ignore
+ arg [--no-add-needed] ==> ignore
+ arg [--eh-frame-hdr] ==> ignore
+ arg [--hash-style=gnu] ==> ignore
+ arg [-m] ==> ignore
+ arg [elf_x86_64] ==> ignore
+ arg [-dynamic-linker] ==> ignore
+ arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+ arg [-o] ==> ignore
+ arg [cmTC_34899] ==> ignore
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64]
+ arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
+ arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
+ arg [CMakeFiles/cmTC_34899.dir/OpenMPTryFlag.c.o] ==> ignore
+ arg [-lgomp] ==> lib [gomp]
+ arg [-lgcc] ==> lib [gcc]
+ arg [--as-needed] ==> ignore
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [--no-as-needed] ==> ignore
+ arg [-lpthread] ==> lib [pthread]
+ arg [-lc] ==> lib [c]
+ arg [-lgcc] ==> lib [gcc]
+ arg [--as-needed] ==> ignore
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [--no-as-needed] ==> ignore
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> [/opt/rh/devtoolset-7/root/usr/lib64]
+ collapse library dir [/lib/../lib64] ==> [/lib64]
+ collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> [/opt/rh/devtoolset-7/root/usr/lib]
+ implicit libs: [gomp;gcc;gcc_s;pthread;c;gcc;gcc_s]
+ implicit objs: []
+ implicit dirs: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib]
+ implicit fwks: []
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:219 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "CMakeLists.txt:192 (find_package)"
+ description: "Detecting CXX OpenMP compiler info"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "OpenMP_COMPILE_RESULT_CXX_fopenmp"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_04e23 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_04e23.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_04e23.dir/tf_version.cpp.o -o cmTC_04e23 && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_eafa2 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v -std=gnu++14 -o CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V/OpenMPTryFlag.cpp
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -std=gnu++14 -version -fopenmp -o /tmp/ccgHwPKm.s
+ GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
- exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-e585a1/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-2fae66/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-e585a1/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-2fae66/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-8364ab.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-8364ab.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-0f2aad.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-0f2aad.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- -
- kind: "try_run-v1"
- backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
- directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
- CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
- buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
- cached: true
- stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring duplicate directory "/usr/local/include/python3.7m"
+ ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"
+ ignoring duplicate directory "/opt/dtk-22.04.2/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/dtk/include"
+ ignoring duplicate directory "/opt/dtk/llvm/include"
+ ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"
+ ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
+ #include "..." search starts here:
+ #include <...> search starts here:
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include
+ /usr/local/include/python3.7m
+ /usr/local/lib/python3.7/site-packages/torch/include/
+ /opt/dtk-22.04.2/include
+ /opt/dtk/llvm/include
+ .
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
+ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
+ /usr/local/include
+ /opt/rh/devtoolset-7/root/usr/include
+ /usr/include
+ End of search list.
+ GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)
+ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5), GMP version 6.0.0, MPFR version 3.1.1, MPC version 1.0.1, isl version isl-0.16.1-GMP
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_9f47e && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_9f47e.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_9f47e.dir/tf_version.cpp.o -o cmTC_9f47e && :
+ GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
+ Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o /tmp/ccgHwPKm.s
+ GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -o cmTC_eafa2 -v && :
+ Using built-in specs.
+ COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++
+ COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper
+ Target: x86_64-redhat-linux
+ Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
+ Thread model: posix
+ gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC)
+ COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/
+ LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/
+ Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_eafa2' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
+ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwtSQgl.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_eafa2 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
+ COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_eafa2' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread'
exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
-
kind: "message-v1"
backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:262 (message)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:483 (_OPENMP_GET_FLAGS)"
+ - "CMakeLists.txt:192 (find_package)"
message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-27f429/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-c4a572/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-27f429/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-c4a572/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-c0e5d6.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-c0e5d6.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-493b1d.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-493b1d.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
+ Parsed CXX OpenMP implicit link information from above output:
+ link line regex: [^( *|.*[/\\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
+ ignore line: [Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V]
+ ignore line: []
+ ignore line: [Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_eafa2 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v -std=gnu++14 -o CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V/OpenMPTryFlag.cpp]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/cc1plus -quiet -v -D_GNU_SOURCE -D_REENTRANT /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-retW6V/OpenMPTryFlag.cpp -quiet -dumpbase OpenMPTryFlag.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -std=gnu++14 -version -fopenmp -o /tmp/ccgHwPKm.s]
+ ignore line: [GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring duplicate directory "/usr/local/include/python3.7m"]
+ ignore line: [ignoring duplicate directory "/usr/local/lib/python3.7/site-packages/torch/include/"]
+ ignore line: [ignoring duplicate directory "/opt/dtk-22.04.2/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/include"]
+ ignore line: [ignoring duplicate directory "/opt/dtk/llvm/include"]
+ ignore line: [ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include-fixed"]
+ ignore line: [ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"]
+ ignore line: [#include "..." search starts here:]
+ ignore line: [#include <...> search starts here:]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include]
+ ignore line: [ /usr/local/include/python3.7m]
+ ignore line: [ /usr/local/lib/python3.7/site-packages/torch/include/]
+ ignore line: [ /opt/dtk-22.04.2/include]
+ ignore line: [ /opt/dtk/llvm/include]
+ ignore line: [ .]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward]
+ ignore line: [ /usr/local/include]
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/include]
+ ignore line: [ /usr/include]
+ ignore line: [End of search list.]
+ ignore line: [GNU C++14 (GCC) version 7.3.1 20180303 (Red Hat 7.3.1-5) (x86_64-redhat-linux)]
+ ignore line: [ compiled by GNU C version 7.3.1 20180303 (Red Hat 7.3.1-5) GMP version 6.0.0 MPFR version 3.1.1 MPC version 1.0.1 isl version isl-0.16.1-GMP]
+ ignore line: []
+ ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
+ ignore line: [Compiler executable checksum: 2f06f4cd9d92155a269283acf1f10eb6]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/as -v --64 -o CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o /tmp/ccgHwPKm.s]
+ ignore line: [GNU assembler version 2.28 (x86_64-redhat-linux) using BFD version version 2.28-11.el7]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-std=gnu++14' '-o' 'CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ ignore line: [[2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -v CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -o cmTC_eafa2 -v && :]
+ ignore line: [Using built-in specs.]
+ ignore line: [COLLECT_GCC=/opt/rh/devtoolset-7/root/usr/bin/c++]
+ ignore line: [COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper]
+ ignore line: [Target: x86_64-redhat-linux]
+ ignore line: [Configured with: ../configure --enable-bootstrap --enable-languages=c c++ fortran lto --prefix=/opt/rh/devtoolset-7/root/usr --mandir=/opt/rh/devtoolset-7/root/usr/share/man --infodir=/opt/rh/devtoolset-7/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-7.3.1-20180303/obj-x86_64-redhat-linux/isl-install --enable-libmpx --enable-gnu-indirect-function --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux]
+ ignore line: [Thread model: posix]
+ ignore line: [gcc version 7.3.1 20180303 (Red Hat 7.3.1-5) (GCC) ]
+ ignore line: [COMPILER_PATH=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/]
+ ignore line: [LIBRARY_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../:/lib/:/usr/lib/]
+ ignore line: [Reading specs from /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/libgomp.spec]
+ ignore line: [COLLECT_GCC_OPTIONS='-fopenmp' '-v' '-o' 'cmTC_eafa2' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-pthread']
+ link line: [ /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2 -plugin /opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so -plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccwtSQgl.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lpthread -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --no-add-needed --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_eafa2 /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../.. CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o]
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/collect2] ==> ignore
+ arg [-plugin] ==> ignore
+ arg [/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/liblto_plugin.so] ==> ignore
+ arg [-plugin-opt=/opt/rh/devtoolset-7/root/usr/libexec/gcc/x86_64-redhat-linux/7/lto-wrapper] ==> ignore
+ arg [-plugin-opt=-fresolution=/tmp/ccwtSQgl.res] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lpthread] ==> ignore
+ arg [-plugin-opt=-pass-through=-lc] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
+ arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
+ arg [--build-id] ==> ignore
+ arg [--no-add-needed] ==> ignore
+ arg [--eh-frame-hdr] ==> ignore
+ arg [--hash-style=gnu] ==> ignore
+ arg [-m] ==> ignore
+ arg [elf_x86_64] ==> ignore
+ arg [-dynamic-linker] ==> ignore
+ arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
+ arg [-o] ==> ignore
+ arg [cmTC_eafa2] ==> ignore
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64]
+ arg [-L/lib/../lib64] ==> dir [/lib/../lib64]
+ arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64]
+ arg [-L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..]
+ arg [CMakeFiles/cmTC_eafa2.dir/OpenMPTryFlag.cpp.o] ==> ignore
+ arg [-lstdc++] ==> lib [stdc++]
+ arg [-lm] ==> lib [m]
+ arg [-lgomp] ==> lib [gomp]
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [-lgcc] ==> lib [gcc]
+ arg [-lpthread] ==> lib [pthread]
+ arg [-lc] ==> lib [c]
+ arg [-lgcc_s] ==> lib [gcc_s]
+ arg [-lgcc] ==> lib [gcc]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7] ==> [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64] ==> [/opt/rh/devtoolset-7/root/usr/lib64]
+ collapse library dir [/lib/../lib64] ==> [/lib64]
+ collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64]
+ collapse library dir [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../..] ==> [/opt/rh/devtoolset-7/root/usr/lib]
+ implicit libs: [stdc++;m;gomp;gcc_s;gcc;pthread;c;gcc_s;gcc]
+ implicit objs: []
+ implicit dirs: [/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7;/opt/rh/devtoolset-7/root/usr/lib64;/lib64;/usr/lib64;/opt/rh/devtoolset-7/root/usr/lib]
+ implicit fwks: []
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:419 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)"
+ - "CMakeLists.txt:192 (find_package)"
+ description: "Detecting C OpenMP version"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-K2lK77"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-K2lK77"
cmakeVariables:
- CMAKE_CXX_FLAGS: ""
- CMAKE_CXX_FLAGS_DEBUG: "-g"
+ CMAKE_C_FLAGS: ""
+ CMAKE_C_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "OpenMP_SPECTEST_C_"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-K2lK77
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_293be && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_293be.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_293be.dir/tf_version.cpp.o -o cmTC_293be && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_41b58 && [1/2] /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp -o CMakeFiles/cmTC_41b58.dir/OpenMPCheckVersion.c.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-K2lK77/OpenMPCheckVersion.c
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/cc -fopenmp CMakeFiles/cmTC_41b58.dir/OpenMPCheckVersion.c.o -o cmTC_41b58 && :
exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
-...
-
----
-events:
- -
- kind: "message-v1"
- backtrace:
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:17 (message)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake:64 (__determine_compiler_id_test)"
- - "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake:74 (CMAKE_DETERMINE_COMPILER_ID)"
- - "/opt/dtk-22.10/hip/cmake/FindHIP.cmake:190 (include)"
- - "cmake/FindROCM.cmake:65 (find_package)"
- - "CMakeLists.txt:71 (find_package)"
- message: |
- Compiling the HIP compiler identification source file "CMakeHIPCompilerId.hip" succeeded.
- Compiler: /opt/dtk-22.10/llvm/bin/clang++
- Build flags:
- Id flags: -v
-
- The output was:
- 0
- clang version 14.0.0 (http://10.15.3.7/dcutoolkit/driverruntime/llvm-project.git f6fb91f87b05f2a423bd1d6a2f7382b4e83f5966)
- Target: x86_64-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /opt/dtk-22.10/llvm/bin
- Found candidate GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Selected GCC installation: /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7
- Candidate multilib: .;@m64
- Candidate multilib: 32;@m32
- Selected multilib: .;@m64
- Found HIP installation: /opt/dtk-22.10, version 5.2.22451-8f78d635
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple amdgcn-amd-amdhsa -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model pic -pic-level 1 -fhalf-no-semantic-interposition -mframe-pointer=all -fdenormal-fp-math-f32=preserve-sign,preserve-sign -fno-rounding-math -mconstructor-aliases -aux-target-cpu x86-64 -fcuda-is-device -mllvm -amdgpu-internalize-symbols -fcuda-allow-variadic-functions -fvisibility hidden -fapply-global-visibility-to-externs -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/hip.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ocml.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/ockl.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_daz_opt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_unsafe_math_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_finite_only_off.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_correctly_rounded_sqrt_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_wavefrontsize64_on.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_isa_version_803.bc -mlink-builtin-bitcode /opt/dtk-22.10/amdgcn/bitcode/oclc_abi_version_400.bc -target-cpu gfx803 -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fno-autolink -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-b6e705/CMakeHIPCompilerId-gfx803.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/dtk-22.10/llvm/bin/lld" -flavor gnu --no-undefined -shared -plugin-opt=-amdgpu-internalize-symbols -plugin-opt=mcpu=gfx803 -o /tmp/CMakeHIPCompilerId-6080ae/CMakeHIPCompilerId-gfx803.out /tmp/CMakeHIPCompilerId-b6e705/CMakeHIPCompilerId-gfx803.o
- "/opt/dtk-22.10/llvm/bin/clang-offload-bundler" -type=o -bundle-align=4096 -targets=host-x86_64-unknown-linux,hipv4-amdgcn-amd-amdhsa--gfx803 -input=/dev/null -input=/tmp/CMakeHIPCompilerId-6080ae/CMakeHIPCompilerId-gfx803.out -output=/tmp/CMakeHIPCompilerId-6ce456.hipfb
- "/opt/dtk-22.10/llvm/bin/clang-14" -cc1 -triple x86_64-unknown-linux-gnu -aux-triple amdgcn-amd-amdhsa -emit-obj -mrelax-all --mrelax-relocations -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name CMakeHIPCompilerId.hip -mrelocation-model static -mframe-pointer=all -fmath-errno -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debugger-tuning=gdb -v -fcoverage-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -resource-dir /opt/dtk-22.10/llvm/lib/clang/14.0.0 -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers -internal-isystem /opt/dtk-22.10/include -include __clang_hip_runtime_wrapper.h -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk-22.10/include -c-isystem /opt/dtk-22.10/llvm/include -c-isystem /opt/dtk/include -c-isystem /opt/dtk/llvm/include -c-isystem . -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk-22.10/include -cxx-isystem /opt/dtk-22.10/llvm/include -cxx-isystem /opt/dtk/include -cxx-isystem /opt/dtk/llvm/include -cxx-isystem . -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7 -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /opt/dtk-22.10/llvm/lib/clang/14.0.0/include -internal-isystem /usr/local/include -internal-isystem /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=c++11 -fdeprecated-macro -fdebug-compilation-dir=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP -ferror-limit 19 -fhip-new-launch-api -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcuda-include-gpubinary /tmp/CMakeHIPCompilerId-6ce456.hipfb -cuid=28d1ae261f9298c5 -fcuda-allow-variadic-functions -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /tmp/CMakeHIPCompilerId-16f6e6.o -x hip CMakeHIPCompilerId.hip
- clang -cc1 version 14.0.0 based upon LLVM 14.0.0dtk_rel_22.10 default target x86_64-unknown-linux-gnu
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring nonexistent directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../x86_64-redhat-linux/include"
- ignoring nonexistent directory "/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/include"
- ignoring duplicate directory "/opt/dtk-22.10/include"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux"
- ignoring duplicate directory "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward"
- ignoring duplicate directory "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include"
- ignoring duplicate directory "/usr/local/include"
- ignoring duplicate directory "/usr/include"
- #include "..." search starts here:
- #include <...> search starts here:
- /opt/dtk-22.10/include
- /opt/dtk-22.10/llvm/include
- .
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/x86_64-redhat-linux
- /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../include/c++/7/backward
- /opt/dtk-22.10/llvm/lib/clang/14.0.0/include
- /usr/local/include
- /usr/include
- End of search list.
- "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../bin/ld" --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o a.out /lib/../lib64/crt1.o /lib/../lib64/crti.o /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtbegin.o -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7 -L/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/dtk-22.10/llvm/bin/../lib -L/lib -L/usr/lib /tmp/CMakeHIPCompilerId-16f6e6.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/crtend.o /lib/../lib64/crtn.o
-
-
- Compilation of the HIP compiler identification source "CMakeHIPCompilerId.hip" produced "a.out"
-
- The HIP compiler identification is Clang, found in:
- /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.26.0/CompilerIdHIP/a.out
-
-
- kind: "try_run-v1"
+ kind: "try_compile-v1"
backtrace:
- - "cmake/Findtensorflow.cmake:169 (try_run)"
- - "CMakeLists.txt:88 (find_package)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:419 (try_compile)"
+ - "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake:557 (_OPENMP_GET_SPEC_DATE)"
+ - "CMakeLists.txt:192 (find_package)"
+ description: "Detecting CXX OpenMP version"
directories:
- source: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
- binary: "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp"
+ source: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XtGsjk"
+ binary: "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XtGsjk"
cmakeVariables:
CMAKE_CXX_FLAGS: ""
CMAKE_CXX_FLAGS_DEBUG: "-g"
CMAKE_EXE_LINKER_FLAGS: ""
- CMAKE_HIP_ARCHITECTURES: "gfx906"
- CMAKE_MODULE_PATH: "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/public/home/zhangqha/deepmd-kit/source/cmake/;/opt/dtk-22.10/hip/cmake"
+ CMAKE_MODULE_PATH: "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/skbuild/resources/cmake;/root/deepmd-kit/source/cmake/;/opt/dtk-22.04.2/hip/cmake"
buildResult:
- variable: "TENSORFLOW_VERSION_COMPILE_RESULT_VAR"
+ variable: "OpenMP_SPECTEST_CXX_"
cached: true
stdout: |
- Change Dir: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/tf_version/CMakeFiles/CMakeTmp
+ Change Dir: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XtGsjk
- Run Build Command(s):/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_a5e9a && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -I/usr/local/lib/python3.7/site-packages/tensorflow/include -o CMakeFiles/cmTC_a5e9a.dir/tf_version.cpp.o -c /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp
- [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ CMakeFiles/cmTC_a5e9a.dir/tf_version.cpp.o -o cmTC_a5e9a && :
+ Run Build Command(s):/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -v cmTC_143fb && [1/2] /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp -std=gnu++14 -o CMakeFiles/cmTC_143fb.dir/OpenMPCheckVersion.cpp.o -c /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeScratch/TryCompile-XtGsjk/OpenMPCheckVersion.cpp
+ [2/2] : && /opt/rh/devtoolset-7/root/usr/bin/c++ -fopenmp CMakeFiles/cmTC_143fb.dir/OpenMPCheckVersion.cpp.o -o cmTC_143fb && :
exitCode: 0
- runResult:
- variable: "TENSORFLOW_VERSION_RUN_RESULT_VAR"
- cached: true
- stdout: |
- 2.9.0
- exitCode: 0
...
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/TargetDirectories.txt b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/TargetDirectories.txt
index 05e8512b163332d7abc3e6d9a5bbd870c82b0a10..0edd20071aec1d881270243d6fc6c05deb2b7dd6 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/TargetDirectories.txt
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/TargetDirectories.txt
@@ -1,36 +1,36 @@
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/uninstall.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/lammps.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/edit_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rebuild_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/list_install_components.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/install.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/install/local.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/install/strip.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/edit_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/rebuild_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/list_install_components.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/install.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/install/local.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/install/strip.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/edit_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/rebuild_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/list_install_components.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/install.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/install/local.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/install/strip.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/edit_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/rebuild_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/list_install_components.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/install.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/install/local.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/install/strip.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/edit_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/rebuild_cache.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/list_install_components.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/install.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/install/local.dir
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/install/strip.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/uninstall.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/lammps.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/edit_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rebuild_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/list_install_components.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/install.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/install/local.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/install/strip.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/edit_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/rebuild_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/list_install_components.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/install.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/install/local.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/install/strip.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/edit_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/rebuild_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/list_install_components.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/install.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/install/local.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/install/strip.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/edit_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/rebuild_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/list_install_components.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/install.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/install/local.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/install/strip.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/edit_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/rebuild_cache.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/list_install_components.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/install.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/install/local.dir
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/CMakeFiles/install/strip.dir
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rules.ninja b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rules.ninja
index 7b18715b2ae25a6a0efaeb492714c11ffd927728..424152d8f7d48b5e3fb558774d5fdd669b07bb2e 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rules.ninja
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rules.ninja
@@ -80,7 +80,7 @@ rule CXX_SHARED_LIBRARY_LINKER__deepmd_Release
# Rule for linking CXX shared library.
rule CXX_SHARED_LIBRARY_LINKER__deepmd_op_rocm_Release
- command = $PRE_LINK && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=lib/src/rocm/libdeepmd_op_rocm.so && $POST_BUILD
+ command = $PRE_LINK && /opt/rh/devtoolset-7/root/usr/bin/c++ -fPIC $LANGUAGE_COMPILE_FLAGS $ARCH_FLAGS $LINK_FLAGS -shared $SONAME_FLAG$SONAME -o $TARGET_FILE $in $LINK_PATH $LINK_LIBRARIES && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E __run_co_compile --lwyu="ldd;-u;-r" --source=lib/src/rocm/libdeepmd_op_rocm.so && $POST_BUILD
description = Linking CXX shared library $TARGET_FILE
restat = $RESTAT
@@ -89,7 +89,7 @@ rule CXX_SHARED_LIBRARY_LINKER__deepmd_op_rocm_Release
# Rule for re-running cmake.
rule RERUN_CMAKE
- command = /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/public/home/zhangqha/deepmd-kit/source -B/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+ command = /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
description = Re-running CMake...
generator = 1
@@ -98,7 +98,7 @@ rule RERUN_CMAKE
# Rule for cleaning all built files.
rule CLEAN
- command = /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja $FILE_ARG -t clean $TARGETS
+ command = /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja $FILE_ARG -t clean $TARGETS
description = Cleaning all built files...
@@ -106,6 +106,6 @@ rule CLEAN
# Rule for printing all primary targets available.
rule HELP
- command = /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -t targets
+ command = /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/ninja/data/bin/ninja -t targets
description = All primary targets available:
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeSpec.json b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeSpec.json
index 08f7507fb7fa21f7c976fcc40ec6cf1209b9224d..c0cb04497124d9463cf06301f482fcea5acacf78 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/CMakeSpec.json
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/CMakeSpec.json
@@ -1 +1 @@
-{"args": ["/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake", "-DTENSORFLOW_ROOT:STRING=/usr/local/lib/python3.7/site-packages/tensorflow", "-DBUILD_PY_IF:BOOL=TRUE", "-DBUILD_CPP_IF:BOOL=FALSE", "-DUSE_ROCM_TOOLKIT:BOOL=TRUE", "-DCMAKE_BUILD_TYPE:STRING=Release"], "version": "3.26.0", "environment": {"PYTHONNOUSERSITE": "1", "PYTHONPATH": "/tmp/pip-build-env-77v541be/site"}}
\ No newline at end of file
+{"args": ["/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake", "-DTENSORFLOW_ROOT:STRING=/usr/local/lib/python3.7/site-packages/tensorflow", "-DBUILD_PY_IF:BOOL=TRUE", "-DBUILD_CPP_IF:BOOL=FALSE", "-DUSE_ROCM_TOOLKIT:BOOL=TRUE", "-DROCM_ROOT:STRING=/opt/dtk-22.04.2", "-DCMAKE_BUILD_TYPE:STRING=Release"], "version": "3.26.3", "environment": {"PYTHONNOUSERSITE": "1", "PYTHONPATH": "/tmp/pip-build-env-lhxr9b79/site"}}
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/build.ninja b/_skbuild/linux-x86_64-3.7/cmake-build/build.ninja
index e2c601364e05322d1948bb44b008b6cc40c2c2d7..3998e1df9688d2da4772a406b092f1e30cf1c161 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/build.ninja
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/build.ninja
@@ -39,7 +39,7 @@ include CMakeFiles/rules.ninja
#############################################
# Logical path to working directory; prefix for absolute paths.
-cmake_ninja_workdir = /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/
+cmake_ninja_workdir = /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/
#############################################
# Utility command for uninstall
@@ -57,7 +57,7 @@ build lammps: phony CMakeFiles/lammps
# Utility command for edit_cache
build CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
@@ -68,7 +68,7 @@ build edit_cache: phony CMakeFiles/edit_cache.util
# Utility command for rebuild_cache
build CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/public/home/zhangqha/deepmd-kit/source -B/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
@@ -86,7 +86,7 @@ build list_install_components: phony
# Utility command for install
build CMakeFiles/install.util: CUSTOM_COMMAND all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
DESC = Install the project...
pool = console
restat = 1
@@ -98,7 +98,7 @@ build install: phony CMakeFiles/install.util
# Utility command for install/local
build CMakeFiles/install/local.util: CUSTOM_COMMAND all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
DESC = Installing only the local directory...
pool = console
restat = 1
@@ -110,7 +110,7 @@ build install/local: phony CMakeFiles/install/local.util
# Utility command for install/strip
build CMakeFiles/install/strip.util: CUSTOM_COMMAND all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
DESC = Installing the project stripped...
pool = console
restat = 1
@@ -122,18 +122,18 @@ build install/strip: phony CMakeFiles/install/strip.util
# Custom command for CMakeFiles/uninstall
build CMakeFiles/uninstall | ${cmake_ninja_workdir}CMakeFiles/uninstall: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake
#############################################
# Custom command for CMakeFiles/lammps
build CMakeFiles/lammps | ${cmake_ninja_workdir}CMakeFiles/lammps: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake
# =============================================================================
# Write statements declared in CMakeLists.txt:
-# /public/home/zhangqha/deepmd-kit/source/CMakeLists.txt
+# /root/deepmd-kit/source/CMakeLists.txt
# =============================================================================
# =============================================================================
@@ -145,237 +145,295 @@ build CMakeFiles/lammps | ${cmake_ninja_workdir}CMakeFiles/lammps: CUSTOM_COMMAN
build cmake_object_order_depends_target_op_abi: phony || cmake_object_order_depends_target_deepmd cmake_object_order_depends_target_deepmd_op_rocm
-build op/CMakeFiles/op_abi.dir/custom_op.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/custom_op.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/custom_op.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/custom_op.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/custom_op.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/descrpt.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/descrpt.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/descrpt.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/descrpt.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/descrpt_se_a_ef.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/descrpt_se_a_ef.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/descrpt_se_a_ef_para.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/descrpt_se_a_ef_para.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/descrpt_se_a_ef_vert.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/descrpt_se_a_ef_vert.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/ewald_recp.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/ewald_recp.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/ewald_recp.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/ewald_recp.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/ewald_recp.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/gelu_multi_device.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/gelu_multi_device.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/map_aparam.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/map_aparam.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/map_aparam.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/map_aparam.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/map_aparam.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/map_nvnmd.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/map_nvnmd.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/matmul_nvnmd.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/matmul_nvnmd.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/neighbor_stat.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/neighbor_stat.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/pair_tab.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/pair_tab.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/pair_tab.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/pair_tab.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/pair_tab.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_env_mat_multi_device.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/prod_env_mat_multi_device.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_env_mat_multi_device_nvnmd.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/prod_env_mat_multi_device_nvnmd.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/prod_force.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_force.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/prod_force.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/prod_force.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/prod_force.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_force_multi_device.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/prod_force_multi_device.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/prod_virial.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_virial.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/prod_virial.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/prod_virial.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/prod_virial.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_virial_multi_device.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/prod_virial_multi_device.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/quantize_nvnmd.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/quantize_nvnmd.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/soft_min.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/soft_min.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/soft_min.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/soft_min.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/soft_min.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/soft_min_force.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/soft_min_force.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/soft_min_force.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/soft_min_force.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/soft_min_force.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/soft_min_virial.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/soft_min_virial.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/tabulate_multi_device.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/tabulate_multi_device.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/tanh2_nvnmd.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/tanh2_nvnmd.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/tanh4_nvnmd.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/tanh4_nvnmd.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/unaggregated_grad.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/unaggregated_grad.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/SimulationRegion.cpp || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/lib/src/SimulationRegion.cpp || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir/__/lib/src
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/neighbor_list.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/lib/src/neighbor_list.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir/__/lib/src
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
-build op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o: CXX_COMPILER__op_abi_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/optimizer/parallel.cc || cmake_object_order_depends_target_op_abi
+build op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o: CXX_COMPILER__op_abi_unscanned_Release /root/deepmd-kit/source/op/optimizer/parallel.cc || cmake_object_order_depends_target_op_abi
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_abi_EXPORTS
DEP_FILE = op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_abi.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_abi.dir/optimizer
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
+ TARGET_PDB = op/libop_abi.pdb
# =============================================================================
@@ -385,14 +443,15 @@ build op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o: CXX_COMPILER__op_abi_uns
#############################################
# Link the shared module op/libop_abi.so
-build op/libop_abi.so: CXX_MODULE_LIBRARY_LINKER__op_abi_Release op/CMakeFiles/op_abi.dir/custom_op.cc.o op/CMakeFiles/op_abi.dir/descrpt.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o op/CMakeFiles/op_abi.dir/ewald_recp.cc.o op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o op/CMakeFiles/op_abi.dir/map_aparam.cc.o op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o op/CMakeFiles/op_abi.dir/pair_tab.cc.o op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o op/CMakeFiles/op_abi.dir/prod_force.cc.o op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o op/CMakeFiles/op_abi.dir/prod_virial.cc.o op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o op/CMakeFiles/op_abi.dir/soft_min.cc.o op/CMakeFiles/op_abi.dir/soft_min_force.cc.o op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o | lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.10/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so || lib/libdeepmd.so lib/src/rocm/libdeepmd_op_rocm.so
+build op/libop_abi.so: CXX_MODULE_LIBRARY_LINKER__op_abi_Release op/CMakeFiles/op_abi.dir/custom_op.cc.o op/CMakeFiles/op_abi.dir/descrpt.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o op/CMakeFiles/op_abi.dir/ewald_recp.cc.o op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o op/CMakeFiles/op_abi.dir/map_aparam.cc.o op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o op/CMakeFiles/op_abi.dir/pair_tab.cc.o op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o op/CMakeFiles/op_abi.dir/prod_force.cc.o op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o op/CMakeFiles/op_abi.dir/prod_virial.cc.o op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o op/CMakeFiles/op_abi.dir/soft_min.cc.o op/CMakeFiles/op_abi.dir/soft_min_force.cc.o op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o | lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.04.2/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so || lib/libdeepmd.so lib/src/rocm/libdeepmd_op_rocm.so
LANGUAGE_COMPILE_FLAGS = -fopenmp -O3 -DNDEBUG
- LINK_LIBRARIES = -Wl,-rpath,/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.10/hip/lib:/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm: lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.10/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so
+ LINK_LIBRARIES = -Wl,-rpath,/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.04.2/hip/lib:/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm: lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.04.2/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so
OBJECT_DIR = op/CMakeFiles/op_abi.dir
POST_BUILD = :
PRE_LINK = :
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_abi.dir/
TARGET_FILE = op/libop_abi.so
- TARGET_PDB = op_abi.so.dbg
+ TARGET_PDB = op/libop_abi.pdb
# =============================================================================
# Object build statements for MODULE_LIBRARY target op_grads
@@ -403,61 +462,75 @@ build op/libop_abi.so: CXX_MODULE_LIBRARY_LINKER__op_abi_Release op/CMakeFiles/o
build cmake_object_order_depends_target_op_grads: phony || cmake_object_order_depends_target_deepmd cmake_object_order_depends_target_deepmd_op_rocm
-build op/CMakeFiles/op_grads.dir/custom_op.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/custom_op.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/custom_op.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/custom_op.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/custom_op.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
-build op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_force_grad.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/prod_force_grad.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
-build op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_force_grad_multi_device.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/prod_force_grad_multi_device.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
-build op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_virial_grad.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/prod_virial_grad.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
-build op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/prod_virial_grad_multi_device.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/prod_virial_grad_multi_device.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
-build op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/soft_min_force_grad.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/soft_min_force_grad.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
-build op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /public/home/zhangqha/deepmd-kit/source/op/soft_min_virial_grad.cc || cmake_object_order_depends_target_op_grads
+build op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o: CXX_COMPILER__op_grads_unscanned_Release /root/deepmd-kit/source/op/soft_min_virial_grad.cc || cmake_object_order_depends_target_op_grads
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Dop_grads_EXPORTS
DEP_FILE = op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/public/home/zhangqha/deepmd-kit/source/lib/include -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include
+ INCLUDES = -I/usr/local/lib/python3.7/site-packages/tensorflow/include -I/root/deepmd-kit/source/lib/include -I/root/deepmd-kit/source/lib/src/rocm/../../include
OBJECT_DIR = op/CMakeFiles/op_grads.dir
OBJECT_FILE_DIR = op/CMakeFiles/op_grads.dir
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
+ TARGET_PDB = op/libop_grads.pdb
# =============================================================================
@@ -467,21 +540,22 @@ build op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o: CXX_COMPILER__op_gra
#############################################
# Link the shared module op/libop_grads.so
-build op/libop_grads.so: CXX_MODULE_LIBRARY_LINKER__op_grads_Release op/CMakeFiles/op_grads.dir/custom_op.cc.o op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o | lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.10/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so || lib/libdeepmd.so lib/src/rocm/libdeepmd_op_rocm.so
+build op/libop_grads.so: CXX_MODULE_LIBRARY_LINKER__op_grads_Release op/CMakeFiles/op_grads.dir/custom_op.cc.o op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o | lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.04.2/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so || lib/libdeepmd.so lib/src/rocm/libdeepmd_op_rocm.so
LANGUAGE_COMPILE_FLAGS = -fopenmp -O3 -DNDEBUG
- LINK_LIBRARIES = -Wl,-rpath,/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.10/hip/lib:/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm: lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.10/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so
+ LINK_LIBRARIES = -Wl,-rpath,/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.04.2/hip/lib:/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm: lib/libdeepmd.so /usr/local/lib/python3.7/site-packages/tensorflow/libtensorflow_framework.so.2 /opt/dtk-22.04.2/hip/lib/libamdhip64.so lib/src/rocm/libdeepmd_op_rocm.so
OBJECT_DIR = op/CMakeFiles/op_grads.dir
POST_BUILD = :
PRE_LINK = :
+ TARGET_COMPILE_PDB = op/CMakeFiles/op_grads.dir/
TARGET_FILE = op/libop_grads.so
- TARGET_PDB = op_grads.so.dbg
+ TARGET_PDB = op/libop_grads.pdb
#############################################
# Utility command for edit_cache
build op/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
@@ -492,7 +566,7 @@ build op/edit_cache: phony op/CMakeFiles/edit_cache.util
# Utility command for rebuild_cache
build op/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/public/home/zhangqha/deepmd-kit/source -B/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
@@ -510,7 +584,7 @@ build op/list_install_components: phony
# Utility command for install
build op/CMakeFiles/install.util: CUSTOM_COMMAND op/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
DESC = Install the project...
pool = console
restat = 1
@@ -522,7 +596,7 @@ build op/install: phony op/CMakeFiles/install.util
# Utility command for install/local
build op/CMakeFiles/install/local.util: CUSTOM_COMMAND op/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
DESC = Installing only the local directory...
pool = console
restat = 1
@@ -534,7 +608,7 @@ build op/install/local: phony op/CMakeFiles/install/local.util
# Utility command for install/strip
build op/CMakeFiles/install/strip.util: CUSTOM_COMMAND op/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
DESC = Installing the project stripped...
pool = console
restat = 1
@@ -543,7 +617,7 @@ build op/install/strip: phony op/CMakeFiles/install/strip.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
-# /public/home/zhangqha/deepmd-kit/source/CMakeLists.txt
+# /root/deepmd-kit/source/CMakeLists.txt
# =============================================================================
# =============================================================================
@@ -555,197 +629,245 @@ build op/install/strip: phony op/CMakeFiles/install/strip.util
build cmake_object_order_depends_target_deepmd: phony || lib/CMakeFiles/deepmd.dir
-build lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/SimulationRegion.cpp || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/SimulationRegion.cpp || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/coord.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/coord.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/coord.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/coord.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/coord.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/env_mat.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/env_mat.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/env_mat_nvnmd.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/env_mat_nvnmd.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/ewald.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/ewald.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/ewald.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/ewald.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/ewald.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/fmt_nlist.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/fmt_nlist.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/gelu.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/gelu.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/gelu.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/gelu.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/gelu.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/map_aparam.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/map_aparam.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/neighbor_list.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/neighbor_list.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/pair_tab.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/pair_tab.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/prod_env_mat.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/prod_env_mat.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/prod_env_mat_nvnmd.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/prod_env_mat_nvnmd.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/prod_force.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/prod_force.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/prod_force_grad.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/prod_force_grad.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/prod_virial.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/prod_virial.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/prod_virial_grad.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/prod_virial_grad.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/region.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/region.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/region.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/region.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/region.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/soft_min_switch.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/soft_min_switch.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/soft_min_switch_force.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/soft_min_switch_force.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/soft_min_switch_force_grad.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/soft_min_switch_force_grad.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/soft_min_switch_virial.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/soft_min_switch_virial.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/soft_min_switch_virial_grad.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/soft_min_switch_virial_grad.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/tabulate.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/tabulate.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
-build lib/CMakeFiles/deepmd.dir/src/utilities.cc.o: CXX_COMPILER__deepmd_unscanned_Release /public/home/zhangqha/deepmd-kit/source/lib/src/utilities.cc || cmake_object_order_depends_target_deepmd
+build lib/CMakeFiles/deepmd.dir/src/utilities.cc.o: CXX_COMPILER__deepmd_unscanned_Release /root/deepmd-kit/source/lib/src/utilities.cc || cmake_object_order_depends_target_deepmd
DEFINES = -DTENSORFLOW_USE_ROCM -D_GLIBCXX_USE_CXX11_ABI=0 -D__HIP_PLATFORM_HCC__ -Ddeepmd_EXPORTS
DEP_FILE = lib/CMakeFiles/deepmd.dir/src/utilities.cc.o.d
FLAGS = -fopenmp -O3 -DNDEBUG -std=gnu++14 -fPIC
- INCLUDES = -I/public/home/zhangqha/deepmd-kit/source/lib/include
+ INCLUDES = -I/root/deepmd-kit/source/lib/include
OBJECT_DIR = lib/CMakeFiles/deepmd.dir
OBJECT_FILE_DIR = lib/CMakeFiles/deepmd.dir/src
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
+ TARGET_PDB = lib/libdeepmd.pdb
# =============================================================================
@@ -763,15 +885,16 @@ build lib/libdeepmd.so: CXX_SHARED_LIBRARY_LINKER__deepmd_Release lib/CMakeFiles
PRE_LINK = :
SONAME = libdeepmd.so
SONAME_FLAG = -Wl,-soname,
+ TARGET_COMPILE_PDB = lib/CMakeFiles/deepmd.dir/
TARGET_FILE = lib/libdeepmd.so
- TARGET_PDB = deepmd.so.dbg
+ TARGET_PDB = lib/libdeepmd.pdb
#############################################
# Utility command for edit_cache
build lib/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
@@ -782,7 +905,7 @@ build lib/edit_cache: phony lib/CMakeFiles/edit_cache.util
# Utility command for rebuild_cache
build lib/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/public/home/zhangqha/deepmd-kit/source -B/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
@@ -800,7 +923,7 @@ build lib/list_install_components: phony
# Utility command for install
build lib/CMakeFiles/install.util: CUSTOM_COMMAND lib/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
DESC = Install the project...
pool = console
restat = 1
@@ -812,7 +935,7 @@ build lib/install: phony lib/CMakeFiles/install.util
# Utility command for install/local
build lib/CMakeFiles/install/local.util: CUSTOM_COMMAND lib/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
DESC = Installing only the local directory...
pool = console
restat = 1
@@ -824,7 +947,7 @@ build lib/install/local: phony lib/CMakeFiles/install/local.util
# Utility command for install/strip
build lib/CMakeFiles/install/strip.util: CUSTOM_COMMAND lib/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
DESC = Installing the project stripped...
pool = console
restat = 1
@@ -833,7 +956,7 @@ build lib/install/strip: phony lib/CMakeFiles/install/strip.util
# =============================================================================
# Write statements declared in CMakeLists.txt:
-# /public/home/zhangqha/deepmd-kit/source/lib/CMakeLists.txt
+# /root/deepmd-kit/source/lib/CMakeLists.txt
# =============================================================================
# =============================================================================
@@ -861,15 +984,16 @@ build lib/src/rocm/libdeepmd_op_rocm.so: CXX_SHARED_LIBRARY_LINKER__deepmd_op_ro
PRE_LINK = :
SONAME = libdeepmd_op_rocm.so
SONAME_FLAG = -Wl,-soname,
+ TARGET_COMPILE_PDB = lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/
TARGET_FILE = lib/src/rocm/libdeepmd_op_rocm.so
- TARGET_PDB = deepmd_op_rocm.so.dbg
+ TARGET_PDB = lib/src/rocm/libdeepmd_op_rocm.pdb
#############################################
# Utility command for edit_cache
build lib/src/rocm/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
@@ -880,7 +1004,7 @@ build lib/src/rocm/edit_cache: phony lib/src/rocm/CMakeFiles/edit_cache.util
# Utility command for rebuild_cache
build lib/src/rocm/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/public/home/zhangqha/deepmd-kit/source -B/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
@@ -898,7 +1022,7 @@ build lib/src/rocm/list_install_components: phony
# Utility command for install
build lib/src/rocm/CMakeFiles/install.util: CUSTOM_COMMAND lib/src/rocm/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
DESC = Install the project...
pool = console
restat = 1
@@ -910,7 +1034,7 @@ build lib/src/rocm/install: phony lib/src/rocm/CMakeFiles/install.util
# Utility command for install/local
build lib/src/rocm/CMakeFiles/install/local.util: CUSTOM_COMMAND lib/src/rocm/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
DESC = Installing only the local directory...
pool = console
restat = 1
@@ -922,7 +1046,7 @@ build lib/src/rocm/install/local: phony lib/src/rocm/CMakeFiles/install/local.ut
# Utility command for install/strip
build lib/src/rocm/CMakeFiles/install/strip.util: CUSTOM_COMMAND lib/src/rocm/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
DESC = Installing the project stripped...
pool = console
restat = 1
@@ -933,8 +1057,8 @@ build lib/src/rocm/install/strip: phony lib/src/rocm/CMakeFiles/install/strip.ut
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/coord.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/coord.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/region.cuh /public/home/zhangqha/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/coord.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_coord.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_coord.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/coord.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/coord.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/region.cuh /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/coord.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_coord.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_coord.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o
restat = 1
@@ -942,8 +1066,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/gelu.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gelu.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/gelu.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_gelu.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/gelu.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gelu.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/gelu.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_gelu.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o
restat = 1
@@ -951,8 +1075,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.h
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu /opt/dtk-22.10/hip/include/hip/hip_bfloat16.h /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_fp16.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_discontinuity.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_exchange.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_histogram.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load_func.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_merge_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_radix_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store_func.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_histogram.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_radix_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_select.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/hipcub.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_load.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_operators.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_search.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_store.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_allocator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_math.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_ptx.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_type.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_exchange.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_load.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_merge_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_store.hpp /opt/dtk-22.10/include/hipcub/config.hpp /opt/dtk-22.10/include/hipcub/hipcub.hpp /opt/dtk-22.10/include/hipcub/hipcub_version.hpp /opt/dtk-22.10/include/rocprim/block/block_discontinuity.hpp /opt/dtk-22.10/include/rocprim/block/block_exchange.hpp /opt/dtk-22.10/include/rocprim/block/block_histogram.hpp /opt/dtk-22.10/include/rocprim/block/block_load.hpp /opt/dtk-22.10/include/rocprim/block/block_load_func.hpp /opt/dtk-22.10/include/rocprim/block/block_radix_sort.hpp /opt/dtk-22.10/include/rocprim/block/block_reduce.hpp /opt/dtk-22.10/include/rocprim/block/block_scan.hpp /opt/dtk-22.10/include/rocprim/block/block_store.hpp /opt/dtk-22.10/include/rocprim/block/block_store_func.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_histogram_atomic.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_histogram_sort.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_reduce_raking_reduce.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_reduce_warp_reduce.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_scan_warp_scan.hpp /opt/dtk-22.10/include/rocprim/config.hpp /opt/dtk-22.10/include/rocprim/detail/all_true.hpp /opt/dtk-22.10/include/rocprim/detail/binary_op_wrappers.hpp /opt/dtk-22.10/include/rocprim/detail/match_result_type.hpp /opt/dtk-22.10/include/rocprim/detail/radix_sort.hpp /opt/dtk-22.10/include/rocprim/detail/various.hpp /opt/dtk-22.10/include/rocprim/device/config_types.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_histogram.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_partition.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_reduce.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_reduce_by_key.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_by_key.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_common.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_lookback.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_segmented_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_segmented_reduce.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_transform.hpp /opt/dtk-22.10/include/rocprim/device/detail/lookback_scan_state.hpp /opt/dtk-22.10/include/rocprim/device/detail/ordered_block_id.hpp /opt/dtk-22.10/include/rocprim/device/detail/uint_fast_div.hpp /opt/dtk-22.10/include/rocprim/device/device_histogram.hpp /opt/dtk-22.10/include/rocprim/device/device_histogram_config.hpp /opt/dtk-22.10/include/rocprim/device/device_partition.hpp /opt/dtk-22.10/include/rocprim/device/device_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/device_radix_sort_config.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce_by_key.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce_by_key_config.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce_config.hpp /opt/dtk-22.10/include/rocprim/device/device_run_length_encode.hpp /opt/dtk-22.10/include/rocprim/device/device_run_length_encode_config.hpp /opt/dtk-22.10/include/rocprim/device/device_scan.hpp /opt/dtk-22.10/include/rocprim/device/device_scan_by_key.hpp /opt/dtk-22.10/include/rocprim/device/device_scan_by_key_config.hpp /opt/dtk-22.10/include/rocprim/device/device_scan_config.hpp /opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort_config.hpp /opt/dtk-22.10/include/rocprim/device/device_segmented_reduce.hpp /opt/dtk-22.10/include/rocprim/device/device_select.hpp /opt/dtk-22.10/include/rocprim/device/device_select_config.hpp /opt/dtk-22.10/include/rocprim/device/device_transform.hpp /opt/dtk-22.10/include/rocprim/device/device_transform_config.hpp /opt/dtk-22.10/include/rocprim/device/specialization/device_radix_merge_sort.hpp /opt/dtk-22.10/include/rocprim/device/specialization/device_radix_single_sort.hpp /opt/dtk-22.10/include/rocprim/functional.hpp /opt/dtk-22.10/include/rocprim/intrinsics.hpp /opt/dtk-22.10/include/rocprim/intrinsics/atomic.hpp /opt/dtk-22.10/include/rocprim/intrinsics/bit.hpp /opt/dtk-22.10/include/rocprim/intrinsics/thread.hpp /opt/dtk-22.10/include/rocprim/intrinsics/warp.hpp /opt/dtk-22.10/include/rocprim/intrinsics/warp_shuffle.hpp /opt/dtk-22.10/include/rocprim/iterator/arg_index_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/constant_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/counting_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/discard_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/texture_cache_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/transform_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/zip_iterator.hpp /opt/dtk-22.10/include/rocprim/type_traits.hpp /opt/dtk-22.10/include/rocprim/types.hpp /opt/dtk-22.10/include/rocprim/types/double_buffer.hpp /opt/dtk-22.10/include/rocprim/types/future_value.hpp /opt/dtk-22.10/include/rocprim/types/integer_sequence.hpp /opt/dtk-22.10/include/rocprim/types/key_value_pair.hpp /opt/dtk-22.10/include/rocprim/types/tuple.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_crosslane.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_dpp.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shuffle.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_crosslane.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_dpp.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shared_mem.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shuffle.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_segment_bounds.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_sort_shuffle.hpp /opt/dtk-22.10/include/rocprim/warp/warp_exchange.hpp /opt/dtk-22.10/include/rocprim/warp/warp_load.hpp /opt/dtk-22.10/include/rocprim/warp/warp_reduce.hpp /opt/dtk-22.10/include/rocprim/warp/warp_scan.hpp /opt/dtk-22.10/include/rocprim/warp/warp_sort.hpp /opt/dtk-22.10/include/rocprim/warp/warp_store.hpp /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/atomic /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/codecvt.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/fstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_mutex.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multimap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multiset.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_set.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stream_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cassert /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstddef /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/fstream /opt/rh/devtoolset-7/root/usr/include/c++/7/functional /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/iterator /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/map /opt/rh/devtoolset-7/root/usr/include/c++/7/math.h /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/mutex /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/set /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/basic_file.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++io.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/SimulationRegion.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/neighbor_list.h /public/home/zhangqha/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/deepmd-kit/source/lib/include/utilities.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_neighbor_list.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_bfloat16.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_fp16.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/dtk/include/hipcub/backend/rocprim/block/block_discontinuity.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_exchange.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_histogram.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_load.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_load_func.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_radix_sort.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_scan.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_store.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_store_func.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_histogram.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_radix_sort.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_scan.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_select.hpp /opt/dtk/include/hipcub/backend/rocprim/hipcub.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_load.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_operators.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_scan.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_search.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_store.hpp /opt/dtk/include/hipcub/backend/rocprim/util_allocator.hpp /opt/dtk/include/hipcub/backend/rocprim/util_ptx.hpp /opt/dtk/include/hipcub/backend/rocprim/util_type.hpp /opt/dtk/include/hipcub/backend/rocprim/warp/warp_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/warp/warp_scan.hpp /opt/dtk/include/hipcub/config.hpp /opt/dtk/include/hipcub/hipcub.hpp /opt/dtk/include/hipcub/hipcub_version.hpp /opt/dtk/include/rocprim/block/block_discontinuity.hpp /opt/dtk/include/rocprim/block/block_exchange.hpp /opt/dtk/include/rocprim/block/block_histogram.hpp /opt/dtk/include/rocprim/block/block_load.hpp /opt/dtk/include/rocprim/block/block_load_func.hpp /opt/dtk/include/rocprim/block/block_radix_sort.hpp /opt/dtk/include/rocprim/block/block_reduce.hpp /opt/dtk/include/rocprim/block/block_scan.hpp /opt/dtk/include/rocprim/block/block_store.hpp /opt/dtk/include/rocprim/block/block_store_func.hpp /opt/dtk/include/rocprim/block/detail/block_histogram_atomic.hpp /opt/dtk/include/rocprim/block/detail/block_histogram_sort.hpp /opt/dtk/include/rocprim/block/detail/block_reduce_raking_reduce.hpp /opt/dtk/include/rocprim/block/detail/block_reduce_warp_reduce.hpp /opt/dtk/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp /opt/dtk/include/rocprim/block/detail/block_scan_warp_scan.hpp /opt/dtk/include/rocprim/config.hpp /opt/dtk/include/rocprim/detail/all_true.hpp /opt/dtk/include/rocprim/detail/binary_op_wrappers.hpp /opt/dtk/include/rocprim/detail/match_result_type.hpp /opt/dtk/include/rocprim/detail/radix_sort.hpp /opt/dtk/include/rocprim/detail/various.hpp /opt/dtk/include/rocprim/device/config_types.hpp /opt/dtk/include/rocprim/device/detail/device_histogram.hpp /opt/dtk/include/rocprim/device/detail/device_partition.hpp /opt/dtk/include/rocprim/device/detail/device_radix_sort.hpp /opt/dtk/include/rocprim/device/detail/device_reduce.hpp /opt/dtk/include/rocprim/device/detail/device_reduce_by_key.hpp /opt/dtk/include/rocprim/device/detail/device_scan_lookback.hpp /opt/dtk/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp /opt/dtk/include/rocprim/device/detail/device_segmented_radix_sort.hpp /opt/dtk/include/rocprim/device/detail/device_segmented_reduce.hpp /opt/dtk/include/rocprim/device/detail/device_transform.hpp /opt/dtk/include/rocprim/device/detail/lookback_scan_state.hpp /opt/dtk/include/rocprim/device/detail/ordered_block_id.hpp /opt/dtk/include/rocprim/device/detail/uint_fast_div.hpp /opt/dtk/include/rocprim/device/device_histogram.hpp /opt/dtk/include/rocprim/device/device_histogram_config.hpp /opt/dtk/include/rocprim/device/device_partition.hpp /opt/dtk/include/rocprim/device/device_radix_sort.hpp /opt/dtk/include/rocprim/device/device_radix_sort_config.hpp /opt/dtk/include/rocprim/device/device_reduce.hpp /opt/dtk/include/rocprim/device/device_reduce_by_key.hpp /opt/dtk/include/rocprim/device/device_reduce_by_key_config.hpp /opt/dtk/include/rocprim/device/device_reduce_config.hpp /opt/dtk/include/rocprim/device/device_run_length_encode.hpp /opt/dtk/include/rocprim/device/device_run_length_encode_config.hpp /opt/dtk/include/rocprim/device/device_scan.hpp /opt/dtk/include/rocprim/device/device_scan_config.hpp /opt/dtk/include/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk/include/rocprim/device/device_segmented_radix_sort_config.hpp /opt/dtk/include/rocprim/device/device_segmented_reduce.hpp /opt/dtk/include/rocprim/device/device_select.hpp /opt/dtk/include/rocprim/device/device_select_config.hpp /opt/dtk/include/rocprim/device/device_transform.hpp /opt/dtk/include/rocprim/device/device_transform_config.hpp /opt/dtk/include/rocprim/device/specialization/device_radix_merge_sort.hpp /opt/dtk/include/rocprim/device/specialization/device_radix_single_sort.hpp /opt/dtk/include/rocprim/functional.hpp /opt/dtk/include/rocprim/intrinsics.hpp /opt/dtk/include/rocprim/intrinsics/atomic.hpp /opt/dtk/include/rocprim/intrinsics/bit.hpp /opt/dtk/include/rocprim/intrinsics/thread.hpp /opt/dtk/include/rocprim/intrinsics/warp.hpp /opt/dtk/include/rocprim/intrinsics/warp_shuffle.hpp /opt/dtk/include/rocprim/iterator/arg_index_iterator.hpp /opt/dtk/include/rocprim/iterator/constant_iterator.hpp /opt/dtk/include/rocprim/iterator/counting_iterator.hpp /opt/dtk/include/rocprim/iterator/discard_iterator.hpp /opt/dtk/include/rocprim/iterator/texture_cache_iterator.hpp /opt/dtk/include/rocprim/iterator/transform_iterator.hpp /opt/dtk/include/rocprim/iterator/zip_iterator.hpp /opt/dtk/include/rocprim/type_traits.hpp /opt/dtk/include/rocprim/types.hpp /opt/dtk/include/rocprim/types/double_buffer.hpp /opt/dtk/include/rocprim/types/future_value.hpp /opt/dtk/include/rocprim/types/integer_sequence.hpp /opt/dtk/include/rocprim/types/key_value_pair.hpp /opt/dtk/include/rocprim/types/tuple.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_crosslane.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_dpp.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_shuffle.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_crosslane.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_dpp.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_shared_mem.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_shuffle.hpp /opt/dtk/include/rocprim/warp/detail/warp_segment_bounds.hpp /opt/dtk/include/rocprim/warp/warp_reduce.hpp /opt/dtk/include/rocprim/warp/warp_scan.hpp /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/atomic /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/codecvt.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/fstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_mutex.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multimap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multiset.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_set.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stream_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cassert /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstddef /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/fstream /opt/rh/devtoolset-7/root/usr/include/c++/7/functional /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/iterator /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/map /opt/rh/devtoolset-7/root/usr/include/c++/7/math.h /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/mutex /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/set /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/basic_file.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++io.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/SimulationRegion.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/neighbor_list.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/utilities.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_neighbor_list.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o
restat = 1
@@ -960,8 +1084,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighb
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu /opt/dtk-22.10/hip/include/hip/hip_bfloat16.h /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_fp16.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_discontinuity.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_exchange.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_histogram.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load_func.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_merge_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_radix_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store_func.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_histogram.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_radix_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_select.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/hipcub.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_load.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_operators.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_search.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_store.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_allocator.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_math.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_ptx.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/util_type.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_exchange.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_load.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_merge_sort.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_reduce.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_scan.hpp /opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_store.hpp /opt/dtk-22.10/include/hipcub/config.hpp /opt/dtk-22.10/include/hipcub/hipcub.hpp /opt/dtk-22.10/include/hipcub/hipcub_version.hpp /opt/dtk-22.10/include/rocprim/block/block_discontinuity.hpp /opt/dtk-22.10/include/rocprim/block/block_exchange.hpp /opt/dtk-22.10/include/rocprim/block/block_histogram.hpp /opt/dtk-22.10/include/rocprim/block/block_load.hpp /opt/dtk-22.10/include/rocprim/block/block_load_func.hpp /opt/dtk-22.10/include/rocprim/block/block_radix_sort.hpp /opt/dtk-22.10/include/rocprim/block/block_reduce.hpp /opt/dtk-22.10/include/rocprim/block/block_scan.hpp /opt/dtk-22.10/include/rocprim/block/block_store.hpp /opt/dtk-22.10/include/rocprim/block/block_store_func.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_histogram_atomic.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_histogram_sort.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_reduce_raking_reduce.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_reduce_warp_reduce.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp /opt/dtk-22.10/include/rocprim/block/detail/block_scan_warp_scan.hpp /opt/dtk-22.10/include/rocprim/config.hpp /opt/dtk-22.10/include/rocprim/detail/all_true.hpp /opt/dtk-22.10/include/rocprim/detail/binary_op_wrappers.hpp /opt/dtk-22.10/include/rocprim/detail/match_result_type.hpp /opt/dtk-22.10/include/rocprim/detail/radix_sort.hpp /opt/dtk-22.10/include/rocprim/detail/various.hpp /opt/dtk-22.10/include/rocprim/device/config_types.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_histogram.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_partition.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_reduce.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_reduce_by_key.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_by_key.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_common.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_lookback.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_segmented_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_segmented_reduce.hpp /opt/dtk-22.10/include/rocprim/device/detail/device_transform.hpp /opt/dtk-22.10/include/rocprim/device/detail/lookback_scan_state.hpp /opt/dtk-22.10/include/rocprim/device/detail/ordered_block_id.hpp /opt/dtk-22.10/include/rocprim/device/detail/uint_fast_div.hpp /opt/dtk-22.10/include/rocprim/device/device_histogram.hpp /opt/dtk-22.10/include/rocprim/device/device_histogram_config.hpp /opt/dtk-22.10/include/rocprim/device/device_partition.hpp /opt/dtk-22.10/include/rocprim/device/device_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/device_radix_sort_config.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce_by_key.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce_by_key_config.hpp /opt/dtk-22.10/include/rocprim/device/device_reduce_config.hpp /opt/dtk-22.10/include/rocprim/device/device_run_length_encode.hpp /opt/dtk-22.10/include/rocprim/device/device_run_length_encode_config.hpp /opt/dtk-22.10/include/rocprim/device/device_scan.hpp /opt/dtk-22.10/include/rocprim/device/device_scan_by_key.hpp /opt/dtk-22.10/include/rocprim/device/device_scan_by_key_config.hpp /opt/dtk-22.10/include/rocprim/device/device_scan_config.hpp /opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort_config.hpp /opt/dtk-22.10/include/rocprim/device/device_segmented_reduce.hpp /opt/dtk-22.10/include/rocprim/device/device_select.hpp /opt/dtk-22.10/include/rocprim/device/device_select_config.hpp /opt/dtk-22.10/include/rocprim/device/device_transform.hpp /opt/dtk-22.10/include/rocprim/device/device_transform_config.hpp /opt/dtk-22.10/include/rocprim/device/specialization/device_radix_merge_sort.hpp /opt/dtk-22.10/include/rocprim/device/specialization/device_radix_single_sort.hpp /opt/dtk-22.10/include/rocprim/functional.hpp /opt/dtk-22.10/include/rocprim/intrinsics.hpp /opt/dtk-22.10/include/rocprim/intrinsics/atomic.hpp /opt/dtk-22.10/include/rocprim/intrinsics/bit.hpp /opt/dtk-22.10/include/rocprim/intrinsics/thread.hpp /opt/dtk-22.10/include/rocprim/intrinsics/warp.hpp /opt/dtk-22.10/include/rocprim/intrinsics/warp_shuffle.hpp /opt/dtk-22.10/include/rocprim/iterator/arg_index_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/constant_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/counting_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/discard_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/texture_cache_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/transform_iterator.hpp /opt/dtk-22.10/include/rocprim/iterator/zip_iterator.hpp /opt/dtk-22.10/include/rocprim/type_traits.hpp /opt/dtk-22.10/include/rocprim/types.hpp /opt/dtk-22.10/include/rocprim/types/double_buffer.hpp /opt/dtk-22.10/include/rocprim/types/future_value.hpp /opt/dtk-22.10/include/rocprim/types/integer_sequence.hpp /opt/dtk-22.10/include/rocprim/types/key_value_pair.hpp /opt/dtk-22.10/include/rocprim/types/tuple.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_crosslane.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_dpp.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shuffle.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_crosslane.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_dpp.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shared_mem.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shuffle.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_segment_bounds.hpp /opt/dtk-22.10/include/rocprim/warp/detail/warp_sort_shuffle.hpp /opt/dtk-22.10/include/rocprim/warp/warp_exchange.hpp /opt/dtk-22.10/include/rocprim/warp/warp_load.hpp /opt/dtk-22.10/include/rocprim/warp/warp_reduce.hpp /opt/dtk-22.10/include/rocprim/warp/warp_scan.hpp /opt/dtk-22.10/include/rocprim/warp/warp_sort.hpp /opt/dtk-22.10/include/rocprim/warp/warp_store.hpp /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/atomic /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/codecvt.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/fstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_mutex.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multimap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multiset.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_set.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stream_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cassert /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstddef /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/fstream /opt/rh/devtoolset-7/root/usr/include/c++/7/functional /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/iterator /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/map /opt/rh/devtoolset-7/root/usr/include/c++/7/math.h /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/mutex /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/set /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/basic_file.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++io.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/SimulationRegion.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/fmt_nlist.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/neighbor_list.h /public/home/zhangqha/deepmd-kit/source/lib/include/prod_env_mat.h /public/home/zhangqha/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/deepmd-kit/source/lib/include/utilities.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_env_mat.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_bfloat16.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_fp16.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/dtk/include/hipcub/backend/rocprim/block/block_discontinuity.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_exchange.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_histogram.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_load.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_load_func.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_radix_sort.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_scan.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_store.hpp /opt/dtk/include/hipcub/backend/rocprim/block/block_store_func.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_histogram.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_radix_sort.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_scan.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/device/device_select.hpp /opt/dtk/include/hipcub/backend/rocprim/hipcub.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_load.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_operators.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_scan.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_search.hpp /opt/dtk/include/hipcub/backend/rocprim/thread/thread_store.hpp /opt/dtk/include/hipcub/backend/rocprim/util_allocator.hpp /opt/dtk/include/hipcub/backend/rocprim/util_ptx.hpp /opt/dtk/include/hipcub/backend/rocprim/util_type.hpp /opt/dtk/include/hipcub/backend/rocprim/warp/warp_reduce.hpp /opt/dtk/include/hipcub/backend/rocprim/warp/warp_scan.hpp /opt/dtk/include/hipcub/config.hpp /opt/dtk/include/hipcub/hipcub.hpp /opt/dtk/include/hipcub/hipcub_version.hpp /opt/dtk/include/rocprim/block/block_discontinuity.hpp /opt/dtk/include/rocprim/block/block_exchange.hpp /opt/dtk/include/rocprim/block/block_histogram.hpp /opt/dtk/include/rocprim/block/block_load.hpp /opt/dtk/include/rocprim/block/block_load_func.hpp /opt/dtk/include/rocprim/block/block_radix_sort.hpp /opt/dtk/include/rocprim/block/block_reduce.hpp /opt/dtk/include/rocprim/block/block_scan.hpp /opt/dtk/include/rocprim/block/block_store.hpp /opt/dtk/include/rocprim/block/block_store_func.hpp /opt/dtk/include/rocprim/block/detail/block_histogram_atomic.hpp /opt/dtk/include/rocprim/block/detail/block_histogram_sort.hpp /opt/dtk/include/rocprim/block/detail/block_reduce_raking_reduce.hpp /opt/dtk/include/rocprim/block/detail/block_reduce_warp_reduce.hpp /opt/dtk/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp /opt/dtk/include/rocprim/block/detail/block_scan_warp_scan.hpp /opt/dtk/include/rocprim/config.hpp /opt/dtk/include/rocprim/detail/all_true.hpp /opt/dtk/include/rocprim/detail/binary_op_wrappers.hpp /opt/dtk/include/rocprim/detail/match_result_type.hpp /opt/dtk/include/rocprim/detail/radix_sort.hpp /opt/dtk/include/rocprim/detail/various.hpp /opt/dtk/include/rocprim/device/config_types.hpp /opt/dtk/include/rocprim/device/detail/device_histogram.hpp /opt/dtk/include/rocprim/device/detail/device_partition.hpp /opt/dtk/include/rocprim/device/detail/device_radix_sort.hpp /opt/dtk/include/rocprim/device/detail/device_reduce.hpp /opt/dtk/include/rocprim/device/detail/device_reduce_by_key.hpp /opt/dtk/include/rocprim/device/detail/device_scan_lookback.hpp /opt/dtk/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp /opt/dtk/include/rocprim/device/detail/device_segmented_radix_sort.hpp /opt/dtk/include/rocprim/device/detail/device_segmented_reduce.hpp /opt/dtk/include/rocprim/device/detail/device_transform.hpp /opt/dtk/include/rocprim/device/detail/lookback_scan_state.hpp /opt/dtk/include/rocprim/device/detail/ordered_block_id.hpp /opt/dtk/include/rocprim/device/detail/uint_fast_div.hpp /opt/dtk/include/rocprim/device/device_histogram.hpp /opt/dtk/include/rocprim/device/device_histogram_config.hpp /opt/dtk/include/rocprim/device/device_partition.hpp /opt/dtk/include/rocprim/device/device_radix_sort.hpp /opt/dtk/include/rocprim/device/device_radix_sort_config.hpp /opt/dtk/include/rocprim/device/device_reduce.hpp /opt/dtk/include/rocprim/device/device_reduce_by_key.hpp /opt/dtk/include/rocprim/device/device_reduce_by_key_config.hpp /opt/dtk/include/rocprim/device/device_reduce_config.hpp /opt/dtk/include/rocprim/device/device_run_length_encode.hpp /opt/dtk/include/rocprim/device/device_run_length_encode_config.hpp /opt/dtk/include/rocprim/device/device_scan.hpp /opt/dtk/include/rocprim/device/device_scan_config.hpp /opt/dtk/include/rocprim/device/device_segmented_radix_sort.hpp /opt/dtk/include/rocprim/device/device_segmented_radix_sort_config.hpp /opt/dtk/include/rocprim/device/device_segmented_reduce.hpp /opt/dtk/include/rocprim/device/device_select.hpp /opt/dtk/include/rocprim/device/device_select_config.hpp /opt/dtk/include/rocprim/device/device_transform.hpp /opt/dtk/include/rocprim/device/device_transform_config.hpp /opt/dtk/include/rocprim/device/specialization/device_radix_merge_sort.hpp /opt/dtk/include/rocprim/device/specialization/device_radix_single_sort.hpp /opt/dtk/include/rocprim/functional.hpp /opt/dtk/include/rocprim/intrinsics.hpp /opt/dtk/include/rocprim/intrinsics/atomic.hpp /opt/dtk/include/rocprim/intrinsics/bit.hpp /opt/dtk/include/rocprim/intrinsics/thread.hpp /opt/dtk/include/rocprim/intrinsics/warp.hpp /opt/dtk/include/rocprim/intrinsics/warp_shuffle.hpp /opt/dtk/include/rocprim/iterator/arg_index_iterator.hpp /opt/dtk/include/rocprim/iterator/constant_iterator.hpp /opt/dtk/include/rocprim/iterator/counting_iterator.hpp /opt/dtk/include/rocprim/iterator/discard_iterator.hpp /opt/dtk/include/rocprim/iterator/texture_cache_iterator.hpp /opt/dtk/include/rocprim/iterator/transform_iterator.hpp /opt/dtk/include/rocprim/iterator/zip_iterator.hpp /opt/dtk/include/rocprim/type_traits.hpp /opt/dtk/include/rocprim/types.hpp /opt/dtk/include/rocprim/types/double_buffer.hpp /opt/dtk/include/rocprim/types/future_value.hpp /opt/dtk/include/rocprim/types/integer_sequence.hpp /opt/dtk/include/rocprim/types/key_value_pair.hpp /opt/dtk/include/rocprim/types/tuple.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_crosslane.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_dpp.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp /opt/dtk/include/rocprim/warp/detail/warp_reduce_shuffle.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_crosslane.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_dpp.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_shared_mem.hpp /opt/dtk/include/rocprim/warp/detail/warp_scan_shuffle.hpp /opt/dtk/include/rocprim/warp/detail/warp_segment_bounds.hpp /opt/dtk/include/rocprim/warp/warp_reduce.hpp /opt/dtk/include/rocprim/warp/warp_scan.hpp /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/atomic /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/codecvt.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/fstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_mutex.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_map.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multimap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_multiset.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_set.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tree.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stream_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cassert /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstddef /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/fstream /opt/rh/devtoolset-7/root/usr/include/c++/7/functional /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/iterator /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/map /opt/rh/devtoolset-7/root/usr/include/c++/7/math.h /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/mutex /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/set /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/basic_file.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++io.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/SimulationRegion.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/fmt_nlist.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/neighbor_list.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/prod_env_mat.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/utilities.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_env_mat.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o
restat = 1
@@ -969,8 +1093,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_e
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/prod_force.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_force.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/prod_force.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_force.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o
restat = 1
@@ -978,8 +1102,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_f
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/prod_force_grad.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_force_grad.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/prod_force_grad.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_force_grad.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o
restat = 1
@@ -987,8 +1111,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_f
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/prod_virial.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_virial.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/prod_virial.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_virial.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o
restat = 1
@@ -996,8 +1120,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_v
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/prod_virial_grad.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/prod_virial_grad.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o
restat = 1
@@ -1005,8 +1129,8 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_v
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/region.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/region.cuh /public/home/zhangqha/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/region.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_region.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_region.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/region.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/region.cuh /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/region.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/region.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_region.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_region.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o
restat = 1
@@ -1014,14 +1138,14 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region
#############################################
# Custom command for lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o
-build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o: CUSTOM_COMMAND /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu /opt/dtk-22.10/hip/include/hip/hip_common.h /opt/dtk-22.10/hip/include/hip/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hip_vector_types.h /opt/dtk-22.10/hip/include/hip/hip_version.h /opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h /opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h /opt/dtk-22.10/hip/include/hip/library_types.h /opt/dtk-22.10/hip/include/hip/surface_types.h /opt/dtk-22.10/hip/include/hip/texture_types.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/deepmd-kit/source/lib/include/tabulate.h /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_tabulate.hip.cu.o -P /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
+build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o | ${cmake_ninja_workdir}lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o: CUSTOM_COMMAND /root/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdarg.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stddef.h /opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h /opt/dtk/hip/include/hip/hip_common.h /opt/dtk/hip/include/hip/hip_runtime.h /opt/dtk/hip/include/hip/hip_runtime_api.h /opt/dtk/hip/include/hip/hip_texture_types.h /opt/dtk/hip/include/hip/hip_vector_types.h /opt/dtk/hip/include/hip/hip_version.h /opt/dtk/hip/include/hip/hsa_detail/channel_descriptor.h /opt/dtk/hip/include/hip/hsa_detail/device_ext_function_.h /opt/dtk/hip/include/hip/hsa_detail/device_functions.h /opt/dtk/hip/include/hip/hsa_detail/device_library_decls.h /opt/dtk/hip/include/hip/hsa_detail/driver_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_atomic.h /opt/dtk/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/hip_ldg.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime.h /opt/dtk/hip/include/hip/hsa_detail/hip_runtime_api.h /opt/dtk/hip/include/hip/hsa_detail/hip_surface_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_texture_types.h /opt/dtk/hip/include/hip/hsa_detail/hip_vector_types.hpp /opt/dtk/hip/include/hip/hsa_detail/host_defines.h /opt/dtk/hip/include/hip/hsa_detail/library_types.h /opt/dtk/hip/include/hip/hsa_detail/llvm_intrinsics.h /opt/dtk/hip/include/hip/hsa_detail/math_functions.h /opt/dtk/hip/include/hip/hsa_detail/math_fwd.h /opt/dtk/hip/include/hip/hsa_detail/ockl_image.h /opt/dtk/hip/include/hip/hsa_detail/surface_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_fetch_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_indirect_functions.h /opt/dtk/hip/include/hip/hsa_detail/texture_types.h /opt/dtk/hip/include/hip/library_types.h /opt/dtk/hip/include/hip/texture_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm /opt/rh/devtoolset-7/root/usr/include/c++/7/array /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/backward/binders.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/algorithmfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocated_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/atomic_lockfree_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_ios.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/basic_string.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/char_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/concept_check.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cpp_type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_forced.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/cxxabi_init_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/exception_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functexcept.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/functional_hash.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/hash_bytes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/invoke.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ios_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/istream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_classes.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/locale_facets.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/localefwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/memoryfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/move.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/nested_exception.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ostream_insert.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/parse_numbers.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/postypes.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/predefined_ops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/ptr_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/range_access.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/refwrap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_atomic.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/shared_ptr_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/sstream.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/std_abs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algo.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_algobase.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_bvector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_construct.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_function.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_heap.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_funcs.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_iterator_base_types.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_pair.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_raw_storage_iter.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_relops.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_tempbuf.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_uninitialized.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stl_vector.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/streambuf_iterator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/stringfwd.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uniform_int_dist.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/unique_ptr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/uses_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/bits/vector.tcc /opt/rh/devtoolset-7/root/usr/include/c++/7/cctype /opt/rh/devtoolset-7/root/usr/include/c++/7/cerrno /opt/rh/devtoolset-7/root/usr/include/c++/7/chrono /opt/rh/devtoolset-7/root/usr/include/c++/7/climits /opt/rh/devtoolset-7/root/usr/include/c++/7/clocale /opt/rh/devtoolset-7/root/usr/include/c++/7/cmath /opt/rh/devtoolset-7/root/usr/include/c++/7/complex /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdint /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdio /opt/rh/devtoolset-7/root/usr/include/c++/7/cstdlib /opt/rh/devtoolset-7/root/usr/include/c++/7/ctime /opt/rh/devtoolset-7/root/usr/include/c++/7/cwchar /opt/rh/devtoolset-7/root/usr/include/c++/7/cwctype /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/assertions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/debug/debug.h /opt/rh/devtoolset-7/root/usr/include/c++/7/exception /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/aligned_buffer.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/alloc_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/atomicity.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/concurrence.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/new_allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/numeric_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/string_conversions.h /opt/rh/devtoolset-7/root/usr/include/c++/7/ext/type_traits.h /opt/rh/devtoolset-7/root/usr/include/c++/7/initializer_list /opt/rh/devtoolset-7/root/usr/include/c++/7/ios /opt/rh/devtoolset-7/root/usr/include/c++/7/iosfwd /opt/rh/devtoolset-7/root/usr/include/c++/7/iostream /opt/rh/devtoolset-7/root/usr/include/c++/7/istream /opt/rh/devtoolset-7/root/usr/include/c++/7/limits /opt/rh/devtoolset-7/root/usr/include/c++/7/memory /opt/rh/devtoolset-7/root/usr/include/c++/7/new /opt/rh/devtoolset-7/root/usr/include/c++/7/ostream /opt/rh/devtoolset-7/root/usr/include/c++/7/ratio /opt/rh/devtoolset-7/root/usr/include/c++/7/sstream /opt/rh/devtoolset-7/root/usr/include/c++/7/stdexcept /opt/rh/devtoolset-7/root/usr/include/c++/7/stdlib.h /opt/rh/devtoolset-7/root/usr/include/c++/7/streambuf /opt/rh/devtoolset-7/root/usr/include/c++/7/string /opt/rh/devtoolset-7/root/usr/include/c++/7/system_error /opt/rh/devtoolset-7/root/usr/include/c++/7/thread /opt/rh/devtoolset-7/root/usr/include/c++/7/tuple /opt/rh/devtoolset-7/root/usr/include/c++/7/type_traits /opt/rh/devtoolset-7/root/usr/include/c++/7/typeinfo /opt/rh/devtoolset-7/root/usr/include/c++/7/utility /opt/rh/devtoolset-7/root/usr/include/c++/7/vector /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/atomic_word.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++allocator.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++config.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/c++locale.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/cpu_defines.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_base.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/ctype_inline.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/error_constants.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h /opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/device.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/errors.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/gpu_rocm.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/include/tabulate.h /public/home/zhangqha/sourcecode/source/examples/TensorFlow/Train/DeePMD/gitlab/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu /usr/include/_G_config.h /usr/include/alloca.h /usr/include/asm-generic/errno-base.h /usr/include/asm-generic/errno.h /usr/include/asm/errno.h /usr/include/assert.h /usr/include/bits/byteswap-16.h /usr/include/bits/byteswap.h /usr/include/bits/endian.h /usr/include/bits/errno.h /usr/include/bits/huge_val.h /usr/include/bits/huge_valf.h /usr/include/bits/huge_vall.h /usr/include/bits/inf.h /usr/include/bits/local_lim.h /usr/include/bits/locale.h /usr/include/bits/mathcalls.h /usr/include/bits/mathdef.h /usr/include/bits/mathinline.h /usr/include/bits/nan.h /usr/include/bits/posix1_lim.h /usr/include/bits/posix2_lim.h /usr/include/bits/pthreadtypes.h /usr/include/bits/sched.h /usr/include/bits/select.h /usr/include/bits/setjmp.h /usr/include/bits/sigset.h /usr/include/bits/stdio.h /usr/include/bits/stdio_lim.h /usr/include/bits/stdlib-float.h /usr/include/bits/sys_errlist.h /usr/include/bits/time.h /usr/include/bits/timex.h /usr/include/bits/types.h /usr/include/bits/typesizes.h /usr/include/bits/waitflags.h /usr/include/bits/waitstatus.h /usr/include/bits/wchar.h /usr/include/bits/wordsize.h /usr/include/bits/xopen_lim.h /usr/include/ctype.h /usr/include/endian.h /usr/include/errno.h /usr/include/features.h /usr/include/gnu/stubs-64.h /usr/include/gnu/stubs.h /usr/include/libio.h /usr/include/limits.h /usr/include/linux/errno.h /usr/include/linux/limits.h /usr/include/locale.h /usr/include/math.h /usr/include/pthread.h /usr/include/sched.h /usr/include/stdc-predef.h /usr/include/stdint.h /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h /usr/include/sys/cdefs.h /usr/include/sys/select.h /usr/include/sys/sysmacros.h /usr/include/sys/types.h /usr/include/time.h /usr/include/wchar.h /usr/include/wctype.h /usr/include/xlocale.h lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E make_directory /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//. && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=RELEASE -D generated_file:STRING=/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//./deepmd_op_rocm_generated_tabulate.hip.cu.o -P /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
DESC = Building HIPCC object lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o
restat = 1
# =============================================================================
# Write statements declared in CMakeLists.txt:
-# /public/home/zhangqha/deepmd-kit/source/CMakeLists.txt
+# /root/deepmd-kit/source/CMakeLists.txt
# =============================================================================
@@ -1029,7 +1153,7 @@ build lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabula
# Utility command for edit_cache
build config/CMakeFiles/edit_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
DESC = No interactive CMake dialog available...
restat = 1
@@ -1040,7 +1164,7 @@ build config/edit_cache: phony config/CMakeFiles/edit_cache.util
# Utility command for rebuild_cache
build config/CMakeFiles/rebuild_cache.util: CUSTOM_COMMAND
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/public/home/zhangqha/deepmd-kit/source -B/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake --regenerate-during-build -S/root/deepmd-kit/source -B/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
DESC = Running CMake to regenerate build system...
pool = console
restat = 1
@@ -1058,7 +1182,7 @@ build config/list_install_components: phony
# Utility command for install
build config/CMakeFiles/install.util: CUSTOM_COMMAND config/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -P cmake_install.cmake
DESC = Install the project...
pool = console
restat = 1
@@ -1070,7 +1194,7 @@ build config/install: phony config/CMakeFiles/install.util
# Utility command for install/local
build config/CMakeFiles/install/local.util: CUSTOM_COMMAND config/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
DESC = Installing only the local directory...
pool = console
restat = 1
@@ -1082,7 +1206,7 @@ build config/install/local: phony config/CMakeFiles/install/local.util
# Utility command for install/strip
build config/CMakeFiles/install/strip.util: CUSTOM_COMMAND config/all
- COMMAND = cd /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
+ COMMAND = cd /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config && /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
DESC = Installing the project stripped...
pool = console
restat = 1
@@ -1114,35 +1238,35 @@ build op_grads: phony op/libop_grads.so
# =============================================================================
#############################################
-# Folder: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
+# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build
build all: phony op/all lib/all config/all
# =============================================================================
#############################################
-# Folder: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config
+# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config
build config/all: phony
# =============================================================================
#############################################
-# Folder: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib
+# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib
build lib/all: phony lib/libdeepmd.so lib/src/rocm/all
# =============================================================================
#############################################
-# Folder: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm
+# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm
build lib/src/rocm/all: phony lib/src/rocm/libdeepmd_op_rocm.so
# =============================================================================
#############################################
-# Folder: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op
+# Folder: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op
build op/all: phony op/libop_abi.so op/libop_grads.so
@@ -1153,14 +1277,14 @@ build op/all: phony op/libop_abi.so op/libop_grads.so
#############################################
# Re-run CMake if any of its inputs changed.
-build build.ninja: RERUN_CMAKE | /opt/dtk-22.10/hip/cmake/FindHIP.cmake /opt/dtk-22.10/hip/cmake/FindHIP/run_hipcc.cmake /public/home/zhangqha/deepmd-kit/source/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/cmake/FindROCM.cmake /public/home/zhangqha/deepmd-kit/source/cmake/Findtensorflow.cmake /public/home/zhangqha/deepmd-kit/source/cmake/cmake_lammps.cmake.in /public/home/zhangqha/deepmd-kit/source/cmake/cmake_uninstall.cmake.in /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp /public/home/zhangqha/deepmd-kit/source/config/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/config/run_config.ini /public/home/zhangqha/deepmd-kit/source/lib/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/op/CMakeLists.txt /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCompilerIdDetection.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeGenericSystem.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeHIPCompiler.cmake.in /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseImplicitLinkInfo.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXCompilerFlag.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXSourceCompiles.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckIncludeFile.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ADSP-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMCC-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMClang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/AppleClang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Borland-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Bruce-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompilerInternal.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-FindBinUtils.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Compaq-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Cray-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Embarcadero-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Fujitsu-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GHS-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-CXX.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/HP-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IAR-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Intel-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/LCC-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/MSVC-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVHPC-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVIDIA-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PGI-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PathScale-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SCO-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SDCC-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SunPro-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TI-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Tasking-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Watcom-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XL-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XLClang-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/zOS-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindGit.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageMessage.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckCompilerFlag.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckFlagCommonConfig.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-C.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-CXX.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.26.0/CMakeCCompiler.cmake CMakeFiles/3.26.0/CMakeCXXCompiler.cmake CMakeFiles/3.26.0/CMakeSystem.cmake lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend
+build build.ninja: RERUN_CMAKE | /opt/dtk-22.04.2/hip/cmake/FindHIP.cmake /opt/dtk-22.04.2/hip/cmake/FindHIP/run_hipcc.cmake /root/deepmd-kit/source/CMakeLists.txt /root/deepmd-kit/source/cmake/FindROCM.cmake /root/deepmd-kit/source/cmake/Findtensorflow.cmake /root/deepmd-kit/source/cmake/cmake_lammps.cmake.in /root/deepmd-kit/source/cmake/cmake_uninstall.cmake.in /root/deepmd-kit/source/cmake/tf_version.cpp /root/deepmd-kit/source/config/CMakeLists.txt /root/deepmd-kit/source/config/run_config.ini /root/deepmd-kit/source/lib/CMakeLists.txt /root/deepmd-kit/source/lib/src/rocm/CMakeLists.txt /root/deepmd-kit/source/op/CMakeLists.txt /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompiler.cmake.in /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompiler.cmake.in /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCompilerIdDetection.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompileFeatures.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeGenericSystem.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseImplicitIncludeInfo.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseImplicitLinkInfo.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseLibraryArchitecture.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystem.cmake.in /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCompilerCommon.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXCompilerFlag.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXSourceCompiles.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckIncludeFile.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ADSP-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMCC-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMClang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/AppleClang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Borland-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Bruce-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompilerInternal.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Compaq-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Cray-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Embarcadero-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Fujitsu-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GHS-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-CXX.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-FindBinUtils.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/HP-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/HP-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IAR-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Intel-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/LCC-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/MSVC-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVHPC-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVIDIA-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PGI-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PathScale-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SCO-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SDCC-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SunPro-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TI-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Tasking-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Watcom-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XL-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XL-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XLClang-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/zOS-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindGit.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageMessage.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckCompilerFlag.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckFlagCommonConfig.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/FeatureTesting.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-Determine-CXX.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-C.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-CXX.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.26.3/CMakeCCompiler.cmake CMakeFiles/3.26.3/CMakeCXXCompiler.cmake CMakeFiles/3.26.3/CMakeSystem.cmake lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend
pool = console
#############################################
# A missing CMake input file is not an error.
-build /opt/dtk-22.10/hip/cmake/FindHIP.cmake /opt/dtk-22.10/hip/cmake/FindHIP/run_hipcc.cmake /public/home/zhangqha/deepmd-kit/source/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/cmake/FindROCM.cmake /public/home/zhangqha/deepmd-kit/source/cmake/Findtensorflow.cmake /public/home/zhangqha/deepmd-kit/source/cmake/cmake_lammps.cmake.in /public/home/zhangqha/deepmd-kit/source/cmake/cmake_uninstall.cmake.in /public/home/zhangqha/deepmd-kit/source/cmake/tf_version.cpp /public/home/zhangqha/deepmd-kit/source/config/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/config/run_config.ini /public/home/zhangqha/deepmd-kit/source/lib/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/lib/src/rocm/CMakeLists.txt /public/home/zhangqha/deepmd-kit/source/op/CMakeLists.txt /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCompilerIdDetection.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineHIPCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeGenericSystem.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeHIPCompiler.cmake.in /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseImplicitLinkInfo.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXCompilerFlag.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXSourceCompiles.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckIncludeFile.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ADSP-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMCC-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMClang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/AppleClang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Borland-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Bruce-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompilerInternal.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-FindBinUtils.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Compaq-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Cray-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Embarcadero-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Fujitsu-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GHS-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-CXX.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/HP-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IAR-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Intel-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/LCC-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/MSVC-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVHPC-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVIDIA-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PGI-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PathScale-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SCO-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SDCC-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SunPro-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TI-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Tasking-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Watcom-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XL-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XLClang-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/zOS-C-DetermineCompiler.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindGit.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageMessage.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckCompilerFlag.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckFlagCommonConfig.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-C.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-CXX.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux.cmake /tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.26.0/CMakeCCompiler.cmake CMakeFiles/3.26.0/CMakeCXXCompiler.cmake CMakeFiles/3.26.0/CMakeSystem.cmake lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend: phony
+build /opt/dtk-22.04.2/hip/cmake/FindHIP.cmake /opt/dtk-22.04.2/hip/cmake/FindHIP/run_hipcc.cmake /root/deepmd-kit/source/CMakeLists.txt /root/deepmd-kit/source/cmake/FindROCM.cmake /root/deepmd-kit/source/cmake/Findtensorflow.cmake /root/deepmd-kit/source/cmake/cmake_lammps.cmake.in /root/deepmd-kit/source/cmake/cmake_uninstall.cmake.in /root/deepmd-kit/source/cmake/tf_version.cpp /root/deepmd-kit/source/config/CMakeLists.txt /root/deepmd-kit/source/config/run_config.ini /root/deepmd-kit/source/lib/CMakeLists.txt /root/deepmd-kit/source/lib/src/rocm/CMakeLists.txt /root/deepmd-kit/source/op/CMakeLists.txt /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompiler.cmake.in /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCCompilerABI.c /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompiler.cmake.in /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXCompilerABI.cpp /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCXXInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCommonLanguageInclude.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeCompilerIdDetection.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCXXCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompileFeatures.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerABI.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineCompilerId.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeDetermineSystem.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeFindBinUtils.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeGenericSystem.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeInitializeConfigs.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeLanguageInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseImplicitIncludeInfo.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseImplicitLinkInfo.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeParseLibraryArchitecture.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystem.cmake.in /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInformation.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeSystemSpecificInitialize.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCXXCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CMakeTestCompilerCommon.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCSourceCompiles.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXCompilerFlag.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckCXXSourceCompiles.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckIncludeFile.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/CheckLibraryExists.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ADSP-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMCC-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/ARMClang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/AppleClang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Borland-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Bruce-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/CMakeCommonCompilerMacros.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Clang-DetermineCompilerInternal.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Compaq-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Cray-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Embarcadero-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Fujitsu-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/FujitsuClang-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GHS-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-C.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-CXX.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU-FindBinUtils.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/GNU.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/HP-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/HP-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IAR-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMClang-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IBMClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Intel-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/IntelLLVM-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/LCC-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/LCC-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/MSVC-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVHPC-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/NVIDIA-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PGI-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/PathScale-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SCO-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SDCC-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SunPro-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TI-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Tasking-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/Watcom-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XL-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XL-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XLClang-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/XLClang-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/zOS-C-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindGit.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindOpenMP.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageMessage.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/FindThreads.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckCompilerFlag.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckFlagCommonConfig.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/CheckSourceCompiles.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Internal/FeatureTesting.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-Determine-CXX.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-C.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU-CXX.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux-GNU.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/Linux.cmake /tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/share/cmake-3.26/Modules/Platform/UnixPaths.cmake CMakeCache.txt CMakeFiles/3.26.3/CMakeCCompiler.cmake CMakeFiles/3.26.3/CMakeCXXCompiler.cmake CMakeFiles/3.26.3/CMakeSystem.cmake lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend: phony
#############################################
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/cmake_install.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/cmake_install.cmake
index ef21d1f401ba326d4289dac0fd8de106b248fe62..a22ea9897cbb587d4c26119353d1bc5b4c935695 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/cmake_install.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/cmake_install.cmake
@@ -1,8 +1,8 @@
-# Install script for directory: /public/home/zhangqha/deepmd-kit/source
+# Install script for directory: /root/deepmd-kit/source
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
+ set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
@@ -44,9 +44,9 @@ endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
- include("/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake")
- include("/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake")
- include("/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake")
+ include("/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake")
+ include("/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake")
+ include("/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake")
endif()
@@ -58,5 +58,5 @@ endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
-file(WRITE "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/${CMAKE_INSTALL_MANIFEST}"
+file(WRITE "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake
index 7952a3d6aa0fcb468d4c42c63cfdd8c843d68f44..e5579ee735c041f312c24552ca8fd0192c673b22 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake
@@ -1,5 +1,5 @@
-set (LMP_INSTALL_PREFIX "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/USER-DEEPMD")
-file(READ "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/lammps_install_list.txt" files)
+set (LMP_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/USER-DEEPMD")
+file(READ "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/lammps_install_list.txt" files)
string(REGEX REPLACE "\n" "" files "${files}")
foreach (cur_file ${files})
@@ -13,16 +13,16 @@ endforeach ()
file (
INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
TYPE FILE
- FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/env.sh"
+ FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/env.sh"
)
file (
INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
TYPE FILE
- FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/env_low.sh"
+ FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/env_low.sh"
)
file (
INSTALL DESTINATION "${LMP_INSTALL_PREFIX}"
TYPE FILE
- FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/pair_deepmd.h"
+ FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lmp/pair_deepmd.h"
)
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake
index 5bc7825cee2366ed10cf078216b864969accf44f..b3845b5a2b24e45c46d96a82db85ed05ef077ea5 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake
@@ -1,14 +1,14 @@
-if(NOT EXISTS "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt")
- message(FATAL_ERROR "Cannot find install manifest: /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt")
-endif(NOT EXISTS "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt")
+if(NOT EXISTS "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt")
+ message(FATAL_ERROR "Cannot find install manifest: /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt")
+endif(NOT EXISTS "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt")
-file(READ "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt" files)
+file(READ "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
- "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
+ "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake
index 91b15bcab3bab1f1255b61a27130b919c09f7019..4e5253249cf9e3c64fa40db546cd8206abde801c 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake
@@ -1,8 +1,8 @@
-# Install script for directory: /public/home/zhangqha/deepmd-kit/source/config
+# Install script for directory: /root/deepmd-kit/source/config
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
+ set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
@@ -43,6 +43,6 @@ if(NOT DEFINED CMAKE_OBJDUMP)
endif()
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/pkg_config" TYPE FILE FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini")
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/pkg_config" TYPE FILE FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini")
endif()
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini b/_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini
index 2251b2769705f693272b3e426b401b4e65c6241a..2033fe9e7d7408c3b621732b8f2b39b6c3db4e28 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini
@@ -1,12 +1,12 @@
[CONFIG]
-INSTALL_PREFIX = /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
-GIT_SUMM = v2.1.5-dirty
-GIT_HASH = 6e3d4a6
-GIT_DATE = 2022-09-23 16:10:28 +0800
-GIT_BRANCH = HEAD
+INSTALL_PREFIX = /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
+GIT_SUMM =
+GIT_HASH = 187c0ae
+GIT_DATE = 2023-03-14 01:42:38 +0000
+GIT_BRANCH = main
TF_INCLUDE_DIR = /usr/local/lib/python3.7/site-packages/tensorflow/include;/usr/local/lib/python3.7/site-packages/tensorflow/include
TF_LIBS =
-TF_VERSION = 2.9.0
+TF_VERSION = 2.7.0
TF_CXX11_ABI_FLAG = 0
MODEL_VERSION=1.1
DP_VARIANT=rocm
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt b/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt
index 335eb5d1e13b895630a405b470a20d8575bd9675..effa0089ef13617292133bdc64312d428873e2ab 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt
@@ -1,21 +1,21 @@
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_abi.so
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_grads.so
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_gelu.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_map_nvnmd_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_matmul_nvnmd_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_force_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_force_se_a_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_force_se_r_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_virial_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_virial_se_a_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_virial_se_r_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_quantize_nvnmd_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_soft_min_force_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_soft_min_virial_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_tabulate_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_tanh2_nvnmd_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_tanh4_nvnmd_grad.py
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd.so
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/lib/libdeepmd_op_rocm.so
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd_op_rocm.so
-/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/pkg_config/run_config.ini
\ No newline at end of file
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_abi.so
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_grads.so
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_gelu.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_map_nvnmd_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_matmul_nvnmd_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_force_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_force_se_a_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_force_se_r_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_virial_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_virial_se_a_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_prod_virial_se_r_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_quantize_nvnmd_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_soft_min_force_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_soft_min_virial_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_tabulate_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_tanh2_nvnmd_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/_tanh4_nvnmd_grad.py
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd.so
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/lib/libdeepmd_op_rocm.so
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd_op_rocm.so
+/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/pkg_config/run_config.ini
\ No newline at end of file
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o
index a49b73803587d075d618daec29d6a108680b4c39..f417d610f456068010786afcc8d3e3f40239f0ba 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o
index ded7fd600bb45d12269449cc80952f498eb4a139..6618883482e5fee27b34fe45ad8f92dfe5d756a2 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o
index bf204311b3360cd9d7fc6967765bdee7f47bdd06..df89ab9c0f81a528659801bfe2a4b2c1f2ab36d7 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake
index c09f1919b35c97be725c66df20a8512016b9507c..0f520de24d7f4c98ce6310576fadb005a67b7e0c 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake
@@ -1,8 +1,8 @@
-# Install script for directory: /public/home/zhangqha/deepmd-kit/source/lib
+# Install script for directory: /root/deepmd-kit/source/lib
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
+ set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
@@ -49,7 +49,7 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so"
RPATH "$ORIGIN")
endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE SHARED_LIBRARY FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so")
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE SHARED_LIBRARY FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so")
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd.so")
file(RPATH_CHANGE
@@ -67,7 +67,7 @@ endif()
if(NOT CMAKE_INSTALL_LOCAL_ONLY)
# Include the install script for each subdirectory.
- include("/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake")
+ include("/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake")
endif()
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so b/_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so
index 20c818f0045606c21032ea6c7cda6322cc37b490..a5a025b43ed6c7d7271ee6406a859a07851a377e 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o
index eed1a5cb1beef64108ae746c6a5011dcd7e16f7c..cd06e119990dd94e00741d645545bae409a9b3d5 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake
index 1d931fc945daa47ebf393dc90890f00a2e0e28e5..a3036171ace78a725e0397f717602844cd93ad70 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_coord.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/coord.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_coord.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/coord.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen
index 51ffbd5656db41f66beb2be750a14a4320e62b7c..c37062ebeb6c67962c5da72e2da098df14820b60 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_coord.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/coord.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_coord.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/coord.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend
index 75c660f91dac0a15001239471ca5cdc481382c11..bba25e2cb0680a013feb0c061f01a840454b92d4 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,13 +170,18 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/coord.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/region.cuh"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/region.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/coord.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/coord.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/region.cuh"
+ "/root/deepmd-kit/source/lib/include/region.h"
+ "/root/deepmd-kit/source/lib/src/rocm/coord.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o
index c69c936b8e495085951b8a8af432d27f14cfc84e..7ff81a092b8a24cd2e1ca6efe8cea091ce2752c0 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
index 5415f66e740c6c1e14490e27231708686f3d6b61..71fef6b604428769428f6089a6c7d165bb87d753 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_gelu.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/gelu.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_gelu.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/gelu.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen
index cab4adec1a9a3f492ecd8eaadcb3353833e1a8f8..f0bbe80f596b405665842f4b18cbcdcf4e392563 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_gelu.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/gelu.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_gelu.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/gelu.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend
index bba56cb52d493edc8e9627b106ade819066263e0..382a2f748dc934d3b9fb3fc9527ea55b8f512f50 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,11 +170,16 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gelu.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/gelu.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gelu.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/src/rocm/gelu.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o
index dd81724707a06f0fa5273d05e26209e11edb5cda..0d73006435f3cf94c4a76057f570fd3efa2b347e 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
index 694fd1b594e3fd96dc3bb0b0e86309b2f535499e..8449dade90e606aed85dd2393de1abce0d4c9a69 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen
index 2876e80fd0c3f25c8bde16c12aa38bb5a98656c6..775d191650f649e9d0d74aa8f98cb46550404732 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend
index 8464c09a7297c670822077ae7e76777bbfc66a8a..cfd3b61fda08f750fa579edc1fb735bfcdca50da 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend
@@ -1,206 +1,182 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_bfloat16.h"
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_fp16.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_discontinuity.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_exchange.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_histogram.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load_func.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_merge_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_radix_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store_func.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_histogram.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_radix_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_select.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/hipcub.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_load.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_operators.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_search.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_store.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_allocator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_math.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_ptx.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_type.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_exchange.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_load.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_merge_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_store.hpp"
- "/opt/dtk-22.10/include/hipcub/config.hpp"
- "/opt/dtk-22.10/include/hipcub/hipcub.hpp"
- "/opt/dtk-22.10/include/hipcub/hipcub_version.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_discontinuity.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_exchange.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_histogram.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_load.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_load_func.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_store.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_store_func.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_histogram_atomic.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_histogram_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_reduce_raking_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_reduce_warp_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_scan_warp_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/config.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/all_true.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/binary_op_wrappers.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/match_result_type.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/various.hpp"
- "/opt/dtk-22.10/include/rocprim/device/config_types.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_histogram.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_partition.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_reduce_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_common.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_lookback.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_segmented_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_segmented_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_transform.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/lookback_scan_state.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/ordered_block_id.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/uint_fast_div.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_histogram.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_histogram_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_partition.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_radix_sort_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce_by_key_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_run_length_encode.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_run_length_encode_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan_by_key_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_segmented_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_select.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_select_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_transform.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_transform_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/specialization/device_radix_merge_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/specialization/device_radix_single_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/functional.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/atomic.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/bit.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/thread.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/warp.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/warp_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/arg_index_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/constant_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/counting_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/discard_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/texture_cache_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/transform_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/zip_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/type_traits.hpp"
- "/opt/dtk-22.10/include/rocprim/types.hpp"
- "/opt/dtk-22.10/include/rocprim/types/double_buffer.hpp"
- "/opt/dtk-22.10/include/rocprim/types/future_value.hpp"
- "/opt/dtk-22.10/include/rocprim/types/integer_sequence.hpp"
- "/opt/dtk-22.10/include/rocprim/types/key_value_pair.hpp"
- "/opt/dtk-22.10/include/rocprim/types/tuple.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_crosslane.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_dpp.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_crosslane.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_dpp.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shared_mem.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_segment_bounds.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_sort_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_exchange.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_load.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_store.hpp"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_bfloat16.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_fp16.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_discontinuity.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_exchange.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_histogram.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_load.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_load_func.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_store.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_store_func.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_histogram.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_select.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/hipcub.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_load.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_operators.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_search.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_store.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/util_allocator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/util_ptx.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/util_type.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/warp/warp_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/warp/warp_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/config.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/hipcub.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/hipcub_version.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_discontinuity.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_exchange.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_histogram.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_load.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_load_func.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_store.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_store_func.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_histogram_atomic.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_histogram_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_reduce_raking_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_reduce_warp_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_scan_warp_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/all_true.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/binary_op_wrappers.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/match_result_type.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/various.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/config_types.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_histogram.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_partition.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_reduce_by_key.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_scan_lookback.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_segmented_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_segmented_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_transform.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/lookback_scan_state.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/ordered_block_id.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/uint_fast_div.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_histogram.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_histogram_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_partition.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_radix_sort_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce_by_key.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce_by_key_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_run_length_encode.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_run_length_encode_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_scan_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_segmented_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_segmented_radix_sort_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_segmented_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_select.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_select_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_transform.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_transform_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/specialization/device_radix_merge_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/specialization/device_radix_single_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/functional.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/atomic.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/bit.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/thread.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/warp.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/warp_shuffle.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/arg_index_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/constant_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/counting_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/discard_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/texture_cache_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/transform_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/zip_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/type_traits.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/double_buffer.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/future_value.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/integer_sequence.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/key_value_pair.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/tuple.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_crosslane.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_dpp.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_shuffle.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_crosslane.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_dpp.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_shared_mem.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_shuffle.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_segment_bounds.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/warp_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/warp_scan.hpp"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/atomic"
@@ -351,14 +327,19 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/SimulationRegion.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/neighbor_list.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/region.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/utilities.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/SimulationRegion.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/neighbor_list.h"
+ "/root/deepmd-kit/source/lib/include/region.h"
+ "/root/deepmd-kit/source/lib/include/utilities.h"
+ "/root/deepmd-kit/source/lib/src/rocm/neighbor_list.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o
index a65fce1fb63140e517543e580f9889fcafee7994..bd9183594f555ff89cca008b597bd1e290c35a9c 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
index e4fa365b7f6531eecb516cb9a305ca4bcf1525cb..cda17da2ccf839800db7119f3bb574d3f1c7627d 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen
index 3009d7b347fda089d1515360add158e7b58b3940..c3da4bb3ede070f1aa0c59bc0a73d79d86af0c2d 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend
index 0d62322a510610889831aae999ce58e56d20d46f..72530b3fc78d0b2f86699050bdd75f2539f7f70c 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend
@@ -1,206 +1,182 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_bfloat16.h"
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_fp16.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_discontinuity.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_exchange.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_histogram.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_load_func.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_merge_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_radix_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/block/block_store_func.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_histogram.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_radix_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_segmented_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/device/device_select.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/hipcub.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_load.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_operators.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_search.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/thread/thread_store.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_allocator.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_math.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_ptx.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/util_type.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_exchange.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_load.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_merge_sort.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_reduce.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_scan.hpp"
- "/opt/dtk-22.10/include/hipcub/backend/rocprim/warp/warp_store.hpp"
- "/opt/dtk-22.10/include/hipcub/config.hpp"
- "/opt/dtk-22.10/include/hipcub/hipcub.hpp"
- "/opt/dtk-22.10/include/hipcub/hipcub_version.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_discontinuity.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_exchange.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_histogram.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_load.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_load_func.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_store.hpp"
- "/opt/dtk-22.10/include/rocprim/block/block_store_func.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_histogram_atomic.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_histogram_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_reduce_raking_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_reduce_warp_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/block/detail/block_scan_warp_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/config.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/all_true.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/binary_op_wrappers.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/match_result_type.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/detail/various.hpp"
- "/opt/dtk-22.10/include/rocprim/device/config_types.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_histogram.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_partition.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_reduce_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_common.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_lookback.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_segmented_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_segmented_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/device_transform.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/lookback_scan_state.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/ordered_block_id.hpp"
- "/opt/dtk-22.10/include/rocprim/device/detail/uint_fast_div.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_histogram.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_histogram_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_partition.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_radix_sort_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce_by_key_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_reduce_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_run_length_encode.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_run_length_encode_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan_by_key.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan_by_key_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_scan_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_segmented_radix_sort_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_segmented_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_select.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_select_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_transform.hpp"
- "/opt/dtk-22.10/include/rocprim/device/device_transform_config.hpp"
- "/opt/dtk-22.10/include/rocprim/device/specialization/device_radix_merge_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/device/specialization/device_radix_single_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/functional.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/atomic.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/bit.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/thread.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/warp.hpp"
- "/opt/dtk-22.10/include/rocprim/intrinsics/warp_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/arg_index_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/constant_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/counting_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/discard_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/texture_cache_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/transform_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/iterator/zip_iterator.hpp"
- "/opt/dtk-22.10/include/rocprim/type_traits.hpp"
- "/opt/dtk-22.10/include/rocprim/types.hpp"
- "/opt/dtk-22.10/include/rocprim/types/double_buffer.hpp"
- "/opt/dtk-22.10/include/rocprim/types/future_value.hpp"
- "/opt/dtk-22.10/include/rocprim/types/integer_sequence.hpp"
- "/opt/dtk-22.10/include/rocprim/types/key_value_pair.hpp"
- "/opt/dtk-22.10/include/rocprim/types/tuple.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_crosslane.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_dpp.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_reduce_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_crosslane.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_dpp.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shared_mem.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_scan_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_segment_bounds.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/detail/warp_sort_shuffle.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_exchange.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_load.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_reduce.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_scan.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_sort.hpp"
- "/opt/dtk-22.10/include/rocprim/warp/warp_store.hpp"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_bfloat16.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_fp16.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_discontinuity.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_exchange.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_histogram.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_load.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_load_func.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_store.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/block/block_store_func.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_histogram.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_run_length_encode.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_segmented_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_segmented_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/device/device_select.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/hipcub.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/arg_index_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/cache_modified_output_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/constant_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/counting_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/tex_obj_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/tex_ref_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/iterator/transform_input_iterator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_load.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_operators.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_search.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/thread/thread_store.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/util_allocator.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/util_ptx.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/util_type.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/warp/warp_reduce.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/backend/rocprim/warp/warp_scan.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/config.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/hipcub.hpp"
+ "/opt/dtk-22.04.2/include/hipcub/hipcub_version.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_discontinuity.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_exchange.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_histogram.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_load.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_load_func.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_store.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/block_store_func.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_histogram_atomic.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_histogram_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_reduce_raking_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_reduce_warp_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_scan_reduce_then_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/block/detail/block_scan_warp_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/all_true.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/binary_op_wrappers.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/match_result_type.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/detail/various.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/config_types.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_histogram.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_partition.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_reduce_by_key.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_scan_lookback.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_scan_reduce_then_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_segmented_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_segmented_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/device_transform.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/lookback_scan_state.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/ordered_block_id.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/detail/uint_fast_div.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_histogram.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_histogram_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_partition.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_radix_sort_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce_by_key.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce_by_key_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_reduce_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_run_length_encode.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_run_length_encode_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_scan.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_scan_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_segmented_radix_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_segmented_radix_sort_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_segmented_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_select.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_select_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_transform.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/device_transform_config.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/specialization/device_radix_merge_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/device/specialization/device_radix_single_sort.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/functional.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/atomic.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/bit.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/thread.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/warp.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/intrinsics/warp_shuffle.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/arg_index_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/constant_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/counting_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/discard_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/texture_cache_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/transform_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/iterator/zip_iterator.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/type_traits.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/double_buffer.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/future_value.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/integer_sequence.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/key_value_pair.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/types/tuple.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_crosslane.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_dpp.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_shared_mem.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_reduce_shuffle.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_crosslane.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_dpp.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_shared_mem.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_scan_shuffle.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/detail/warp_segment_bounds.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/warp_reduce.hpp"
+ "/opt/dtk-22.04.2/include/rocprim/warp/warp_scan.hpp"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/atomic"
@@ -351,16 +327,21 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/SimulationRegion.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/fmt_nlist.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/neighbor_list.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/prod_env_mat.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/region.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/utilities.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/SimulationRegion.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/fmt_nlist.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/neighbor_list.h"
+ "/root/deepmd-kit/source/lib/include/prod_env_mat.h"
+ "/root/deepmd-kit/source/lib/include/region.h"
+ "/root/deepmd-kit/source/lib/include/utilities.h"
+ "/root/deepmd-kit/source/lib/src/rocm/prod_env_mat.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o
index bc0d8fb93782fa333921d287698b7f486dc35cc8..cb461b8d4255a7ede7f9bd6d70e225e12ebf0a45 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
index b33eb5f12df73baa08ae54cfefaeab9f68637106..c28dcdbd3b0d4f5121418714a5a3af3f12a86158 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen
index d97c10476f5bc1ed953e782e5bd3dd3df2cb54b9..86e93f4af168bb5151580894af2e0feb6fb394a2 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend
index a4675fcd38426e45da05a9e3d1e6e6d9048c39bf..21a348834e8c01abd14f021f11102b54b47d7071 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,11 +170,16 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/prod_force.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/prod_force.h"
+ "/root/deepmd-kit/source/lib/src/rocm/prod_force.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o
index 0c856f8cf512c5f7493741b6b60319fddaff0693..00b4cc71a5acaea72103f2e81ac93c0e7a024191 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
index fab241316ff4da34d7c6a9e711c8e36a851563f0..a3d1c4eef0daf760d5fcdbd646732305e884fe99 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen
index 31e3e61ebfce11c0eb7d85faca674f175afb5afb..ae7b9eccde824e6bbdc7fdbb653304cce62afd55 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend
index 8043edd956d2c075ac50fbcec2bc38f531da62bb..9d4af3b687875ad92b648b8a859ace8f98f39a08 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,11 +170,16 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/prod_force_grad.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/prod_force_grad.h"
+ "/root/deepmd-kit/source/lib/src/rocm/prod_force_grad.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o
index 1b2732ff9ea326268c4d27143f33fe594cd14020..fd8a8bf79db8826264af90c2651bd2202f8a30d6 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
index 6c1fe5354077fd6e0dcfc23bef1d9500c133c427..fe7dd829c27a7c533a81abddc58fc9bb3f440eb7 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen
index 4942f84c01305ad43405d044e4dc4962166bb533..705411ff1b02fbe45c42ba202e58a255d3b13748 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend
index 24a9c9ff201982341cff92873cc28390cec0ac9a..5eabe247ede2bfacd5d4a432e2cce34d187de4fa 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,11 +170,16 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/prod_virial.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/prod_virial.h"
+ "/root/deepmd-kit/source/lib/src/rocm/prod_virial.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o
index d0ecb933f9508b5b0f609864ca7dabed4f3e32fe..fbcedb723cb37c8b40507bbbf1264d3e94267e8c 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
index f81de78cce38458080d29ac749f5032a19bb161a..61abda3198a530d75f7cc315e8878588313714dc 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen
index a21d986a6f11782d8170f853a8f61c61dbf069b7..a1fa75b3a287d7865f7b94d25b2086da6e117202 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend
index 94a0fb677b3222a893ea8b6080e7ead5c30f7bfb..1fbb52f2beaf2fb2fc9e2302ff51fd66188e8db6 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,11 +170,16 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/prod_virial_grad.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/prod_virial_grad.h"
+ "/root/deepmd-kit/source/lib/src/rocm/prod_virial_grad.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o
index 860fcd65994a3131bf5d680f6e71f2e2720dfffc..39e37d71ad31cf1fc7f786d0291493e74e28404b 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake
index dd0726b56d548ff615f4816f352393582e29056f..fd28acd065ae21eb1704cd4afe6b6d52d54e45fe 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_region.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/region.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_region.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/region.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen
index 37e4d38c4eceb501ca4ba97edc59a8604a0d5641..9543b046bf5e7f519b7e9ca9cff33436b465fe71 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_region.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/region.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_region.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/region.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend
index 1c936e8319f84634e1182a1fecec76dccf663db5..c2d14e910e84ddb353a4c8ddf326d2169d5fb6ac 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,12 +170,17 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/region.cuh"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/region.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/region.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/region.cuh"
+ "/root/deepmd-kit/source/lib/include/region.h"
+ "/root/deepmd-kit/source/lib/src/rocm/region.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o
index 365169799bd598ed0dc730874c2dbaff2dde4290..98c3e34f2b2c315d5a4bb1e56c16285c3e7b6098 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
index c1c3146ce9bc9d0d3979ffd2d09aad34e3de7145..9c305b5463b86f5152e364b32083c930dd180927 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;-DTENSORFLOW_USE_ROCM -D__HIP_PLATFORM_HCC__ -D_GLIBCXX_USE_CXX11_ABI=0 -DTENSORFLOW_USE_ROCM -DCUB_IGNORE_DEPRECATED_CPP_DIALECT -DCUB_IGNORE_DEPRECATED_CPP_DIALECT)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -46,10 +46,10 @@ set(HIP_NVCC_FLAGS_DEBUG )
set(HIP_NVCC_FLAGS_MINSIZEREL )
set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
-set(HIP_HIPCC_INCLUDE_ARGS -I/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/../../include/) # list
+set(HIP_HIPCC_INCLUDE_ARGS -I/root/deepmd-kit/source/lib/src/rocm/../../include/) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_tabulate.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_tabulate.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen
index b5077a7a329c5bf09fd6b1fd06d4f119fa361af5..376d6f11ef688208b6e511fbd49254b5c5852d84 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen
@@ -21,16 +21,16 @@ if(NOT generated_file)
endif()
# Set these up as variables to make reading the generated file easier
-set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipcc") # path
-set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.10/hip/bin/hipconfig") #path
+set(HIP_HIPCC_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipcc") # path
+set(HIP_HIPCONFIG_EXECUTABLE "/opt/dtk-22.04.2/hip/bin/hipconfig") #path
set(HIP_HOST_COMPILER "/opt/rh/devtoolset-7/root/usr/bin/c++") # path
-set(CMAKE_COMMAND "/tmp/pip-build-env-77v541be/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
-set(HIP_run_make2cmake "/opt/dtk-22.10/hip/cmake/FindHIP/run_make2cmake.cmake") # path
-set(HIP_CLANG_PATH "/opt/dtk-22.10/llvm/bin") #path
+set(CMAKE_COMMAND "/tmp/pip-build-env-lhxr9b79/overlay/lib/python3.7/site-packages/cmake/data/bin/cmake") # path
+set(HIP_run_make2cmake "/opt/dtk-22.04.2/hip/cmake/FindHIP/run_make2cmake.cmake") # path
+set(HIP_CLANG_PATH "/opt/dtk-22.04.2/llvm/bin") #path
set(HIP_CLANG_PARALLEL_BUILD_COMPILE_OPTIONS "")
-set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++14;$<$>:-D$, -D>>)
+set(HIP_HIPCC_FLAGS -fno-gpu-rdc;--amdgpu-target=gfx906;-fPIC;-O3;--std=c++11;$<$>:-D$, -D>>)
set(HIP_HIPCC_FLAGS_RELEASE )
set(HIP_HIPCC_FLAGS_DEBUG )
set(HIP_HIPCC_FLAGS_MINSIZEREL )
@@ -48,8 +48,8 @@ set(HIP_NVCC_FLAGS_RELWITHDEBINFO )
#Needed to bring the HIP_HIPCC_INCLUDE_ARGS variable in scope
set(HIP_HIPCC_INCLUDE_ARGS $<$>:-I$, -I>>) # list
-set(cmake_dependency_file "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_tabulate.hip.cu.o.depend") # path
-set(source_file "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu") # path
+set(cmake_dependency_file "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir//deepmd_op_rocm_generated_tabulate.hip.cu.o.depend") # path
+set(source_file "/root/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu") # path
set(host_flag "FALSE") # bool
# Determine compiler and compiler flags
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend
index 23df4889d178fec0477131a80519467ad2198824..f7bf23019e449bd26e35c7a1266826412a59a455 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend
@@ -1,54 +1,47 @@
# Generated by: FindHIP.cmake. Do not edit.
SET(HIP_HIPCC_DEPEND
- "/opt/dtk-22.10/hip/include/hip/hip_common.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_vector_types.h"
- "/opt/dtk-22.10/hip/include/hip/hip_version.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/channel_descriptor.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_ext_function.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_functions.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/device_library_decls.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/driver_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_atomic.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_ldg.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_runtime_pt_api.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/hip_vector_types.hpp"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/host_defines.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/llvm_intrinsics.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/math_fwd.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/ockl_image.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_fetch_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_indirect_functions.h"
- "/opt/dtk-22.10/hip/include/hip/hsa_detail/texture_types.h"
- "/opt/dtk-22.10/hip/include/hip/library_types.h"
- "/opt/dtk-22.10/hip/include/hip/surface_types.h"
- "/opt/dtk-22.10/hip/include/hip/texture_types.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/__stddef_max_align_t.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/limits.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdarg.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stddef.h"
- "/opt/dtk-22.10/llvm/lib/clang/14.0.0/include/stdint.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_common.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_vector_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hip_version.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/channel_descriptor.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_ext_function_.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/device_library_decls.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/driver_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_atomic.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_fp16_math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_ldg.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_runtime_api.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_surface_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/hip_vector_types.hpp"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/host_defines.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/llvm_intrinsics.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/math_fwd.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/ockl_image.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/surface_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_fetch_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_indirect_functions.h"
+ "/opt/dtk-22.04.2/hip/include/hip/hsa_detail/texture_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/library_types.h"
+ "/opt/dtk-22.04.2/hip/include/hip/texture_types.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_complex_builtins.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_cuda_math_forward_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_cmath.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_libdevice_declares.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_math.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/__clang_hip_runtime_wrapper.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/algorithm"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/complex"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/cuda_wrappers/new"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/limits.h"
+ "/opt/dtk-22.04.2/llvm/lib/clang/14.0.0/include/stdint.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/algorithm"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/array"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/backward/auto_ptr.h"
@@ -177,11 +170,16 @@ SET(HIP_HIPCC_DEPEND
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr-default.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/gthr.h"
"/opt/rh/devtoolset-7/root/usr/include/c++/7/x86_64-redhat-linux/bits/os_defines.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/device.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/errors.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/gpu_rocm.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/include/tabulate.h"
- "/public/home/zhangqha/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/limits.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdarg.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stddef.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/stdint.h"
+ "/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include/syslimits.h"
+ "/root/deepmd-kit/source/lib/include/device.h"
+ "/root/deepmd-kit/source/lib/include/errors.h"
+ "/root/deepmd-kit/source/lib/include/gpu_rocm.h"
+ "/root/deepmd-kit/source/lib/include/tabulate.h"
+ "/root/deepmd-kit/source/lib/src/rocm/tabulate.hip.cu"
"/usr/include/_G_config.h"
"/usr/include/alloca.h"
"/usr/include/asm-generic/errno-base.h"
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake
index ec1d224f95aea896681fa1b92e162ab24bb6c93e..1969135ef09bfa339b97ed8aa9c36ca8b179e059 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake
@@ -1,8 +1,8 @@
-# Install script for directory: /public/home/zhangqha/deepmd-kit/source/lib/src/rocm
+# Install script for directory: /root/deepmd-kit/source/lib/src/rocm
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
+ set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
@@ -49,7 +49,7 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libdeepmd_op_rocm.so"
RPATH "")
endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so")
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE SHARED_LIBRARY FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so")
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libdeepmd_op_rocm.so" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libdeepmd_op_rocm.so")
if(CMAKE_INSTALL_DO_STRIP)
@@ -68,7 +68,7 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd_op_rocm.so"
RPATH "")
endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE SHARED_LIBRARY FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so")
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE SHARED_LIBRARY FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so")
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd_op_rocm.so" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libdeepmd_op_rocm.so")
if(CMAKE_INSTALL_DO_STRIP)
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so
index 09e0418870e994ba6c623b77637c24f4c9f1a79c..82ae1ffd5b79ea14a3383372ed6a2d4c9c1a47ce 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so and b/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o
index ded7fd600bb45d12269449cc80952f498eb4a139..6618883482e5fee27b34fe45ad8f92dfe5d756a2 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o
index 5192a490f10514fd08b3e6edf39442fcd3128ebd..82ba9b974e2c9d038e396df2b2815f7567cec55f 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o
index 16c9e73fdc14fae14eafb81426e820a2405e8c6b..13eb2ac53bcd0b08d9361f49e34ad0a036db0406 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o
index 08fe49da7d03cb06884c6e56d776cb14f5468842..9a32f454581ee65a4190729ddab62542c015b6ca 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o
index 225bd06c1c5e1a4fabac6e201c9a320faa89a37c..110c3915e82413a1e0a75294246768056385bb94 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o
index 51f9593a9b823b466d5b6685ffa8f1a4d23e0316..be18bb9f337b2c016e70e0ec462246abe1573be3 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o
index b91432f901910882def3b6123d50faf3b7e05df2..3b8dabcc8aab8af4711c09764f1d6dd96c1bc3c2 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o
index f91a89156e8fd56553ee5d25a87747a340b26376..99141deb3e042d5e74ae6bc3f0fa54b16e64fa02 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o
index 5ed2279aac62253907e9b15c95d3e5499e228d45..46e587a457c21091637c51103d06adc66616cca2 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o
index b55ece634756e08f096793f38da05f0a96560003..8b99bbd2c72974cc78028eea5b61240eccdb6af8 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o
index dc2efbc9ef36c5058a2ff94a82220f38fac51a07..6dbe3add1d499b0d1df3784ba4c9e627a48c8dbe 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o
index a283c9bc92ec21f608af9a566d3c50786b04596b..4510629a8e1fc2add95d7b4ead50aeb2776640d1 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o
index ee59a3debfda25a8e1acd70a5fb11c6c47f3a540..d95e46174942f333d33e88f6502ab686baf6efbb 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o
index 8acb79e37d2dd3700420711f13ee8851f1cca50c..630f865f8303476232600193c979f476fb7f9267 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o
index 7d364ecfa939ef8a2bd914868ab1fd53f42859bc..705f79cbbe25c332792a7b96415dcf7813b77dfe 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o
index 9d0592f83b8371185c0e215a9613945b18fbbbab..038491f711f19626a396e4414fc3869c8fda09d9 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o
index a893ca94486c55f83ea7f71b68f97d1b26974d86..43d1b26c74d860990052049c12c74773ca0d8505 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o
index 724f508fe92e2856bd0c263e09eddc01394f044d..42e4aa37ef87029f40846a02c792d65592126fe1 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o
index 6fe03e4be5eeaea3d4b1c5a79ffe319389d692df..3f209b8a7a142c5f4f68543eb11206170b8831fa 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o
index 27a6286a249eeb89306f9b04792dc04be5996a04..c2968e5d000e55d1adc66f9d5d912f12e9fe88ae 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o
index 79aef812e3d7341ec8940d52e15892403740fb62..a0b8f5dfc19f5e9004f2aafbbf738592891e445f 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o
index 108112b8102bcecfac975c3a7fa046200fcc662b..aa3dc4f0d4af7e05d1b104dc0c7c0b49fa993c7f 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o
index b057cae43b3a5734ba276b2019fa347773cbbdd9..c0bab53b63449c7caa609e71ad7b54983aeb48ba 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o
index e616f6c224568b914299ba4db34d212e1f040d0a..52013c904e2268bd5051771f13ce45bfcfbcb998 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o
index 6cf406fe6e23a7d7d79cbef102ba4d54756549c3..ea078effe31f238dbdaea84c63e2bbf7a30f2f81 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o
index 0e50b75fcb0cd73d850dd59580c4e1a7ba673b81..dedda8cd5a0edab5b6821f0a09dbdce44d10d90c 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o
index 6118fb3d86573fb0cd868c6e3d48a1e20daca6c4..08680121c700ab6a0a597c43f3e56da0c6be8382 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o
index 31dc2909a3d418c6f12f21c2b56b845598616e6b..8b83ed8d7e950e25288da2f6917c73703959adec 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o
index 5192a490f10514fd08b3e6edf39442fcd3128ebd..82ba9b974e2c9d038e396df2b2815f7567cec55f 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o
index 103cf181e0ff129c8ce6a37ddcc0411bd8aec9d4..c006c58a62448e9ab55efa90958bf8d3d17226b8 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o
index b97877841499119e11bc61960c6d4d5773b8b85a..3c95bb47e75f40f5cdb6166a039bc8e6006767ee 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o
index 71b88debc498b21d0cc69cee5cf8ce0dd67baee7..78a8e713c3b0ee91cb63d6113a89ea204b2c516b 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o
index 1fb22fa1be247d19c84fda06cc382c2e11b91903..6a0957a13f1ac85d32281fb5afb45e8ee12f0753 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o
index 94c413ef0c113f0c57ed7391948a4dac49c8008f..05834dbe769f9e60d717a19f6d0f06ecb52c5299 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o
index 54df0162ae20a0c97e5e4675553dbdab516629fb..311ab701564b36f22355c18097dbf2ea6e1f1197 100644
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o and b/_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake b/_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake
index 95fae53901a2e2f3fcb104f76d89f76eef93c8b0..2d867a4dcaf6440033f3fddd72e6ec837c34ab62 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake
+++ b/_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake
@@ -1,8 +1,8 @@
-# Install script for directory: /public/home/zhangqha/deepmd-kit/source/op
+# Install script for directory: /root/deepmd-kit/source/op
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
+ set(CMAKE_INSTALL_PREFIX "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
@@ -49,12 +49,12 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so"
RPATH "$ORIGIN")
endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE MODULE FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so")
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE MODULE FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so")
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so")
file(RPATH_CHANGE
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so"
- OLD_RPATH "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.10/hip/lib:/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm:"
+ OLD_RPATH "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.04.2/hip/lib:/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm:"
NEW_RPATH "$ORIGIN")
if(CMAKE_INSTALL_DO_STRIP)
execute_process(COMMAND "/opt/rh/devtoolset-7/root/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_abi.so")
@@ -69,12 +69,12 @@ if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so"
RPATH "$ORIGIN")
endif()
- file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE MODULE FILES "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so")
+ file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE MODULE FILES "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so")
if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so")
file(RPATH_CHANGE
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so"
- OLD_RPATH "/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.10/hip/lib:/public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm:"
+ OLD_RPATH "/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib:/usr/local/lib/python3.7/site-packages/tensorflow:/opt/dtk-22.04.2/hip/lib:/root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm:"
NEW_RPATH "$ORIGIN")
if(CMAKE_INSTALL_DO_STRIP)
execute_process(COMMAND "/opt/rh/devtoolset-7/root/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/deepmd/op/libop_grads.so")
@@ -84,21 +84,21 @@ endif()
if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)
file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/deepmd/op" TYPE FILE FILES
- "/public/home/zhangqha/deepmd-kit/source/op/_gelu.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_map_nvnmd_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_matmul_nvnmd_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_prod_force_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_prod_force_se_a_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_prod_force_se_r_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_prod_virial_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_prod_virial_se_a_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_prod_virial_se_r_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_quantize_nvnmd_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_soft_min_force_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_soft_min_virial_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_tabulate_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_tanh2_nvnmd_grad.py"
- "/public/home/zhangqha/deepmd-kit/source/op/_tanh4_nvnmd_grad.py"
+ "/root/deepmd-kit/source/op/_gelu.py"
+ "/root/deepmd-kit/source/op/_map_nvnmd_grad.py"
+ "/root/deepmd-kit/source/op/_matmul_nvnmd_grad.py"
+ "/root/deepmd-kit/source/op/_prod_force_grad.py"
+ "/root/deepmd-kit/source/op/_prod_force_se_a_grad.py"
+ "/root/deepmd-kit/source/op/_prod_force_se_r_grad.py"
+ "/root/deepmd-kit/source/op/_prod_virial_grad.py"
+ "/root/deepmd-kit/source/op/_prod_virial_se_a_grad.py"
+ "/root/deepmd-kit/source/op/_prod_virial_se_r_grad.py"
+ "/root/deepmd-kit/source/op/_quantize_nvnmd_grad.py"
+ "/root/deepmd-kit/source/op/_soft_min_force_grad.py"
+ "/root/deepmd-kit/source/op/_soft_min_virial_grad.py"
+ "/root/deepmd-kit/source/op/_tabulate_grad.py"
+ "/root/deepmd-kit/source/op/_tanh2_nvnmd_grad.py"
+ "/root/deepmd-kit/source/op/_tanh4_nvnmd_grad.py"
)
endif()
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so b/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so
index ae0d426995e2a6ae268be737c70933e13e90b84b..6b4194233633cea29858eeae84f995d3556004cf 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so and b/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so b/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so
index 6475191b460454dea3c739740888f446a2c415e4..9aaed2c0a76a72080484e9c6b58e80d46edec8f1 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so and b/_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/_version.py b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/_version.py
index efbbbd2d1f14ac586ce91a6087828970961f1ae9..5af59b1562bc9ed5528590fc1d98d38c382aa6d8 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/_version.py
+++ b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/_version.py
@@ -1,4 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
-__version__ = version = '2.1.6.dev0+g6e3d4a6.d20230317'
-__version_tuple__ = version_tuple = (2, 1, 6, 'dev0', 'g6e3d4a6.d20230317')
+__version__ = version = '0.1.dev4+g187c0ae.d20230417'
+__version_tuple__ = version_tuple = (0, 1, 'dev4', 'g187c0ae.d20230417')
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd.so b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd.so
index a89c6aa11d6b6d61d42e2794e56f4529560ff3d7..b51516b1a12bbcd988807aa06f9748953d2043ff 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd.so and b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd_op_rocm.so b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd_op_rocm.so
index 09e0418870e994ba6c623b77637c24f4c9f1a79c..82ae1ffd5b79ea14a3383372ed6a2d4c9c1a47ce 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd_op_rocm.so and b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libdeepmd_op_rocm.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_abi.so b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_abi.so
index c7a3f5e7e229b20d9658a99eae2a34c8521c9399..07e8518b7e1975633ce44b0995f81c494f3cf914 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_abi.so and b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_abi.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_grads.so b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_grads.so
index c63021a2561446e69579f6eee3dc2ae86c47f2a6..db066cb45f98b3e672aee9f59ff6037d6a68c0c1 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_grads.so and b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/op/libop_grads.so differ
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/pkg_config/run_config.ini b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/pkg_config/run_config.ini
index 2251b2769705f693272b3e426b401b4e65c6241a..2033fe9e7d7408c3b621732b8f2b39b6c3db4e28 100644
--- a/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/pkg_config/run_config.ini
+++ b/_skbuild/linux-x86_64-3.7/cmake-install/deepmd/pkg_config/run_config.ini
@@ -1,12 +1,12 @@
[CONFIG]
-INSTALL_PREFIX = /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
-GIT_SUMM = v2.1.5-dirty
-GIT_HASH = 6e3d4a6
-GIT_DATE = 2022-09-23 16:10:28 +0800
-GIT_BRANCH = HEAD
+INSTALL_PREFIX = /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
+GIT_SUMM =
+GIT_HASH = 187c0ae
+GIT_DATE = 2023-03-14 01:42:38 +0000
+GIT_BRANCH = main
TF_INCLUDE_DIR = /usr/local/lib/python3.7/site-packages/tensorflow/include;/usr/local/lib/python3.7/site-packages/tensorflow/include
TF_LIBS =
-TF_VERSION = 2.9.0
+TF_VERSION = 2.7.0
TF_CXX11_ABI_FLAG = 0
MODEL_VERSION=1.1
DP_VARIANT=rocm
diff --git a/_skbuild/linux-x86_64-3.7/cmake-install/lib/libdeepmd_op_rocm.so b/_skbuild/linux-x86_64-3.7/cmake-install/lib/libdeepmd_op_rocm.so
index 09e0418870e994ba6c623b77637c24f4c9f1a79c..82ae1ffd5b79ea14a3383372ed6a2d4c9c1a47ce 100755
Binary files a/_skbuild/linux-x86_64-3.7/cmake-install/lib/libdeepmd_op_rocm.so and b/_skbuild/linux-x86_64-3.7/cmake-install/lib/libdeepmd_op_rocm.so differ
diff --git a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/_version.py b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/_version.py
index efbbbd2d1f14ac586ce91a6087828970961f1ae9..5af59b1562bc9ed5528590fc1d98d38c382aa6d8 100644
--- a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/_version.py
+++ b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/_version.py
@@ -1,4 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
-__version__ = version = '2.1.6.dev0+g6e3d4a6.d20230317'
-__version_tuple__ = version_tuple = (2, 1, 6, 'dev0', 'g6e3d4a6.d20230317')
+__version__ = version = '0.1.dev4+g187c0ae.d20230417'
+__version_tuple__ = version_tuple = (0, 1, 'dev4', 'g187c0ae.d20230417')
diff --git a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd.so b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd.so
index a89c6aa11d6b6d61d42e2794e56f4529560ff3d7..b51516b1a12bbcd988807aa06f9748953d2043ff 100755
Binary files a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd.so and b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd.so differ
diff --git a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd_op_rocm.so b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd_op_rocm.so
index 09e0418870e994ba6c623b77637c24f4c9f1a79c..82ae1ffd5b79ea14a3383372ed6a2d4c9c1a47ce 100755
Binary files a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd_op_rocm.so and b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libdeepmd_op_rocm.so differ
diff --git a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_abi.so b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_abi.so
index c7a3f5e7e229b20d9658a99eae2a34c8521c9399..07e8518b7e1975633ce44b0995f81c494f3cf914 100755
Binary files a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_abi.so and b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_abi.so differ
diff --git a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_grads.so b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_grads.so
index c63021a2561446e69579f6eee3dc2ae86c47f2a6..db066cb45f98b3e672aee9f59ff6037d6a68c0c1 100755
Binary files a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_grads.so and b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/op/libop_grads.so differ
diff --git a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/pkg_config/run_config.ini b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/pkg_config/run_config.ini
index 2251b2769705f693272b3e426b401b4e65c6241a..2033fe9e7d7408c3b621732b8f2b39b6c3db4e28 100644
--- a/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/pkg_config/run_config.ini
+++ b/_skbuild/linux-x86_64-3.7/setuptools/lib.linux-x86_64-cpython-37/deepmd/pkg_config/run_config.ini
@@ -1,12 +1,12 @@
[CONFIG]
-INSTALL_PREFIX = /public/home/zhangqha/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
-GIT_SUMM = v2.1.5-dirty
-GIT_HASH = 6e3d4a6
-GIT_DATE = 2022-09-23 16:10:28 +0800
-GIT_BRANCH = HEAD
+INSTALL_PREFIX = /root/deepmd-kit/_skbuild/linux-x86_64-3.7/cmake-install
+GIT_SUMM =
+GIT_HASH = 187c0ae
+GIT_DATE = 2023-03-14 01:42:38 +0000
+GIT_BRANCH = main
TF_INCLUDE_DIR = /usr/local/lib/python3.7/site-packages/tensorflow/include;/usr/local/lib/python3.7/site-packages/tensorflow/include
TF_LIBS =
-TF_VERSION = 2.9.0
+TF_VERSION = 2.7.0
TF_CXX11_ABI_FLAG = 0
MODEL_VERSION=1.1
DP_VARIANT=rocm
diff --git a/data/json/json2yaml.py b/data/json/json2yaml.py
deleted file mode 100644
index cddc7fd9d0c3c668ca6af17eab17b6c7310bbbdd..0000000000000000000000000000000000000000
--- a/data/json/json2yaml.py
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/usr/bin/env python3
-
-import argparse
-import json
-from pathlib import Path
-from warnings import warn
-
-import yaml
-
-
-def _main():
- parser = argparse.ArgumentParser(
- description="convert json config file to yaml",
- formatter_class=argparse.ArgumentDefaultsHelpFormatter)
-
- # get all json files in dir
- jsons = [p for p in Path.cwd().glob("*.json")]
- # use the newest as autosuggestion
- jsons.sort(key=lambda x: x.stat().st_mtime, reverse=True)
- jfile = jsons[0]
- yfile = jfile.with_suffix(".yaml")
-
- parser.add_argument("INPUT", default=jfile, type=Path, nargs="?",
- help="input json file")
- parser.add_argument("OUTPUT", default=yfile, type=Path, nargs="?",
- help="output yaml file")
- args = parser.parse_args()
-
- with args.INPUT.open("r") as infile, args.OUTPUT.open("w") as outfile:
- yaml.dump(json.load(infile), outfile, default_flow_style=False,
- sort_keys=False)
-
- warn("The order of the keys won't be preserved!", SyntaxWarning)
- warn("_comment keys will also be lostt in the conversion")
-
-if __name__ == "__main__":
- _main()
diff --git a/data/raw/copy_raw.py b/data/raw/copy_raw.py
deleted file mode 100644
index d64031187eaac5350e6eb69e7122962c66c2c894..0000000000000000000000000000000000000000
--- a/data/raw/copy_raw.py
+++ /dev/null
@@ -1,88 +0,0 @@
-#!/usr/bin/env python3
-
-import numpy as np
-import argparse, os
-import os.path
-
-def copy (in_dir,
- out_dir,
- ncopies = [1,1,1]) :
- has_energy = os.path.isfile (in_dir + "/energy.raw")
- has_force = os.path.isfile (in_dir + "/force.raw")
- has_virial = os.path.isfile (in_dir + "/virial.raw")
-
- i_box = np.loadtxt (in_dir + "/box.raw")
- i_coord = np.loadtxt (in_dir + "/coord.raw")
- if has_energy :
- i_energy = np.loadtxt (in_dir + "/energy.raw")
- if has_force :
- i_force = np.loadtxt (in_dir + "/force.raw")
- if has_virial:
- i_virial = np.loadtxt (in_dir + "/virial.raw")
- i_type = np.loadtxt (in_dir + "/type.raw")
-
- nsys = ncopies[0] * ncopies[1] * ncopies[2]
- nframes = i_coord.shape[0]
- natoms = i_coord.shape[1] // 3
-
- if has_energy :
- o_energy = i_energy * nsys
- if has_virial :
- o_virial = i_virial * nsys
-
- o_box = np.zeros(i_box.shape)
- for ii in range (3) :
- o_box[:, ii*3:ii*3+3] = i_box[:, ii*3:ii*3+3] * ncopies[ii]
-
- o_coord = i_coord
- if has_force :
- o_force = i_force
- i_type = np.reshape (i_type, [-1, natoms])
- o_type = i_type
- for ii in range (ncopies[0]) :
- for jj in range (ncopies[1]) :
- for kk in range (ncopies[2]) :
- if ii == 0 and jj == 0 and kk == 0 :
- continue
- citer = np.array ([ii, jj, kk])
- shift = np.zeros ([nframes, 3])
- for dd in range (3) :
- shift += i_box[:, dd*3:dd*3+3] * citer[dd]
- ashift = np.tile (shift, natoms)
- o_coord = np.concatenate ((o_coord, i_coord + ashift), axis = 1)
- if has_force :
- o_force = np.concatenate ((o_force, i_force), axis = 1)
- o_type = np.concatenate ((o_type, i_type), axis = 1)
-
- if not os.path.exists (out_dir) :
- os.makedirs (out_dir)
-
- np.savetxt (out_dir + "/box.raw", o_box)
- np.savetxt (out_dir + "/coord.raw", o_coord)
- if has_energy :
- np.savetxt (out_dir + "/energy.raw", o_energy)
- if has_force :
- np.savetxt (out_dir + "/force.raw", o_force)
- if has_virial :
- np.savetxt (out_dir + "/virial.raw", o_virial)
- np.savetxt (out_dir + "/type.raw", o_type, fmt = '%d')
- np.savetxt (out_dir + "/ncopies.raw", ncopies, fmt = "%d")
-
-def _main () :
- parser = argparse.ArgumentParser (
- description = "parse copy raw args" )
- parser.add_argument ("INPUT", default = ".",
- help = "input dir of raw files")
- parser.add_argument ("OUTPUT", default = ".",
- help = "output dir of copied raw files")
- parser.add_argument ("-n", "--ncopies", nargs = 3, default = [1,1,1], type = int,
- help = "the number of copies")
- args = parser.parse_args()
-
- print ("# copy the system by %s copies" % args.ncopies)
- assert (np.all(np.array(args.ncopies, dtype = int) >= np.array([1,1,1], dtype=int))), \
- "number of copies should be larger than or equal to 1"
- copy (args.INPUT, args.OUTPUT, args.ncopies)
-
-if __name__ == "__main__" :
- _main()
diff --git a/data/raw/raw_to_set.sh b/data/raw/raw_to_set.sh
deleted file mode 100644
index 918d36181b7601646cca937c85a8bab5a6b804fa..0000000000000000000000000000000000000000
--- a/data/raw/raw_to_set.sh
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/bash
-
-nline_per_set=2000
-
-if test $# -ge 1; then
- nline_per_set=$1
-fi
-
-rm -fr set.*
-echo nframe is `cat box.raw | wc -l`
-echo nline per set is $nline_per_set
-
-split box.raw -l $nline_per_set -d -a 3 box.raw
-split coord.raw -l $nline_per_set -d -a 3 coord.raw
-test -f energy.raw && split energy.raw -l $nline_per_set -d -a 3 energy.raw
-test -f force.raw && split force.raw -l $nline_per_set -d -a 3 force.raw
-test -f virial.raw && split virial.raw -l $nline_per_set -d -a 3 virial.raw
-test -f atom_ener.raw && split atom_ener.raw -l $nline_per_set -d -a 3 atom_ener.raw
-test -f fparam.raw && split fparam.raw -l $nline_per_set -d -a 3 fparam.raw
-test -f dipole.raw && split dipole.raw -l $nline_per_set -d -a 3 dipole.raw
-test -f polarizability.raw && split polarizability.raw -l $nline_per_set -d -a 3 polarizability.raw
-test -f atomic_dipole.raw && split atomic_dipole.raw -l $nline_per_set -d -a 3 atomic_dipole.raw
-test -f atomic_polarizability.raw && split atomic_polarizability.raw -l $nline_per_set -d -a 3 atomic_polarizability.raw
-
-nset=`ls | grep box.raw[0-9] | wc -l`
-nset_1=$(($nset-1))
-echo will make $nset sets
-
-for ii in `seq 0 $nset_1`
-do
- echo making set $ii ...
- pi=`printf %03d $ii`
- mkdir set.$pi
- mv box.raw$pi set.$pi/box.raw
- mv coord.raw$pi set.$pi/coord.raw
- test -f energy.raw$pi && mv energy.raw$pi set.$pi/energy.raw
- test -f force.raw$pi && mv force.raw$pi set.$pi/force.raw
- test -f virial.raw$pi && mv virial.raw$pi set.$pi/virial.raw
- test -f atom_ener.raw$pi && mv atom_ener.raw$pi set.$pi/atom_ener.raw
- test -f fparam.raw$pi && mv fparam.raw$pi set.$pi/fparam.raw
- test -f atomic_dipole.raw$pi && mv atomic_dipole.raw$pi set.$pi/atomic_dipole.raw
- test -f atomic_polarizability.raw$pi && mv atomic_polarizability.raw$pi set.$pi/atomic_polarizability.raw
-
- cd set.$pi
- python -c 'import numpy as np; data = np.loadtxt("box.raw" , ndmin = 2); data = data.astype (np.float32); np.save ("box", data)'
- python -c 'import numpy as np; data = np.loadtxt("coord.raw" , ndmin = 2); data = data.astype (np.float32); np.save ("coord", data)'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("energy.raw"):
- data = np.loadtxt("energy.raw");
- data = data.astype (np.float32);
- np.save ("energy", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("force.raw" ):
- data = np.loadtxt("force.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("force", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("virial.raw"):
- data = np.loadtxt("virial.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("virial", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("atom_ener.raw"):
- data = np.loadtxt("atom_ener.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("atom_ener", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("fparam.raw"):
- data = np.loadtxt("fparam.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("fparam", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("dipole.raw"):
- data = np.loadtxt("dipole.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("dipole", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("polarizability.raw"):
- data = np.loadtxt("polarizability.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("polarizability", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("atomic_dipole.raw"):
- data = np.loadtxt("atomic_dipole.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("atomic_dipole", data)
-'
- python -c \
-'import numpy as np; import os.path;
-if os.path.isfile("atomic_polarizability.raw"):
- data = np.loadtxt("atomic_polarizability.raw", ndmin = 2);
- data = data.astype (np.float32);
- np.save ("atomic_polarizability", data)
-'
- rm *.raw
- cd ../
-done
diff --git a/data/raw/shuffle_raw.py b/data/raw/shuffle_raw.py
deleted file mode 100644
index 6c8e7749a5f8a4b00db96a9e7809faea584f7397..0000000000000000000000000000000000000000
--- a/data/raw/shuffle_raw.py
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/usr/bin/env python3
-
-import os
-import numpy as np
-import argparse
-
-def _parse_args () :
- parser = argparse.ArgumentParser (
- description = "parse shuffle args" )
- parser.add_argument ("INPUT", default = ".",
- help = "input dir of raw files")
- parser.add_argument ("OUTPUT", default = ".",
- help = "output dir of shuffled raw files")
- parser.add_argument ('-r', '--raws', nargs = '+', default = [],
- help = "raw files, if not set, then auto detect")
- return parser.parse_args()
-
-def detect_raw (path) :
- raws = []
- names = ["box.raw", "coord.raw", "energy.raw", "force.raw", "virial.raw"]
- for ff in names :
- if os.path.isfile (path + "/" + ff) : raws.append (ff)
- return raws
-
-def _main () :
- args = _parse_args ()
- raws = args.raws
- inpath = args.INPUT
- outpath = args.OUTPUT
-
- if not os.path.isdir (inpath):
- print ("# no input dir " + inpath + ", exit")
- return
-
- if not os.path.isdir (outpath) :
- os.mkdir (outpath)
-
- if len(raws) == 0 :
- raws = detect_raw (inpath)
-
- if len(raws) == 0 :
- print ("# no file to shuffle, exit")
- return
-
- assert ("box.raw" in raws)
- tmp = np.loadtxt(os.path.join(inpath, "box.raw"))
- tmp = np.reshape(tmp, [-1, 9])
- nframe = tmp.shape[0]
- print(nframe)
-
- print ("# will shuffle raw files " + str(raws) +
- " in dir " + inpath +
- " and output to dir " + outpath)
-
- tmp = np.loadtxt (inpath + "/" + raws[0])
- tmp = np.reshape(tmp, [nframe, -1])
- nframe = tmp.shape[0]
- idx = np.arange (nframe)
- np.random.shuffle(idx)
-
- for ii in raws :
- data = np.loadtxt(inpath + "/" + ii)
- data = np.reshape(data, [nframe, -1])
- data = data [idx]
- np.savetxt (outpath + "/" + ii, data)
-
-if __name__ == "__main__" :
- _main()
diff --git a/deepmd/__pycache__/__init__.cpython-37.pyc b/deepmd/__pycache__/__init__.cpython-37.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..8ef62879c3bbfd1af4cccf7eb6615b8014a3b50f
Binary files /dev/null and b/deepmd/__pycache__/__init__.cpython-37.pyc differ
diff --git a/deepmd/__pycache__/env.cpython-37.pyc b/deepmd/__pycache__/env.cpython-37.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..48bb96dbb134d1f52190a7e5d86af3482cad7326
Binary files /dev/null and b/deepmd/__pycache__/env.cpython-37.pyc differ
diff --git a/deepmd/_version.py b/deepmd/_version.py
index efbbbd2d1f14ac586ce91a6087828970961f1ae9..5af59b1562bc9ed5528590fc1d98d38c382aa6d8 100644
--- a/deepmd/_version.py
+++ b/deepmd/_version.py
@@ -1,4 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
-__version__ = version = '2.1.6.dev0+g6e3d4a6.d20230317'
-__version_tuple__ = version_tuple = (2, 1, 6, 'dev0', 'g6e3d4a6.d20230317')
+__version__ = version = '0.1.dev4+g187c0ae.d20230417'
+__version_tuple__ = version_tuple = (0, 1, 'dev4', 'g187c0ae.d20230417')
diff --git a/deepmd/utils/__pycache__/__init__.cpython-37.pyc b/deepmd/utils/__pycache__/__init__.cpython-37.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..d000c27bbf429a1393e454c4188ae385308c3126
Binary files /dev/null and b/deepmd/utils/__pycache__/__init__.cpython-37.pyc differ
diff --git a/deepmd/utils/__pycache__/data.cpython-37.pyc b/deepmd/utils/__pycache__/data.cpython-37.pyc
new file mode 100644
index 0000000000000000000000000000000000000000..328766a6eb52580865baa1b48e6dd337c0016059
Binary files /dev/null and b/deepmd/utils/__pycache__/data.cpython-37.pyc differ
diff --git a/deepmd_kit.egg-info/PKG-INFO b/deepmd_kit.egg-info/PKG-INFO
index 4111c197a1ddb3eadda998c1b0fe6373a1e42874..9dab2451678bb72328f7a0cb1f11c5f9eae3afb9 100644
--- a/deepmd_kit.egg-info/PKG-INFO
+++ b/deepmd_kit.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: deepmd-kit
-Version: 2.1.6.dev0+g6e3d4a6.d20230317
+Version: 0.1.dev4+g187c0ae.d20230417
Summary: A deep learning package for many-body potential energy representation and molecular dynamics
Home-page: https://github.com/deepmodeling/deepmd-kit
Author: Han Wang
diff --git a/deepmd_kit.egg-info/SOURCES.txt b/deepmd_kit.egg-info/SOURCES.txt
index 3f15382dc96cbbcbb24f8d6464cc54c723a0f860..cd449f3d2f0b287c05827540bf93ed904a4820c6 100644
--- a/deepmd_kit.egg-info/SOURCES.txt
+++ b/deepmd_kit.egg-info/SOURCES.txt
@@ -1,6 +1,3 @@
-.gitignore
-.gitmodules
-.readthedocs.yml
CITATION.cff
CONTRIBUTING.md
LICENSE
@@ -10,19 +7,140 @@ pyproject.toml
requirements.txt
setup.cfg
setup.py
-.github/labeler.yml
-.github/ISSUE_TEMPLATE/bug-report.yml
-.github/ISSUE_TEMPLATE/config.yml
-.github/ISSUE_TEMPLATE/feature-request.yml
-.github/ISSUE_TEMPLATE/generic-issue.yml
-.github/ISSUE_TEMPLATE/parameters.yml
-.github/workflows/build_cc.yml
-.github/workflows/build_wheel.yml
-.github/workflows/labeler.yml
-.github/workflows/lint_python.yml
-.github/workflows/mirror_gitee.yml
-.github/workflows/test_cc.yml
-.github/workflows/test_python.yml
+_skbuild/linux-x86_64-3.7/cmake-build/.ninja_deps
+_skbuild/linux-x86_64-3.7/cmake-build/.ninja_log
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeCache.txt
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeSpec.json
+_skbuild/linux-x86_64-3.7/cmake-build/build.ninja
+_skbuild/linux-x86_64-3.7/cmake-build/cmake_install.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/cmake_lammps.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/cmake_uninstall.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/install_manifest.txt
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeError.log
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/CMakeOutput.log
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/TargetDirectories.txt
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/cmake.check_cache
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/rules.ninja
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CMakeCCompiler.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CMakeCXXCompiler.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_C.bin
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CMakeDetermineCompilerABI_CXX.bin
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CMakeSystem.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CompilerIdC/CMakeCCompilerId.c
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CompilerIdC/a.out
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/3.25.2/CompilerIdCXX/a.out
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/FindOpenMP/ompver_C.bin
+_skbuild/linux-x86_64-3.7/cmake-build/CMakeFiles/FindOpenMP/ompver_CXX.bin
+_skbuild/linux-x86_64-3.7/cmake-build/config/cmake_install.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/config/run_config.ini
+_skbuild/linux-x86_64-3.7/cmake-build/lib/cmake_install.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/libdeepmd.so
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/SimulationRegion.cpp.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/coord.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/env_mat_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/ewald.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/fmt_nlist.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/gelu.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/map_aparam.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/neighbor_list.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/pair_tab.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_env_mat_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_force_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/prod_virial_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/region.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_force_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/soft_min_switch_virial_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/tabulate.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/CMakeFiles/deepmd.dir/src/utilities.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/cmake_install.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/libdeepmd_op_rocm.so
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_coord.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_gelu.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_neighbor_list.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_env_mat.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_force_grad.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_prod_virial_grad.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_region.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.cmake.pre-gen
+_skbuild/linux-x86_64-3.7/cmake-build/lib/src/rocm/CMakeFiles/deepmd_op_rocm.dir/deepmd_op_rocm_generated_tabulate.hip.cu.o.depend
+_skbuild/linux-x86_64-3.7/cmake-build/op/cmake_install.cmake
+_skbuild/linux-x86_64-3.7/cmake-build/op/libop_abi.so
+_skbuild/linux-x86_64-3.7/cmake-build/op/libop_grads.so
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/custom_op.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_para.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/descrpt_se_a_ef_vert.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/ewald_recp.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/gelu_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_aparam.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/map_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/matmul_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/neighbor_stat.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/pair_tab.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_env_mat_multi_device_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_force_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/prod_virial_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/quantize_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_force.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/soft_min_virial.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tabulate_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh2_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/tanh4_nvnmd.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/unaggregated_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/SimulationRegion.cpp.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/__/lib/src/neighbor_list.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_abi.dir/optimizer/parallel.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/custom_op.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_force_grad_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/prod_virial_grad_multi_device.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_force_grad.cc.o
+_skbuild/linux-x86_64-3.7/cmake-build/op/CMakeFiles/op_grads.dir/soft_min_virial_grad.cc.o
_skbuild/linux-x86_64-3.7/cmake-install/deepmd/__about__.py
_skbuild/linux-x86_64-3.7/cmake-install/deepmd/__init__.py
_skbuild/linux-x86_64-3.7/cmake-install/deepmd/__main__.py
@@ -156,6 +274,7 @@ deepmd/.gitignore
deepmd/__about__.py
deepmd/__init__.py
deepmd/__main__.py
+deepmd/_version.py
deepmd/calculator.py
deepmd/common.py
deepmd/env.py
@@ -379,7 +498,6 @@ doc/troubleshooting/md-version-compatibility.md
doc/troubleshooting/model-compatability.md
examples/data_conv/OUTCAR
examples/fparam/data/.gitignore
-examples/fparam/data/e3000_i2000/type.raw
examples/fparam/data/e3000_i2000/set.000/aparam.npy
examples/fparam/data/e3000_i2000/set.000/box.npy
examples/fparam/data/e3000_i2000/set.000/coord.npy
@@ -398,7 +516,6 @@ examples/fparam/data/e3000_i2000/set.002/coord.npy
examples/fparam/data/e3000_i2000/set.002/energy.npy
examples/fparam/data/e3000_i2000/set.002/force.npy
examples/fparam/data/e3000_i2000/set.002/fparam.npy
-examples/fparam/data/e8000_i2000/type.raw
examples/fparam/data/e8000_i2000/set.000/aparam.npy
examples/fparam/data/e8000_i2000/set.000/box.npy
examples/fparam/data/e8000_i2000/set.000/coord.npy
diff --git a/input_v2_compat.json b/input_v2_compat.json
new file mode 100644
index 0000000000000000000000000000000000000000..254f10abd60fbe0dc6333d255303517b2709f42d
--- /dev/null
+++ b/input_v2_compat.json
@@ -0,0 +1,81 @@
+{
+ "_comment": "that's all",
+ "model": {
+ "type_map": [
+ "O",
+ "H"
+ ],
+ "descriptor": {
+ "type": "se_e2_a",
+ "sel": [
+ 46,
+ 92
+ ],
+ "rcut_smth": 0.5,
+ "rcut": 6.0,
+ "neuron": [
+ 25,
+ 50,
+ 100
+ ],
+ "resnet_dt": false,
+ "axis_neuron": 16,
+ "seed": 1,
+ "precision": "float32",
+ "_comment": " that's all"
+ },
+ "fitting_net": {
+ "neuron": [
+ 240,
+ 240,
+ 240
+ ],
+ "resnet_dt": true,
+ "seed": 1,
+ "_comment": " that's all"
+ },
+ "_comment": " that's all"
+ },
+ "learning_rate": {
+ "type": "exp",
+ "decay_steps": 5000,
+ "start_lr": 0.001,
+ "stop_lr": 3.51e-08,
+ "_comment": "that's all"
+ },
+ "loss": {
+ "type": "ener",
+ "start_pref_e": 0.02,
+ "limit_pref_e": 1,
+ "start_pref_f": 1000,
+ "limit_pref_f": 1,
+ "start_pref_v": 0,
+ "limit_pref_v": 0,
+ "_comment": " that's all"
+ },
+ "training": {
+ "training_data": {
+ "systems": [
+ "data/data_0/",
+ "data/data_1/",
+ "data/data_2/"
+ ],
+ "batch_size": "auto",
+ "_comment": "that's all"
+ },
+ "validation_data": {
+ "systems": [
+ "data/data_3"
+ ],
+ "batch_size": 1,
+ "numb_btch": 3,
+ "_comment": "that's all"
+ },
+ "numb_steps": 1000000,
+ "seed": 10,
+ "disp_file": "lcurve.out",
+ "disp_freq": 100,
+ "save_freq": 1000,
+ "_comment": "that's all"
+ }
+}
\ No newline at end of file
diff --git a/main.py b/main.py
new file mode 100644
index 0000000000000000000000000000000000000000..cfabce85972c541a33ed51a7922c4907e7753a09
--- /dev/null
+++ b/main.py
@@ -0,0 +1,18 @@
+import os
+import re
+import sys
+from deepmd.entrypoints.main import main
+import tensorflow.compat.v1 as tf
+tf.disable_v2_behavior()
+
+import blade_disc_tf as disc
+
+
+if __name__ == '__main__':
+ # Enable DISC.
+ disc.enable()
+
+ # Run with DeePMD-kit API.
+ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
+ sys.exit(main())
+
diff --git a/run.sh b/run.sh
new file mode 100644
index 0000000000000000000000000000000000000000..054252a23948d8b4d072810551e523427f6c0848
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,50 @@
+#!/bin/bash
+# Copyright 2021 The BladeDISC Authors. All rights reserved.
+# Licensed under the Apache License, Version 2.0 (the License);
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+# http://www.apache.org/licenses/LICENSE-2.0
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an AS IS BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+
+#export DP_INTERFACE_PREC=low
+
+#!/bin/bash
+
+#get DTKROOT by env.sh location
+export DTKROOT=/opt/dtk-22.04.2
+export AMDGPU_TARGETS="gfx906"
+export ROCMVER=22.04.2
+export DTK_HOME=/opt/dtk-22.04.2
+
+export ROCM_PATH=${DTK_HOME}
+export HIP_PATH=${DTK_HOME}/hip
+export PATH=${DTK_HOME}/bin:${DTK_HOME}/llvm/bin:${DTK_HOME}/hip/bin:${DTK_HOME}/miopen/bin:$PATH
+export LD_LIBRARY_PATH=${DTK_HOME}/lib:${DTK_HOME}/lib64:${DTK_HOME}/hip/lib:${DTK_HOME}/llvm/lib:${DTK_HOME}/miopen/lib:$LD_LIBRARY_PATH
+export INCLUDE=${DTK_HOME}/include:${DTK_HOME}/hip/include:${DTK_HOME}/llvm/include:$INCLUDE
+export C_INCLUDE_PATH=${DTK_HOME}/include:${DTK_HOME}/hip/include:${DTK_HOME}/llvm/include:$C_INCLUDE_PATH
+export CPLUS_INCLUDE_PATH=${DTK_HOME}/include:$CPLUS_INCLUDE_PATH
+export MIOPEN_SYSTEM_DB_PATH=${DTK_HOME}/miopen/share/miopen/db/
+
+export PYTHONPATH=/usr/local/
+export PATH=${PYTHONPATH}/bin/:$PATH
+export LD_LIBRARY_PATH=/usr/local/lib/python3.7:/usr/local/lib/python3.7/site-packages/torch/lib:$LD_LIBRARY_PATH
+export INCLUDE=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include:/usr/local/include/python3.7m:/usr/local/lib/python3.7/site-packages/torch/include/:$INCLUDE
+export INCLUDE_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include:/usr/local/include/python3.7m:/usr/local/lib/python3.7/site-packages/torch/include/:$INCLUDE
+export C_INCLUDE_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include:/usr/local/include/python3.7m:/usr/local/lib/python3.7/site-packages/torch/include/:$C_INCLUDE_PATH
+export CPLUS_INCLUDE_PATH=/opt/rh/devtoolset-7/root/usr/lib/gcc/x86_64-redhat-linux/7/include:/usr/local/include/python3.7m:/usr/local/lib/python3.7/site-packages/torch/include/:$CPLUS_INCLUDE_PATH
+
+export CUDA_VISIBLE_DEVICES=3
+export HIP_VISIBLE_DEVICES=3
+
+export DISC_DEBUG=0
+export TAO_ENFORCE_VERBOSE_COMPILATION_LOG=0
+export TF_CPP_VMODULE=disc_compiler=0
+export DISC_ROCM_PATH=/opt/dtk-22.04.2/
+export ROCM_PATH=/opt/dtk-22.04.2/
+python3 main.py train input.json
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cec26aace5a30fcf2d9bcaf602ec56c489771701
--- /dev/null
+++ b/source/CMakeLists.txt
@@ -0,0 +1,252 @@
+cmake_minimum_required(VERSION 3.12)
+project(DeePMD)
+
+# build cpp or python interfaces
+if (NOT DEFINED BUILD_CPP_IF)
+ set(BUILD_CPP_IF TRUE)
+endif (NOT DEFINED BUILD_CPP_IF)
+if (NOT DEFINED BUILD_PY_IF)
+ set(BUILD_PY_IF FALSE)
+endif (NOT DEFINED BUILD_PY_IF)
+if ((NOT BUILD_PY_IF) AND (NOT BUILD_CPP_IF))
+ # nothing to do
+ message(FATAL_ERROR "Nothing to do.")
+endif()
+
+find_package(Git)
+if(GIT_FOUND)
+ execute_process(
+ COMMAND git describe --tags --dirty
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ OUTPUT_VARIABLE GIT_SUMM
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+ execute_process(
+ COMMAND git log -1 --format=%h
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ OUTPUT_VARIABLE GIT_HASH
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+ execute_process(
+ COMMAND git rev-parse --abbrev-ref HEAD
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ OUTPUT_VARIABLE GIT_BRANCH
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+ execute_process(
+ COMMAND git show -s --format=%ci ${GIT_HASH}
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ OUTPUT_VARIABLE GIT_DATE
+ OUTPUT_STRIP_TRAILING_WHITESPACE
+ )
+endif(GIT_FOUND)
+
+# global defines
+list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/)
+
+# model version
+file(READ ${PROJECT_SOURCE_DIR}/config/MODEL_VER MODEL_VERSION)
+string(REPLACE "\n" " " MODEL_VERSION ${MODEL_VERSION})
+message(STATUS "Supported model version: ${MODEL_VERSION}")
+
+# Devices that have both ROCM and CUDA are not currently supported
+if (USE_ROCM_TOOLKIT AND USE_CUDA_TOOLKIT)
+ message (FATAL_ERROR "Devices that have both ROCM and CUDA are not currently supported")
+endif()
+set(DP_VARIANT "cpu")
+
+# define USE_CUDA_TOOLKIT
+if (USE_CUDA_TOOLKIT)
+ set(CUDA_USE_STATIC_CUDA_RUNTIME OFF CACHE INTERNAL "")
+ find_package(CUDA REQUIRED)
+ add_definitions("-DGOOGLE_CUDA")
+ message(STATUS "Found CUDA in ${CUDA_TOOLKIT_ROOT_DIR}, build nv GPU support")
+ set(DP_VARIANT "cuda")
+else()
+ message(STATUS "Will not build nv GPU support")
+endif(USE_CUDA_TOOLKIT)
+
+#define USE_ROCM_TOOLKIT
+if (USE_ROCM_TOOLKIT)
+ find_package(ROCM REQUIRED)
+ add_definitions("-DTENSORFLOW_USE_ROCM")
+ add_compile_definitions(__HIP_PLATFORM_HCC__)
+ message(STATUS "Found ROCM in ${ROCM_ROOT}, build AMD GPU support")
+ set(DP_VARIANT "rocm")
+else()
+ message(STATUS "Will not build AMD GPU support")
+endif (USE_ROCM_TOOLKIT)
+
+set(DEEPMD_SOURCE_DIR ${PROJECT_SOURCE_DIR}/..)
+
+# setup tensorflow libraries by python
+if (USE_TF_PYTHON_LIBS)
+ find_package (Python COMPONENTS Interpreter Development REQUIRED)
+endif(USE_TF_PYTHON_LIBS)
+
+# find tensorflow, I need tf abi info
+find_package(tensorflow REQUIRED)
+
+if (TENSORFLOW_VERSION VERSION_GREATER_EQUAL 2.10)
+ set (CMAKE_CXX_STANDARD 17)
+elseif (TENSORFLOW_VERSION VERSION_GREATER_EQUAL 2.7)
+ set (CMAKE_CXX_STANDARD 14)
+else()
+ set (CMAKE_CXX_STANDARD 11)
+endif()
+
+if (MSVC)
+ # see TF .bazelrc
+ add_compile_options(/W0 /Zc:__cplusplus /D_USE_MATH_DEFINES /d2ReducedOptimizeHugeFunctions)
+ set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
+endif()
+if (TENSORFLOW_VERSION VERSION_GREATER_EQUAL 2.4 AND MSVC)
+ # see TF 2.4 release notes
+ add_compile_options(/Zc:preprocessor)
+endif()
+
+# find threads
+find_package(Threads)
+
+# auto op_cxx_abi
+if (NOT DEFINED OP_CXX_ABI)
+ if (BUILD_PY_IF)
+ if (DEFINED TENSORFLOW_ROOT)
+ # note \ in windows path
+ set(FIND_ABI_CMD "import sys,os; sys.path.insert(0, os.path.join(r'${TENSORFLOW_ROOT}', '..')); import tensorflow; print(tensorflow.CXX11_ABI_FLAG if 'CXX11_ABI_FLAG' in tensorflow.__dict__ else tensorflow.sysconfig.CXX11_ABI_FLAG, end = '')" )
+ else()
+ set(FIND_ABI_CMD "import tensorflow; print(tensorflow.CXX11_ABI_FLAG if 'CXX11_ABI_FLAG' in tensorflow.__dict__ else tensorflow.sysconfig.CXX11_ABI_FLAG, end = '')")
+ endif()
+ execute_process(
+ COMMAND ${PYTHON_EXECUTABLE} "-c" "${FIND_ABI_CMD}"
+ WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
+ OUTPUT_VARIABLE PY_CXX_ABI
+ RESULT_VARIABLE PY_CXX_ABI_RESULT_VAR
+ ERROR_VARIABLE PY_CXX_ABI_ERROR_VAR
+ )
+ if (NOT ${PY_CXX_ABI_RESULT_VAR} EQUAL 0)
+ message(FATAL_ERROR "Cannot determine cxx abi, error message: ${PY_CXX_ABI_ERROR_VAR}")
+ endif()
+ set(OP_CXX_ABI ${PY_CXX_ABI})
+ endif()
+ if (BUILD_CPP_IF)
+ try_run(
+ CPP_CXX_ABI_RUN_RESULT_VAR CPP_CXX_ABI_COMPILE_RESULT_VAR
+ ${CMAKE_CURRENT_BINARY_DIR}/tf_cxx_abi
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/tf_cxx_abi.cpp"
+ LINK_LIBRARIES ${TensorFlowFramework_LIBRARY}
+ CMAKE_FLAGS "-DINCLUDE_DIRECTORIES:STRING=${TensorFlow_INCLUDE_DIRS}"
+ RUN_OUTPUT_VARIABLE CPP_CXX_ABI
+ COMPILE_OUTPUT_VARIABLE CPP_CXX_ABI_COMPILE_OUTPUT_VAR
+ )
+ if (NOT ${CPP_CXX_ABI_COMPILE_RESULT_VAR})
+ message(FATAL_ERROR "Failed to compile: \n ${CPP_CXX_ABI_COMPILE_OUTPUT_VAR}" )
+ endif()
+ if (NOT ${CPP_CXX_ABI_RUN_RESULT_VAR} EQUAL "0")
+ message(FATAL_ERROR "Failed to run, return code: ${CPP_CXX_ABI}" )
+ endif()
+ if (DEFINED PY_CXX_ABI)
+ if (NOT (${CPP_CXX_ABI} EQUAL ${PY_CXX_ABI}))
+ message (WARNNING "NOT consistent CXX_ABIs: python interface of tf uses ${PY_CXX_ABI}, while c++ interface of tf uses ${CPP_CXX_ABI}, we follow c++ interface ")
+ endif()
+ endif()
+ set(OP_CXX_ABI ${CPP_CXX_ABI})
+ endif()
+ message (STATUS "Automatically determined OP_CXX_ABI=${OP_CXX_ABI} ")
+else()
+ message (STATUS "User set OP_CXX_ABI=${OP_CXX_ABI} ")
+endif()
+# message the cxx_abi used during compiling
+if (${OP_CXX_ABI} EQUAL 0)
+ message (STATUS "Set GLIBCXX_USE_CXX_ABI=0 when compiling ops")
+else ()
+ set (OP_CXX_ABI 1)
+ message (STATUS "Set GLIBCXX_USE_CXX_ABI=1 when compiling ops")
+endif ()
+
+# set _GLIBCXX_USE_CXX11_ABI flag globally
+add_definitions(-D_GLIBCXX_USE_CXX11_ABI=${OP_CXX_ABI})
+
+# define USE_TTM
+if (NOT DEFINED USE_TTM)
+ set(USE_TTM FALSE)
+endif (NOT DEFINED USE_TTM)
+if (USE_TTM)
+ message(STATUS "Use TTM")
+ set(TTM_DEF "-DUSE_TTM")
+endif (USE_TTM)
+
+# define build type
+if ((NOT DEFINED CMAKE_BUILD_TYPE) OR CMAKE_BUILD_TYPE STREQUAL "")
+ set (CMAKE_BUILD_TYPE release)
+endif ()
+
+# set op prec
+set(HIGH_PREC_DEF "HIGH_PREC")
+# this defination doesn't work, but leaving it empty will cause error
+set(LOW_PREC_DEF "LOW_PREC")
+set(HIGH_PREC_VARIANT "")
+set(LOW_PREC_VARIANT "_low")
+
+# find openmp
+find_package(OpenMP)
+if (OPENMP_FOUND)
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
+endif()
+
+# define names of libs
+set (LIB_DEEPMD "deepmd")
+if (BUILD_CPP_IF)
+ set (LIB_DEEPMD_OP "deepmd_op")
+ set (LIB_DEEPMD_CC "deepmd_cc")
+ if (USE_CUDA_TOOLKIT)
+ set (LIB_DEEPMD_OP_DEVICE "deepmd_op_cuda")
+ elseif (USE_ROCM_TOOLKIT)
+ set (LIB_DEEPMD_OP_DEVICE "deepmd_op_rocm")
+ else()
+ set (LIB_DEEPMD_OP_DEVICE "deepmd_op")
+ endif()
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 4.8)
+ set (LIB_DEEPMD_NATIVE "deepmd_native_md")
+ set (LIB_DEEPMD_IPI "deepmd_ipi")
+ set (LIB_DEEPMD_GROMACS "deepmd_gromacs")
+ else ()
+ message (STATUS "Your gcc/g++ version is ${CMAKE_CXX_COMPILER_VERSION}, so native MD, ipi and gromacs plugin are disabled. To enable them, use gcc/g++ >= 4.8.")
+ endif ()
+endif (BUILD_CPP_IF)
+
+add_subdirectory (op/)
+add_subdirectory (lib/)
+if (BUILD_PY_IF)
+ add_subdirectory (config/)
+ # add_subdirectory (tests/)
+endif (BUILD_PY_IF)
+if (BUILD_CPP_IF)
+ add_subdirectory (api_cc/)
+ add_subdirectory (lmp/)
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.8)
+ # add_subdirectory (md/)
+ add_subdirectory (ipi/)
+ add_subdirectory (gmx/)
+ endif ()
+endif (BUILD_CPP_IF)
+
+# uninstall target
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
+ IMMEDIATE @ONLY)
+
+add_custom_target(uninstall
+ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
+
+# lammps target
+configure_file(
+ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_lammps.cmake.in"
+ "${CMAKE_CURRENT_BINARY_DIR}/cmake_lammps.cmake"
+ IMMEDIATE @ONLY)
+
+add_custom_target(lammps
+ COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_lammps.cmake)
+
diff --git a/source/lib/src/rocm/CMakeLists.txt b/source/lib/src/rocm/CMakeLists.txt
index 6773c60389232c2b855cc0c6bcd7dec2401c2802..9374666e22dcc0d17adff99a607f459671a93166 100644
--- a/source/lib/src/rocm/CMakeLists.txt
+++ b/source/lib/src/rocm/CMakeLists.txt
@@ -12,7 +12,7 @@ add_definitions("-DCUB_IGNORE_DEPRECATED_CPP_DIALECT")
message(STATUS "HIP major version is " ${HIP_VERSION_MAJOR})
-set (HIP_HIPCC_FLAGS ; -fno-gpu-rdc; --amdgpu-target=gfx906; -fPIC; -O3; --std=c++14)
+set (HIP_HIPCC_FLAGS ; -fno-gpu-rdc; --amdgpu-target=gfx906; -fPIC; -O3; --std=c++11)
file (GLOB SOURCE_FILES "*.hip.cu" )