无法在Mac上安装旧版本的英特尔Fortran

时间:2015-12-23 20:03:15

标签: macos intel-fortran

我想在Mac OS X 10.10上安装英特尔Fortran 2011,但收到以下错误。

intel fortran installer error

安装程序告诉我它需要OS X 10.5或更高版本,而我的OS X版本是10.10!

值得一提的是,我在OS X10.9上安装了此版本的英特尔Fortran,没有任何错误。有谁知道如何解决这个问题?

1 个答案:

答案 0 :(得分:1)

read他们在OS X 10.11上运行2016版的安装程序时遇到了一些问题(请参阅latest release notes。这可能与您的问题有关。

我会尝试通过在静默模式中安装来覆盖该消息。

read here the full instructions。我将复制其中的一部分作为参考。

如果以下操作不起作用,我会尝试在official support forum中发布消息。

适用于Mac OS * X版本11.x的英特尔编译器的静默安装指南

以静默模式安装适用于Mac OS X * 11.0及更高版本的英特尔编译器需要遵循以下步骤。

步骤0)以管理用户或root用户身份登录。如果您有sudo priviledge,请在终端窗口中成为root用户:

sudo bash
and enter your user password, then enter command
su -

步骤1)使用“Finder”挂载包含所需内容的* .dmg文件,例如双击* .dmg。或者如果从终端窗口工作,请使用hdiutil命令安装编译器安装程序磁盘映像(.dmg)

11.0示例(11.1类似):

磁盘映像安装在

/Volumes/m_cprof_p_11.0.0xx (for the 11.0 Fortran Compiler)  or
/Volumes/m_cproc_p_11.0.0xx  (for the 11.0 C++ Compiler)

使用

装载图像
hdiutil attach m_cprof_p_11.0.0xx.dmg
hdiutil attach m_cproc_p_11.0.0xx.dmg

12.0示例:

磁盘映像安装在

/Volumes/m_fcompxe_2011.u.vvv (for the 12.0 Fortran Compiler) or
/Volumes/m_ccompxe_2011.u.vvv (for the 12.0 C++ Compiler)

使用

装载图像
hdiutil attach m_fcompxe_2011.u.vvv.dmg
hdiutil attach m_ccompxe_2011.u.vvv.dmg

其中'u'是更新编号(0,1,2,3等),其中'vvv'是特定版本(例如,2011.2.142是Update 2,版本142)。

步骤2)从Utilities组启动“终端”程序(如果您还没有这样做。以root用户身份执行此操作或使用命令'sudo bash'成为root用户)< / p>

步骤3)以root用户身份使用“终端”,将目录更改为/ Plugins文件夹:

11.0(类似于11.1):

将目录更改为/Volumes/m_cprof_p_11.0.0xx内的“Plugins”文件夹

例如:

cd /Volumes/m_cproc_p_11.0.0xx/m_cproc_p_11.0.0xx.mpkg/Contents/Plugins
cd /Volumes/m_cprof_p_11.0.0xx/m_cproc_p_11.0.0xx.mpkg/Contents/Plugins

12.0:

cd /Volumes/m_ccompxe_2011.2.142/m_ccompxe_2011.2.142.mpkg/Contents/Plugins
cd /Volumes/m_fcompxe_2011.2.142/m_fcompxe_2011.2.142.mpkg/Contents/Plugins

步骤4)使用静默安装选项运行安装程序“i_install”:./i_install

用法:./i_install [OPTION]

对于版本11.0:用法:./i_install [-s or -h] -l "log file" -f "license file or folder or port@host" -eula "accept"

对于版本11.1:用法:./i_install [-s or -h] -l "log file" -f "license file or folder or port@host" -sn "serialnumber" -xd "xcode folder" -id "install folder" -eula "accept"

对于12.0版:用法:./i_install [-s or -h] -l "log file" [-f "license file or folder or port@host"] or [-sn "serialnumber"] -it "[1/2/3]"-xd "xcode folder" -id "install folder" -eula "accept"

用户可以在-sn选项后面提供有效的序列号,也可以在-f选项后面提供服务器许可证的完整路径或端口@主机的许可证文件。

必填选项

-s : to indicate execute in silent mode
-l : [optional] to provide a install log file (this file will be created '/tmp' folder
-f : -licfile Install silently using the license file provided on the command line.
Port@host Install silently using the server license available at host
-sn, -sn Install silently using the serial number provided on the command line

其他选项,版本11.1及以上

-id <install_dir> "install directory", default install folder is /opt/intel
    Silent install utility installs all the packages bundled in the meta package.
    To set the top level install folder for these packages one can use this option
    If install_dir is provided then the mounted system has to be writable for silent installs
    If the mounted volume is not writable, then user gets"Seems mounted volume is read only file system. Use 'hdiutil attach '<disk-image-name>.dmg' -readwrite -shadow' command, to mount the disk image", message and aborts silent install.
-xd : "xcode folder" ( provide xcode IDE folder for compiler to be intgegared with)

其他选项,12.0及以上版本

-it: install type; 1. commandline install 2. xcode integration 3. both, command line and xcode environment.
    User has option to install either command line alone and/or integrate with xcode IDEenviroment
    Default install type is 3
-h Display the silent install usage.

示例:

1

./i_install -h

2

./i_install -s -sn cpxm-kghjbcc5 -eula "accept" -xd "/Developer"

3

./i_install -s  -f a.lic -eula "accept" -xd "/Developer"

4

./i_install -s -sn cpxm-kghjbcc5 -eula "accept" -xd "/Developer"

5

./i_install -s -sn cpxm-kghjbcc5 -f a.lic -eula "accept"  -it 1

6

./i_install -s -sn cpxm-kghjbcc5 -f a.lic -eula "accept"  -it 2 -xd "/Developer"

7

./i_install -s -sn cpxm-kghjbcc5 -f a.lic -eula "accept"  -it 2 -xd "/Developer" -id "~/myinstallfolder"

日志文件

选项,-l mylog_file创建安装日志文件tmp/mylog_file,如果未给出此参数,则会为日志创建/tmp/pset.log文件。