Linker Error: 'attempted static link of dynamic object /public1/soft/intel/2017/compilers_and_libraries_2017.7.259/linux/mpi/lib64/libmpi.so'
This error message indicates that the linker is trying to statically link a dynamic library file, specifically the 'libmpi.so' library file. Static linking means that all the required libraries are included in the final executable file, while dynamic linking means that the libraries are loaded at runtime. However, 'libmpi.so' is a dynamic library file, which means it cannot be statically linked. To fix this error, you should ensure that the linker is not trying to statically link dynamic library files.
原文地址: https://www.cveoy.top/t/topic/nRAz 著作权归作者所有。请勿转载和采集!