Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在 libmpich.a 中转储符号时,我得到了这个:
$ nm /usr/MPICH-install/lib/libmpich.a | grep PMPI_File_open 00000000 T PMPI_File_open U PMPI_File_open
谁能解释一下,thx。
谁能解释一下
libmpich.a包含至少两个目标文件。其中之一定义了函数 ( T)。另一个引用它(U)。
libmpich.a
T
U
你可以通过运行看到这一点:
nm -A /usr/MPICH-install/lib/libmpich.a | grep PMPI_File_open