Licensing Configuration
The default licensing configuration that was selected during the installation can be found within the EPC file:
<install-dir>/<os>/SMA/site/EstablishedProductsConfig.ini
The file can be updated manually with a new configuration anytime after installation. The
EPC file is an .ini file that contains key/value pairs of configuration data. The values
conform to the following standards:
- Single backslashes for Windows path-separators
- No quotes surrounding paths
- Paths with spaces are allowed
Configuration for
Tosca can be set in the
[EstablishedProducts]
or in the
[Tosca] section, while
[Tosca] has
higher priority and overwrites setting for general established products.
SIMULIA Tosca Structure
uses environment variables for the licensing configuration.
They are set in the configuration file <install-dir>/<os>/code/command/tosca_env.cmd/.sh
to the values in the EstablishedProductsConfig.ini file above.
Global or local defined environment variables will have precedence over the configuration file.
EstablishedProductsConfig.ini |
Env. Variable |
Description |
LICENSE_SERVER_TYPE |
FED_LICENSE_SERVER_TYPE |
Set the licensing type for Tosca
Supported values are:
- DSLS - Dassault Systèmes
License Server
- DSFLEX - SIMULIA FlexNet License Server (ABAQUSLM vendor daemon)
|
DSLS_LICENSE_CONFIG |
FED_DSLS_LICENSE_CONFIG |
For DSLS: Path of the license server config file for DSLS (DSLicSrv.txt)
If not set the default location for the license file is used |
FLEX_LICENSE_CONFIG |
FED_DSFLEX_LICENSE_CONFIG |
For DSFLEX: Port and Hostname of the used SIMULIA FlexNet license server
FLEX_LICENSE_CONFIG=<port>@<hostname> |
ACADEMIC_TYPE |
FED_ACADEMIC |
Activate the usage of educational licenses for
SIMULIA Tosca Structure. Only supports DSLS licenses
ACADEMIC_TYPE=TEACHING |
Using ABAQUSLM_LICENSE_FILE
If DSFLEX is selected as the used FED_LICENSE_SERVER_TYPE, it is also possible to run
SIMULIA Tosca Structure
using the ABAQUSLM_LICENSE_FILE environment variable. When the ABAQUSLM_LICENSE_FILE is set/exported before
SIMULIA Tosca Structure
is launched the content of FED_DSFLEX_LICENSE_CONFIG will be ignored.
Although using the ABAQUSLM_LICENSE_FILE environment variable will work, it is recommended to use the given variables above instead.
If the ABAQUSLM_LICENSE_FILE environment variable is used, ensure that the used SIMULIA FlexNet server provides the required license features for SIMULIA Tosca Structure.
License Settings on Command Line
Licensing models can now be changed from Tosca
command line as follows SIMULIA Tosca Structure
ToscaPython.bat –j jobname.par --license_model model --license_type type
The options are described in detail below:
--license_model AUTO|LEGACY|SIMUNIT
.
- AUTO is the default behavior and chooses the license with the following priority order:
- SIMUNIT TOKEN if available
- SIMUNIT CREDIT if available
- Installation preference (DSLS/FLEX)
- LEGACY: choose DSLS or FLEX according to installation settings
- SIMUNIT: Force SIMUNIT without any priority checks
--license_type TOKEN|CREDIT
The default behavior is to choose TOKEN:
- CREDIT: Choose SIMUNIT CREDIT licensing model
- TOKEN: Choose SIMUNIT TOKEN licensing model
Result of combining different command line arguments and installation settings
In the table below the final resulting licensing type is shown based on the licensing settings
chosen by the user during install and during runtime on command line.
Install Type |
command line : license_model |
command line : license_type |
Final License Type |
DSLS |
"--" |
"--" |
SIMUNITTOKEN/ SIMUNITCREDIT/QXT/error |
DSLS |
AUTO |
"--" |
SIMUNITTOKEN/ SIMUNITCREDIT/QXT/error |
DSLS |
AUTO |
FLEX |
error |
DSLS |
AUTO |
TOKEN |
error |
DSLS |
AUTO |
CREDIT |
error |
DSLS |
LEGACY |
"--" |
install type (DSLS) |
DSLS |
LEGACY |
FLEX |
DSFLEX/error |
DSLS |
LEGACY |
TOKEN |
QXT/error |
DSLS |
LEGACY |
CREDIT |
error |
DSLS |
SIMUNIT |
"--" |
SIMUNITTOKEN/ SIMUNITCREDIT/error |
DSLS |
SIMUNIT |
FLEX |
error |
DSLS |
SIMUNIT |
TOKEN |
SIMUNITTOKEN/error |
DSLS |
SIMUNIT |
CREDIT |
SIMUNITCREDIT/error |
|
|
|
|
DSFLEX |
"--" |
"--" |
DSFLEX/error |
DSFLEX |
AUTO |
"--" |
DSFLEX/error |
DSFLEX |
AUTO |
FLEX |
error |
DSFLEX |
AUTO |
TOKEN |
error |
DSFLEX |
AUTO |
CREDIT |
error |
DSFLEX |
LEGACY |
"--" |
install type (DSFLEX) |
DSFLEX |
LEGACY |
FLEX |
DSFLEX/error |
DSFLEX |
LEGACY |
TOKEN |
QXT/error |
DSFLEX |
LEGACY |
CREDIT |
error |
DSFLEX |
SIMUNIT |
"--" |
SIMUNITTOKEN/ SIMUNITCREDIT/error |
DSFLEX |
SIMUNIT |
FLEX |
error |
DSFLEX |
SIMUNIT |
TOKEN |
SIMUNITTOKEN/error |
DSFLEX |
SIMUNIT |
CREDIT |
SIMUNITCREDIT/error |