Install MATLAB Compiler Runtime (MCR) 7.13 on Linux CentOS 6.4 x64

pg_matlab v2 中 pg_matlab/libmatcore/src/readme.txt 提到需要依赖MATLAB Compiler Runtime (MCR) 7.13.

本文将介绍一下mcr 7.13的安装.

1. Prerequisites for Deployment 

. Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you
  have installed version 7.13.   

. If the MCR is not installed, run MCRInstaller, located in:

  <mcr_root>*/toolbox/compiler/deploy/glnxa64/MCRInstaller.bin

For more information on the MCR Installer, see the MATLAB Compiler
documentation.    

下载 : 

wget http://hedwig.mgh.harvard.edu/biostatistics/sites/default/files/public/MCRInstaller.bin

安装 : 

[root@db-172-16-3-150 7.13]# chmod 555 MCRInstaller.bin
[root@db-172-16-3-150 7.13]# ./MCRInstaller.bin -console
          Initializing InstallShield Wizard........
          Launching InstallShield Wizard........
-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

Welcome to the InstallShield Wizard for MATLAB(R) Compiler Runtime 7.13

The InstallShield Wizard will install MATLAB(R) Compiler Runtime 7.13 on your
computer.
To continue, choose Next.

MATLAB(R) Compiler Runtime 7.13
The MathWorks
http://www.mathworks.com
回车 :
Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 1

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

MATLAB(R) Compiler Runtime 7.13 Install Location

Please specify a directory or press Enter to accept the default directory.
回车 :
Destination Directory [/opt/MATLAB/MATLAB_Compiler_Runtime]
回车 :
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

MATLAB(R) Compiler Runtime 7.13 will be installed in the following location:

/opt/MATLAB/MATLAB_Compiler_Runtime

with the following features:

MATLAB Compiler Runtime

for a total size:

 495.4 MB
回车 :
Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

Installing MATLAB(R) Compiler Runtime 7.13. Please wait...

|-----------|-----------|-----------|------------|
0%         25%         50%         75%        100%
||||||||||||||||||||||||||||||||||||||||||||||||||

Creating uninstaller...
Finalizing the Vital Product Data Registry. Please wait...
-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

The InstallShield Wizard has successfully installed MATLAB(R) Compiler Runtime
7.13. Choose Finish to exit the wizard.
回车 :
Press 3 to Finish or 5 to Redisplay [3] 

安装完后发现这个mcr是32位的版本.

卸载掉安装64位的版本.

uninstall
[root@db-172-16-3-150 ~]# cd /opt/MATLAB/MATLAB_Compiler_Runtime/_uninst/
[root@db-172-16-3-150 _uninst]# ./uninstaller.bin -silent
cd /opt
[root@db-172-16-3-150 opt]# rm -rf MATLAB

64位的mcr(R2010a)可以到以下地址下载: (从http://www.mathworks.cn/support/solutions/en/data/1-4GSNCF/得到的版本号.)

http://www.helsinki.fi/bsg/software/BAPS/linux/

[root@db-172-16-3-150 opt]# cd /opt/soft_bak/
[root@db-172-16-3-150 soft_bak]# wget http://www.helsinki.fi/bsg/software/BEBaC/BEBaC_64bit/MCRInstaller_unix_2010a_64bit.bin

安装过程和32位版本一致.

[root@db-172-16-3-150 soft_bak]# chmod 555 MCRInstaller_unix_2010a_64bit.bin
[root@db-172-16-3-150 soft_bak]# ./MCRInstaller_unix_2010a_64bit.bin -console 

详细安装过程及输出 : 

        Initializing InstallShield Wizard........
          Launching InstallShield Wizard........

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

Welcome to the InstallShield Wizard for MATLAB(R) Compiler Runtime 7.13

The InstallShield Wizard will install MATLAB(R) Compiler Runtime 7.13 on your
computer.
To continue, choose Next.

MATLAB(R) Compiler Runtime 7.13
The MathWorks
http://www.mathworks.com

Press 1 for Next, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

MATLAB(R) Compiler Runtime 7.13 Install Location

Please specify a directory or press Enter to accept the default directory.

Destination Directory [/opt/MATLAB/MATLAB_Compiler_Runtime] 

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

MATLAB(R) Compiler Runtime 7.13 will be installed in the following location:

/opt/MATLAB/MATLAB_Compiler_Runtime

with the following features:

MATLAB Compiler Runtime

for a total size:

 500.2 MB

Press 1 for Next, 2 for Previous, 3 to Cancel or 5 to Redisplay [1] 

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

Installing MATLAB(R) Compiler Runtime 7.13. Please wait...

|-----------|-----------|-----------|------------|
0%         25%         50%         75%        100%
||||||||||||||||||||||||||||||||||||||||||||||||||

Creating uninstaller...

Finalizing the Vital Product Data Registry. Please wait...

-------------------------------------------------------------------------------
MATLAB(R) Compiler Runtime 7.13 - InstallShield Wizard

The InstallShield Wizard has successfully installed MATLAB(R) Compiler Runtime
7.13. Choose Finish to exit the wizard.

Press 3 to Finish or 5 to Redisplay [3] 

安装完后设置一下环境变量 : 

vi ~/.bash_profile
export MCRHOME=/opt/MATLAB/MATLAB_Compiler_Runtime/v713
export LD_LIBRARY_PATH=$MCRHOME/runtime/glnxa64:$MCRHOME/bin/glnxa64:$MCRHOME/sys/os/glnxa64:$MCRHOME/sys/java/jre/glnxa64/jre/lib/amd64:$MCRHOME/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:$MCRHOME/sys/java/jre/glnxa64/jre/lib/amd64/server:$LD_LIBRARY_PATH
export XAPPLRESDIR=$MCRHOME/X11/app-defaults

[参考]
1. http://www.mathworks.cn/support/solutions/en/data/1-4GSNCF/

2. http://hedwig.mgh.harvard.edu/biostatistics/node/45

3. http://www.helsinki.fi/bsg/software/BAPS/linux/

4. http://bioinformatics.wistar.upenn.edu/isoformex

时间: 2024-08-30 09:00:19

Install MATLAB Compiler Runtime (MCR) 7.13 on Linux CentOS 6.4 x64的相关文章

Install MATLAB 2013a on CentOS 6.4 x64 with mode silent

首先要下载安装光盘. Matlab801_MacUnix.iso [root@db-172-16-3-150 mnt]# md5sum /ssd1/Matlab801_MacUnix.iso 0d31a7ff79eaf48c0905f9845fa3e825 /ssd1/Matlab801_MacUnix.iso 挂载 :  mount -o loop,ro Matlab801_MacUnix.iso /mnt 光盘内容 :  [root@db-172-16-3-150 ~]# cd /mnt [

keepalived install in CentOS 6.x x64

下载最新稳定版本 # wget http://www.keepalived.org/software/keepalived-1.2.13.tar.gz # tar -zxvf keepalived-1.2.13.tar.gz # cd keepalived-1.2.13 查看INSTALL, 了解requirement Kernel needing ============== Compile a kernel with the following options : Kernel/User n

OTRS install and configure from source on CentOS 6.5 x64

1. 安装perl yum install -y perl 2. 下载help desk源码 wget http://ftp.otrs.org/pub/otrs//otrs-3.3.7.tar.bz2 3. 解压到/opt/ tar -jxvf otrs-3.3.7.tar.bz2 4. 重命名为otrs mv otrs-3.3.7 /opt/otrs 5. 创建一个普通用户, 用于运行otrs. 同时需要将它的HOME目录设置为/opt/otrs useradd -r -d /opt/otrs

Drupal 7.28, Nginx 1.6, PostgreSQL 9.3.4, PHP 5.4, fpm install on CentOS 6.x x64

安装Drupal的系统需求, 需要web server, database, php. https://www.drupal.org/requirements 本文以Drupal 7.28, Nginx 1.6, PostgrSQL 9.3.4, PHP 5.4为例写一下Drupal的部署. 不涉及任何优化, 例如使用fpm, 用unix sock连接效率会更高. 安装参考 https://www.drupal.org/documentation/install 一. nginx 安装, 本文选

Install zabbix 2.2 + PostgreSQL + nginx + php on CentOS 6.x x64

首先要阅读requirement, 结合你的环境, 满足日后的使用, 需要合理的选择硬件, 以及需要的依赖组件或库. https://www.zabbix.com/documentation/2.2/manual/installation/requirements 需要注意一下数据库大小的估算. 数据库里存放的数据包括, 配置信息, 历史数据, 报告数据(趋势数据), 事件数据. 这些数据量的评估, 首先和每秒server接收到的数据量有关, 例如我们配置了3000个监控条目, 每60秒监控一次

Install Ganglia core (gmond &amp; gmetad) in CentOS 6.x x64

下载最新稳定版的源码 http://ganglia.sourceforge.net/ # wget http://downloads.sourceforge.net/project/ganglia/ganglia%20monitoring%20core/3.6.0/ganglia-3.6.0.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fganglia%2Ffiles%2Fganglia%2520monitoring%2520core%2F

Install OpenVSwitch on CentOS 6.x x64

本文包含openvswitch的模块安装, 管理软件安装. 安装依赖包, 注意内核版本匹配 : # uname -r 2.6.32-431.el6.x86_64 # yum install -y rpm-build redhat-rpm-config kernel-devel-2.6.32-431.el6.x86_64 下载openvswitch LTS版本 :  [root@176 ~]# mkdir /opt/soft_bak [root@176 ~]# cd /opt/soft_bak/

【原创】Matlab.NET混合编程技巧之直接调用Matlab内置函数

              本博客所有文章分类的总目录:[总目录]本博客博文总目录-实时更新    Matlab和C#混合编程文章目录 :[目录]Matlab和C#混合编程文章目录 在我的上一篇文章[原创]Matlab.NET混编技巧之--找出Matlab内置函数中,已经大概的介绍了matlab内置函数在混合编程中的优点,并通过程序找出了matlab中的大部分内置函数,当然更多人关心是如何像我所说得那样,不用直接编译,就直接在C#中调用这些内置函数.本文就带你揭开这些谜团. 声明,这篇文章是需要

Matlab.NET混合编程技巧之——直接调用Matlab内置函数(附源码)

原文:[原创]Matlab.NET混合编程技巧之--直接调用Matlab内置函数(附源码) 在我的上一篇文章[原创]Matlab.NET混编技巧之--找出Matlab内置函数中,已经大概的介绍了matlab内置函数在混合编程中的优点,并通过程序找出了matlab中的大部分内置函数,当然更多人关心是如何像我所说得那样,不用直接编译,就直接在C#中调用这些内置函数.本文就带你揭开这些谜团. 声明,这篇文章是需要一点点混合编程基础的,基本概念和过程要懂一点,如果能简单成功混编一个简单的计算或者绘图例子