Skip to content
Snippets Groups Projects
README.md 1.91 KiB
Newer Older
Bo-Chun Chen's avatar
Bo-Chun Chen committed
# Batch Connect - OSC ANSYS
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

Jeremy Nicklas's avatar
Jeremy Nicklas committed
![GitHub Release](https://img.shields.io/github/release/osc/bc_osc_matlab.svg)
Jeremy Nicklas's avatar
Jeremy Nicklas committed
[![GitHub License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

A Batch Connect app designed for OSC OnDemand that launches ANSYS within Cheaha.
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

## Prerequisites

Jeremy Nicklas's avatar
Jeremy Nicklas committed
This Batch Connect app requires the following software be installed on the
**compute nodes** that the batch job is intended to run on (**NOT** the
OnDemand node):
Jeremy Nicklas's avatar
Jeremy Nicklas committed
- [Xfce Desktop] 4+

For VNC server support:

Jeremy Nicklas's avatar
Jeremy Nicklas committed
- [TurboVNC] 2.1+
- [websockify] 0.8.0+

For hardware rendering support:

- [X server]
- [VirtualGL] 2.3+

**Optional** software:

Jeremy Nicklas's avatar
Jeremy Nicklas committed
- [Lmod] 6.0.1+ or any other `module purge` and `module load <modules>` based
Jeremy Nicklas's avatar
Jeremy Nicklas committed
  CLI used to load appropriate environments within the batch job

[ANSYS]: https://www.ansys.com/
Jeremy Nicklas's avatar
Jeremy Nicklas committed
[Xfce Desktop]: https://xfce.org/
Jeremy Nicklas's avatar
Jeremy Nicklas committed
[TurboVNC]: http://www.turbovnc.org/
[websockify]: https://github.com/novnc/websockify
[X server]: https://www.x.org/
[VirtualGL]: http://www.virtualgl.org/
[Lmod]: https://www.tacc.utexas.edu/research-development/tacc-projects/lmod
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed
## Install

Jeremy Nicklas's avatar
Jeremy Nicklas committed
Use git to clone this app and checkout the desired branch/version you want to
use:
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

Jeremy Nicklas's avatar
Jeremy Nicklas committed
```sh
scl enable git19 -- git clone <repo>
Jeremy Nicklas's avatar
Jeremy Nicklas committed
cd <dir>
scl enable git19 -- git checkout <tag/branch>
Jeremy Nicklas's avatar
Jeremy Nicklas committed
```
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

Jeremy Nicklas's avatar
Jeremy Nicklas committed
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.
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

Jeremy Nicklas's avatar
Jeremy Nicklas committed
To update the app you would:
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

Jeremy Nicklas's avatar
Jeremy Nicklas committed
```sh
cd <dir>
scl enable git19 -- git fetch
scl enable git19 -- git checkout <tag/branch>
Jeremy Nicklas's avatar
Jeremy Nicklas committed
```
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

Jeremy Nicklas's avatar
Jeremy Nicklas committed
Again, you do not need to restart the app as it isn't a Passenger app.
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed

## Contributing

1. Fork it ( https://github.com/uabrc/ood_ansys.git/fork )
Basil Mohamed Gohar's avatar
Basil Mohamed Gohar committed
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