installation error "ld: cannot find -lbat"

Submitted by llib11ik on Tue, 09/20/2016 - 05:16

Dear friends,

The installation of Liggghts and CFDEM following the instruction on this website (git and cfdemCompLIG) was successful on my PC (Ubuntu 14/04).
However, when I tried to install it on our university's server (CENTOS 6.3), it always showed an error:
-lstdc++ -o ../lmp_fedora_fpic
ld: cannot find -lbat
make[1]: *** [../lmp_fedora_fpic] Error 1

Log file is also attached.

Could anyone please tell me how to solve it? Do I need to install the libbat.so or make a symbolic link or other ways?
Thanks!

Best regards
Jiecheng

AttachmentSize
Plain text icon log_compileliggghts_error.txt94.74 KB

llib11ik | Mon, 11/14/2016 - 03:30

Thanks, Josef!

I still failed to find out the reason as you suggested.

But for the information of anyone intrested, I finally built it with the makefile of openmpi.

Cheers
Jiecheng