Extra-P配置安装

安装位置

  • 实验室台式机虚拟机Ubuntukylin17.10

软件包依赖

  • QT4 或 QT5
  • Cube(>=4.3)
  • Python3
  • PyQT
  • MatPlotlib

安装过程

  • 安装Qt4或Qt5
1
2
3
4
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
1
sudo apt-get install python3
  • 安装PyQt
1
2
sudo apt-get install pyqt4-dev-tools
sudo apt-get install pyqt5-dev-tools
  • 安装Cube

下载Cube源码包cube-4.3.tar.gz

1
2
3
./configure
make
make all

使用QT5的话编译过程中会出现一些问题,选用Qt4能正常编译

  • 安装 MatPlotLib
1
2
3
sudo apt-get install python3-pip
sudo python -m pip install -U pip
sudo python -m pip install -U matplotlib

编译Extra-P

1
2
3
4
5
mkdir build
cd build
../configure --with-cube=/opt/cube CPPFLAGS="-I/usr/include/python3.6m/"
make
make install

score-P配置安装

1
2
3
4
5
mkdir build
cd build
../configure
make
make install