forked from sokrypton/GREMLIN
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
99 lines (64 loc) · 3.14 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
MATLAB Compiler
1. Prerequisites for Deployment
. Verify the MATLAB Compiler Runtime (MCR) is installed and ensure you
have installed version 7.17 (R2012a).
. If the MCR is not installed, do following:
(1) enter
>>mcrinstaller
at MATLAB prompt. This MCR Installer command displays the
location of the MCR Installer.
(2) run the MCR Installer.
Or download Linux 64bit version of MCR from the MathWorks website:
http://www.mathworks.com/products/compiler/
For more information about the MCR and the MCR Installer, see
“Working With the MCR” in the MATLAB Compiler User’s Guide.
2. Files to Deploy and Package
Files to package for Standalone
================================
-gremlin
-run_gremlin.sh (shell script run to temporarily set environment variables and execute
the application)
-to run the shell script, type
./run_gremlin.sh <mcr_directory> <argument_list>
at Linux or Mac command prompt. <mcr_directory> is the directory
where version 7.17 of MCR is installed or the directory where
MATLAB is installed on the machine. <argument_list> is all the
arguments you want to pass to your application. For example,
If you have version 7.17 of MCR installed in
/mathworks/home/application/v717, run the shell script as:
./run_gremlin.sh /mathworks/home/application/v717
If you have MATLAB installed in /mathworks/devel/application/matlab,
run the shell script as:
./run_gremlin.sh /mathworks/devel/application/matlab
-MCRInstaller.zip
-include when building component by clicking "Add MCR" link
in deploytool
-This readme file
3. Definitions
For information on deployment terminology, go to
http://www.mathworks.com/help. Select your product and see
the Glossary in the User’s Guide.
4. Appendix
A. Linux x86-64 systems:
On the target machine, add the MCR directory to the environment variable
LD_LIBRARY_PATH by issuing the following commands:
NOTE: <mcr_root> is the directory where MCR is installed
on the target machine.
setenv LD_LIBRARY_PATH
$LD_LIBRARY_PATH:
<mcr_root>/v717/runtime/glnxa64:
<mcr_root>/v717/bin/glnxa64:
<mcr_root>/v717/sys/os/glnxa64:
<mcr_root>/v717/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:
<mcr_root>/v717/sys/java/jre/glnxa64/jre/lib/amd64/server:
<mcr_root>/v717/sys/java/jre/glnxa64/jre/lib/amd64
setenv XAPPLRESDIR <mcr_root>/v717/X11/app-defaults
NOTE: To make these changes persistent after logout on Linux
or Mac machines, modify the .cshrc file to include this
setenv command.
NOTE: The environment variable syntax utilizes forward
slashes (/), delimited by colons (:).
NOTE: When deploying standalone applications, it is possible
to run the shell script file run_gremlin.sh
instead of setting environment variables. See
section 2 "Files to Deploy and Package".