微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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

如何解决如何在公共群集的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 举报,一经查实,本站将立刻删除。