Extra-P配置安裝
安裝位置
- 實驗室臺式機虛擬機Ubuntukylin17.10
軟件包依賴
- QT4 或 QT5
- Cube(>=4.3)
- Python3
- PyQT
- MatPlotlib
安裝過程
- 安裝Qt4或Qt5
sudo apt-get install qt4-default
sudo apt-get install qt5-default
sudo apt-get install qt4-dev-tools
sudo apt-get install qt5-dev-tools
- 安裝python3
sudo apt-get install python3
- 安裝PyQt
sudo apt-get install pyqt4-dev-tools
sudo apt-get install pyqt5-dev-tools
- 安裝Cube
下載Cube源碼包cube-4.3.tar.gz
./configure
make
make all
使用QT5的話編譯過程中會出現一些問題,選用Qt4能正常編譯
- 安裝 MatPlotLib
sudo apt-get install python3-pip
sudo python -m pip install -U pip
sudo python -m pip install -U matplotlib
編譯Extra-P
mkdir build
cd build
../configure --with-cube=/opt/cube CPPFLAGS="-I/usr/include/python3.6m/"
make
make install
score-P配置安裝
mkdir build
cd build
../configure
make
make install