如何修复libpapi.so。*运行时不能打开共享对象文件(py)带跟踪的COMPS?

时间:2016-07-22 14:12:45

标签: python distributed-computing papi compss pycompss

当我尝试在激活跟踪系统的情况下运行某些COMPS应用程序时,出现以下错误:

libpapi.so.5.3.0.0 cannot open shared object file 

我正在使用ubuntu,我已经使用apt-get从软件包中安装了COMPS。要启动我使用的应用程序:

runcompss --tracing --lang=python name_application.py

我已经安装了PAPI库:

apt-get install papi-tools libpapi-dev

编辑:我使用的是1.4版

1 个答案:

答案 0 :(得分:4)

跟踪系统无法找到您的PAPI安装,因为软件包已预编译。

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

注意:说明假设安装目录为 / 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

下载来源:

svn co http://compss.bsc.es/svn/releases/compss/1.4

构建并安装

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

仅构建和安装跟踪系统Extrae

删除以前的Extrae

sudo rm -r /opt/COMPSs/Dependencies/extrae

安装Extrae依赖项

# Extrae dependencies
sudo apt-get -y --force-Yes install libxml2 gfortran

下载来源:

svn co http://compss.bsc.es/svn/releases/compss/1.4

构建并安装extrae

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