maccallumlab / meld

Modeling with limited data
http://meldmd.org
Other
54 stars 28 forks source link

Compile issues, on all OSs. #131

Closed colles2 closed 2 years ago

colles2 commented 2 years ago

I run into an issue compiling this software on Centos/RedHat 7 and 8, Ubuntu 18 and 20. I have tried CUDA 10.2 and 11.2 on all as well. I always get the same below error, of course version different based on OS tested on, but can not get past this issue. I tried both Miniconda and miniforge as well.

Error:

The following specifications were found to be incompatible with your system:

If I try adding "cudatoolkit=X.X" to the conda install command and I get more errors.

jlmaccal commented 2 years ago

It looks like you are installing from conda rather than complying. Is that correct?

Can you give the command line you are using?

colles2 commented 2 years ago

Yes I follow these instructions directly, here are the commands I run...

After installing Miniconda or miniforge...

conda config --add channels conda-forge conda config --set channel_priority strict conda create -n my-meld-project python conda activate my-meld-project conda install meld

after the last command is when I get the error. I would try installing "Scratch" but the cluster they want to run this on will not allow that type of install, security. Thank

jlmaccal commented 2 years ago

We haven't ever seen this error before.

Can you try replacing conda install meld with conda install openmm to see if it's something wrong with our conda package or just a general problem with an incompatibility between conda and your system?

colles2 commented 2 years ago

I have tried in on multiple OS's and tried the openmm this morning. That did not work. So you are aware I tried on Redhat/Centos 7 and 8 and Ubuntu 18 and 20, which means I am missing something else. I will try a few more things in the morning along these lines and see what I can find.

jlmaccal commented 2 years ago

So, if installing openmm doesn't work, this is likely some kind of issue between the os and conda. As far as I can tell, the issue seems to be with the glibc version, but I don't really understand why this is happening.

Can you try running conda update conda and then try again? I also rebuilt the meld package, so it's worth trying again. I doubt either of these things will fix it though.

I'm finding a bunch of stuff on google related to this issue with conda-forge and cuda, but I haven't tracked down a solution yet.

jlmaccal commented 2 years ago

Can you also confirm that this is with a fresh install of miniconda and that there isn't a mix of stuff from the default and condo-forge channels?

jlmaccal commented 2 years ago

Finally, can you try this with mamba instead of conda?

colles2 commented 2 years ago

To start, yes this is a new install every time I try new things. This is a safer option I always assume. As for openmm, that installed fine. I always update conda after I install miniconda as well.

Today this compiled without an issue. I tried multiple times and it worked every time. I have to assume whatever you did helped.

Thank You

jlmaccal commented 2 years ago

OK, I think it's because something in conda changed. I triggered a rebuild of our packages yesterday, so that probably fixed it.