MATLAB: Difference between revisions

50 bytes removed ,  2 years ago
no edit summary
(Marked this version for translation)
No edit summary
Line 3: Line 3:
<translate>
<translate>
<!--T:19-->
<!--T:19-->
There are two ways of using MATLAB on Compute Canada clusters.  
There are two ways of using MATLAB on our clusters.  
; Running MATLAB directly
; Running MATLAB directly
To run MATLAB requires a license. You may either:
To run MATLAB requires a license. You may either:
Line 14: Line 14:


= Using an external license = <!--T:2-->
= Using an external license = <!--T:2-->
Compute Canada is a hosting provider for MATLAB. This means that we have MATLAB installed on our clusters and can allow you to access an external license to run computations on our infrastructure.  Arrangements have already been made with several Canadian institutions to make this automatic.  To see if you already have access to a license, carry out the following test:
We are a hosting provider for MATLAB. This means that we have MATLAB installed on our clusters and can allow you to access an external license to run computations on our infrastructure.  Arrangements have already been made with several Canadian institutions to make this automatic.  To see if you already have access to a license, carry out the following test:


<!--T:21-->
<!--T:21-->
Line 189: Line 189:


<!--T:5-->
<!--T:5-->
You can also compile your code using MATLAB Compiler, which is included among the modules hosted by Compute Canada. See documentation for the compiler on the [https://www.mathworks.com/help/compiler/index.html MathWorks] website.  At the moment, mcc is provided for versions 2014a, 2018a and later.
You can also compile your code using MATLAB Compiler, which is included among the modules we host. See documentation for the compiler on the [https://www.mathworks.com/help/compiler/index.html MathWorks] website.  At the moment, mcc is provided for versions 2014a, 2018a and later.


<!--T:9-->
<!--T:9-->
Line 196: Line 196:


<!--T:10-->
<!--T:10-->
This will produce a binary named <tt>cosplot</tt>, as well as a wrapper script. To run the binary on Compute Canada servers, you will only need the binary. The wrapper script named <tt>run_cosplot.sh</tt> will not work as is on our servers because MATLAB assumes that some libraries can be found in specific locations. Instead, we provide a different wrapper script called <tt>run_mcr_binary.sh</tt> which sets the correct paths.  
This will produce a binary named <tt>cosplot</tt>, as well as a wrapper script. To run the binary on our servers, you will only need the binary. The wrapper script named <tt>run_cosplot.sh</tt> will not work as is on our servers because MATLAB assumes that some libraries can be found in specific locations. Instead, we provide a different wrapper script called <tt>run_mcr_binary.sh</tt> which sets the correct paths.  


<!--T:18-->
<!--T:18-->
rsnt_translations
56,426

edits