Configuring ABAQUS Linux Client for New License Server | Step-by-Step

If you have migrated to a new ABAQUS License Server and is planning to point your ABAQUS Linux Client to the new License Server. Here are the simple steps you will need to do

Step 1: Find the custom_v6.env files to edit.

Depending on how you install, for me I like to put everything in /usr/local so my abaqus will be placed there.

# cd /usr/local/abaqus-2023/SIMULIA/EstProducts/2023/linux_a64/SMA/site/
# vim custom_v6.env

Step 2: Edit the custom_v6.env file

Add the abaquslm_license_file = “27398@XXX.XXX.XXX.XXX”

# Installation of Established Products 2023
# Wed Oct 11 13:30:54 2023
plugin_central_dir="/usr/local/abaqus-2023/DassaultSystemes/SIMULIA/CAE/plugins/2023"
# retrieve licensing configuration from EstablishedProductsConfig.ini
importEnv('licensing.env')
abaquslm_license_file = "27398@XXX.XXX.XXX.XXX"

References:

  1. Manually Configuring Licensing for ABAQUS

Changing License Server on ABAQUS Clients

If you are modifying your ABAQUS client to point to another license server, you can do the following.

For ABAQUS 2020 later

% vim /usr/SIMULIA/EstProducts/2020/linux_a64/SMA/site/custom_v6.env
.....
.....
abaquslm_license_file="27000@192.168.1.0"
.....
.....

For ABAQUS 2019 and earlier

% vim /var/DassaultSystemes/SimulationServices/V6R2019x/linux_a64/SMA/site/custom_v6.env

Issues when launching ABAQUS/CAE

I was using FastX3, loaded the ABAQUS 2020 cae,

% module load abaqus/2020
% abaqus cae
 Error: code 2 major 153 minor 3: BadValue (integer parameter out of range for operation).
X Error: code 167 major 153 minor 5: GLXBadContext.
X Error: code 167 major 153 minor 26: GLXBadContext.
X Error: code 167 major 153 minor 4: GLXBadContext.
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
failed to create drawable
.....
.....
.....



Warning: There was a problem creating an OpenGL feedback context for printing.
If you encounter any problems with printing, verify that indirect GLX context
creation is enabled on your X server. For more information on indirect / direct
GLX context and how to enable indirect GLX context creation, see Knowledge Base
article QA00000043316

The issue is that on some graphics devices Abaqus/CAE and Abaqus/Viewer may fail when hardware acceleration is turned on. To mitigate the issue, you can turned off hardware acceleration which may have some performance degradation for the graphics performance. This can be done by simply

% abaqus cae --mesa

ABAQUS maintained a list of Graphics Devices which has passed the test and you may want to take a look

ABAQUS 2020 Graphics Devices

Topology optimization using TOSCA for ABAQUS in HPC

Topology optimization using TOSCA for Abaqus is executed by running the Abaqus execution procedure and by providing the name of the parameter file, which, in turn, refers to an Abaqus input file. You can define your optimization model using Abaqus/CAE, and you can use the Optimization Process Manager to create the parameter file and the Abaqus/CAE input file.

https://abaqus-docs.mit.edu/2017/English/SIMACAEEXCRefMap/simaexc-c-topooptimizeproc.htm

Editing ABAQUS FlexLM License File to control license usage

The Guide was taken from https://media.3ds.com/support/simulia/public/flexlm108/EndUser/chap5.htm

If you wish to restrict user1 to only 64 license

In short,

Step 1: Create a mlm.opt file where the license file are

# touch mlm.opt
MAX 64 abaqus USER user1

Step 2: Edit ABAQUS License File

SERVER this_host 000xxxxyyyyb 27000
VENDOR ABAQUSLM port=27398 options="/usr/SIMULIA/License/2017/linux_a64/code/bin/mlm.opt"
….
….

Step 3: Stop and Start the ABAQUS License File

# ./lmdown
# ./lmgrd -c ABAQUS_LICENSE_FILE.lic -l 241208.log

Option Available OPTION FILE SYNTAX

Keyword Description
BORROW_LOWWATER Set the number of BORROW licenses that cannot be borrowed.
DEBUGLOG Writes debug log information for this vendor daemon to the specified file (v8.0+ vendor daemon).
EXCLUDE Deny a user access to a feature.
EXCLUDE_BORROW
Deny a user the ability to borrow BORROW licenses.
EXCLUDEALL Deny a user access to all features served by this vendor daemon.
FQDN_MATCHING Sets the level of host name matching.
GROUP Define a group of users for use with any options.
GROUPCASEINSENSITIVE Sets case sensitivity for user and host lists specified in GROUP and HOST_GROUP keywords.
HOST_GROUP
Define a group of hosts for use with any options (v4.0+).
INCLUDE Allow a user to use a feature.
INCLUDE_BORROW Allow a user to borrow BORROW licenses.
INCLUDEALL Allow a user to use all features served by this vendor daemon.
LINGER
Allow a user to extend the linger time for a feature beyond its checkin.
MAX Limit usage for a particular feature/group-prioritizes usage among users.
MAX_BORROW_HOURS Changes the maximum borrow period for the specified feature.
MAX_OVERDRAFT Limit overdraft usage to less than the amount specified in the license.
NOLOG Turn off logging of certain items in the debug log file.
REPORTLOG Specify that a report log file suitable for use by the FLEXnet Manager license usage reporting tool be written.
RESERVE Reserve licenses for a user or group of users/hosts.
TIMEOUT Specify idle timeout for a feature, returning it to the free pool for use by another user.
TIMEOUTALL Set timeout on all features.

References:

  1. The Option File (3DS)