我在服务器上串行编译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
串行编译lammps出错
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 1
- 注册时间: 2016-04-11 20:45
- 系统: Windows
-
- 帖子: 54
- 注册时间: 2016-03-21 21:45
- 系统: windows
Re: 串行编译lammps出错
openmpi包有问题吧,有没有装openmpi,或者试试make no-user-openmpilammps 写了:我在服务器上串行编译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