Share
 
 

Installation

This section details how to install Autodesk Nastran onto your system. Autodesk Nastran is supplied as a single Linux archive file that can be expanded into a set of install packages, and an installation script that supports both workstation installs and thin client installs. In order to provide compatibility with the broadest range of Linux distributions possible, both RPM packages and simple compressed folder installation methods are supported. Additionally, installation into standard user locations is now supported.

Files Required for Installation

A complete installation requires two items:

  • A package containing all the necessary files, which will have a file name similar to Autodesk_Nastran_2026.0.0.F-14.0.0.203_Linux_64bit.tar. Exact version numbers may vary from that shown here.
  • Licensing information. This will be the internet name of your Autodesk Nastran license server, either in the form of a numerical IP address, or machine.domain.com.

This package does not provide an Autodesk License server. Autodesk provides license servers for a number of operating systems. Your retailer can provide the appropriate license server for your requirements.

Installation

This section provides the steps required to install Autodesk Nastran. The following package names are provided as examples. Please adjust the following commands and packages based on the packages you have been provided.

  1. Unpack the provided package using the following command. This command will create a sub-directory in your current location that contains the files necessary to install Autodesk Nastran 2026 (The package version numbers may be slightly greater than shown below).
    tar xf Autodesk_Nastran_2026.0.0.F-14.0.0.203_Linux_64bit.tar
  2. Change your working folder to the created folder:
    cd ./Autodesk_Nastran_2026.0.0.F
  3. Start the installer by entering the following command. If you wish to do a system install you will need to start the installer from a terminal prompt as the superuser or using the 'sudo' option. If the installer detects insufficient privileges to perform a system install, it will reduce the install options presented to performing only a Thin-client or custom install. On a terminal in which a standard user or superuser is logged in, start the installer like so:
    ./install.sh

    Or, using sudo, from a terminal that a user is logged into:

    sudo ./install.sh
  4. Please read and accept the licensing agreement provided. A copy of the licensing agreement can be found after the install at: /opt/Autodesk/Nastran_2026/adlm/EULA.txt.
  5. Depending on the privilege level of the user starting the installer, three possible installation mechanisms will be presented to the user.
    • The first mechanism provides system installation using RPM packages. Autodesk Nastran installs into the location /opt/Autodesk/Nastran_2026, which complies with the Linux Standard Base (LSB) specifications.
    • The second option provides a system installation for thin-client server using RPM packages. This option only installs licensing components that will be used by a thin client installed using the third option.
    • The third option permits an install into a user-defined location. Upon selecting this option, you will be prompted to specify a location to install into. This option is useful for users installing for thin-client scenarios and for individual users installing into their own home folders. This option is presented to users installing without superuser privileges.

    Please select the installation mechanism suitable for your purposes.

Licensing helper utility

The helper utility is available in a location similar to this: /opt/Autodesk/AdskLicensing/13.1.0.8307/helper/AdskLicensingInstHelper. The helper provides the following functions:

Help documentation

  • Example usage:
    sudo /opt/Autodesk/AdskLicensing/13.1.0.8307/helper/AdskLicensingInstHelper  --help
    
    sudo /opt/Autodesk/AdskLicensing/13.1.0.8307/helper/AdskLicensingInstHelper register --help
    

Product registration

  • Example usage:
    sudo /opt/Autodesk/AdskLicensing/13.1.0.8307/helper/AdskLicensingInstHelper 
    register --pk 987P1 --pv 2024.0.0.F --cf /opt/Autodesk/Nastran_2026/clicV2SDK/InventorNastranConfig.pit 
    --el "US" --ls 12345@20.20.200.100 --lm NETWORK

Listing registered components

  • Example usage:
    /opt/Autodesk/AdskLicensing/13.1.0.8307/helper/AdskLicensingInstHelper list

    De-registering product components

  • Example usage:
    sudo /opt/Autodesk/AdskLicensing/13.1.0.8307/helper/AdskLicensingInstHelper 
    deregister --pk 987P1 --pv 2024.0.0.F

RPM-based installation

Installs ClicV2 licensing components and registers the product. It also provides a utility shell script at /opt/Autodesk/Nastran_2024/bin/nastran_lic_reg.sh. This script can be run to register the product and provide the license server with IP address and port (example: port@hostname).

Troubleshooting

  • Run the utility above to list the registered components and ensure that the product, license server, etc. are correctly registered.
  • Ensure that the variables defined in nastran_lic_reg.sh point to the desired values.
  • Run the script to register the product.
  • Sometimes, the license checkout fails on machines minimal installations. Install libGL.

Thin client installation

This configuration type requires separately installing the server and the client.

To install the server

  1. Superuser privileges are required. Determine which server to use. It is not necessarily the server on which Network License Manager (NLM) is installed. The purpose of this license server is to work as an intermediary between the thin client and NLM, checking out license as needed.
  2. Use the helper utility to register the license server.
  3. Once the ClicV2 licenses are installed, be sure to register the product with the helper utility.
  4. Configure the server to connect with the client, using the file
    /var/opt/Autodesk/AdskLicensingService/AdskLicensingService.data
    Look for a string such as "Addr":"127.0.0.1:4321", and change the IP address to the address of your server.
  5. Open the port so that the thin client can connect to it.

To install the client

  1. Identify a suitable user-defined location.
  2. Make note of the IP address and port on the server to connect with.
  3. Find the Custom XML file located at <user_defined_path>/Nastran_2024/bin/AdlmCustomEnv.xml
  4. Ensure that the IP address and port are correctly set up as shown below:
    <KEY ID="ADSK_SERVICE_ADDRESS">
           <!--Licensing service address-->
           <STRING>IPADDRESS:PORT</STRING>
    </KEY>
  5. Ensure that the environment variable AUTODESK_ADLM_THINCLINT_ENV points to the file AdlmCustomEnv.xml.

Log files generation

The log level configurations below are for documentation purposes. The default mode for CLM V2 logs limited levels of messages. To enable verbose logging manually, please refer to the following details for each component.

Important: After updating the configuration, ensure that the service is restarted and running.

Environment variables

The environment variable ADLSDK_LOG_LEVEL controls the SDK's log level. If not set, default SDK log level will be "E". To increase verbosity, create a SYSTEM or USER environment variable, and set to level T (Trace) as follows:

  • Windows command line: set ADLSDK_LOG_LEVEL=T
  • MacOS/Linux command line: export ADLSDK_LOG_LEVEL=T

Valid settings

T = ADLSDK_LOG_TRACE

D = ADLSDK_LOG_DEBUG

I = ADLSDK_LOG_INFO

W = ADLSDK_LOG_WARN

E = ADLSDK_LOG_ERROR

C = ADLSDK_LOG_CRITICAL

O = ADLSK_LOG_OFF

Service

To enable Service verbose logging, open AdskLicensingService.data in a text editor. Add key-value pair "Dev":true to AdskLicensingService.data.

Note: You may need administrator privileges to save the AdskLicensingService.data file.
{
        "Addr": "127.0.0.1:12345",
        "Dev" : true, // Developer (Dev) mode, default false
        "AutoPickFreePort": true
}

Service generates the configuration data file in the following location:

/var/opt/Autodesk/AdskLicensingService/AdskLicensingService.data

Agent

To enable debug level logging, refer to the following table. Place a .AdskLicensingAgent-log.conf file on the end user's system, in the location specified below.

Notes

The dot before ".AdskLicensingAgent-log.conf" is required.

The default Agent log will not include debug level information.

Platform File name Location
Linux .AdskLicensingAgent-log.conf /var/opt/Autodesk/AdskLicensingService/.AdskLicensingAgent-log.conf
Paste the following content to the .AdskLicensingAgent-log.conf file:
{
    "message_pattern": "%{appname}[%{pid}] | %{time yyyy-MM-dd h:mm:ss.zzz} | %{type} | %{category}: %{message}",
    "filter_rules": "*.debug=true",
    "log_path": "/var/opt/Autodesk/AdskLicensingService/Log",
    "console_output": true,
    "file_output": true
}

The Linux version of Autodesk Nastran requires a network license. The installer will display a screen requesting the details of your license server. This needs to be provided in the format [port]@1.2.3.4 or [port]@machine.domain.com, where [port] is optional and only required if a non-standard port was used in the license server setup. If you do not know your license server details, or wish to change it at a later date, please enter a temporary value of @127.0.0.1. The network server in use can be changed later by directly editing the text file: /opt/Autodesk/Nastran_2026/bin/nastran_vars.sh.

Autodesk Nastran requires particular environment variables to be set prior to execution. An option will be presented during the install which enables all users to have their environment variables adjusted automatically when they first create a terminal. This option creates a link in the system settings folder to enable automatic setting of the required environment variables. It is highly recommended that you enable this option. Alternatively, two other methods are described if this mechanism is unsuitable for your intended usage.

Was this information helpful?