【问题标题】:Install and run GAMS in Fedora在 Fedora 中安装和运行 GAMS
【发布时间】:2016-11-01 15:58:25
【问题描述】:

我想在 Fedora 中使用 GAMS (23)。我已阅读有关如何在 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.

没有其他事情发生。

如何运行它?

【问题讨论】:

    标签: linux fedora gams-math


    【解决方案1】:

    这似乎是作为自解压档案提供的(“sfx”是指此类档案的典型约定;“exe”是 DOS/Windows 的东西,但看起来他们只是保持一致,并且是 Linux 二进制文件)。

    您看到的消息来自该提取。它说您正在覆盖gams24.7_linux_x64_64_sfx/ 子目录中的文件这一事实强烈表明您已经运行了它,现在又在做同样的事情。它告诉你文件已经存在,我敢打赌,如果你这样做ls gams24.7_linux_x64_64_sfx/,你会看到它们。

    您链接的说明

    1. 切换到GAMS系统目录,运行程序./gamsinst

    ...你试过吗?

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多