SPARCED / SPARCED

Mechanistic Pan-Cancer Signaling Model
https://www.nature.com/articles/s41467-022-31138-1.epdf
GNU General Public License v2.0
1 stars 4 forks source link

Installation guide updates #9

Open ChocolateCharlie opened 1 month ago

ChocolateCharlie commented 1 month ago

Ubuntu 22.04.5

The installation guide combined with the use of the environment.yaml file remains mostly valid.

Anaconda

AMICI

conda activate sparced
conda install gcc_linux-64
conda install gxx_linux-64
conda install -c conda-forge openmpi
export BLAS_LIBS=-lopenblas
pip install swig==4.0.0
pip install amici==0.11.12
pip install antimony==2.12.0.2

The installation of SPARCED on that version of Ubuntu remains relatively smooth.

Ubuntu 24.04.1

It turns out that some dependencies are actually "transitionnal dummy packages" that got deprecated.

Note that apparently, Anaconda's official documentation is not up to date regarding those deprecations.

Moreover, all the suggested additions for the 22.04 installation guide are crucial to succeed installing SPARCED on the 24.04 version.

ChocolateCharlie commented 1 month ago

I again face installation issues for the correct version of AMICI on Ubuntu 24.04.1 although I was following the exact same steps as this morning. How difficult would it be to upgrade ?

ChocolateCharlie commented 1 month ago

On Ubuntu 22.04.5 I was facing issues again and it turns out repeating:

conda install -c conda-forge openmpi
export BLAS_LIBS=-lopenblas

a random number of times (between first shot to 3 re-installs) at some point will allow AMICI to successfully install. I'm too tired of this to try again on Ubuntu 24.04.1.