簡體   English   中英

在Fedora中安裝並運行GAMS

[英]Install and run GAMS in Fedora

我想在Fedora(23)中使用GAMS。 我已經閱讀了有關如何在Unix中安裝GAMS的信息( https://www.gams.com/help/index.jsp?topic=%2Fgams.doc%2Fuserguides%2Fuserguide%2F_u_g__i_n_s_t_a_l_l.html&cp=0_1 )。

我已將文件下載到文件夾並成功運行: chmod -x linux_x64_64_sfx.exe

我嘗試運行~/linux_x64_64_sfx.exe但無法運行,然后嘗試

./linux_x64_64_sfx.exe

我認為是fedora命令。 我收到以下消息:

UnZipSFX 5.52 of 28 February 2005, by Info-ZIP (http://www.info-zip.org).
replace gams24.7_linux_x64_64_sfx/libxprs.so.28.01.14? [y]es, [n]o, [A]ll, [N]one, [r]ename:

我輸入了一次,得到了大量類似於以下內容的消息列表:

inflating: gams24.7_linux_x64_64_sfx/getNAnan.m  
  inflating: gams24.7_linux_x64_64_sfx/libgrbcclib64.so  
finishing deferred symbolic links:
  gams24.7_linux_x64_64_sfx/libcplex.so -> libcplex1263.so
  gams24.7_linux_x64_64_sfx/libgurobi.so -> libgurobi.so.6.5.2

然后什么也沒發生。 我再次嘗試運行./linux_x64_64_sfx.exe得到了相同的消息,這一次我輸入了N,並得到了短消息:

gams24.7_linux_x64_64_sfx/libcplex.so exists and is a symbolic link.
gams24.7_linux_x64_64_sfx/libgurobi.so exists and is a symbolic link.
gams24.7_linux_x64_64_sfx/libxprs.so.28.01 exists and is a symbolic link.
gams24.7_linux_x64_64_sfx/libxprl.so exists and is a symbolic link.
gams24.7_linux_x64_64_sfx/libxprl.so.x7.9 exists and is a symbolic link.
gams24.7_linux_x64_64_sfx/libxprs.so exists and is a symbolic link.
gams24.7_linux_x64_64_sfx/libknitro.so.10 exists and is a symbolic link.

沒有其他事情發生。

我該如何運行?

這似乎是作為自解壓存檔提供的(“ sfx”是引用此類存檔的典型慣例;“ exe”是DOS / Windows,但看起來它們只是保持一致,並且它是Linux二進制)。

您看到的消息來自該提取。 它說您正在覆蓋gams24.7_linux_x64_64_sfx/子目錄中的文件,這一gams24.7_linux_x64_64_sfx/強烈表明您已經運行了它,現在又在做同樣的事情。 它告訴您文件已經存在,我敢打賭,如果您執行ls gams24.7_linux_x64_64_sfx/ ,您將看到它們。

您鏈接的說明

  1. 轉到GAMS系統目錄,然后運行程序./gamsinst

...您嘗試過嗎?

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM