串行编译lammps出错

软件源讨论区
回复
lammps
帖子: 1
注册时间: 2016-04-11 20:45
系统: Windows
送出感谢: 0
接收感谢: 0

串行编译lammps出错

#1

帖子 lammps » 2016-04-11 20:57

我在服务器上串行编译lammps,想把MEAM库加入进来,但是出现如下错误,不知该如何解决(采用g++编译器,版本是gcc version 4.8.4 ,系统是ubuntu1~14.04)。如果不加入MEAM库,则能编译成功。请诸位老师指教,小弟不胜感激!

/usr/bin/ld: ../../lib/meam/libmeam.a(meam_setup_done.o): undefined reference to symbol '_intel_fast_memcpy'
/public/soft/intel/lib/intel64/libintlc.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [../lmp_openmpi] Error 1
make[1]: Leaving directory `/home/theta/src/lammps_mpich/src/Obj_openmpi'
make: *** [openmpi] Error 2
908221509@qq.com
帖子: 54
注册时间: 2016-03-21 21:45
系统: windows
送出感谢: 3 次
接收感谢: 1 次

Re: 串行编译lammps出错

#2

帖子 908221509@qq.com » 2016-04-21 21:44

lammps 写了:我在服务器上串行编译lammps,想把MEAM库加入进来,但是出现如下错误,不知该如何解决(采用g++编译器,版本是gcc version 4.8.4 ,系统是ubuntu1~14.04)。如果不加入MEAM库,则能编译成功。请诸位老师指教,小弟不胜感激!

/usr/bin/ld: ../../lib/meam/libmeam.a(meam_setup_done.o): undefined reference to symbol '_intel_fast_memcpy'
/public/soft/intel/lib/intel64/libintlc.so.5: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [../lmp_openmpi] Error 1
make[1]: Leaving directory `/home/theta/src/lammps_mpich/src/Obj_openmpi'
make: *** [openmpi] Error 2
openmpi包有问题吧,有没有装openmpi,或者试试make no-user-openmpi
回复

回到 “新立得和软件源”