Closed yanze039 closed 1 year ago
Your mamba line works fine for me as of right now. Might it have been a temporary problem? Please do try again. Otherwise we would need more information, since I cannot reproduce the problem.
Thanks! but I have another issue when installing pytorch v2.0 (cuda) and openmm-torch v1.1
openmm-torch v1.1 specifies pytorch version as
openmm-torch=1.1 -> pytorch[version='>=2.0.0,<2.1.0a0']
But when I try to install pytorch v2.0 from condo-forge, I get:
$ conda create -n test pytorch=2=*cuda* -c conda-forge
...
...
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 your system:
- feature:/linux-64::__glibc==2.35=0
- feature:/linux-64::__unix==0=0
- feature:|@/linux-64::__glibc==2.35=0
- feature:|@/linux-64::__unix==0=0
- pytorch==2[build=*cuda*] -> __cuda
- pytorch==2[build=*cuda*] -> nccl[version='>=2.14.3.1,<3.0a0'] -> __cuda[version='10.2|10.2.*|11.0|11.0.*|>=11.2,<12|11.1|11.1.*']
Your installed version is: 0
Note that strict channel priority may have removed packages required for satisfiability.
Otherwise, openmm-torch 1.1 will install a pytorch-cpu version by default, but I would like to have a GPU one.
I am installing this on a Linux SLURM cluster login node.
ywang3@login-3:~$ hostnamectl
Static hostname: login-3
Icon name: computer-server
Chassis: server
Machine ID: 174adb62242b42c0b0f92513faff5d1a
Boot ID: 4f4e21f09f8a48ba95cc344e82c73a1f
Operating System: GridOS 22.04.2
Kernel: Linux 5.10.188-llgrid
Architecture: x86-64
Hardware Vendor: HPE
Hardware Model: ProLiant DL380 Gen10
Do you have any idea why in this situation?
This happens because conda is not finding some things in your environment. Have not seen this particular error before, but it seems to have problems with glibc and CUDA. CUDA you can get around with the env variable CONDA_OVERRIDE_CUDA. The glibc and unix things though I have no idea. Just as a guess by the info you provided, you seem to be trying to install this from a login node in some cluster. I would try to go into a compute node and try there.
Thanks, that's helpful.
CONDA_OVERRIDE_CUDA=11.8 CONDA_OVERRIDE_GLIBC=2.35 conda create -n test pytorch=2=*cuda* -c conda-forge
I used this command then and it works fine now.
Also, mamba error seems temporary, it works now.
Hope it runs too :P
Hi,
When I use
mamba
install openmm-torch v1.1, I get:But
conda
can actually work,