如何在公共群集的lammp上安装多尺度粗粒度MSCG软件包?找不到GSL

问题描述

当我使用Cmake安装MSCG时,出现一些错误。我不知道为什么。

MSCG软件包需要GSL LAPACK库,我也安装了所有库。

GSL安装位置:/cache/home/jt901/apps/gsl-2.6/ BLAS位置:/cache/home/jt901/apps/lapck/blas/BLAS-3.8.0/ LApack位置:/cache/home/jt901/apps/lapck/lapack-3.8.0 /

Cmake代码如下(在文件lammps / build中):

cmake –D BLAS_LIBRARIES=/cache/home/jt901/apps/lapck/blas/libblas.a
 –D BLAS_DIR=/cache/home/jt901/apps/lapck/blas/BLAS-3.8.0
 -D LAPACK_LIBRARIES=/cache/home/jt901/apps/lapck/lapack-3.8.0/liblapack.a
 –D LAPACK_DIR=/cache/home/jt901/apps/lapck/lapack-3.8.0
 -D GSL_DIR=/cache/home/jt901/apps/gsl-2.6
 -D LAMMPS_MACHINE=serial  -D BUILD_LIB=on -D BUILD_SHARED_LIBS=yes -D PKG_MOLECULE=yes -D PKG_KSPACE=yes -D PKG_MANYBODY=yes -D PKG_MC=yes -D PKG_RIGID=yes -D PKG_PYTHON=yes  -D PKG_USER-OMP=yes -D PKG_MSCG=yes -D PKG_USER-MISC=yes  -D PKG_USER-ATC=yes    ../cmake

然后,它注意到了:

-- Running check for auto-generated files from make-based build system
-- A library with BLAS API not found. Please specify library location.
-- LAPACK requires BLAS
-- A library with LAPACK API found.
-- A library with BLAS API not found. Please specify library location.
-- Could NOT find FFMPEG (missing:  FFMPEG_EXECUTABLE)
CMake Error at Modules/Packages/MSCG.cmake:2 (find_package):
  By not providing "FindGSL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "GSL",but
  CMake did not find one.

  Could not find a package configuration file provided by "GSL" with any of
  the following names:

    GSLConfig.cmake
    gsl-config.cmake

  Add the installation prefix of "GSL" to CMAKE_PREFIX_PATH or set "GSL_DIR"
  to a directory containing one of the above files.  If "GSL" provides a
  separate development package or SDK,be sure it has been installed.
Call Stack (most recent call first):
  CMakeLists.txt:337 (include)


-- Configuring incomplete,errors occurred!
See also "/home/jt901/ondemand/lammps-3Mar20/build/CMakeFiles/CMakeOutput.log".
See also "/home/jt901/ondemand/lammps-3Mar20/build/CMakeFiles/CMakeError.log".

那么,接下来我该怎么办?谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)