Local Simulation licensing changed for the 2020 product release, but running both the pre-2020 product and the 2020 or later version on Linux is supported. Configuration details for both product types are described below, along with the process for switching between the products.
Local Simulation uses the ADSKFLEX_LICENSE_FILE environment variable to store the name of the license server. You should have entered this value during installation. If you need to change the license server at a later date, set this environment variable in the netfabb_sim_vars.sh file. If the ADSKFLEX_LICENSE_FILE server does not have any available licenses, Local Simulation will also try the servers cached in the file ~/.flexlmrc.
A new variable exists that must be unset/exported when switching between the 2019 or earlier product and 2020 or later. To switch from 2020 or later to 2019, run
unset AUTODESK_ADLM_THINCLIENT_ENV.
To switch from 2019 to 2020 or later, run
export AUTODESK_ADLM_THINCLIENT_ENV=$ADSK_NETFABB_LOCAL_SIM_HOME/bin/AdlmCustomEnvV2.xml
Whichever version is installed last will work out of the box, but when switching back-and-forth without reinstalling, the variable must be unset for 2019, and exported for 2020 or later.
To set up a thin-client server
An example of the data file's contents on a machine is {"Addr":"rem1nlrgb2.ads.autodesk.com:49876","AutoPickFreePort":false}
where "49876" is the thin-client port, which needs to be different than the FlexLM port. Any five-digit number can be chosen, as long as the port is free. The Linux environment variable ADSKFLEX_LICENSE_PORT must match this number.
"C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" register -pk C02M1 -pv 2021.0.0.F -cf C:\ProgramData\Autodesk\Adlm\ProductInformation.pit -el us -lm NETWORK -ls 2080@rem1nlrgb2.ads.autodesk.com
where "2080" is the FlexLM port
replacing "rem1nlrgb2" with the license server hostname.
The contents of the PIT file can be verified by running "C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" list.