24小时热门版块排行榜    

查看: 821  |  回复: 4
【悬赏金币】回答本帖问题,作者大力2010将赠送您 10 个金币

大力2010

金虫 (著名写手)

[求助] 普通用户没有权限怎么办,修改 属组 属主? 怎么修改 ? 已有1人参与

我在普通用户运行calypso ,输入 : ./calypso.x >& caly.log  ,提示: Permission denied  。  输入: sh ./calypso.x >& caly.log
    提示:./calypso.x: ./calypso.x: cannot execute binary file
怎么办  ,好像需要给个权限。加 sudo ?  怎样加? 好像需要修改 属组  属主?  怎么修改 ?  求教
回复此楼

» 猜你喜欢

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wangyikeco

木虫 (正式写手)

newbie

【答案】应助回帖

感谢参与,应助指数 +1
chmod a+x calypso.x
2楼2023-07-06 00:04:15
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

大力2010

金虫 (著名写手)

引用回帖:
2楼: Originally posted by wangyikeco at 2023-07-06 00:04:15
chmod a+x calypso.x

我在普通用户下输入 chmod a+x calypso.x。 之后输入: sh ./calypso.x >& caly.log, 提示: ./calypso.x: ./calypso.x: cannot execute binary file
  

输入:./calypso.x >& caly.log
提示:   ./calypso.x: error while loading shared libraries: libiomp5.so: cannot open shared object file: No such file or directory
3楼2023-07-06 08:35:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wangyikeco

木虫 (正式写手)

newbie

【答案】应助回帖

引用回帖:
3楼: Originally posted by 大力2010 at 2023-07-06 08:35:58
我在普通用户下输入 chmod a+x calypso.x。 之后输入: sh ./calypso.x >& caly.log, 提示: ./calypso.x: ./calypso.x: cannot execute binary file
  

输入:./calypso.x >& ...

copy libiomp5.so to the same directory of ./calypso.x
or add libiomp5.so PATH
4楼2023-07-06 23:11:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

wangyikeco

木虫 (正式写手)

newbie

【答案】应助回帖

引用回帖:
3楼: Originally posted by 大力2010 at 2023-07-06 08:35:58
我在普通用户下输入 chmod a+x calypso.x。 之后输入: sh ./calypso.x >& caly.log, 提示: ./calypso.x: ./calypso.x: cannot execute binary file
  

输入:./calypso.x >& ...

what compiler is used? sometime just load the module if it is installed
like "module load intel"
check "module avail" first
5楼2023-07-06 23:15:32
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 大力2010 的主题更新
不应助 确定回帖应助 (注意:应助才可能被奖励,但不允许灌水,必须填写15个字符以上)
信息提示
请填处理意见