cyme-launcher

command module
v0.0.0-...-9c77b22 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2022 License: BSD-3-Clause Imports: 12 Imported by: 0

README

cyme-launcher

cyme-launcher helps with starting up one or more instances of CYME using WINE on Linux, in a way that works with HPC clusters. It makes sure that a license manager with available licenses is running, and handles the arguments needed by WINE to launch the CYME gui, as well as run Python scripts using cympy.

Pre-requisites

To use cyme-launcher you must own a CYME license and install it using WINE on the system you will be using. You will also need to have installed the Sentinel LDK Run-time Environment for Linux.

This utility was tested with CYME 8.x, wine 32-bit 3.0.x, and the Sentinel LDK RTE 7.x; pull requests with any fixes required for newer versions are greatly appreciated.

Installation

Use go build cyme-launcher to compile a self-contained executable. Or use go run cyme-launcher.go to run the launcher as if it were a script. X forwarding must be enabled to run CYME from an SSH session (or a virtual X11 framebuffer server should be used, such as using xvfb-run to run cyme-launcher).

Usage

The following options are supported for setting up paths:

-cymepath string
    path to the cyme installation (default "C:\\Program Files\\CYME\\CYME")
-hasplmpath string
    the path to the hasplm daemon (default "/usr/workspace/wsb/cyme/sentinel_lm")
-hasplmserver string
    remote hasplm server to use (default "localhost")
-python string
    python script to run
-winepath string
    the root path where wine is installed
-wineprefix string
    the wine prefix to use (default "/usr/workspace/wsb/cyme/wine32_prefix")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

cyme-launcher is distributed under the terms of the BSD-3 clause license.

All new contributions must be made under this license. LICENSE

SPDX-License-Identifier: BSD-3-Clause

LLNL-CODE-827749

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL