Python 如何修复libpapi.so.*在运行带跟踪的(py)COMPSs时无法打开共享对象文件?

Python 如何修复libpapi.so.*在运行带跟踪的(py)COMPSs时无法打开共享对象文件?,python,distributed-computing,papi,compss,pycompss,Python,Distributed Computing,Papi,Compss,Pycompss,当我试图在跟踪系统激活的情况下运行某个COMPSs应用程序时,我遇到以下错误: libpapi.so.5.3.0.0 cannot open shared object file 我使用的是ubuntu,我已经从apt get软件包中安装了COMPSs。要启动我使用的应用程序,请执行以下操作: runcompss --tracing --lang=python name_application.py 我已经安装了以下PAPI库: apt-get install papi-tools lib

当我试图在跟踪系统激活的情况下运行某个COMPSs应用程序时,我遇到以下错误:

libpapi.so.5.3.0.0 cannot open shared object file 
我使用的是ubuntu,我已经从apt get软件包中安装了COMPSs。要启动我使用的应用程序,请执行以下操作:

runcompss --tracing --lang=python name_application.py
我已经安装了以下PAPI库:

apt-get install papi-tools libpapi-dev

编辑:我使用的是1.4版,跟踪系统找不到您的PAPI安装,因为软件包是预编译的

要解决这个问题,您有两个选项:从源代码构建并安装跟踪包,或者从源代码构建并安装整个COMPSs框架。建议的方法是构建整个框架,以确保干净的安装。但是,如果您不想或无法安装完整的依赖项堆栈,可以只修补跟踪系统

注意:说明假定安装目录为/opt/COMPSs

构建所有框架(推荐)

确保以前的安装已完全删除

sudo apt-get remove compss-* (removes only packages)
sudo apt-get purge compss-* (removes also config files)
安装依赖项

sudo apt-get update

# Build dependencies
sudo apt-get -y --force-Yes install maven subversion

# Runtime dependencies
sudo apt-get -y --force-Yes install openjdk-8-jdk graphviz xdg-utils

# Bindings-common-dependencies
sudo apt-get -y --force-Yes install libtool automake build-essential

# Python-binding dependencies
sudo apt-get -y --force-Yes install python-dev

# C-binding dependencies
sudo apt-get -y --force-Yes install libxml2-dev libboost-serialization-dev libboost-iostreams-dev csh

# Extrae dependencies
sudo apt-get -y --force-Yes install libxml2 gfortran
# Extrae dependencies
sudo apt-get -y --force-Yes install libxml2 gfortran
下载资料来源:

svn co http://compss.bsc.es/svn/releases/compss/1.4
svn co http://compss.bsc.es/svn/releases/compss/1.4
构建和安装

cd ./1.4/builders
sudo -E ./buildlocal /opt/COMPSs

仅构建和安装跟踪系统Extrae

删除以前的附加项

sudo rm -r /opt/COMPSs/Dependencies/extrae
安装附加依赖项

sudo apt-get update

# Build dependencies
sudo apt-get -y --force-Yes install maven subversion

# Runtime dependencies
sudo apt-get -y --force-Yes install openjdk-8-jdk graphviz xdg-utils

# Bindings-common-dependencies
sudo apt-get -y --force-Yes install libtool automake build-essential

# Python-binding dependencies
sudo apt-get -y --force-Yes install python-dev

# C-binding dependencies
sudo apt-get -y --force-Yes install libxml2-dev libboost-serialization-dev libboost-iostreams-dev csh

# Extrae dependencies
sudo apt-get -y --force-Yes install libxml2 gfortran
# Extrae dependencies
sudo apt-get -y --force-Yes install libxml2 gfortran
下载资料来源:

svn co http://compss.bsc.es/svn/releases/compss/1.4
svn co http://compss.bsc.es/svn/releases/compss/1.4
构建并安装额外的

cd ./1.4/dependencies/extrae/
sudo ./install /opt/COMPSs/Dependencies/extrae