/usr/bin/ld: cannot find -llapack

2017-01-14 19:52:10来源:CSDN作者:lql0716人点击

/usr/bin/ld: cannot find -llapack

  • 1 如果出现错误提示: /usr/bin/ld: cannot find -llapack
gfortran -O2 -fopenmp -msse2 -o nmbnd.run p_nmbnd.o i_main.o m_getwsr.o ../IOLIB/*.o ../ATOM/*.o ../BNDASA/*.o ../EXTENS/*.o ../FINDES/*.o ../LATTICE/*.o ../SAMPLE/*.o ../TETRA/*.o ../IOCTRL/*.o ../LMIO/*.o ../MAINA/*.o ../NMTO/*.o ../SYM/*.o ../TBSTR/*.o ../CHAPOT/*.o  -L/usr/share/doc/liblapack -llapack -L/usr/share/doc/libblas -lblas /usr/bin/ld: cannot find -llapack/usr/bin/ld: cannot find -lblascollect2: error: ld returned 1 exit statusmake[2]: *** [nmbnd.run] Error 1make[2]: Leaving directory `/home/santuphys/NMTO-47.ZB.28/06.gfort/MAIN'make[1]: *** [cleanmake] Error 2make[1]: Leaving directory `/home/santuphys/NMTO-47.ZB.28/06.gfort/MAIN'make: *** [ooo.dep] Error 2
  • 解决方法:sudo apt-get install libblas-dev liblapack-dev

  • 参考

最新文章

123

最新摄影

微信扫一扫

第七城市微信公众平台