如何在 16.04 上为 OpenMPI 安装调试符号

如何在 16.04 上为 OpenMPI 安装调试符号

我在官方仓库中找不到调试符号:

$ apt-cache search openmpi
gromacs-openmpi - Molecular dynamics sim, binaries for OpenMPI parallelization
libblacs-openmpi1 - Basic Linear Algebra Comm. Subprograms - Shared libs. for OpenMPI
libhdf5-openmpi-10 - Hierarchical Data Format 5 (HDF5) - runtime files - OpenMPI version
libhdf5-openmpi-10-dbg - Hierarchical Data Format 5 (HDF5) - OpenMPI Debug package
libhdf5-openmpi-dev - Hierarchical Data Format 5 (HDF5) - development files - OpenMPI version
libmeep-lam4-8 - library for using parallel (OpenMPI) version of meep
libmeep-lam4-dev - development library for using parallel (OpenMPI) version of meep
libmeep-mpi-default-dev - development library for using parallel (OpenMPI) version of meep
libmeep-mpi-default8 - library for using parallel (OpenMPI) version of meep
libmeep-mpich2-8 - library for using parallel (OpenMPI) version of meep
libmeep-mpich2-dev - development library for using parallel (OpenMPI) version of meep
libmeep-openmpi-dev - development library for using parallel (OpenMPI) version of meep
libmeep-openmpi8 - library for using parallel (OpenMPI) version of meep
libopenmpi-dev - high performance message passing library -- header files
libopenmpi1.10 - high performance message passing library -- shared library
libscalapack-openmpi1 - Scalable Linear Algebra Package - Shared libs. for OpenMPI
libtachyon-openmpi-0 - Parallel/Multiprocessor Ray Tracing Library - runtime - OpenMPI flavour
libtachyon-openmpi-0-dbg - Parallel/Multiprocessor Ray Tracing Library - debug package - OpenMPI flavour
libtachyon-openmpi-0-dev - Parallel/Multiprocessor Ray Tracing Library - development - OpenMPI flavour
libtachyon-serial-0 - Parallel/Multiprocessor Ray Tracing Library - runtime - serial flavour
likwid - toolsuite for performance oriented programmers
meep-lam4 - software package for FDTD simulation, parallel (OpenMPI) version
meep-mpi-default - software package for FDTD simulation, parallel (OpenMPI) version
meep-mpich2 - software package for FDTD simulation, parallel (OpenMPI) version
meep-openmpi - software package for FDTD simulation, parallel (OpenMPI) version
mpqc-openmpi - Massively Parallel Quantum Chemistry Program (OpenMPI transitional package)
netpipe-openmpi - Network performance tool using OpenMPI
openmpi-bin - high performance message passing library -- binaries
openmpi-common - high performance message passing library -- common files
openmpi-doc - high performance message passing library -- man pages
relion-bin+mpi - parallel toolkit for 3D reconstructions in cryo-electron microscopy
yorick-full - full installation of the Yorick interpreter and add-ons
yorick-mpy-openmpi - Message Passing Yorick (OpenMPI build)
zalign - parallel local alignment of biological sequences

我是否必须从源代码手动安装调试符号?我找到了一些相关的包这里。它们看起来像是来自官方仓库。但是为什么它们没有显示在 中apt-cache

答案1

你应该使用特殊储存库使用调试包:

echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse
deb http://ddebs.ubuntu.com $(lsb_release -cs)-proposed main restricted universe multiverse" | \
sudo tee -a /etc/apt/sources.list.d/ddebs.list

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 428D7C01 C8CAB6595FDFF622

sudo apt-get update

然后安装调试包:

sudo apt-get install openmpi-bin-dbgsym

相关内容