Lmod has detected the following error: Unable to load module
because of error when evaluating modulefile:
/trinity/shared/easybuild/modules/all/CUDA/11.1.1-GCC-10.2.0.lua: Empty or
non-existant file
Please check the modulefile and especially if there is a the line number
specified in the above message
While processing the following module(s):
Module fullname Module Filename
--------------- ---------------
CUDA/11.1.1-GCC-10.2.0 /trinity/shared/easybuild/modules/all/CUDA/11.1.1-GCC-10.2.0.lua这个错误令人困惑。我输入了rm –rf ~/.lmod.d/.cache,但它不起作用。如何解决这个问题?
发布于 2021-05-14 02:18:09
你会cat /trinity/shared/easybuild/modules/all/CUDA/11.1.1-GCC-10.2.0.lua吗?也许你的modulefile不存在。
如果modulefile不存在,则为
:一般情况下,可以使用
lua或tcl文件来写下modulefile。试着做一些像这样的文件!
#%Module
set s /usr/local/cuda-11.1
prepend-path PATH $s/bin
prepend-path LIBRARY_PATH $s/lib
prepend-path LD_LIBRARY_PATH $s/lib
prepend-path LIBRARY_PATH $s/lib64
prepend-path LD_LIBRARY_PATH $s/lib64
prepend-path CPATH $s/include
prepend-path INCLUDE $s/includehttps://stackoverflow.com/questions/67510779
复制相似问题