forked from DavidPopovic/SPLS_Toolbox_2022
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b20390f
Showing
53 changed files
with
2,724 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
<deployment-project plugin="plugin.ezdeploy" plugin-version="1.0"> | ||
<configuration file="/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap.prj" location="/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022" name="bootstrap" target="target.ezdeploy.standalone" target-name="Application Compiler"> | ||
<param.appname>bootstrap</param.appname> | ||
<param.icon /> | ||
<param.icons /> | ||
<param.version>1.0</param.version> | ||
<param.authnamewatermark>David Popovic</param.authnamewatermark> | ||
<param.email>david.popovic@med.uni-muenchen.de</param.email> | ||
<param.company>KUM</param.company> | ||
<param.summary /> | ||
<param.description /> | ||
<param.screenshot /> | ||
<param.guid /> | ||
<param.installpath.string>/KUM/bootstrap/</param.installpath.string> | ||
<param.installpath.combo>option.installpath.user</param.installpath.combo> | ||
<param.logo /> | ||
<param.install.notes /> | ||
<param.target.install.notes>In the following directions, replace MR/v99 by the directory on the target machine where MATLAB is installed, or MR by the directory where the MATLAB Runtime is installed. | ||
|
||
(1) Set the environment variable XAPPLRESDIR to this value: | ||
|
||
MR/v99/X11/app-defaults | ||
|
||
|
||
(2) If the environment variable LD_LIBRARY_PATH is undefined, set it to the following: | ||
|
||
MR/v99/runtime/glnxa64:MR/v99/bin/glnxa64:MR/v99/sys/os/glnxa64:MR/v99/sys/opengl/lib/glnxa64 | ||
|
||
If it is defined, set it to the following: | ||
|
||
${LD_LIBRARY_PATH}:MR/v99/runtime/glnxa64:MR/v99/bin/glnxa64:MR/v99/sys/os/glnxa64:MR/v99/sys/opengl/lib/glnxa64</param.target.install.notes> | ||
<param.intermediate>${PROJECT_ROOT}/bootstrap/for_testing</param.intermediate> | ||
<param.files.only>${PROJECT_ROOT}/bootstrap/for_redistribution_files_only</param.files.only> | ||
<param.output>${PROJECT_ROOT}/bootstrap/for_redistribution</param.output> | ||
<param.logdir>${PROJECT_ROOT}/bootstrap</param.logdir> | ||
<param.enable.clean.build>false</param.enable.clean.build> | ||
<param.user.defined.mcr.options /> | ||
<param.target.type>subtarget.standalone</param.target.type> | ||
<param.support.packages /> | ||
<param.web.mcr>true</param.web.mcr> | ||
<param.package.mcr>false</param.package.mcr> | ||
<param.no.mcr>false</param.no.mcr> | ||
<param.web.mcr.name>MyAppInstaller_web</param.web.mcr.name> | ||
<param.package.mcr.name>MyAppInstaller_mcr</param.package.mcr.name> | ||
<param.no.mcr.name>MyAppInstaller_app</param.no.mcr.name> | ||
<param.windows.command.prompt>false</param.windows.command.prompt> | ||
<param.create.log>false</param.create.log> | ||
<param.log.file /> | ||
<param.native.matlab>false</param.native.matlab> | ||
<param.checkbox>false</param.checkbox> | ||
<param.example /> | ||
<param.help.text>Syntax | ||
dp_ICV_bootstrap_csv -? | ||
dp_ICV_bootstrap_csv i analysis_folder | ||
Input Arguments | ||
-? print help on how to use the application | ||
i analysis_folder input arguments</param.help.text> | ||
<unset> | ||
<param.icon /> | ||
<param.icons /> | ||
<param.version /> | ||
<param.authnamewatermark /> | ||
<param.email /> | ||
<param.company /> | ||
<param.summary /> | ||
<param.description /> | ||
<param.screenshot /> | ||
<param.guid /> | ||
<param.installpath.string /> | ||
<param.installpath.combo /> | ||
<param.logo /> | ||
<param.install.notes /> | ||
<param.intermediate /> | ||
<param.files.only /> | ||
<param.output /> | ||
<param.logdir /> | ||
<param.enable.clean.build /> | ||
<param.user.defined.mcr.options /> | ||
<param.target.type /> | ||
<param.support.packages /> | ||
<param.web.mcr /> | ||
<param.package.mcr /> | ||
<param.no.mcr /> | ||
<param.web.mcr.name /> | ||
<param.package.mcr.name /> | ||
<param.no.mcr.name /> | ||
<param.windows.command.prompt /> | ||
<param.create.log /> | ||
<param.log.file /> | ||
<param.native.matlab /> | ||
<param.checkbox /> | ||
<param.example /> | ||
</unset> | ||
<fileset.main> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_ICV_bootstrap_csv.m</file> | ||
</fileset.main> | ||
<fileset.resources /> | ||
<fileset.package /> | ||
<fileset.depfun> | ||
<file>/opt/NM/NeuroMiner_Elessar_1.10_alpha/preproc/nk_PartialCorrelationsObj.m</file> | ||
<file>/volume/DP_FEF/ScrFun/ScriptsRepository/ComBat/aprior.m</file> | ||
<file>/volume/DP_FEF/ScrFun/ScriptsRepository/ComBat/bprior.m</file> | ||
<file>/volume/DP_FEF/ScrFun/ScriptsRepository/ComBat/combat.m</file> | ||
<file>/volume/DP_FEF/ScrFun/ScriptsRepository/ComBat/itSol.m</file> | ||
<file>/volume/DP_FEF/ScrFun/ScriptsRepository/ComBat/postmean.m</file> | ||
<file>/volume/DP_FEF/ScrFun/ScriptsRepository/ComBat/postvar.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_corrections.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_correctscale.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_master_correctscale.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_projection.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_spls.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_spls_full.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_standardize.m</file> | ||
<file>/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_standardize_comb.m</file> | ||
</fileset.depfun> | ||
<build-deliverables> | ||
<file location="${PROJECT_ROOT}/bootstrap/for_testing" name="splash.png" optional="false">/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing/splash.png</file> | ||
<file location="${PROJECT_ROOT}/bootstrap/for_testing" name="bootstrap" optional="false">/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing/bootstrap</file> | ||
<file location="${PROJECT_ROOT}/bootstrap/for_testing" name="run_bootstrap.sh" optional="false">/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing/run_bootstrap.sh</file> | ||
<file location="${PROJECT_ROOT}/bootstrap/for_testing" name="readme.txt" optional="true">/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing/readme.txt</file> | ||
</build-deliverables> | ||
<workflow /> | ||
<matlab> | ||
<root>/opt/matlab/R2020b</root> | ||
<toolboxes> | ||
<toolbox name="matlabcoder" /> | ||
<toolbox name="neuralnetwork" /> | ||
</toolboxes> | ||
<toolbox> | ||
<matlabcoder> | ||
<enabled>true</enabled> | ||
</matlabcoder> | ||
</toolbox> | ||
<toolbox> | ||
<neuralnetwork> | ||
<enabled>true</enabled> | ||
</neuralnetwork> | ||
</toolbox> | ||
</matlab> | ||
<platform> | ||
<unix>true</unix> | ||
<mac>false</mac> | ||
<windows>false</windows> | ||
<win2k>false</win2k> | ||
<winxp>false</winxp> | ||
<vista>false</vista> | ||
<linux>true</linux> | ||
<solaris>false</solaris> | ||
<osver>3.10.0-1062.18.1.el7.x86_64</osver> | ||
<os32>false</os32> | ||
<os64>true</os64> | ||
<arch>glnxa64</arch> | ||
<matlab>true</matlab> | ||
</platform> | ||
</configuration> | ||
</deployment-project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<html><meta charset="UTF-8"><pre> | ||
<font color=blue>mcc -o bootstrap -W main:bootstrap -T link:exe -d /volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing -v /volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_ICV_bootstrap_csv.m </font> | ||
Compiler version: 8.1 (R2020b) | ||
|
||
Analyzing file dependencies. | ||
|
||
Parsing file "/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox/dp_ICV_bootstrap_csv.m" | ||
(referenced from command line). | ||
Generating file "/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing/readme.txt". | ||
Generating file "/volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_testing/run_bootstrap.sh". | ||
<font color=blue>Packaging...</font> | ||
Creating the bundle... | ||
Creating the install agent URL file... | ||
Web based installer created at /volume/projects/DP_FEF/ScrFun/ScriptsRepository/SPLS_Toolbox_Dev_2022/bootstrap/for_redistribution/MyAppInstaller_web.install. | ||
Packaging complete. | ||
Elapsed packaging time was: 19 seconds. | ||
</pre></html> |
Binary file added
BIN
+4.47 MB
SPLS_Toolbox_Dev_2022/bootstrap/for_redistribution/MyAppInstaller_web.install
Binary file not shown.
Binary file added
BIN
+670 KB
SPLS_Toolbox_Dev_2022/bootstrap/for_redistribution_files_only/bootstrap
Binary file not shown.
102 changes: 102 additions & 0 deletions
102
SPLS_Toolbox_Dev_2022/bootstrap/for_redistribution_files_only/readme.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
bootstrap Executable | ||
|
||
1. Prerequisites for Deployment | ||
|
||
Verify that version 9.9 (R2020b) of the MATLAB Runtime is installed. | ||
If not, you can run the MATLAB Runtime installer. | ||
To find its location, enter | ||
|
||
>>mcrinstaller | ||
|
||
at the MATLAB prompt. | ||
|
||
Alternatively, download and install the Linux version of the MATLAB Runtime for R2020b | ||
from the following link on the MathWorks website: | ||
|
||
https://www.mathworks.com/products/compiler/mcr/index.html | ||
|
||
For more information about the MATLAB Runtime and the MATLAB Runtime installer, see | ||
"Distribute Applications" in the MATLAB Compiler documentation | ||
in the MathWorks Documentation Center. | ||
|
||
2. Files to Deploy and Package | ||
|
||
Files to Package for Standalone | ||
================================ | ||
-bootstrap | ||
-run_bootstrap.sh (shell script for temporarily setting environment variables and | ||
executing the application) | ||
-to run the shell script, type | ||
|
||
./run_bootstrap.sh <mcr_directory> <argument_list> | ||
|
||
at Linux or Mac command prompt. <mcr_directory> is the directory | ||
where version 9.9 of the MATLAB Runtime 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 9.9 of the MATLAB Runtime installed in | ||
/mathworks/home/application/v99, run the shell script as: | ||
|
||
./run_bootstrap.sh /mathworks/home/application/v99 | ||
|
||
If you have MATLAB installed in /mathworks/devel/application/matlab, | ||
run the shell script as: | ||
|
||
./run_bootstrap.sh /mathworks/devel/application/matlab | ||
-MCRInstaller.zip | ||
Note: if end users are unable to download the MATLAB Runtime using the | ||
instructions in the previous section, include it when building your | ||
component by clicking the "Runtime included in package" link in the | ||
Deployment Tool. | ||
-This readme file | ||
|
||
|
||
|
||
3. Definitions | ||
|
||
For information on deployment terminology, go to | ||
https://www.mathworks.com/help and select MATLAB Compiler > | ||
Getting Started > About Application Deployment > | ||
Deployment Product Terms in the MathWorks Documentation | ||
Center. | ||
|
||
4. Appendix | ||
|
||
A. Linux systems: | ||
In the following directions, replace MR/v99 by the directory on the target machine where | ||
MATLAB is installed, or MR by the directory where the MATLAB Runtime is installed. | ||
|
||
(1) Set the environment variable XAPPLRESDIR to this value: | ||
|
||
MR/v99/X11/app-defaults | ||
|
||
|
||
(2) If the environment variable LD_LIBRARY_PATH is undefined, set it to the following: | ||
|
||
MR/v99/runtime/glnxa64:MR/v99/bin/glnxa64:MR/v99/sys/os/glnxa64:MR/v99/sys/opengl/lib/glnxa64 | ||
|
||
If it is defined, set it to the following: | ||
|
||
${LD_LIBRARY_PATH}:MR/v99/runtime/glnxa64:MR/v99/bin/glnxa64:MR/v99/sys/os/glnxa64:MR/v99/sys/opengl/lib/glnxa64 | ||
|
||
For more detailed information about setting the MATLAB Runtime paths, see Package and | ||
Distribute in the MATLAB Compiler documentation in the MathWorks Documentation Center. | ||
|
||
|
||
|
||
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, you can | ||
run the shell script file run_bootstrap.sh | ||
instead of setting environment variables. See | ||
section 2 "Files to Deploy and Package". | ||
|
||
|
||
|
||
|
||
|
||
|
36 changes: 36 additions & 0 deletions
36
SPLS_Toolbox_Dev_2022/bootstrap/for_redistribution_files_only/run_bootstrap.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
# script for execution of deployed applications | ||
# | ||
# Sets up the MATLAB Runtime environment for the current $ARCH and executes | ||
# the specified command. | ||
# | ||
exe_name=$0 | ||
exe_dir=`dirname "$0"` | ||
echo "------------------------------------------" | ||
if [ "x$1" = "x" ]; then | ||
echo Usage: | ||
echo $0 \<deployedMCRroot\> args | ||
else | ||
echo Setting up environment variables | ||
MCRROOT="$1" | ||
echo --- | ||
LD_LIBRARY_PATH=.:${MCRROOT}/runtime/glnxa64 ; | ||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/bin/glnxa64 ; | ||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/sys/os/glnxa64; | ||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MCRROOT}/sys/opengl/lib/glnxa64; | ||
export LD_LIBRARY_PATH; | ||
echo LD_LIBRARY_PATH is ${LD_LIBRARY_PATH}; | ||
# Preload glibc_shim in case of RHEL7 variants | ||
test -e /usr/bin/ldd && ldd --version | grep -q "(GNU libc) 2\.17" \ | ||
&& export LD_PRELOAD="${MCRROOT}/bin/glnxa64/glibc-2.17_shim.so" | ||
shift 1 | ||
args= | ||
while [ $# -gt 0 ]; do | ||
token=$1 | ||
args="${args} \"${token}\"" | ||
shift | ||
done | ||
eval "\"${exe_dir}/bootstrap\"" $args | ||
fi | ||
exit | ||
|
Binary file added
BIN
+51 KB
SPLS_Toolbox_Dev_2022/bootstrap/for_redistribution_files_only/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
SPLS_Toolbox_Dev_2022/bootstrap/for_testing/mccExcludedFiles.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The List of Excluded Files | ||
Excluded files Exclusion Message ID Reason For Exclusion Exclusion Rule |
Oops, something went wrong.