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

Cannot install older version of Intel Fortran on mac

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

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

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

read that they have some issues on the installer of 2016 version running on OS X 10.11 (see latest release notes。这可能与您的问题有关。

我会尝试通过在 静默模式.

下安装来忽略该消息

拜托,read here the full instructions。我复制一部分作为参考。

如果下面的方法不行,我会尝试post留言在official support forum.


适用于 Mac OS* X 版本 11.x

的英特尔编译器静默安装指南

以下是在静默模式下为 Mac OS X* 版本 11.0 及更高版本安装英特尔编译器所需遵循的步骤。

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

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

步骤 1) 使用 "Finder" 安装包含所需内容的 *.dmg 文件,例如,双击 *.dmg。或者如果您使用终端 window,请使用 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 是更新 2,例如版本 142) .

步骤 2) 从 Utilities 组启动一个 "Terminal" 程序(如果您还没有这样做的话。以 root 用户身份执行此操作或使用命令 'sudo bash' 成为 root 用户)

步骤 3) 使用 "Terminal" 作为 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 选项后提供具有完整路径的许可证文件或用于服务器许可证的 port@host。

必需选项

-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 文件。