|
[Sponsors] |
June 30, 2017, 06:39 |
Run job when license free
|
#1 |
Member
Join Date: Nov 2015
Posts: 57
Rep Power: 10 |
Hello,
I would like to write a script that checks the licenses used for StarCCM and as soon as one frees up, open a .sim file and launch a macro for example. At the moment I only have an alias to check the licenses in use. On the steve portal they mention some environment variable called starwait but didn't put an example of how to use it. Does someone have more experience with this? Thanks, Max Last edited by taillanm; June 30, 2017 at 09:09. |
|
September 25, 2020, 06:35 |
|
#2 |
New Member
MK
Join Date: Apr 2017
Posts: 2
Rep Power: 0 |
You can simply set environment variable. For example in bash:
export STARWAIT=1 It ensures that if you run starCCM application and there is no license, then the app waits until one is free. So you do not need to write any script. Status of a request on a lic server side is QUEUED when waiting for a free license. |
|
October 13, 2020, 11:08 |
|
#3 | |
Member
Join Date: Nov 2015
Posts: 57
Rep Power: 10 |
Quote:
Thanks, works perfectly |
||
Tags |
licenses, scripting |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
bash script for pseudo-parallel usage of reconstructPar | kwardle | OpenFOAM Post-Processing | 42 | May 8, 2024 00:17 |
3D Windturbine simulation in SU2 | k.vimalakanthan | SU2 | 15 | October 12, 2023 06:53 |
chtMultiRegionSimpleFoam: crash on parallel run | student666 | OpenFOAM Running, Solving & CFD | 3 | April 20, 2017 12:05 |
Radial jet with free surface using FIDAP | Dr. Ahmed Hassaneen | Main CFD Forum | 0 | October 28, 1999 14:20 |
cfd job | Dr. Don I anyanwu | Main CFD Forum | 20 | May 17, 1999 16:13 |