我正在尝试在gpu中安装LAMMPS。在遵循gpu.html中给出的步骤之后,我已经完成了步骤(a)并获得了文件- libgpu.a和Makefile.lammps。
当我试图继续执行第二步时(在make yes-gpu之后进行串行操作),我会收到一个错误信息- /usr/bin/ld: cannot find -lmpi_stubs。
发布于 2016-07-29 14:45:02
错误消息表明链接器无法找到构建所需的MPI库。通常,make serial构建没有MPI支持的lammp。来自make help (在lammps/src目录中调用):
# serial = RedHat Linux box, g++4, no MPI, no FFTs然而,Lammps GPU软件包需要MPI。因此,
make help ):make g++ (编译器: g++4,MPI实现: MPICH2)make g++3 (编译器: g++3,MPI实现: MPICH2)make linux (编译器: icc,MPI实现: MPICH2)make openmpi (编译器: mpic++,MPI实现: OpenMPI-1.1)
https://stackoverflow.com/questions/31379669
复制相似问题