Linux Installation Guide

In this tutorial you will learn about:

Overview

  • MCalibration and PolyUMod for Linux are provided in two tar.gz-files: MCalibration_Installer_Lin64_v6.0.1.tar.gz and PolyUMod_Installer_Lin64_v6.0.1.tar.gz.  You can download these files from: https://polymerfem.com/software-download. Please contact us if you need the download password.
  • To use the software you also need one of the following: (1) an activation key, (2) a license file, (3) the name of an existing license server.

A floating license may be served locally or remotely on Linux or Windows (Unlike a floating license, a node-locked license requires no license server software, just a license file). This document only describes installation procedures for Linux; for the installation or update of the Windows license server, please use the Windows software installer and documentation.

The components in this package have been tested on the following Linux versions: Red Hat 7 / CentOS 7, Red Hat 8 / CentOS 8, and Ubuntu 20.04.

This document provides instructions for how to manually install and use MCalibration and PolyUMod on a Linux computer.

Install PolyUMod and MCalibration

The following commands illustrate how to install the software:

tar zxvf MCalibration_Installer_Lin64_v6.0.1.tar.gz
mkdir /opt/PolymerFEM
sudo cp -r MCalibration_Installer_Lin64_v6.0.1/MCalibration /opt/PolymerFEM  
tar zxvf PolyUMod_Installer_Lin64_v6.0.1.tar.gz
sudo cp -r PolyUMod_Installer_Lin64_v6.0.1/PolyUMod /opt/PolymerFEM

Before using the software you need to read and approach the license agreement found here. Using the software mans that you have accepted the agreement.

Set the Path Environment Variable

Each user’s path should include the MCalibration executable directory. This may be done in the setup files for your shell, or interactively at the shell prompt. For ease of invocation, users might also want to alias the MCalibration invocation as shown below:

export PATH=$PATH:/opt/PolymerFEM/MCalibration

Additional  information about how to install and use PolyUMod for different FE solvers (Abaqus, ANSYS, COMSOL Multiphysics, LS-DYNA, MSC.Marc, Altair Radioss) is available on our general support page.

Obtain a License File Using an Activation Key

You can convert an activation key to a license file using MCalibration. Just start MCalibration and then click on the Create License File from Activation Key... in the Help menu.

Then provide the activation key in the dialog box that pops up. 

Finally save the created license file to one of the following directories:

  • Copy the license file to /opt/PolymerFEM/MCalibration/license.lic if it is for a node-locked MCalibration license.
  • Copy the license file to /opt/PolymerFEM/PolyUMod/License/license.lic if it is for a PolyUMod license or a floating network license for MCalibration.

Start the Floating Network License Server

Use the following commands to start the license server:

cd /opt/PolymerFEM/PolyUMod/License
./rlm -dlog /tmp/rlm.log &

Once it has been started, you may manage the license server through an html interface: http://localhost:5054. From this page you can check the status, look at the log file, re-read the license file, read a new license file, stop the server, etc. Alternatively, to check the status of the license server, you may examine the log at /tmp/rlm.log. Finally, online documentation for license servers can be viewed at http://www.reprisesoftware.com/RLM_Enduser.html

Use a Floating Network License

To use the floating licenses, Linux users will need to set an environment variable that points to the license server, as shown below. The environment variable is RLM_LICENSE (case-sensitive), and it should point to [port]@[hostname]. The default port is 5053, and the host is often localhost (if run on the local machine), a hostname, or an IP address (e.g., 10.0.0.45). Note that the remove license server can run either Windows or Linux.

export RLM_LICENSE="5053@localhost"