繁体   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