Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem installing the conda package #1878

Closed
omidshy opened this issue Aug 27, 2022 · 2 comments
Closed

Problem installing the conda package #1878

omidshy opened this issue Aug 27, 2022 · 2 comments
Labels

Comments

@omidshy
Copy link

omidshy commented Aug 27, 2022

Bug summary

Hi,
I am getting a number of conflicts for incompatible packages when trying to install DeePMD-kit using conda.

DeePMD-kit Version

2.1.4

TensorFlow Version

2.9.0

How did you download the software?

conda

Input Files, Running Commands, Error Log, etc.

command:

conda create -n dpmd deepmd-kit=*=*gpu libdeepmd=*=*gpu lammps cudatoolkit=11.6 horovod -c https://conda.deepmodeling.com -c defaults

log:

Collecting package metadata (repodata.json): done
Solving environment: - 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                                                                                                                         -  

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package icu conflicts for:
deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> icu[version='>=68.1,<69.0a0']
libdeepmd[build=*gpu] -> libtensorflow_cc=2.9[build=cuda*] -> icu[version='>=68.1,<69.0a0|>=70.1,<71.0a0|>=69.1,<70.0a0']
horovod -> tensorflow=2.9[build=cuda*] -> icu[version='>=68.1,<69.0a0']

Package libstdcxx-ng conflicts for:
deepmd-kit[build=*gpu] -> libstdcxx-ng[version='>=5.4.0|>=7.5.0|>=7.3.0']
deepmd-kit[build=*gpu] -> cudatoolkit[version='>=11.6,<12'] -> libstdcxx-ng[version='>=10.3.0|>=9.4.0|>=11.2.0|>=12|>=4.9|>=9.3.0|>=7.2.0|>=3.4']

Package openmpi conflicts for:
horovod -> mpi4py -> openmpi[version='3.0.*|>=3.1,<3.2.0a0|>=4.0,<4.1.0a0|>=4.1.4,<5.0a0|>=4.1.3,<5.0a0|>=4.1,<4.2.0a0|>=4.0,<5.0.0a0']
deepmd-kit[build=*gpu] -> h5py -> openmpi[version='>=3.1,<3.2.0a0|>=3.1.4,<3.2.0a0|>=4.0.1,<5.0.0a0|>=4.0.2,<5.0.0a0|>=4.0.4,<5.0.0a0|>=4.0.5,<5.0.0a0|>=4.1.0,<5.0a0|>=4.1.1,<5.0a0|>=4.1.2,<5.0a0|>=4.1.4,<5.0a0']
lammps -> openmpi[version='3.0.*|3.1.*|>=3.1,<3.2.0a0|>=4.0,<5.0.0a0|>=4.1,<4.2.0a0|>=4.1.0,<5.0a0|>=4.1.1,<5.0a0|>=4.1.2,<5.0a0|>=4.1.3,<5.0a0|>=4.1.4,<5.0a0']
lammps -> fftw[version='>=3.3.9,<4.0a0'] -> openmpi[version='>=3.1.3,<3.2.0a0|>=4.0.1,<5.0.0a0|>=4.0.4,<5.0.0a0|>=4.0.5,<5.0.0a0|>=4.1.4,<4.2.0a0']

Package python conflicts for:
deepmd-kit[build=*gpu] -> python[version='>=3.10,<3.11.0a0|>=3.8,<3.9.0a0|>=3.9,<3.10.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.6']
deepmd-kit[build=*gpu] -> h5py -> python[version='2.7.*|3.5.*|3.6.*|>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|3.4.*|>=2.7|>=3.5']

Package cudatoolkit conflicts for:
cudatoolkit=11.6
libdeepmd[build=*gpu] -> cudnn -> cudatoolkit[version='10.0.*|11.*|>=11.3,<11.4|>=10.1,<10.2|>=9.0,<9.1|>=9.2,<9.3|>=10.0,<10.1|>=10.2,<10.3|9.0.*|9.2.*|8.0.*|>=11.2,<12|10.2.*|11.0|11.0.*|9.2|9.2.*|10.0|10.0.*|11.1|11.1.*|>=11.2,<12.0a0']
horovod -> nccl[version='>=2.12.12.1,<3.0a0'] -> cudatoolkit[version='10.0|10.0.*|11.0|11.0.*|>=11.2,<12|11.1|11.1.*|>=11.2,<12.0a0|10.1.*|11.3.*|9.2|9.2.*']
horovod -> cudatoolkit[version='*|10.1|10.1.*|10.2|10.2.*|>=11.6,<12|>=11.3,<12|>=11.3.1,<11.4.0a0*|>=10.1.243,<10.2.0a0*']
libdeepmd[build=*gpu] -> cudatoolkit[version='10.1|10.1.*|10.2|10.2.*|>=11.6,<12|>=11.3,<12|>=11.3.1,<11.4.0a0|>=10.1.243,<10.2.0a0|>=9.2,<9.3.0a0|>=11.1.74,<11.2.0a0|>=11.0.221,<11.1.0a0|>=10.0.130,<10.1.0a0']

Package libtensorflow_cc conflicts for:
deepmd-kit[build=*gpu] -> libtensorflow_cc==1.14.0[build=gpu*]
libdeepmd[build=*gpu] -> libtensorflow_cc[version='1.14.0|2.0.0|2.1|2.5|2.7.*|2.9.*|2.9.0.*|2.7.0.*|2.4.1|2.3',build='gpu*|gpu*|gpu*|gpu*|cuda*|gpu*|gpu*']

Package _openmp_mutex conflicts for:
libdeepmd[build=*gpu] -> libgcc-ng[version='>=7.5.0'] -> _openmp_mutex[version='>=4.5']
horovod -> libgcc-ng[version='>=7.5.0'] -> _openmp_mutex[version='>=4.5']
cudatoolkit=11.6 -> libgcc-ng[version='>=7.5.0'] -> _openmp_mutex[version='>=4.5']
deepmd-kit[build=*gpu] -> libgcc-ng[version='>=7.5.0'] -> _openmp_mutex[version='>=4.5']
lammps -> libgcc-ng[version='>=7.5.0'] -> _openmp_mutex[version='>=4.5']

Package tensorflow-base conflicts for:
deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> tensorflow-base[version='2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.9.1',build='cuda112py39hd98b2dd_0|cuda112py37had06f64_0|cuda111py38hca068ee_0|cuda110py38h76162fe_0|cuda112py39h6917f46_0|cuda111py39h6f4cae7_0|cuda102py39hbb9dcef_0|cuda110py38h4cd2a3c_0|cuda110py39h7593abd_0|cuda112py310h680fca1_0|cuda110py310h1c8d5c9_0|cuda102py37h0d2b0d7_0|cuda102py38hba23241_0|cuda110py37h5235c7d_0|cuda110py310h31c0a5d_0|cuda110py38hd7529fe_0|cuda111py39hc0859d9_0|cuda111py37ha9dc7ab_0|cuda112py39h81abfd3_0|cuda112py310hc65a3b4_0|cuda112py38h47a61a2_0|cuda112py37h83f6acc_0|cuda111py38h346ca62_0|cuda111py310h12abe6f_0|cuda110py39h2c4febc_0|cuda102py310h282d6da_0|cuda102py39h4f2f7b8_0|cuda102py37hc592af7_0|cuda111py310h6b17f32_0|cuda110py37he1a3a50_0|cuda111py38h13b88b6_0|cuda102py310h5611d22_0|cuda102py38h5246720_0|cuda112py38h1f4bd8a_0|cuda111py37hdeab154_0|cuda112py37hf039c21_0|cuda102py38h021f141_0|cuda102py310hf4be40b_0|cuda102py39h15c874f_0|cuda102py37h44d275c_0|cuda110py310hae929b1_0|cuda110py39h0c9afd6_0|cuda110py37h3fa1966_0|cuda111py37hf266e69_0|cuda111py310h8463a45_0|cuda111py39h2b78b69_0|cuda112py310h2bd284a_0|cuda112py38hd3dc81e_0']
deepmd-kit[build=*gpu] -> tensorflow-base=2.5.0[build=gpu*]

Package scipy conflicts for:
deepmd-kit[build=*gpu] -> tensorflow-base=2.5.0[build=gpu*] -> scipy[version='>=1.6.2']
deepmd-kit[build=*gpu] -> scipy

Package cudnn conflicts for:
deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> cudnn[version='7.*|>=7.6,<8.0a0|>=8.4.0.27,<9.0a0|>=8.2,<9.0a0|8.*']
deepmd-kit[build=*gpu] -> cudnn[version='>=7.6.0,<8.0a0']

Package tensorflow-estimator conflicts for:
horovod -> tensorflow-estimator
deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> tensorflow-estimator[version='2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.9.1|>=2.5.0,<2.6',build='cuda112py39h23446aa_0|cuda112py38hab8ae04_0|cuda112py310h922d117_0|cuda112py37h474db6c_0|cuda111py38h6ed5851_0|cuda102py38h4357c17_0|cuda112py37h25bb9bc_0|cuda111py39h27f8f48_0|cuda112py38hf5dcc89_0|cuda102py38h4357c17_0|cuda110py38h09c20b0_0|cuda111py38h6353a60_0|cuda112py310h2fa73eb_0|cuda110py310h4e8d1b5_0|cuda111py310h9f2f5e7_0|cuda110py310h4e8d1b5_0|cuda110py38h09c20b0_0|cuda111py39h27f8f48_0|cuda111py37h9373525_0|cuda112py37h25bb9bc_0|cuda112py38hf5dcc89_0|cuda112py310h2fa73eb_0|cuda112py39hd320b7a_0|cuda111py38h6353a60_0|cuda111py310h9f2f5e7_0|cuda110py39ha53fd0e_0|cuda110py37h41dd380_0|cuda102py310hac962ef_0|cuda102py38h4357c17_0|cuda102py37h80be449_0|cuda102py39h87695c4_0|cuda102py37h80be449_0|cuda110py37h41dd380_0|cuda110py39ha53fd0e_0|cuda102py310hac962ef_0|cuda102py39h87695c4_0|cuda111py37h9373525_0|cuda112py39hd320b7a_0|cuda102py310hac962ef_0|cuda102py39h87695c4_0|cuda102py37h80be449_0|cuda110py310h4e8d1b5_0|cuda110py38h09c20b0_0|cuda110py39ha53fd0e_0|cuda110py37h41dd380_0|cuda111py37hf54207c_0|cuda111py310h33dc607_0|cuda111py39h594ad97_0']
horovod -> tensorflow=2.9[build=cuda*] -> tensorflow-estimator[version='2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.0|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.7.1|2.9.1|2.7.1|2.7.1|2.7.1|2.7.1|>=2.5.0,<2.6',build='cpu_py38h7d34d82_0|cpu_py39heaff504_0|cpu_py38h4e23bc6_0|cuda112py39h23446aa_0|cuda112py38hab8ae04_0|cuda112py310h922d117_0|cuda111py38h6ed5851_0|cuda110py39ha53fd0e_0|cuda110py38h09c20b0_0|cuda112py39hd320b7a_0|cuda112py37h25bb9bc_0|cuda111py37h9373525_0|cuda111py39h27f8f48_0|cuda112py38hf5dcc89_0|cuda102py38h4357c17_0|cuda110py38h09c20b0_0|cuda111py38h6353a60_0|cuda112py310h2fa73eb_0|cuda110py310h4e8d1b5_0|cpu_py39heaff504_0|cuda110py310h4e8d1b5_0|cuda110py38h09c20b0_0|cuda111py39h27f8f48_0|cuda111py37h9373525_0|cuda112py37h25bb9bc_0|cuda112py38hf5dcc89_0|cuda112py310h2fa73eb_0|cuda112py39hd320b7a_0|cuda111py38h6353a60_0|cuda111py310h9f2f5e7_0|cuda110py39ha53fd0e_0|cuda110py37h41dd380_0|cuda102py310hac962ef_0|cuda102py38h4357c17_0|cuda102py37h80be449_0|cuda102py39h87695c4_0|cpu_py37h813ee39_0|cpu_py38h4e23bc6_0|cpu_py310had6d012_0|cuda102py37h80be449_0|cuda111py310h9f2f5e7_0|cuda110py37h41dd380_0|cuda110py39ha53fd0e_0|cuda102py310hac962ef_0|cuda102py39h87695c4_0|cuda102py38h4357c17_0|cuda102py310hac962ef_0|cuda102py39h87695c4_0|cuda102py37h80be449_0|cuda110py310h4e8d1b5_0|cuda110py37h41dd380_0|cuda111py37hf54207c_0|cuda111py310h33dc607_0|cuda111py39h594ad97_0|cuda112py37h474db6c_0|cpu_py37h813ee39_0|cpu_py310had6d012_0|cpu_py310hb7a2f4b_0|cpu_py39ha241409_0|cpu_py37h6f16af5_0']

Package openssl conflicts for:
horovod -> python[version='>=3.9,<3.10.0a0'] -> openssl[version='>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1i,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1o,<1.1.2a|>=3.0.3,<4.0a0|>=3.0.2,<4.0a0|>=3.0.0,<4.0a0|>=1.1.1q,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1m,<1.1.2a|>=3.0.5,<4.0a0|>=1.1.1c,<1.1.2a|>=1.1.1b,<1.1.2a']
lammps -> hdf5[version='>=1.12.2,<1.12.3.0a0'] -> openssl[version='1.0.*|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1n,<1.1.2a|>=1.1.1o,<1.1.2a|>=1.1.1q,<1.1.2a|>=3.0.5,<4.0a0|>=3.0.3,<4.0a0|>=1.1.1l,<1.1.2a|>=3.0.0,<4.0a0|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1m,<1.1.2a|>=3.0.2,<4.0a0|>=1.1.1f,<1.1.2a|>=1.0.2l,<1.0.3a']
libdeepmd[build=*gpu] -> libtensorflow_cc=2.9[build=cuda*] -> openssl[version='>=1.1.1l,<1.1.2a|>=1.1.1o,<1.1.2a|>=1.1.1q,<1.1.2a']
deepmd-kit[build=*gpu] -> python[version='>=3.8,<3.9.0a0'] -> openssl[version='1.0.*|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1d,<1.1.2a|>=1.1.1e,<1.1.2a|>=1.1.1g,<1.1.2a|>=1.1.1j,<1.1.2a|>=1.1.1k,<1.1.2a|>=1.1.1l,<1.1.2a|>=1.1.1n,<1.1.2a|>=3.0.2,<4.0a0|>=3.0.0,<4.0a0|>=1.1.1i,<1.1.2a|>=1.1.1h,<1.1.2a|>=1.1.1f,<1.1.2a|>=1.1.1o,<1.1.2a|>=3.0.3,<4.0a0|>=1.1.1m,<1.1.2a|>=3.0.5,<4.0a0|>=1.1.1q,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.0.2l,<1.0.3a']

Package libprotobuf conflicts for:
deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> libprotobuf[version='>=3.14.0,<3.15.0a0|>=3.20.1,<3.21.0a0']
deepmd-kit[build=*gpu] -> libprotobuf=3.7.1

Package libgcc-ng conflicts for:
deepmd-kit[build=*gpu] -> libgcc-ng[version='>=5.4.0|>=7.5.0|>=7.3.0']
deepmd-kit[build=*gpu] -> cudatoolkit[version='>=11.6,<12'] -> libgcc-ng[version='>=10.3.0|>=9.4.0|>=11.2.0|>=7.2.0|>=12|>=9.3.0|>=4.9|>=3.0']

Package openblas conflicts for:
lammps -> libblas[version='>=3.8.0,<4.0a0'] -> openblas[version='0.3.5.*|>=0.3.6,<0.3.7.0a0']
deepmd-kit[build=*gpu] -> numpy -> openblas[version='0.2.18.*|0.2.18|0.2.18.*|0.2.19|0.2.19.*|0.2.20|0.2.20.*|>=0.2.20,<0.2.21.0a0|>=0.3.3,<0.3.4.0a0|>=0.2.15']

Package numpy conflicts for:
deepmd-kit[build=*gpu] -> h5py -> numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|>=1.11.3,<2.0a0|>=1.14.6,<2.0a0|>=1.16.6,<2.0a0|>=1.21.5,<2.0a0|>=1.21.2,<2.0a0|>=1.19.5,<2.0a0|>=1.21.6,<2.0a0|>=1.21.4,<2.0a0|>=1.18.5,<2.0a0|>=1.17.5,<2.0a0|>=1.19.4,<2.0a0|>=1.16.5,<2.0a0|>=1.19.2,<2.0a0|>=1.9.3,<2.0a0|>=1.8|>=1.8,<1.14|>=1.16,<1.23|>=1.21,<1.23|>=1.16.6,<1.23.0|>=1.21.2,<1.23.0|>=1.15.1,<2.0a0|>=1.18.1,<2.0a0|>=1.9|>=1.11|>=1.20.3,<2.0a0|>=1.20']
deepmd-kit[build=*gpu] -> numpy[version='>=1.13.3,<2.0a0']

Package mpi conflicts for:
lammps -> mpich[version='>=3.3.2,<3.4.0a0'] -> mpi==1.0[build='openmpi|mpich']
horovod -> mpich[version='>=3.3.2,<3.4.0a0'] -> mpi==1.0=mpich
libdeepmd[build=*gpu] -> mpich[version='>=3.3.2,<3.4.0a0'] -> mpi==1.0=mpich

Package tensorflow conflicts for:
deepmd-kit[build=*gpu] -> tensorflow[version='2.7.*|2.9.*',build=cuda*]
deepmd-kit[build=*gpu] -> tensorflow-gpu[version='>=2.4.1,<2.5.0a0'] -> tensorflow[version='1.14.0|2.0.0|2.4.1|2.2.0|2.1.0']

Package h5py conflicts for:
deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> h5py[version='>=2.9.0|>=3.1.0']
deepmd-kit[build=*gpu] -> h5pyThe following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.17=0
  - feature:|@/linux-64::__glibc==2.17=0
  - cudatoolkit=11.6 -> __glibc[version='>=2.17,<3.0.a0']
  - cudatoolkit=11.6 -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  - deepmd-kit[build=*gpu] -> tensorflow=2.9[build=cuda*] -> __cuda
  - horovod -> __glibc[version='>=2.17']
  - horovod -> cudatoolkit[version='>=11.6,<12'] -> __glibc[version='>=2.17,<3.0.a0']
  - lammps -> libgcc-ng[version='>=7.5.0'] -> __glibc[version='>=2.17']
  - libdeepmd[build=*gpu] -> __glibc[version='>=2.17']
  - libdeepmd[build=*gpu] -> cudatoolkit[version='>=11.6,<12'] -> __glibc[version='>=2.17,<3.0.a0']

Your installed version is: 2.17

Steps to Reproduce

Install deepmd-kit using conda.

Further Information, Files, and Links

No response

@omidshy omidshy added the bug label Aug 27, 2022
@njzjz
Copy link
Member

njzjz commented Aug 28, 2022

Please follow the documentation:

Note: The off-line packages and conda packages require the GNU C Library 2.17 or above. The GPU version requires compatible NVIDIA driver to be installed in advance. It is possible to force conda to override detection when installation, but these requirements are still necessary during runtime.

@njzjz njzjz added question and removed bug labels Aug 28, 2022
@omidshy
Copy link
Author

omidshy commented Aug 28, 2022

Apparently there is a new problem with the NVIDIA drivers on our cluster, since I installed deepmd-kit few days ago without any problem.

Thanks!

@omidshy omidshy closed this as completed Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants