Skip to content
Snippets Groups Projects
Forked from rc / bc_uab_matlab
86 commits behind the upstream repository.
user avatar
Jeremy Nicklas authored
3f744fac

Batch Connect - OSC MATLAB

GitHub Release GitHub License

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

  1. Fork it ( https://github.com/OSC/bc_osc_matlab/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request