linux - 在 Fedora 中安装并运行 GAMS

标签 linux fedora gams-math

我想在 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:

我输入了一次 A,得到了一个非常大的类似于下面的消息列表:

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/ 子目录中的文件这一事实强烈表明您已经运行了它,现在又在做同样的事情。它告诉您文件已经存在,我敢打赌如果您执行 ls gams24.7_linux_x64_64_sfx/,您会看到它们。

您链接的说明

  1. Change to the GAMS system directory and run the program ./gamsinst.

...你试过吗?

关于linux - 在 Fedora 中安装并运行 GAMS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40363783/

相关文章:

linux - 使用 cut 将 cat 限制为值 1 或以上 我不这样做

linux - 将命令作为变量传递给另一个程序?

c - Fedora 中的 GCC math.h 与 Ubuntu 的比较

mysql - 在 BASH 中,如何连接到本地系统 DB2 或 MySQL 进行简单查询?

pyomo - 从 Python PYOMO 使用 GAMS/CPLEX

linux 使用未知内存(不是 Slab)

linux - 如何在 Linux (Fedora 14) 平台上安装 Entrust 的 Apple 根证书?

c++ - 将 C++ 链接到 gams 软件

java - 如何从 Gams 中的 API Java 运行 gms 模型并设置包含文件中数据的文件夹

c++ - 使用条件变量在 Linux 中实现 Windows 事件?