Questions about the parallel mpirun of lammps using a conda easy installation #2873
Unanswered
ligangchang
asked this question in
Q&A
Replies: 3 comments
-
It seems that TensorFlow did not recognize the GPU device |
Beta Was this translation helpful? Give feedback.
0 replies
-
The error may be the same as #2668, but I cannot reproduce it. Could you share the input files and the environment? Export the conda environment: conda env export > environment.yml |
Beta Was this translation helpful? Give feedback.
0 replies
-
The bug is fixed in #2923. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I hope you are doing well. I have installed the DeepMD kit (DeePMD-kit v2.2.4) following the easy installation procedure with conda environment. The lammps is running with no issue in a single core but when I try to run lammps parallel, it works wrong. I am using the following command to run lammps parallel: mpirun -np 2 lmp -in in.lammps. The following is the error logs:
#########################################
(deepmd) [ligch@login-1-1 02.lmp]$ mpirun -np 2 lmp -i in.lammps
LAMMPS (2 Aug 2023)
OMP_NUM_THREADS environment is not set. Defaulting to 1 thread. (src/comm.cpp:98)
using 1 OpenMP thread(s) per MPI task
Loaded 1 plugins from /public/data/zhu_wp/ligch/software/miniconda3/envs/deepmd/lib/deepmd_lmp
Reading data file ...
triclinic box = (0 0 0) to (10.114259 10.263124 10.216793) with tilt (0.036749877 0.13833062 -0.056322169)
1 by 2 by 1 MPI processor grid
reading atoms ...
5 atoms
read_data CPU = 0.002 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 ...
CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE-CITE
Your simulation uses code contributions which should be cited:
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 0 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 = 7
ghost atom cutoff = 7
binsize = 3.5, bins = 3 3 3
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.001
Per MPI rank memory allocation (min/avg/max) = 2.566 | 2.566 | 2.566 Mbytes
Step PotEng KinEng TotEng Temp Press Volume
0 -21.034997 0.025852029 -21.009145 50 -10873.951 1060.5429
100 -28.682094 2.2664998 -26.415594 4383.6015 -3670.4352 1060.5429
/public/data/zhu_wp/ligch/software/miniconda3/envs/deepmd/bin/lmp: line 11: 14503 Floating point exception(core dumped) /public/data/zhu_wp/ligch/software/miniconda3/envs/deepmd/bin/_lmp "$@
#########################################
Thanks in advance for your cooperation.
Best
lgc
Beta Was this translation helpful? Give feedback.
All reactions