Re: [問題] compiler錯誤 linker input file unused 已刪文
※ 引述《flied (libertines)》之銘言:
: -------------------以下是talys.setup的script 修改了第八行compiler= 和11行
: bindir= --------------------
: #!/bin/sh
: unalias -a
: #
: # This script takes care of the TALYS installation.
: # All you have to do is adapt the next variables to your own situation,
: # and run.....
: #
: compiler='gfortran /usr/bin/gfortran'
這裡改為 compiler='gfortran' 試試看
不要加入路徑
: #compiler='g95'
: Thome=${HOME}
: bindir=$Thome'/talys' # destiny directory of the TALYS executable
這樣子執行檔反而放在 $HOME/talys 這個目錄了
一般都是放在 $HOME/bin 較多,然後藉由設定,可執行 $HOME/bin 裡的程式
: #
: # From here on, the rest should work automatically
: #
以下就省略了,也不需要去修改
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.104.122.185
※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1404873905.A.FCA.html
討論串 (同標題文章)
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章