![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/395/89998f300f6f4291adceb821cbb92604/97399855-8315-4397-860c-0fa69fb1ad07.png?x-oss-process=image/resize,w_100,m_lfit)
![](https://cdn1.deepmd.net/bohrium/web/static/images/level-v2-1.png?x-oss-process=image/resize,w_50,m_lfit)
Hands-on PIMD | a quick guide on how to study nuclear quantum effects
©️ Copyright 2023 @ Authors
Author:
李一帆 Yifan Li 📨
Date: 2023-07-10
Sharing Protocol: This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
📖 Getting Started Guide
This document can be executed directly on the Bohrium Notebook. To begin, click the Connect button located at the top of the interface, then select the lammps:20230615-dp2.2.2-notebook image and choose your desired machine configuration to proceed.
0. Overview
In classical molecular dynamics (MD), atomic nuclei are treated as classical particles and described with Newton's equations of motion. This treatment works for most cases, but ignores the fact atomic nuclei are quantum particles. Quantum behaviors include tunneling and zero point energy. For light atomic nuclei (for example, Hydrogen or Lithium), the quantum nature of atomic nuclei have profound effects on the structure, thermodynamics, and dynamics of a system and cannot be neglected. A typical example of nuclear quantum effect (NQE) is the free energy difference between different stable isotopes, which cannot be captured by classical MD.
Path integral molecular dynamics (PIMD) is a powerful technique to study NQEs. You do not need to know how it is derived from Feynman's path integral. In this notebook we will use water as an example to learn how to run PIMD, because water includes hydrogen atom, and there is a strong NQE in water from the competition between the stretching of OH bond and libration of water molecule.
You only need to keep in mind the following features of PIMD :
It captures the quantum effects by mapping a quantum system onto a classical ring-polymer system, which is composed of multiple replicas (also called "beads") of the simulated system. Each beads is an image of the system.
Theoretically, one needs infinite beads to simulate a quantum system. Finite number of beads will lead to truncation error. In practice, one should use a large enough number of beads based convergence test.
Two types of interactions are considered in PIMD: inter-bead interactions and intra-bead interactions.
- Inter-bead interactions are the spring elastic energies among different beads of the same atom;
- Intra-bead interactions are the physical interactions of each image of the system.
The potential energy surface of PIMD is
where is the number of beads, is the atomic mass, , , is the atomic coordinates for the th bead.
- Different beads are simulated in parallel using the intra-bead interactions (can be calculated with empirical FF, DFT, MLFF, etc). In each step, the inter-bead interactions are considered by performing inter-bead communications.
The aim of this notebook to to teach students how to do PIMD simulations with the Deep Potential model using LAMMPS and DeePMD-kit.
A typical workflow of doing PIMD is:
Already up to date.
1. Preparing A Model
To run PIMD, the first step is to construct a DP model (if you want to run PIMD with Deep Potential). It is typical that before running PIMD, one has already had a model for running classical MD. However, different configurations might be encountered in PIMD. The training set sampled from classical MD might not be enough for PIMD. We demonstrate this on a test set with 100 configurations.
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/d96903243a00419b84b96280b3688a7d/27953e6ed6ca4499b0b1b7ebae296be5.png)
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/dcd706b3f5ef46f9b1a84d584c338dde/c298a81bec2044af865d3f22ebd3e8f0.png)
0.0976920424528473
0.12340050129000131
It is obvious from the figures that the accuracy of this model is not satisfactory for the path integral test set. More precisely, the RMSE of classical test set is 0.098 eV / $\unicode[serif]{xC5}$, while the RMSE of path integral test set is 0.12 eV / $\unicode[serif]{xC5}$. Thus, the model is further refined by using the active learning procedure driven by PIMD. We omit the active learning procedure in this notebook, and only present the accuracy of the final refined model.
The refined model for the use in the next steps is:
graph1.pb
We now predict forces with this model on the test set, and take a look at the prediction errors:
/opt/deepmd-kit-2.2.2/lib/python3.10/site-packages/scipy/__init__.py:146: UserWarning: A NumPy version >=1.16.5 and <1.23.0 is required for this version of SciPy (detected version 1.24.2 warnings.warn(f"A NumPy version >={np_minversion} and <{np_maxversion}" WARNING:tensorflow:From /opt/deepmd-kit-2.2.2/lib/python3.10/site-packages/tensorflow/python/compat/v2_compat.py:107: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version. Instructions for updating: non-resource variables are not supported in the long term WARNING:root: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. See https://deepmd.rtfd.io/parallelism/ for more information. 2023-08-09 15:37:53.369915: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: SSE4.1 SSE4.2 AVX AVX2 AVX512F FMA To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-09 15:37:53.700147: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:53.921584: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:53.921847: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.144041: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.144346: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.144558: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.144751: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 31010 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-09 15:37:56.149266: I tensorflow/core/common_runtime/process_util.cc:146] Creating new thread pool with default inter op setting: 2. Tune using inter_op_parallelism_threads for best performance. 2023-08-09 15:37:56.301776: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:354] MLIR V1 optimization pass is not enabled WARNING:tensorflow:From /opt/deepmd-kit-2.2.2/lib/python3.10/site-packages/deepmd/utils/batch_size.py:61: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.config.list_physical_devices('GPU')` instead. WARNING:tensorflow:From /opt/deepmd-kit-2.2.2/lib/python3.10/site-packages/deepmd/utils/batch_size.py:61: is_gpu_available (from tensorflow.python.framework.test_util) is deprecated and will be removed in a future version. Instructions for updating: Use `tf.config.list_physical_devices('GPU')` instead. 2023-08-09 15:37:56.399428: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.399782: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.399988: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.400249: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.400437: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:975] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2023-08-09 15:37:56.400594: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1532] Created device /device:GPU:0 with 31010 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/c739c6775f104d8bb0bc867ccd0c2992/57fe252ecd3e482bb16ab71e83de7ee4.png)
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/0c0cad3db2124c49abab972f08c5fe36/d279320c6cab4785a7156480973a108e.png)
0.08910775984354499
0.09761331679461156
We can tell from the figure that the prediction accuracy is now satisfactory. Also, the RMSE is lowered to 0.089 and 0.098 for classical and path integral test sets, respectively. This model should now be ready to use.
In this session we run classical MD and PIMD with LAMMPS. The classical MD is run with LAMMPS's fix npt
command, while PIMD is run with LAMMPS's fix pimd/langevin
command. fix npt
uses the Nose-Hoover chain thermostat and barostat, while fix pimd/langevin
uses the white-noise Langevin thermostat and Bussi-Zykova-Parrinello barostat. The simulations should be quite robust to the choice of thermostats and barostats.
Here we only introduce how to run PIMD with LAMMPS. For a detailed introduction to Molecular Dynamics with the Deep Potential model, you may refer to this notebook Ultra-detailed "Deep Potential Energy" Materials Computation Getting Started Guide | Chapter 1 .
Let's take a look at PIMD's LAMMPS input script:
1 variable ibead uloop 99 pad 2 # bulk water 3 units metal 4 boundary p p p 5 atom_style atomic 6 atom_modify map yes 7 8 #neighbor 2.0 bin 9 neigh_modify every 10 delay 0 check no 10 11 read_data ../iceInit/conf222 12 13 mass 1 15.9994 14 mass 2 1.00794 15 16 pair_style deepmd ../../../model/graph1.pb 17 pair_coeff * * 18 19 20 fix 1 all pimd/langevin fmmode physical ensemble npt integrator obabo thermostat PILE_L 975481 temp 300.0 tau 1.0 scale 1.0 barostat BZP aniso 1.0 taup 1.0 21 22 dump 1 all custom 200 ${ibead}.xyz id type x y z 23 dump_modify 1 append yes sort id 24 25 timestep 0.0005 26 thermo_style custom step temp f_1[1*4] vol 27 thermo 100 28 thermo_modify format line "%d %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e %.8e" 29 30 run 2000
There are three major differences between this script and the input of classical MD:
- Line 1: This line defines a variable for bead id. 99 can be used for up to 99 beads (01, 02, ..., 99). If you want to use more beads (for example, 128), change 99 to 999.
- Line 20: This line is the major line of defining parameters of the PIMD task. From this line, we know that we are running PIMD in the npt ensemble at 300 K and 1 bar, using 1 ps as the damping time for both the thermostat and the barostat. For a more detailed explanation, refer to the document of LAMMPS: fix pimd/langevin.
- Line 26: This line specifies the output of thermodynamic quantities, which may include quantum estimators from PIMD. For details, refer to the document: fix pimd/langevin.
classical MD for ice:
LAMMPS (15 Jun 2023) OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98) using 1 OpenMP thread(s) per MPI task Open of file /opt/deepmd-kit-2.2.2/lib/deepmd_lmp/dpplugin.so failed: /opt/deepmd-kit-2.2.2/lib/deepmd_lmp/dpplugin.so: undefined symbol: _ZTIN9LAMMPS_NS7ComputeE Loaded 0 plugins from /opt/deepmd-kit-2.2.2/lib/deepmd_lmp Reading data file ... orthogonal box = (0 0 0) to (15.645678 14.707145 18.073037) 1 by 1 by 1 MPI processor grid reading atoms ... 384 atoms read_data CPU = 0.009 seconds DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. Summary of lammps deepmd module ... >>> Info of deepmd-kit: installed to: /root/deepmd-kit/dp_c source: source branch: source commit: source commit at: surpport model ver.:1.1 build variant: cuda build with tf inc: /usr/local/lib/python3.11/dist-packages/tensorflow/include;/usr/local/lib/python3.11/dist-packages/tensorflow/include build with tf lib: /usr/local/lib/python3.11/dist-packages/tensorflow/libtensorflow_cc.so.2 set tf intra_op_parallelism_threads: 0 set tf inter_op_parallelism_threads: 0 >>> Info of lammps module: use deepmd-kit at: /opt/deepmd-kit-2.2.2 source: v2.2.2-75-g4fa54ec6 source branch: devel source commit: 4fa54ec6 source commit at: 2023-07-26 09:23:40 +0800 build float prec: double build with tf inc: /opt/deepmd-kit-2.2.2/include build with tf lib: DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. 2023-08-09 15:59:56.101755: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-09 15:59:56.658797: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.659364: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.659846: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.660304: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.844385: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.844934: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.845407: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.845858: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.846309: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.846749: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.847192: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 15:59:56.847628: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.712088: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.712649: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.713150: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.713622: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.716787: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.717289: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.717754: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.718209: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.718660: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.719168: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 14544 MB memory: -> device: 0, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-09 16:00:00.721712: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.722254: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:1 with 14544 MB memory: -> device: 1, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:0a.0, compute capability: 7.0 2023-08-09 16:00:00.722576: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.723035: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:2 with 14544 MB memory: -> device: 2, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:0b.0, compute capability: 7.0 2023-08-09 16:00:00.723313: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-09 16:00:00.723755: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:3 with 14544 MB memory: -> device: 3, name: Tesla V100-SXM2-16GB, pci bus id: 0000:00:0c.0, compute capability: 7.0 2023-08-09 16:00:00.855211: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE Your simulation uses code contributions which should be cited: - USER-DEEPMD package: The log file lists these citations in BibTeX format. CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE Generated 0 of 1 mixed pair_coeff terms from geometric mixing rule Neighbor list info ... update: every = 10 steps, delay = 0 steps, check = no max neighbors/atom: 2000, page size: 100000 master list distance cutoff = 8 ghost atom cutoff = 8 binsize = 4, bins = 4 4 5 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair deepmd, perpetual attributes: full, newton on pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Setting up Verlet run ... Unit style : metal Current step : 0 Time step : 0.0005 Per MPI rank memory allocation (min/avg/max) = 2.686 | 2.686 | 2.686 Mbytes Step Temp PotEng Volume Density 0 0.00000000e+00 -2.09022574e+03 4.15866460e+03 9.20759375e-01 100 2.73513356e+01 -2.09487380e+03 4.04727828e+03 9.46099862e-01 200 3.32208864e+01 -2.09547357e+03 3.75038875e+03 1.02099534e+00 300 9.91644157e+00 -2.09411214e+03 3.57285580e+03 1.07172795e+00 400 1.52263917e+01 -2.09383806e+03 3.54882495e+03 1.07898515e+00 500 5.62471521e+01 -2.09528914e+03 3.73519661e+03 1.02514802e+00 600 3.80802720e+01 -2.09454296e+03 4.04461282e+03 9.46723356e-01 700 1.82695602e+01 -2.09329767e+03 4.16440618e+03 9.19489900e-01 800 4.11602265e+01 -2.09378115e+03 3.97668068e+03 9.62895875e-01 900 3.28557523e+01 -2.09226121e+03 3.69902032e+03 1.03517393e+00 1000 4.23189207e+01 -2.09164224e+03 3.69572674e+03 1.03609647e+00 1100 7.72020015e+01 -2.09235709e+03 4.03414875e+03 9.49179037e-01 1200 8.53711654e+01 -2.09150621e+03 4.07628206e+03 9.39368123e-01 1300 8.34125901e+01 -2.08983715e+03 3.75767858e+03 1.01901462e+00 1400 1.01945242e+02 -2.08914121e+03 3.72302857e+03 1.02849853e+00 1500 1.49296768e+02 -2.08972930e+03 3.99128509e+03 9.59372567e-01 1600 1.59892202e+02 -2.08793294e+03 4.07109646e+03 9.40564652e-01 1700 1.76493815e+02 -2.08646125e+03 3.88158857e+03 9.86485134e-01 1800 1.98331671e+02 -2.08495188e+03 3.82886456e+03 1.00006917e+00 1900 2.16775279e+02 -2.08325221e+03 3.93971771e+03 9.71929895e-01 2000 2.35467778e+02 -2.08138139e+03 4.04931362e+03 9.45624315e-01 Loop time of 8.32625 on 1 procs for 2000 steps with 384 atoms Performance: 10.377 ns/day, 2.313 hours/ns, 240.204 timesteps/s, 92.238 katom-step/s 116.5% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 7.693 | 7.693 | 7.693 | 0.0 | 92.40 Neigh | 0.53861 | 0.53861 | 0.53861 | 0.0 | 6.47 Comm | 0.036389 | 0.036389 | 0.036389 | 0.0 | 0.44 Output | 0.0073376 | 0.0073376 | 0.0073376 | 0.0 | 0.09 Modify | 0.045519 | 0.045519 | 0.045519 | 0.0 | 0.55 Other | | 0.005343 | | | 0.06 Nlocal: 384 ave 384 max 384 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 2650 ave 2650 max 2650 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 76898 ave 76898 max 76898 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 76898 Ave neighs/atom = 200.25521 Neighbor list builds = 200 Dangerous builds not checked Total wall time: 0:00:17
classical MD for water:
LAMMPS (15 Jun 2023) OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98) using 1 OpenMP thread(s) per MPI task Open of file /opt/deepmd-kit-2.2.2/lib/deepmd_lmp/dpplugin.so failed: /opt/deepmd-kit-2.2.2/lib/deepmd_lmp/dpplugin.so: undefined symbol: _ZTIN9LAMMPS_NS7ComputeE Loaded 0 plugins from /opt/deepmd-kit-2.2.2/lib/deepmd_lmp Reading data file ... orthogonal box = (-0.31180958 -0.31180958 -0.31180958) to (15.31181 15.31181 15.31181) 1 by 1 by 1 MPI processor grid reading atoms ... 384 atoms reading velocities ... 384 velocities read_data CPU = 0.004 seconds DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. Summary of lammps deepmd module ... >>> Info of deepmd-kit: installed to: /root/deepmd-kit/dp_c source: source branch: source commit: source commit at: surpport model ver.:1.1 build variant: cuda build with tf inc: /usr/local/lib/python3.11/dist-packages/tensorflow/include;/usr/local/lib/python3.11/dist-packages/tensorflow/include build with tf lib: /usr/local/lib/python3.11/dist-packages/tensorflow/libtensorflow_cc.so.2 set tf intra_op_parallelism_threads: 0 set tf inter_op_parallelism_threads: 0 >>> Info of lammps module: use deepmd-kit at: /opt/deepmd-kit-2.2.2 source: v2.2.2-75-g4fa54ec6 source branch: devel source commit: 4fa54ec6 source commit at: 2023-07-26 09:23:40 +0800 build float prec: double build with tf inc: /opt/deepmd-kit-2.2.2/include build with tf lib: DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. 2023-08-03 06:40:33.259256: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:40:33.260337: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:33.301893: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:33.302125: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:34.173605: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:34.173876: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:34.174058: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:34.174246: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:40:34.296107: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE Your simulation uses code contributions which should be cited: - USER-DEEPMD package: The log file lists these citations in BibTeX format. CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE Generated 0 of 1 mixed pair_coeff terms from geometric mixing rule Neighbor list info ... update: every = 10 steps, delay = 0 steps, check = no max neighbors/atom: 2000, page size: 100000 master list distance cutoff = 8 ghost atom cutoff = 8 binsize = 4, bins = 4 4 4 1 neighbor lists, perpetual/occasional/extra = 1 0 0 (1) pair deepmd, perpetual attributes: full, newton on pair build: full/bin/atomonly stencil: full/bin/3d bin: standard Setting up Verlet run ... Unit style : metal Current step : 0 Time step : 0.0005 Per MPI rank memory allocation (min/avg/max) = 2.696 | 2.696 | 2.696 Mbytes Step Temp PotEng Volume Density 0 3.29925921e+02 -2.07069826e+03 3.81368600e+03 1.00404947e+00 100 3.06907111e+02 -2.06971743e+03 3.78458842e+03 1.01176905e+00 200 2.78269052e+02 -2.06884027e+03 3.77208866e+03 1.01512180e+00 300 2.94960733e+02 -2.07019125e+03 3.69091734e+03 1.03744654e+00 400 2.94594335e+02 -2.07055118e+03 3.72839089e+03 1.02701931e+00 500 2.79535198e+02 -2.07007110e+03 3.64332904e+03 1.05099742e+00 600 2.99021224e+02 -2.07074250e+03 3.61488044e+03 1.05926862e+00 700 3.04683843e+02 -2.06990418e+03 3.67317958e+03 1.04245636e+00 800 3.01700854e+02 -2.06890132e+03 3.73044519e+03 1.02645374e+00 900 3.05865310e+02 -2.06887411e+03 3.73113933e+03 1.02626278e+00 1000 3.02397382e+02 -2.06875934e+03 3.68667088e+03 1.03864151e+00 1100 3.14120313e+02 -2.06956573e+03 3.64124501e+03 1.05159895e+00 1200 2.99658203e+02 -2.06927024e+03 3.70545838e+03 1.03337537e+00 1300 3.02492696e+02 -2.06991543e+03 3.67843286e+03 1.04096760e+00 1400 2.92479729e+02 -2.06970228e+03 3.68017412e+03 1.04047507e+00 1500 2.90119838e+02 -2.06956615e+03 3.69381058e+03 1.03663394e+00 1600 2.80098580e+02 -2.06858508e+03 3.74241395e+03 1.02317100e+00 1700 3.16458572e+02 -2.06938495e+03 3.77159626e+03 1.01525433e+00 1800 3.10313540e+02 -2.06839799e+03 3.70635875e+03 1.03312434e+00 1900 3.16026446e+02 -2.06860363e+03 3.64928756e+03 1.04928136e+00 2000 3.15215534e+02 -2.06882316e+03 3.62527819e+03 1.05623051e+00 Loop time of 7.72181 on 1 procs for 2000 steps with 384 atoms Performance: 11.189 ns/day, 2.145 hours/ns, 259.007 timesteps/s, 99.459 katom-step/s 113.7% CPU use with 1 MPI tasks x 1 OpenMP threads MPI task timing breakdown: Section | min time | avg time | max time |%varavg| %total --------------------------------------------------------------- Pair | 6.9919 | 6.9919 | 6.9919 | 0.0 | 90.55 Neigh | 0.63729 | 0.63729 | 0.63729 | 0.0 | 8.25 Comm | 0.039279 | 0.039279 | 0.039279 | 0.0 | 0.51 Output | 0.0074032 | 0.0074032 | 0.0074032 | 0.0 | 0.10 Modify | 0.040092 | 0.040092 | 0.040092 | 0.0 | 0.52 Other | | 0.005827 | | | 0.08 Nlocal: 384 ave 384 max 384 min Histogram: 1 0 0 0 0 0 0 0 0 0 Nghost: 2888 ave 2888 max 2888 min Histogram: 1 0 0 0 0 0 0 0 0 0 Neighs: 0 ave 0 max 0 min Histogram: 1 0 0 0 0 0 0 0 0 0 FullNghs: 86824 ave 86824 max 86824 min Histogram: 1 0 0 0 0 0 0 0 0 0 Total # of neighbors = 86824 Ave neighs/atom = 226.10417 Neighbor list builds = 200 Dangerous builds not checked Total wall time: 0:00:11
PIMD for ice:
Note: In LAMMPS, the number of beads is not specified in the input script. Instead, it is specified when running the task by setting the number of processes of the MPI job and using LAMMPS's partition feature. The following command starts a PIMD job with 4 beads. Refer to the document for detailed explanations: fix pimd/langevin.
LAMMPS (15 Jun 2023) Running on 4 partitions of processors DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. 2023-08-03 06:24:12.951370: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:24:12.951650: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:24:12.952102: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:24:12.952311: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.952348: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:24:12.952384: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.953106: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.954139: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.994020: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.994019: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.994172: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.994718: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.994764: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:12.994863: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:13.003647: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:13.055450: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.026119: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.026604: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.026834: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.027041: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:24:14.029940: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.030180: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.030361: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.030554: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:24:14.033214: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.033557: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.033861: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.034128: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:24:14.038333: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.038669: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.038957: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:24:14.039213: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:24:14.155084: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled 2023-08-03 06:24:14.155723: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled 2023-08-03 06:24:14.159384: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled 2023-08-03 06:24:14.163901: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: fix pimd/langevin initializing Path-Integral ... fix pimd/langevin -P/(beta^2 * hbar^2) = 2.5580937E+00 (kcal/mol/A^2)
PIMD for water:
LAMMPS (15 Jun 2023) Running on 4 partitions of processors DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTRA_OP_PARALLELISM_THREADS is not set. Tune TF_INTRA_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable TF_INTER_OP_PARALLELISM_THREADS is not set. Tune TF_INTER_OP_PARALLELISM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. DeePMD-kit WARNING: Environmental variable OMP_NUM_THREADS is not set. Tune OMP_NUM_THREADS for the best performance. See https://deepmd.rtfd.io/parallelism/ for more information. 2023-08-03 06:40:46.671729: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:40:46.672019: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:40:46.672392: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:40:46.672804: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations. To enable the following instructions: AVX2 AVX512F FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags. 2023-08-03 06:40:46.672922: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.673039: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.673333: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.673778: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.714952: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.714952: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.715219: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.715565: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.715610: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.715890: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.716255: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:46.717237: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.739871: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.740148: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.740371: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.740634: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:40:47.748898: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.749152: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.749347: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:47.749549: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:40:47.866776: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled 2023-08-03 06:40:47.872118: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph 2023-08-03 06:40:48.067786: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:48.068146: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:48.068394: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:48.068623: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 2023-08-03 06:40:48.070849: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:48.071197: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:48.071470: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:996] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero. See more at https://github.com/torvalds/linux/blob/v6.0/Documentation/ABI/testing/sysfs-bus-pci#L344-L355 2023-08-03 06:40:48.071729: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1635] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 29259 MB memory: -> device: 0, name: Tesla V100-SXM2-32GB, pci bus id: 0000:00:09.0, compute capability: 7.0 >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: 2023-08-03 06:40:48.232984: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled 2023-08-03 06:40:48.236062: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:353] MLIR V1 optimization pass is not enabled INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph INVALID_ARGUMENT: Tensor spin_attr/ntypes_spin:0, specified in either feed_devices or fetch_devices was not found in the Graph >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: >>> Info of model(s): using 1 model(s): ../../../model/graph1.pb rcut in model: 6 ntypes in model: 2 using compute id: fix pimd/langevin initializing Path-Integral ... fix pimd/langevin -P/(beta^2 * hbar^2) = 2.5580937E+00 (kcal/mol/A^2)
Now we have finished running each of the 4 simulations for 2000 steps. We may moniter the evolution of temperature and potential energy through the simulations. Note that the PIMD algorithm we used controls the temperature to , where is the number of beads, and is the desired temperature. For example, if we want to control the temperature of a system with 4 beads at 300 K, the observed temperatures should fluctuate around 1200 K. When plotting the figures below, we divide the observed temperature with the number of beads to make it easier to observe.
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/bfaeba8f555a46049faa5f9d7005c66b/558228e183524872bcdc9ef32b0256a6.png)
You may notice that due to the thermostats, the instantaneous temperatures of the systems (derived from kinetic energies) are moving towards 300 K and finally fluctuate around this value.
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/247124d123ca4819bc6c72f82b60824c/c2bdbab56b134e5bba61a1bd8e91bc40.png)
You may observe that for both ice and water, PIMD is exploring the part of configuration space with higher potential energy compared to classical MD.
In the last session, we ran PIMD for both ice and water with 4 beads to demonstrate how to run PIMD. However, 4 beads is much fewer than the required number to converge and thus the simulations have no physical meaning. Practically, for the ice and water systems to converge with respect to beads, a reasonable choice of number of beads is 32 or even 64. To simplify this pedagogical notebook, I have prepared 10 ps's MD and PIMD trajectories of water and ice. Although 10 ps is still too short for the thermodynamic properties to converge, the trend of NQEs are very clear. In this session, we will demonstrate how to study NQEs on the radial distribution functions (RDFs), proton sharing coordinates, and hydrogen bond angles of liquid water, and leave ice as an exercise.
3.0 Read The Trajectory
This part reads the MD and PIMD trajectory files of liquid water. Each trajectory is dumped every 0.1 ps, so there are 101 frames in each trajectory. For PIMD, the 32 beads result in configurations in the trajectory. Every configuration contains 128 water molecules.
/data/PIMD_Tutorial/trajectories/ ├── 32beads ├── classical └── exercise 3 directories, 0 files
/data/PIMD_Tutorial/trajectories/classical
contains a classical MD trajetory of liquid water, and /data/PIMD_Tutorial/trajectories/32beads
contains a PIMD trajetory of liquid water. /data/PIMD_Tutorial/trajectories/exercise
contains both classical MD and PIMD trajectories of ice. The following script reads the trajectories of liquid water:
3.1 Radial Distribution Function (RDF)
Radial distribution function is a structural property of molecular systems. It is very useful because many observables can be expressed in terms of , including neutron or X-ray scattering intensities and various thermodynamic quantities. In this part, we demonstrate how to calculate RDF and the NQEs on the RDF of water.
A radial distribution function of a system with atoms can be defined as
where is the density of the system. Here we calculate RDFs by using histogram. In PIMD, the overall RDF is the average of the RDFs of all the beads.
Water has 3 RDFs: , , and . Among them, has the most profound NQEs. Therefore, we only compare from classical MD and PIMD in this part.
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/ae0071013da9489e8fb846f16a4e0a04/32f30784843545179f466aa3c415050f.png)
From the this figure we can observe the following NQEs:
- The first peak around 1.0 $\unicode[serif]{xC5}$ is the O-H covalent bond. NQEs make this peak of PIMD slightly lower than that of classical MD. This means that the stretching of O-H covalent bond is enhanced in PIMD.
- The second peak around 1.8 $\unicode[serif]{xC5}$ is the O-H hydrogen bond. NQEs make this peak move slightly to the left. This means that the strength of the O-H hydrogen bond is enhanced in PIMD.
3.2 Proton Transfer Coordinate And Hydrogen Bond Angle
Water is a hydrogen bonded system. The figure below shows two water molecules which forms a hydrogen bond O-H-O. As we have demonstrated in the last part, a proton in water has two kinds of nearest neighbors: one is the covalently bonded oxygen atom (O), and the other is the hydrogen bonded oxygen atom (O).
Proton transfer cordinate () describes the extent to which the proton is transferred between the donor and acceptor oxygen atoms. It is a measure of the strength of the hydrogen bond. Greater means more profound proton sharing effect and stronger hydrogen bond.
Hydrogen bond angle () describes the bending of the hydrogen bond due to the libration of the water molecules. It is also an important measure of the strength of the hydrogen bond. Greater means more profound bending weaker hydrogen bond.
/tmp/ipykernel_302/4224671157.py:3: UserWarning: Log scale: values of z <= 0 have been masked ax.contourf(X, Y, share_dist[0].T, cmap=plt.cm.viridis, norm=LogNorm())
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/30bbcb18dc3f413c8ab846c462ae0cd3/4e396f8bc20e40cfb71607a1ae3e3f50.png)
/tmp/ipykernel_302/973599111.py:3: UserWarning: Log scale: values of z <= 0 have been masked ax.contourf(X, Y, share_dist_32b[0].T, cmap=plt.cm.viridis, norm=LogNorm())
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/110115/0b48b85fd816433b89888062a755625b/e7182aff3b7e4337bc1aeecd6013466f.png)
By comparing the figures from classical MD and PIMD, we realize that both proton sharing coordinate and hydrogen bond angle are enhanced by NQEs. We have already mentioned that these two types of enhancement have contradictory effects on the strength of hydrogen bond. Therefore, the overall result of NQEs depends on the balance between these two effects.
4.0 Convergence of number of beads
Is 32 beads enough for the PIMD simulation of ice and water? You may use the convergence of the quantum kinetic energy estimator as a measure to check it.
4.1 Densities of water and ice
What are the densities of water and ice at the melting temperature? What are the maximum density temperatures of water and ice? How do they compare with the experiment values?
4.2 RDFs and hydrogen bonding of ice
10 ps MD and PIMD trajectories of ice are provided in PIMD_Tutorial/trajectories/exercise
. Analyze them as we did for water in Session 3.
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/14521/0959c17531d945a29d87fb56ee42318b/b5c659e0-e617-4830-ac89-927407aaffcf.png?x-oss-process=image/resize,w_100,m_lfit)
![](https://cdn1.deepmd.net/bohrium/web/static/images/level-v2-3.png?x-oss-process=image/resize,w_50,m_lfit)
![](https://cdn1.deepmd.net/static/img/d7d9741bda38a158-957c-4877-942f-4bf6f81fcc63.png?x-oss-process=image/resize,w_100,m_lfit)
![](https://cdn1.deepmd.net/bohrium/web/static/images/level-v2-1.png?x-oss-process=image/resize,w_50,m_lfit)
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/13433/466b353ef38d4d74858766aaf5e9d936/6e479f5b-ee3a-4ec6-b291-0823cc604dcd.png?x-oss-process=image/resize,w_100,m_lfit)
![](https://cdn1.deepmd.net/bohrium/web/static/images/level-v2-1.png?x-oss-process=image/resize,w_50,m_lfit)
![](https://bohrium.oss-cn-zhangjiakou.aliyuncs.com/article/1615/b65d45933899445cb7536b4feca0cbb3/c6fa2694-91b3-4f3e-ba53-1a05393ddf64.png?x-oss-process=image/resize,w_100,m_lfit)
![](https://cdn1.deepmd.net/bohrium/web/static/images/level-v2-3.png?x-oss-process=image/resize,w_50,m_lfit)
AnguseZhang