Batch Connect - OSC MATLAB
A VNCSim app designed for OSC OnDemand that launches MATLAB within an Owens batch job.
Prerequisites
This app requires the following software be installed on the nodes that the batch job is intended to run on:
For VNC server support:
Install
Use git to clone this app and checkout the desired branch/version you want to use:
git clone <repo>
cd <dir>
git checkout <tag/branch>
You will not need to do anything beyond this as all necessary assets are installed. You will also not need to restart this app as it isn't a Passenger app.
To update the app you would:
cd <dir>
git fetch
git checkout <tag/branch>
Again, you do not need to restart the app as it isn't a Passenger app.
Specification
ROOT
All assets in this package look for dependencies in the specified $ROOT
directory. This should be set to correspond to the included template/
directory.
An example running the xstartup
script included in this package:
# Path where you installed this project
BC_OSC_MATLAB_DIR="/path/to/bc_osc_matlab/template"
# Run the `xstartup` script with proper `$ROOT` set
ROOT="${BC_OSC_MATLAB_DIR}" ${BC_OSC_MATLAB_DIR}/xstartup
MATLAB_MODULE
This environment variable describes the specific MATLAB version to load. This
also assumes module support through the
Lmod
package manager is installed on the running compute node as well as the
requested module in $MATLAB_MODULE
.
Contributing
- Fork it ( https://github.com/OSC/bc_osc_matlab/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request