-
Notifications
You must be signed in to change notification settings - Fork 5
Installing MDANSE from source on ubuntu@focal using conda pip
eurydice76 edited this page Apr 4, 2022
·
2 revisions
This wiki summarizes the different steps needed for installing MDANSE from source on ubuntu focal (20.04) using conda.
Prerequesites:
- conda installed
- gcc, g++ installed
First install NetCDF alongside with its headers:
- sudo apt install libnetcdf-dev
- sudo updatedb
Then create the mdanse conda environment:
- conda create -n mdanse python=2.7
- conda install -n mdanse -c ccordoba12 vtk
- conda install -n mdanse -c daf wxpython
- conda install -n mdanse matplotlib
- conda install -n mdanse cython
- conda activate mdanse
- pip install pyro
Clone the ScientificPython directory and install it under the mdanse venv:
- git clone [email protected]:scientific-software/scientific-python.git
- cd scientific-python
- python setup.py build --netcdf_prefix=/usr
- python setup.py install
- cd ..
Clone the MMTK directory and install it under the mdanse venv:
- git clone [email protected]:scientific-software/mmtk.git
- cd mmtk
- python setup.py build
- python setup.py install
- cd ..
Clone the MDANSE directory and install it under the mdanse venv:
- git clone [email protected]:ISISNeutronMuon/MDANSE.git
- cd MDANSE
- python setup.py build
- python setup.py install
- cd ..