Code Monkey home page Code Monkey logo

sandbox_app_template's Introduction

Batch Connect - Cheaha OnDemand Sandbox Template

GitHub License

A SandBox template Batch Connect app designed for Cheaha OnDemand that launches a GUI module on Cheaha

This app has been adapted from OSC's matlab repo

Prerequisites

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):

  • Software/App that needs to be run
  • [Xfce Desktop] 4+

For VNC server support:

  • [TurboVNC] 2.1+
  • [websockify] 0.8.0+

For hardware rendering support:

  • [X server]
  • [VirtualGL] 2.3+

Setup on cheaha

Setup sandbox on your profile by following the instructions here

Go to your DATA_USER/ondemand/dev directory, and clone this repo there

Use git to clone this app:

git clone https://github.com/uabrc/sandbox_app_template.git SOFTWARE_NAME

Open manifest.yml file and change SOFTWARE_NAME and SOFTWARE_LINK variables appropriately.

Open form.yml, and uncomment version section:

 version:
    widget: select
    label: "SOFTWARE_NAME version"
    help: "This defines the version of SOFTWARE_NAME you want to load."
    options:
      - [ "display_version", "corresponding_cheaha_module" ]

NOTE: Change SOFTWARE_NAME appropriately. Under options change display_version to the the version that you want to display on teh form, and change corresponding_cheaha_module to matching module name on cheaha. For example, to load FSL version 6.0.3, you can change the above to :

 version:
    widget: select
    label: "FSL version"
    help: "This defines the version of FSL you want to load."
    options:
      - [ "6.0.3", "FSL/6.0.3" ]

Open script.sh.erb , and at end add the execute command to launch GUI app. For example, to launch FSL, at the end I'll add

# Launch your GUI app
fsl

Change icon.png to appropriate Software logo

Your Dev app should be available now, for you to launch.

Again, you do not need to restart the app as it isn't a Passenger app.

Contributing

  1. Fork it ( https://github.com/uabrc/sandbox_app_template.git )
  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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.