Thermo-Calc Installation Guides
Thermo-Calc Installation Guides
Information in this document is subject to change without notice. The software or database
described in this document is furnished under a license agreement or nondisclosure
agreement. The software or database may be used or copied only in accordance with the terms
of those agreements. You can read more on our website.
Thermo-Calc Software AB
www.thermocalc.com
Installing Thermo-Calc
Installing Thermo-Calc
In this section:
Installation Terminology 6
System Requirements 10
This guide is available in PDF format: (1) On the website or (2) when in
Thermo-Calc go to Help → Manuals Folder → Installation.
This installation guide is for all Thermo-Calc installations running on Windows, macOS, or Linux
operating systems. It is also applicable to previously installed versions of Thermo-Calc (the new
version is installed next to the old version).
The information can be of use to you. It is recommended that you read the
Note
text or follow the link.
Operating system The operating system is indicated when the information is specific to a Windows, macOS, or
Name Description
The Thermo-Calc license file, which contains the license keys and is installed on either a
License file standalone computer or a network server.
The Thermo-Calc software and its components (including databases and SDKs) to be installed.
Typographical Conventions
Convention Definition
The forward arrow symbol → instructs you to select a series of menu items in a specific
Forward arrow → order. For example, File → Save Project is equivalent to: From the File menu, select
Save Project.
A boldface font indicates that the given word(s) are shown that way in on a toolbar
Boldface font button or as a menu selection. For example, if you are told to select a menu item in a
particular order, such as File → Save Project, or to click Save.
A code font indicates you are to make a keyboard entry. It also shows a programming
code and code bold
code or code examples. The code bold font highlights the entry.
Installation Terminology
Term Definition
A computer without a license file of its own but connected through the network to a
client computer with the license information. The client receives a license token from the
computer where the license management software is installed.
host ID The MAC address on the computer that a license is locked to.
The file (called lservrc) that contains all the purchased license keys. It is issued by
license file
Thermo-Calc Software, usually by email.
The information contained in the license file that represents the products purchased
license key
and which is then authorised for installation.
license management software The Thermo-Calc license management software. When working in Windows it is called
(see Sentinel RMS License License Manager (full name is Sentinel RMS License Manager by SafeNet) and on Linux
Software) it is called License Server (full name is Sentinel License Sever by Safenet).
The use of the term license server (lower case letters) is reserved for use for scripts
and option files (for example, in an "Unattended Network Client Installations" on
license server page 64). For the purposes of the step-by-step instructions it is not used to refer to the
type of network installation that runs the license management program. See Sentinel
RMS Software below.
The license type used with the licensing software. The NWL can only be used on one
specific computer that hosts the licensing software. This restricts license usage to a
Network License (NWL) certain subnet or subnets.
The software may be used on the number of sites you have paid for and by the
number of persons you have paid for on any number of network connected computers
The Thermo-Calc license management software that supplies the client computers in
your network with license tokens when it runs the Thermo-Calc software. This is
Sentinel RMS License Software available for both Windows (called the License Manager) and Linux (called the License
Server, but not to be confused with license server in lower case letters reserved for
scripts).
Term Definition
A unique license file for one designated computer at one designated site. It cannot be
Single-User-Node Locked- copied or moved outside the site. If the software is installed on a portable computer, it
License (SUNLL) can be temporarily used off-site. The license can be used without network access (to
the License Server).
TC-Toolbox The short name for the TC-Toolbox for MATLAB® SDK.
An installation where the software is installed on a file server but is run from a client
thin client computer. The licensing software may be installed on the file server (consolidated
network installation) or on a different computer (distributed network installation).
A full installation means that all listed feature components are installed but the availability of
the individual components is based on the license you have. This is also applicable to the
databases and software development kits (SDKs).
Thermo-Calc
The Thermo-Calc software includes several add-on features and capabilities that are packaged
with the software and included with a full standalone or network client installation. For
example, there are the specialized add-on products Diffusion Module (DICTRA), Precipitation
Module (TC-PRISMA), and Process Metallurgy Module as well as the Steel Model Library. For
most of these specialized features, demonstration (demo) versions and/or examples are
available for all users but advanced features are only available with a license.
Databases
All the latest databases are installed. As with the software features, availability of a specific
database in the software itself is based on license. However, several demonstration
(demo) databases are included and available to all users.
TC-Python
The TC-Python program is installed when the Full Standalone or Full Network Client option is
chosen, but there are additional steps required to complete the installation as described in the
TC-Python Installation Guide.
If a MATLAB® installation on your computer is found during this installation process, the
TC-Toolbox for MATLAB® (available only for Windows) is automatically installed, otherwise you
may need to do a manual installation. For details, see the TC-Toolbox for MATLAB Installation
Guide®.
System Requirements
"About the Thermo-Calc Components Being Installed" on page 8
General
A full list of system requirements and program availability is found on the Thermo-Calc website.
You can also see the roadmap for platform support to use for planning purposes.
Network client installations using the Sentinel RMS license management software
require the use of the most recent version, 9.7.
For details of the system requirements to install Sentinel RMS, see "Windows: About Installing
the License Manager" on page 47 and "Linux: About Installing the License Server" on page 52.
For macOS, the Sentinel RMS License software is installed on a Windows or Linux
computer server where the Thermo-Calc license file must also be located.
Platforms Tested
Thermo-Calc and its components are tested on these platforms for Thermo-Calc 2023b:
1 Thermo-Calc Software cannot guarantee full functionality if the software is installed on other Linux distributions.
2 If you are installing on CentOS 7, it is recommended you install gtk2 before you run the installation script.
TC-Python x x x
For macOS, the Sentinel RMS License software is installed on a Windows or Linux
computer server where the Thermo-Calc license file must also be located.
However, due to security issues reported by the vendor, it is important that previous network
license installations of the Sentinel RMS are upgraded to this version number.
For more information for your operating system, see "Windows: About Installing the License
Manager" on page 47 and "Linux: About Installing the License Server" on page 52
You can copy the license file to the applicable computer(s) before or after installing the
software––the license file itself is not required during the installation process. However, it is
required to make calculations in Thermo-Calc.
The Thermo-Calc software and the license management program are installed on the same
server where the license file is also copied. A thin client installation allows all computers
(the clients) in the server network to access both the software and the licensing on the same
computer server.
The Thermo-Calc software is installed on one computer server in a network and the
licensing software is installed on a different computer server where the license file is also
copied. A thin client installation allows all computers (the clients) in the server network to
access both the software and the licensing on the two computer servers.
The licensing software is installed on a computer server where the license file is also
copied. The Thermo-Calc software is installed on every computer in the network that needs
it.
l Learn about the different default directories where the software and license files are
installed.
l For network installations, collect subnet information.
l Make sure the person installing the software has administrator rights for Windows and
macOS.
l For macOS, install XQuartz and make sure the security preferences are set correctly.
l For a Linux Cent OS 7 installation, also install gtk2 before you run the installation script.
yum install gtk2
If you want to select specific components to install or if you want to install the software in a
non-default installation directory, then do a custom installation (Windows and Linux only). In
the table, <user> stands for the user name and <version> for the version of Thermo-Calc, for
example 2023b.
For macOS the license file is put in /Users/Shared/Thermo-Calc. The example below is for a
Standalone Windows installation.
Windows User
Default Directory
Type
The default folders where documents, materials files, examples, and other folders that sometimes
require additional licenses are installed under Public Documents for ALL USERS.
For a local user these files are copied to the user’s Documents folder where this local copy is
associated to the user login. The Public Documents folder always contains the original set of
contents as per the installation.
C:\Users\Public\Public Documents\Thermo-Calc\<version>
After installing Thermo-Calc, and when you first open the program, the set of folders is copied from
Administrator the source Public Documents location into a user Documents folder:
C:\Users\<user>\Documents\Thermo-Calc\<version>
It is recommended that you work with the files that are copied to the user folder.
In some cases when an interim software update is installed there is also a backup
folder created in this folder. For details, see "Updating the Software for Interim
Releases" on page 144.
The documents, materials, examples, and other folders that sometimes require additional
licenses are installed here:
Administrator (user /Users/Shared/Thermo-Calc/<version>
name and password
required) In some cases when an interim software update is installed there is also a
backup folder created in this folder. For details, see "Updating the Software
for Interim Releases" on page 144.
To go to this folder, in Finder, from the Go main menu select Go to folder. Enter the above
file path and click Go.
If you are doing a network installation then these files are available as a tar-file
License software installations on a from the Thermo-Calc website. Contact Support for more information.
server network (the License Server
software) In the downloaded tar-file, there is a restart_lserv script file, which can be used as
a template for creating a script that starts up the License Server.
Database Checker
The Thermo-Calc software package includes a program to check that the syntax of unencrypted
database files is correct. The program applies the syntax rules set out in the Database Manager
User Guide and reports errors and issues warnings. This program is intended for advanced users
who develop and manage databases.
Thermo-Calc accepts some deviations from these syntax rules. Although warnings
can be ignored, errors must be corrected. Reported errors must be corrected in
the TDB file before the database can be loaded by the application. Sometimes the
warnings can also reveal the need for additional corrections as shown in the
example below.
For example, a warning is generated if a phase name is detected that is also an abbreviation of
another phase name in the database. Although allowed, it is not recommended as this can (in
some cases) lead to unexpected results because abbreviations are also used when entering
commands in the Console and included in macro files. The following shows why in this case an
abbreviation is not recommended.
Imagine that a macro file uses the abbreviation ABC to refer to a phase in a database that is
named ABCDE. As long as there is no other phase in the database with the same exact name or
initial abbreviation, it works. But if a new phase is added to the database and is actually named
ABC then the macro can in error refer to the wrong phase. The macro still runs but now refers
Installation Default Directory: Databases, Database Checker, and TDB Editor ǀ 25 of 151
Preparing for Installation
to the phase ABC instead of ABCDE because ABC is an exact match, which takes precedence over
abbreviations. The Database Checker displays a warning because this situation can only occur
when one phase name is an abbreviation of another.
With respect to using this tool, the executable DatabaseChecker file is found in the
Thermo-Calc home directory.
The program can also be launched by selecting Tools → Database Checker from the main
menu in Thermo-Calc.
TDB Editor
The TDB Editor is an editing tool for those who develop their own custom databases for use
with Thermo-Calc or other applications. The tool speeds up the database editing process by
providing immediate feedback through syntax coloring, syntax checking, and by allowing
formatting and easy navigation to items of interest in the TDB file.
For information about installing the TDB Editor, which is separate from the main
installation and can be done later, see the Database Manager's User Guide
contained in the Thermo-Calc Documentation Set or press F1 in Thermo-Calc and
search the help.
Installation Default Directory: Databases, Database Checker, and TDB Editor ǀ 26 of 151
Preparing for Installation
At the bottom of the window under Material, click Load material to navigate to a material file.
There is a separate folder for materials saved using the Process Metallurgy
Calculator. See "Installation Default Directory: Process Metallurgy Materials" on
page 29.
For the Additive Manufacturing (AM) Module, the Material Properties library is
managed by the software.
The default directory where these material files are stored is based on operating system:
Windows C:\Users\<user>\Documents\Thermo-Calc\2023b\Materials
On Linux all user files are installed where the program is installed. If installed as root the default
Linux is:
/opt/Thermo-Calc/2023b/Materials
macOS /Users/Shared/Thermo-Calc/2023b/Materials
Windows C:\Users\<user>\Documents\Thermo-Calc\2023b\ProcessMetallurgyMaterials
On Linux all user files are installed where the program is installed. If installed as root the
Linux default is:
/opt/Thermo-Calc/2023b/ProcessMetallurgyMaterials
macOS /Users/Shared/Thermo-Calc/2023b/ProcessMetallurgyMaterials
All Property Models (whether these are predefined or custom models) must be
located in a subdirectory of the Property Model directory. You can go to the
Options window then on the General tab the Model directory field displays the
default directory.
Predefined models included with the Property Model Calculator are installed in the locations
below based on your operating system. If you create your own models using TC-Python, this is
the default directory where these are saved.
On Linux all user files are installed where the program is installed. If installed as root the
default is:
Linux /opt/Thermo-Calc/2023b/PropertyModels
or:
/home/<username>/Thermo-Calc/2023b/PropertyModels
macOS /Applications/Thermo-Calc-2023b.app/Contents/Resources/PropertyModels
For network licenses, the subnet information is also required. Ask your network administrator
for the network address for the subnet. Additional requirements are included elsewhere for
network installations.
l macOS/Linux: ip a
When this command is used, you will do a text-based installation instead of having a graphical
interface to guide you. The information is the same, just without the user interface.
Standalone Installations
You can either do a full or a custom standalone installation. The license type is called a Single-
User Node-Locked License (SUNLL).
In this section:
Follow the instructions for your operating system in the section "Request a License File from
Thermo-Calc Software" on page 67.
Windows
Right-click the .exe file and choose Run as administrator to launch the Setup program.
macOS
Double-click the downloaded file then follow the instructions.
For macOS and when you first run the installer, you may see a message that
Thermo-Calc-osx-<version> can't be opened because Apple cannot check it for
malicious software. If this happens, select Show in Finder. Then, in the opened
Finder window right-click the downloaded file Thermo-Calc-osx-<version> and
select Open.
Linux
To start the Setup Wizard in a Terminal window, enter these commands in the directory where
the installation file is saved:
> chmod +x linux-installation-x64-2023b.run
> ./linux-installation-x64-2023b.run
If you are an openSUSE root user, see "Linux Installation Notes" on page 34 for
some information about your installation.
Step 4. Select the Installation Type and Upload the License File
"About the Thermo-Calc Components Being Installed" on page 8
1. In the Select Installation Mode window click Full Standalone: Install all features.
If you want to exclude a component (e.g. an SDK), then use the Custom
option. See "Custom Standalone Installations" on page 40. For TC-Toolbox
for MATLAB®, also see "Installing TC-Toolbox with the Custom Option" on
page 106.
2. For a Full Standalone installation, in the Choose a license file field either enter the file
path or click the file button to navigate to where you saved the license file emailed
to you from Thermo-Calc Software. The license file is called lservrc.
To prevent errors, leave this field blank if you did not get a license file yet.
TC-Python is installed for all users even without a license. The Install TC-Python window
is a reminder that additional installation procedures are required after Thermo-Calc is
installed.
2. Click Finish and start using Thermo-Calc. For Linux users, log out and log back in to
finish the installation.
If you did not get your license file see "Request a License File from
Thermo-Calc Software" on page 67.
Use the Custom option to have more control over what component features to include or
exclude, for example, to exclude an SDK.
This topic describes how to do a custom installation on a standalone computer for either a
Windows or Linux operating system. These steps assume you have completed these sections:
1. In the Select installation mode window click Custom (the option appears greyed out,
but it is available to select). Click Next.
3. In the Select Components window, click to select or deselect the checkboxes as needed.
Click Next.
Step 2. Set the Installation Directory and Choose the License File
1. In the Installation Directory window, either accept the default path or enter a path to
where you want to install the software (see "Installation Default Directories and the
License File " on page 21). Click the file button to Browse for Folder and navigate to
another directory.
To prevent errors, leave this field blank if you do not have a license file yet.
3. In the Choose a license file field enter the path to your license file (called lservrc) or
click the file button to navigate to a location on the computer and open the file.
4. TC-Python is installed for all users even if you do not have a license. The Install TC-
Python window is a reminder that additional installation procedures are required after
Thermo-Calc is installed. See the TC-Python Installation Guide for details.
2. Click Finish and start using Thermo-Calc. For Linux users, log out and log back in to finish
the installation.
macOS installations and if you have previous Thermo-Calc installations: When you
launch Thermo-Calc with the new or updated version, the splash screen hides the
Import User Settings dialog box. In order to proceed you need to click the splash
screen and then click Yes or No in the dialog box.
If you did not get your license file see "Request a License File from Thermo-Calc
Software" on page 67.
1. For all OS you need to have administrative level rights. For example in Windows, right-
click the executable Thermo-Calc installation .exe file and choose Run as administrator
to launch the Setup program.
In this section:
Windows
l "Windows: About Installing the License Manager" on page 47
l "Windows: Installing the Sentinel RMS License Manager" on page 49
Linux
l "Linux: About Installing the License Server" on page 52
l "Linux: Installing the Sentinel RMS License Server" on page 55
Step 3. Choose the Installation Type and Enter the Computer Server
Details
"About the Thermo-Calc Components Being Installed" on page 8
1. In the Select Installation Mode window click Full Network Client to Install all features
(the option appears greyed out, but it is available to select).
If you want to exclude a component (perhaps one of the SDKs), then use
the Custom option and see "Custom Network Client Installations" on
page 61.
2. In the field, enter the name or IP number of the computer where the licensing software
is installed. Click Next.
3. TC-Python is installed for all users even if you do not have a license. The Install
TC-Python window is a reminder that additional installation procedures are required
after Thermo-Calc is installed. See the TC-Python Installation Guide for details.
4. In the Ready to Install window click Next.
5. When the Completing the Thermo-Calc Setup Wizard window opens, click Finish. For
Linux users, log out and log back in to start using Thermo-Calc.
If you did not get your Thermo-Calc license file see "Request a License File from
Thermo-Calc Software" on page 67.
If you have previously installed an older version of Sentinel RMS License Manager,
you must first uninstall the old version then reboot the server before starting with
a new installation.
The Sentinel RMS License Manager service supplies the client computers in your network with
license tokens when it runs Thermo-Calc software. The Sentinel RMS License Manager software
is installed on a computer that acts as a license server in your network. This is related to "Full
Network Client Installations" on page 45 and administrative rights are required for all steps.
A network license can only be used on one specific computer that hosts the
License Manager. The network license determines which client computers receive
license tokens using the IP addresses and IP ranges.
For macOS, the Sentinel RMS License software is installed on a Windows or Linux
computer server where the Thermo-Calc license file must also be located.
l Windows 7
l Windows 8.1
l Windows 10 v1909
l Windows Server 2008
First review "Windows: About Installing the License Manager" on page 47. Then if
this is a new installation of the Sentinel RMS License Manager, start with Step 2.
After saving the existing license file and uninstalling the old version of
Sentinel RMS, ensure you delete the old license file (LSERVRC) in the above
folder. This license is not required anymore.
1. Download Thermo-Calc.
l Web downloads: For web links sent in an email from Thermo-Calc Software, go
to the URL and log in with the information provided to download the software.
l DVD installations: Insert the DVD and follow the instructions.
2. Install Thermo-Calc. For testing purposes, and in order to confirm the installation is
working correctly, install the Thermo-Calc software on the same computer as the
Sentinel RMS License Manager. If required after testing, Thermo-Calc can always be
uninstalled.
Only the WlAdmin tool can be used to update the network license used by the
License Manager.
1. Save the source file containing the license code. The source file can be kept as a .txt file
2. Go to the previously saved file LS_tools_win.zip.
3. Right-click the file WlmAdmin.exe and select Run as Administrator from the menu.
4. If the license server is not found under subnet servers, go to Edit → Defined Server List.
5. Enter the host name or IP address of the license server.
6. Click Add and then OK.
7. Click View → Refresh All to update the list.
8. In the left main window right-click the name of a License Manager.
9. From the menu select Add Feature → From a File → To Server and its File.
10. To add the license from a file, select From a File. This permanently adds the license code
to the License Manager license file as well as to the License Manager memory.
11. In the windows that open, browse to the source file that contains the license code and
click Open.
To run a license server 32-bit on a Linux 64-bit OS, 32-bit library support is needed.
The name of the license file must be in lower case letters (lservrc) because Linux
commands and operations are case-sensitive.
l You need a valid lservrc network license file supplied by Thermo-Calc Software
("Requesting the License File for Windows or Linux" on page 69) as well as the actual
License Server—a file (program) called lserv.
l The Thermo-Calc license file needs to be readable and writable by the license server
(license manager).
It is not possible to use Linux 32-bit scripts/tools to manage license server 64-bit
and vice versa, you cannot use Linux 64-bit scripts/tools to manage license server
32-bit
When this command is used, you will do a text-based installation instead of having a graphical
interface to guide you. The information is the same, just without the user interface.
For macOS, the Sentinel RMS License software is installed on a Windows or Linux
computer server where the Thermo-Calc license file must also be located.
Both Linux 32-bit and 64-bit operating systems are supported for the installation of Sentinel
RMS License Server.
First review "Linux: About Installing the License Server" on page 52. Then if this is a
new installation of the Sentinel RMS License Server, start with Step 2.
Sentinel RMS License Server version 9.7 supports both 32- and 64-bit. However, when writing
scripts be aware of script naming and do not mix the scripts.
It is not possible to use Linux 32-bit scripts/tools to manage license server 64-bit
and vice versa, you cannot use Linux 64-bit scripts/tools to manage license server
32-bit
2. Edit existing scripts that start the older version of the License Server so that they start
the newer version instead.
Replace the paths for LICENSE_SERVER_DIR, LICENSE_FILE_DIR and LOG_DIR to match your
system. Save it as a script:
# set the directory where the executables are located
LICENSE_SERVER_DIR=/usr/local/Thermo-Calc/2023b/Licensing-files
# set the directory of the license file lservrc
LICENSE_FILE_DIR=/usr/local/Thermo-Calc/2023b/Licensing-files
# set the directory where you wish to save the log-files
LOG_DIR=/tmp
# stop the running server
# (omit this line if calling this script at startup)
$LICENSE_SERVER_DIR/lsrvdown $HOSTNAME
# start the license server
$LICENSE_SERVER_DIR/lserv -s $LICENSE_FILE_DIR/lservrc -l $LOG_DIR/lserv_use.log -f
$LOG_DIR/lserv_err.log
Step 3. Confirm the HOSTNAME variable and open the UDP port
The hostname should always correspond to the DNS record verify this by doing the following.
1. Before starting the License Server make sure that the value of the $HOSTNAME variable
is correct. This value can be shown by typing the > nslookup $HOSTNAME command in
the terminal window:
The value should be the same IP address that is shown when you use the ifconfig
command.
2. Open the UDP port 5093 in your firewall. In case you have installed SELinux you might
also need to disable it by setting SELINUX=permissive in the /etc/selinux/config file.
2. If you want the License Server to start when you boot the system, put a copy of the start
script under /etc/rc.d/init.d and start the script from the file /etc/rc.d/rc.local.
Installation Requirements
l You need access to the directory where Thermo-Calc is installed on the file server.
l You need the IP number or name of the computer where the license file is installed.
l For Linux you may have to disable your firewall. If SELinux is installed, try disabling it by
setting SELINUX=permissive in /etc/selinux/config.
Windows Installations
The following details may also be of use to those installing in a Windows environment.
l Requests license server name or address and sets LSHOST as a user environment
variable accordingly.
l Sets TC<version>_HOME (where <version> is the software version, e.g. TC22A_HOME) as
a user environment variable to point to the location from which the thin client installer
is running.
The default folders where documents, materials files, examples, and other folders
that sometimes require additional licenses are installed under Public Documents
for ALL USERS. See "Installation Default Directory: Windows" on page 22.
1. Map the file server share as a network drive so that it gets an assigned drive letter (e.g.
E:).
2. Open the \Thermo-Calc\<version>\ directory on the file server, where version is the
current version of the software.
5. Enter the name or IP number of where the license file and the License Manager
software is installed. Click Next.
The shortcuts to the program are added to the user's Windows roaming
profile as well as placed on the user's Desktop (not the system's).
8. Click Finish. To start Thermo-Calc find the program on the server and start it from there.
2. From the client, mount the directory on the server computer that contains the
Thermo-Calc server installation (by default, this directory is called
/Thermo-Calc/2023b). How the directory is mounted depends on the Linux distribution
being used as well as how the Thermo-Calc directory on the server computer is shared.
Use the Linux command mount. For example:
> mkdir public
> sudo mount -t cifs //ip_number_server_computer/public ./public -o
user=<user>
4. If you do this from the terminal window, use the following to start the installation
(assuming that the file server is a 64-bit computer):
> ./client-install-linux-x64.run
5. Click Forward and click to select the license agreement. Click Forward.
6. Enter the name or IP number of the License Server. Click Forward.
7. If you are installing as a non-root user, by default, the Create Shortcuts on Desktop
checkbox is selected. Click Forward.
8. In the Ready to Install window click Forward.
9. Click Finish. Log out and log back in to start using Thermo-Calc.
1. In the Select installation mode window click Custom (the option appears greyed out,
but it is available to select). Click Next.
3. In the Select Components window, click to select or deselect the checkboxes as needed.
Click Next.
Step 4. Set the Installation Directory and the File Path to the License
1. In the Installation Directory window, either accept the default path or enter a path to
where you want to install the software (see "Installation Default Directories and the
License File " on page 21). Click the file button to Browse for Folder and navigate to
another directory. Click Next.
To prevent errors, leave this field blank if you do not have a license file yet.
2. In the Choose Setup Type window, click Network Client and enter the name or IP
number of the computer where the licensing software is installed. Click Next.
2. Click Finish and start using Thermo-Calc. For Linux users, log out and log back in to finish
the installation.
macOS installations and if you have previous Thermo-Calc installations: When you
launch Thermo-Calc with the new or updated version, the splash screen hides the
Import User Settings dialog box. In order to proceed you need to click the splash
screen and then click Yes or No in the dialog box.
If you did not get your license file see "Request a License File from Thermo-Calc
Software" on page 67.
Terminology note: The use of the term license server (lower case letters) is
applicable to the option files as described in this section. For the purposes of the
step-by-step instructions it is not used to refer to the type of network installation
that runs the licensing software.
Sometimes it is convenient to install Thermo-Calc network clients without providing user input
after the installation is initiated (an unattended network client installation). This is available for
Windows and Linux operating systems.
Make sure you know the name or IP number of the computer where the licensing
software and the license file are to be installed.
Below is a shorter example, specifying that a full Thermo-Calc network client should be
installed:
installation_mode=full_client
license_server=<name/IP number>
Thermo-Calc can only be installed in unattended mode from the command line
prompt.
Start the installation in unattended mode using the option file created with this command:
To see other options when you start the Thermo-Calc installation program from the command
line prompt, run this command:
1. Make a note of your company or organization’s site number. You can find the site
number on an invoice or any correspondence from Thermo-Calc Software.
2. Retrieve your computer diagnostic and network adapter information.
3. Email Thermo-Calc Software with this information.
4. A Thermo-Calc Software representative emails you the license file. Save the license file
lservrc (there is no file suffix) to a location where you can easily access it later.
In Console Mode you can run the SYS module command DISPLAY_LICENSE_INFO.
1. Open Thermo-Calc.
2. Click Switch to Console Mode.
4. For both options, the information is displayed on screen. Copy the section containing
the Ethernet and IP address. You can save it to a text file or paste it directly into an
email. If you choose FILE as the output, then you can attach the file to an email.
Upgrades to a new version of Thermo-Calc: Skip this section if you are upgrading
to a new version of Thermo-Calc and (and you have a maintenance plan). Your
license is sent to you in an email from Thermo-Calc Software AB. Save it to your
computer to use during software installation.
1. To access the computer information you need to provide to get a license, start
Thermo-Calc and select Help → Show License Info.
2. Copy the information from the License Information window. A lot of information may
be shown below the initial screen, so make sure you scroll down to the end when you
select and copy the window's contents. (Alternatively, you can copy the same
information from the console by using the SYS module command DISPLAY_LICENSE_
INFO.)
3. Send an email to support@thermocalc.com. Make sure to include the following in the
subject line:
License diagnostic information from <Name> where Name is replaced with your name,
the organization name and the Site Number. You can find the five-digit site number on
an invoice or any correspondence from Thermo-Calc Software.
4. A representative from Thermo-Calc Software replies to the email and attaches your
license file(s).
5. Save the license file(s) to your computer or network.
Upgrades to a new version of Thermo-Calc: Skip this section if you are upgrading
to a new version of Thermo-Calc and (and you have a maintenance plan). Your
license is sent to you in an email from Thermo-Calc Software AB. Save it to your
computer to use during software installation.
5. Send an email to support@thermocalc.com and copy and paste the MAC address into
the body of the email. Make sure to include the following in the subject line:
License diagnostic information from <Name> where Name is replaced with your name,
the organisation name and the Site Number. You can find the five-digit site number on
an invoice or any correspondence from Thermo-Calc Software.
6. A representative from Thermo-Calc Software replies to the email address provided and
attaches your license file or files.
7. Save your license file to your computer or network.
Other Installations
Upgrades to a new version of Thermo-Calc: Skip this section if you are upgrading
to a new version of Thermo-Calc and (and you have a maintenance plan). Your
license is sent to you in an email from Thermo-Calc Software AB. Save it to your
computer to use during software installation.
1. To access the computer information you need to provide to get a license, start
Thermo-Calc and select Help → Show License Info.
2. Copy the information from the License Information window. A lot of information may
be shown below the initial screen, so make sure you scroll down to the end when you
select and copy the window's contents. (Alternatively, you can copy the same
information from the console by using the SYS module command DISPLAY_LICENSE_
INFO.)
3. Send an email to support@thermocalc.com. Make sure to include the following in the
subject line:
License diagnostic information from <Name> where Name is replaced with your name,
the organization name and the Site Number. You can find the five-digit site number on
an invoice or any correspondence from Thermo-Calc Software.
4. A representative from Thermo-Calc Software replies to the email and attaches your
license file(s).
5. Save the license file(s) to your computer or network.
1. For web links sent in an email from Thermo-Calc Software, go to the URL and log in with
the information provided. Then navigate to the Windows folder and click the link to
download the software.
2. Go to the folder where you downloaded the software. Right-click the .exe file and
choose Run as administrator to launch the Setup program.
1. In the Select Installation Mode window click Full Standalone: Install all features.
2. For a Full Standalone installation, in the Choose a license file field either enter the file
path or click the file button to navigate to where you saved the license file emailed
to you from Thermo-Calc Software.
The license file is called lservrc. Click Next. To prevent errors, leave this
field blank if you did not get a license file yet.
TC-Python is installed for all users even if you do not have a license. The
Install TC-Python window is a reminder that additional installation
procedures are required after Thermo-Calc is installed. See the TC-Python
Installation Guide.
3. In the Ready to Install window click Next. Click Finish and start using Thermo-Calc.
l macOS
l Full Standalone installation (SUNLL)
l Upgrading to a new standalone version of Thermo-Calc (maintenance plan only)
Other Installations
Upgrades to a new version of Thermo-Calc: Skip this section if you are upgrading
to a new version of Thermo-Calc and (and you have a maintenance plan). Your
license is sent to you in an email from Thermo-Calc Software AB. Save it to your
computer to use during software installation.
5. Send an email to support@thermocalc.com and copy and paste the MAC address into
the body of the email. Make sure to include the following in the subject line:
License diagnostic information from <Name> where Name is replaced with your name,
the organisation name and the Site Number. You can find the five-digit site number on
an invoice or any correspondence from Thermo-Calc Software.
6. A representative from Thermo-Calc Software replies to the email address provided and
attaches your license file or files.
7. Save your license file to your computer or network.
4. Click Download.
5. Double-click the XQuartz.pkg file. Follow the instructions.
6. Click OK when the message about logging out displays and click Close when the installation
is successful.
1. For web links sent in an email from Thermo-Calc Software, go to the URL and log in with
the information provided. Then navigate to the Mac folder and click the link to
download the software.
For macOS and when you first run the installer, you may see a message
that Thermo-Calc-osx-<version> can't be opened because Apple cannot
check it for malicious software. If this happens, select Show in Finder.
Then, in the opened Finder window right-click the downloaded file
Thermo-Calc-osx-<version> and select Open.
1. In the Select Installation Mode window click Full Standalone: Install all features.
2. For a Full Standalone installation, in the Choose a license file field either enter the file
path or click the file button to navigate to where you saved the license file emailed
to you from Thermo-Calc Software.
The license file is called lservrc. Click Next. To prevent errors, leave this
field blank if you did not get a license file yet.
TC-Python is installed for all users even if you do not have a license. The
Install TC-Python window is a reminder that additional installation
procedures are required after Thermo-Calc is installed. See the TC-Python
Installation Guide.
3. In the Ready to Install window click Next. Click Finish and start using Thermo-Calc.
macOS installations and if you have previous Thermo-Calc installations: When you
launch Thermo-Calc with the new or updated version, the splash screen hides the
Import User Settings dialog box. In order to proceed you need to click the splash
screen and then click Yes or No in the dialog box.
The TC-Python help is available on the Thermo-Calc website where you can also
access additional resources. You can alternatively access the locally installed
documentation from the Help menu in Thermo-Calc.
You can also navigate to the Manuals folder outside of Thermo-Calc and
based on your operating system installation location.
3. Double-click the Index HTML file (or any of the HTML files).
4. The API reference documentation opens as a searchable HTML file in your local browser.
See the Videos about TC-Python page for additional learning resources.
This is the recommended option for new users to TC-Python who may only want to run the
examples. The available preinstalled packages (e.g. numpy, scipy, scikit-learn, and
matplotlib) can also be sufficient for many advanced users.
The bundled interpreter package is also used to run the Property Models in
Thermo-Calc. Do not make changes to interpreter packages or this can stop
Thermo-Calc from working correctly. To fix issues caused by changes to an
interpreter, completely uninstall Thermo-Calc and start over, either with the
bundled interpreter package or using interpreters of your choice.
If you are planning to do more advanced calculations that require other external
packages then you may want to follow these instructions instead: "Installing
TC-Python Into a Python-interpreter of Your Choice" on page 90
Limitations
The bundled Python 3.7.2 interpreter contains the following major packages.
If you have recommendations for additional packages to include (see below), send
an email to Thermo-Calc Support.
Package Version
matplotlib 3.3.2
numpy 1.19.2
scikit-learn 0.23.2
scipy 1.5.2
TC-Python 2023b
Use of an IDE gives you access to code completion, which helps when you use the API as it gives
you the available methods on the objects you are working with.
For Mac installations, you also need to set some environment variables as
described below in "macOS: Setting Environment Variables" on page 95.
3. Click on the settings symbol close to the Project Interpreter dropdown menu and
choose Add.
4. Select System Interpreter and add the bundled Thermo-Calc Python 3 interpreter,
which is located in a folder based on the operating system:
Operating
Path to the bundled Python-interpreter
system
Linux /home/UserName/Thermo-Calc/2023b/python/bin/python3
macOS /Applications/Thermo-Calc-2023b.app/Contents/Resources/python/bin/python3
When you first open the TC-Python project and examples, it can take a few
moments for the Pycharm IDE to index before some of the options are available.
1. Open PyCharm and then choose File → Open. The first time you open the project you
will need to navigate to the path of the TC-Python installation based on your operating
system.
2. Click the Examples folder and then click OK.
3. From any subfolder:
l Double-click to open an example file to examine the code.
l Right-click an example and choose Run.
If you are not following the recommended approach and create a new project
(File→New Project…), you need to consider that by default the options to choose
the interpreter are hidden within the Create Project window. For this, click Project
Interpreter: New Virtual Environment and in most cases choose your System
Interpreter containing the Python bundled to Thermo-Calc instead of the default
New Virtual Environment.
If you are new to TC-Python and want to mainly run the examples, then it is
recommended you install the bundled Python-interpreter. The available
preinstalled packages (e.g. numpy, scipy, scikit-learn, and matplotlib) can also be
sufficient for many advanced users. See "Installing TC-Python with a Bundled
Python-interpreter" on page 86.
If you already have a Python distribution installation, version 3.5 or higher, skip
this step.
These instructions are based on using the Anaconda platform for the Python distribution. Install
version 3.5 or higher to be able to work with TC-Python, although it is recommended that you
use the most recent version.
Install Anaconda
Operating
Path to the TC-Python folder
system
Windows C:\Users\UserName\Documents\Thermo-Calc\2023b\SDK\TC-Python
Linux /home/UserName/Thermo-Calc/2023b/SDK/TC-Python
macOS /Users/Shared/Thermo-Calc/2023b/SDK/TC-Python
On Windows, it is recommended you use the Anaconda distribution prompt (i.e. Anaconda),
especially if you have other Python installations.
Do not use Virtual Environments unless you have a good reason to do so. Also see
"Fixing Potential Issues with the Environment" on page 96.
1. Open the command line. For example, in Anaconda on a Windows OS, go to Start →
Anaconda → Anaconda Prompt.
2. At the command line, enter the following. Make sure there are no spaces at the end of
the string or in the folder name or it will not run:
pip install <path to the TC-Python folder>/TC_Python-<version>-
py3-none-any.whl
3. Press <Enter>. When the process is completed, there is a confirmation that TC-Python is
installed.
Use of an IDE gives you access to code completion, which helps when you use the API as it gives
you the available methods on the objects you are working with.
For Mac installations, you also need to set some environment variables as
described below in "macOS: Setting Environment Variables" on page 95.
It is recommended that you open one or more of the included examples to both check that the
installation has worked and to start familiarizing yourself with the code.
When you first open the TC-Python project and examples, it can take a few
moments for the Pycharm IDE to index before some of the options are available.
1. Open PyCharm and then choose File → Open. The first time you open the project you
will need to navigate to the path of the TC-Python installation based on your operating
system.
2. Click the Examples folder and then click OK.
3. From any subfolder:
l Double-click to open an example file to examine the code.
l Right-click an example and choose Run.
Operating
Path to the TC-Python folder
system
Windows C:\Users\UserName\Documents\Thermo-Calc\2023b\SDK\TC-Python
Linux /home/UserName/Thermo-Calc/2023b/SDK/TC-Python
macOS /Users/Shared/Thermo-Calc/2023b/SDK/TC-Python
For a bundled Python-interpreter installation, these are the paths to this location based on your
operating system.
Operating
Path to the bundled Python-interpreter
system
Linux /home/UserName/Thermo-Calc/2023b/python/bin/python3
macOS /Applications/Thermo-Calc-2023b.app/Contents/Resources/python/bin/python3
Select Run → Edit Configurations to open the Run/Debug Configurations window. Enter the
environment variable(s) by clicking the button to the right of the Environment Variables text
field. Now the environment variables(s) will be set for each new configuration by default. The
same way for configuring the environment variables can be used on other operating systems as
if necessary.
If there are problems with the interpreter settings, for example, a common problem when you
first use TC-Python is the message No module named tc_python, which you can resolve in the
Settings window as follows:
If you are not following the recommended approach and create a new project
(File→New Project…), you need to consider that by default the options to choose
the interpreter are hidden within the Create Project window. For this, click Project
Interpreter: New Virtual Environment and in most cases choose your System
Interpreter containing the Python bundled to Thermo-Calc instead of the default
New Virtual Environment.
If you really need to use a Virtual Environment, it is recommended you review the
hints provided in the Best Practices section in the full TC-Python HTML help or
PDF.
These steps are required if you have previously followed the instructions in
"Installing TC-Python Into a Python-interpreter of Your Choice" on page 90.
When updating to a newer version of Thermo-Calc, you always need to also install the latest
version of TC-Python. It is not sufficient to run the installer of Thermo-Calc (except for bundled
versions of the Python interpreter).
pip install <path to the TC-Python folder>/TC_Python-<version>-py3-
none-any.whl
In case of problems you may wish to uninstall the previous version of TC-Python in advance:
pip uninstall TC-Python
pip install <path to the TC-Python folder>/TC_Python-<version>-py3-
none-any.whl
It is important to run the diagnostic script EXACTLY the same way as you run your
TC-Python script (in the same IDE, same project, same Python environment, same
Jupyter notebook, etc).
The script automatically prints useful suggestions that, in many cases, will help you to fix the
problem yourself. If you are unable to solve the problem, contact us for support. You can find
the script in these locations:
With the addition of licenses for the applicable software and databases, you can further
maximize your integration with MATLAB® to include the capabilities of the Steel Model Library
Property Models (e.g. bainite, pearlite, etc.), as well as access the range of functionality
included with the Diffusion Module (DICTRA) and the Precipitation Module (TC-PRISMA).
Generally, all the functionality available in Graphical Mode or via the TC-Python SDK is
available.
A license is required to run TC-Toolbox for MATLAB® and MATLAB® must also be
installed on your computer prior to the TC-Toolbox installation. Also remember to
review the System Requirements page on our website.
TC-Toolbox Documentation
There are various locations and formats of the documentation you need related to this SDK.
The TC-Toolbox for MATLAB® API Reference Documentation is available from these
general locations (1) within the MATLAB® environment—both as help and as part
of the tab completion (2) directly on the Thermo-Calc website, and (3) locally in
the Thermo-Calc installation (Help>Manuals Folder).
l Directly in MATLAB® via the Help menu then under Supplemental Software click
TC-Toolbox. Help is also available when writing code and using the tab completion
feature and/or pressing different key combinations as described in the Best Practices
section of the help.
l From the website: HTML Help or PDF
l Locally in a Thermo-Calc installation:
l HTML: Help > Manuals Folder > TC-Toolbox_MATLAB, then click any HTML file.
l PDF: Help > Manuals Folder > Software Development Kits (SDKs), then double-
click to open the TC-Toolbox for MATLAB® API Programmer Guide. This is a copy
of the HTML API reference documentation.
Installation Instructions
The installation instructions are only included in the Thermo-Calc help (press F1), and in the
PDF version of the main installation guide found, for example:
This is the default path to the installation folder for the TC-Toolbox component on Windows
operating systems. Be aware that the initial installation files and examples are placed in
Public\Documents, then after opening Thermo-Calc for the first time, these are copied to the
Documents folder for each user. The documentation is installed elsewhere and as described in
"TC-Toolbox Documentation" on page 101.
There are included examples with all TC-Toolbox installations. These are the same as the
examples included with TC-Python although with a different suffix (matex) and prefix (*.m) in
the file name. You can read summaries about the examples as described for TC-Python in the
online help.
Both the installation files AND the examples are installed in the following folders.
The default Windows folders where the TC-Toolbox examples are installed starts with the original installation placing these
under Public Documents for ALL USERS.
For a local user, and after Thermo-Calc is opened for the first time, these files are copied to the user’s Documents folder
where this local copy is associated to the user login. The Public Documents folder always contains the original set of
contents as per the installation.
C:\Users\Public\Public Documents\Thermo-Calc\<version>\SDK\TC-Toolbox-MATLAB
After installing Thermo-Calc, and when you first open the program, the set of folders containing the examples is copied
from the source Public\Documents location into a user Documents folder:
C:\Users\<user>\Documents\Thermo-Calc\<version>\SDK\TC-Toolbox-MATLAB\Examples
It is recommended that you work with the files that are copied to the user folder.
Installing TC-Toolbox
There are automatic or manual installation instructions for TC-Toolbox for MATLAB®.
Then follow the regular installation instructions for Thermo-Calc, choosing whether you use a
Standalone or Network installation. If required also see "Testing a TC-Toolbox Installation" on
page 110.
A reminder regarding the license. Although you do not need to have a license file
during the installation process (it can be added after the fact), you do need to have
purchased a license for TC-Toolbox for MATLAB® to run the program within
MATLAB®.
1. A message at the end of the Thermo-Calc installation process displays with instructions.
2. An Explorer window automatically opens to the C:\Users\Public\Documents\Thermo-
Calc\2023b\SDK\TC-Toolbox-MATLAB folder.
1. Start the version of MATLAB® that you want to install TC-Toolbox in.
2. Open and run the MATLAB® script included with your installation of Thermo-Calc.
You can also follow the instructions for "Installing TC-Toolbox with the Custom
Option" on the next page.
The following generally describes the Custom option for either a Standalone or Network
installation. Use the Custom option if MATLAB® is installed but the Thermo-Calc installer is not
finding the directory path so you need to enter the path manually.
Some steps are described in more detail in other parts of this guide.
A reminder regarding the license. Although you do not need to have a license file
during the installation process (it can be added after the fact), you do need to have
purchased a license for TC-Toolbox for MATLAB® to run the program within
MATLAB®.
Remember, you must have MATLAB® already installed and may need to
know the file path to the MATLAB® folder. If the TC-Toolbox for MATLAB
checkbox is NOT selected, this confirms that the Thermo-Calc installer did
NOT locate the MATLAB® installation (or it is not installed yet).
4. Click Next.
5. If you selected the TC-Toolbox for MATLAB checkbox, the MATLAB directory window
opens.
l If MATLAB® is already installed but the Thermo-Calc installer could not find the
path, then enter the file path to the MATLAB® installation directory or click the
file button to Browse for Folder and navigate to the directory. Click Next.
l If MATLAB® is NOT installed, click Cancel to exit the Thermo-Calc installer
program. Once MATLAB® is installed you can return to this process.
l For a Standalone installation: In the Choose a license file field enter the path to
your license file (called lservrc).
l For a Network installation: Enter the details as required into the Enter the name
or IP number of the licensing server field. Click Next.
2. Click Finish.
If TC-Toolbox is in the list it is likely it installed correctly but it is recommended you run
the diagnostic script or another example to confirm.
Diagnostic Script
A diagnostic script is available to help you if you have problems running TC-Toolbox.
It is important to run this script EXACTLY the same way as you run your MATLAB®
script.
The script automatically prints useful suggestions that, in many cases, will help you to fix the
problem yourself. If you are unable to solve the problem, contact us for support.
The script is based on the version of Thermo-Calc installed and named tc-toolbox-
diagnostic-script-2023b.m. You can find the script in these locations:
The most common reason for this is that MATLAB® is not installed. If this is the
case, exit the Thermo-Calc installation, install MATLAB® and then run the
Thermo-Calc installation program again.
If MATLAB® is installed and Thermo-Calc just did not find the file path during the installation
setup process, then enter the path in the field when prompted.
l On Linux open a Terminal window and go to the directory where the lserv script is
saved. For example:
>cd opt/Thermo-Calc/<version>/Licensing-files
1. Start MATLAB®.
2. In the Home tab from the Add-Ons menu, select Manage Add-Ons.
3. Right-click TC-Toolbox and choose Uninstall.
Troubleshooting
There are diagnostic scripts available for TC-Python and TC-Toolbox for MATLAB®
(these are included as examples in the Miscellaneous folder). These scripts are also
available on our website.
In this section:
Firewalls 120
License Errors
Installation
Issue Platform Action or link to more information
type
Warning Environment
variable “LSHOST” is not set. "Specifying a New Server Name or IP Number"
All Network
Software will not function on page 119
properly.
Installation
Issue Platform Action or link to more information
type
From Thermo-Calc
If you have already installed Thermo-Calc, you can view the path to the license file in the GUI.
Select Help → Show License Info.
In Console Mode you can run the SYS module command DISPLAY_LICENSE_INFO.
1. Unpack the .zip file that contains your standalone license and save the LSERVRC file on
your computer. Find out where to place the new license file by opening a Command
Prompt Window (cmd.exe) and type in the command line:
>set LSERVRC
2. Press Enter. The output from the command is the path to the license file (including the
name of the license file). For example: if the output is
LSERVRC=C:\Users\<user>\Documents\Thermo-Calc\lservrc
Find out where to place the new license file by opening a Terminal window and type in the
command line:
echo $LSERVRC
Only the WlAdmin tool can be used to update the network license used by the License
Manager. See Install the Thermo-Calc Network License Using WIAdmin.
Replace your current license file with the new license file. The license file is located in the same
directory as the license server.
If the name or IP number is not set at all, or if it is set to an empty string, then when you start
Thermo-Calc the following message displays: Warning Environment variable “LSHOST” is not
set. Software will not function properly.
Windows
This section explains how to specify or change the name or IP number of the server where the
License Manager is installed and for a consolidated network client installation.
macOS
Permanently set the environmental variable LSHOST to specify a new licensing server name or
IP number. Refer to the file /Applications/Thermo-Calc-2023b.app/Contents/Info.plist.
In this file, you can manually set the TC23B_HOME variable, which specifies the home directory
of the Thermo-Calc program. See the Info.plist file for an example.
Linux
You can set or change the name or IP number of the license server at a later time by setting the
environmental variable “LSHOST” to this name or number.
Firewalls
Windows
For a Windows License Manager installation you may have to change the system firewall
settings to allow the License Manager to communicate with the computers running the client
applications. Go to the Windows Firewall settings window to see if there are any problems. If
prompted, select Unblock the system firewall for the Sentinel RMS License Manager and click
Next.
Linux
For a Linux License Server installation you need to open the UDP port 5093 in your firewall. In
case you have installed SELinux you might also need to disable it by setting SELINUX=permissive
in the /etc/selinux/config file.
Client/Server Mismatch
For some network installations there can be a naming mismatch that causes errors. The server
(where the license management software is installed) gets information from its DNS servers
that an IP address (aaa.bbb.ccc) belongs to a computer (Computer A). But the client computer
identifies itself as having a different IP address (aaa.bbb.ccc.eee) for the same computer
(Computer A).
Even if the IP address of the client computer belongs to a subnet range listed in the license file,
there is a problem with accessing the license file because the computer name does not match
the information.
You may need your organisation’s network administrator to assist with this issue.
How to Check
Compare computer names on the client computer and server
1. On the client computer, start a command prompt cmd.exe and type ipconfig /all.
Press Enter. A variety of data is displayed on screen. Write down the following
information for later comparison:
l Hostname
l DNS Suffix
l Current IPv 4 Address
2. In the command window, type nslookup <client_computer_name>, where client_
computer_name is the actual name of the client. Press Enter.
This shows what information is saved on the DNS Servers used by the client
computer. This information should match what is shown in the output from the
first step.
3. On the server that holds the license management software, open a command prompt
and run the command line: nslookup client_computer_name. The output lists the
information for this server.
Does it match the information given by the command ipconfig /all on the client
computer? If not try the following.
1. If the client computer has a dynamic (DHCP) IP address, either change it to a static one
or make a reservation on the DHCP Server so that the computer always get the same IP
address.
2. Update the records on the DNS Servers used by both the client computer and the server
computer.
You can also configure the computer names and IP addresses in the local Hostfile of the client
and server:
If you are not already logged in as an administrator, you probably cannot run the sudo
command. If this is the case, then you can use the su command in the terminal window
to login as an administrator. Contact your local system administrator for help.
If you did not install a license file during this procedure, you can still start
Thermo-Calc although you will get the No license file found message.
When this command is used, you will do a text-based installation instead of having a graphical
interface to guide you. The information is the same, just without the user interface.
For this script to successfully initialize the license, the license file must be called
lservrc and be located in the directory where you have installed Thermo-Calc.
If you are not able to execute the sudo command because you are not on the sudoers
list, you must log in as a root user with the command su, and then use sh to run the
license initialization script. For example, on a 64-bit computer, enter the following:
$ sh license-initialization-linux.sh
3. Log out of Thermo-Calc and then log back in to save these changes.
In this section:
For Linux the output file is called gethostid.log. For Windows it is called TC_
Hostid.txt.
l This is related to the "Full Network Client Installations" on page 45 using the Sentinel
RMS License Manager (Windows) or Server (Linux), version 9.7.
l The tool is applicable to Windows and Linux (32-bit and 64-bit) operating systems. See
"Windows: Installing the Sentinel RMS License Manager" on page 49 or "Linux: Installing
the Sentinel RMS License Server" on page 55.
Windows
1. Extract getHostID_win.zip.
2. Right-click getHostID_win.bat and select Run as Administrator from the menu.
The output is saved in a file: TC_Hostid.txt located in the same folder as getHostID_
win.bat.
Linux 32-bit
1. Extract gethostid.tar.
2. Run the command: >./gethostid.
The output is saved in a file: gethostid.log located in the same directory as gethostid.
Linux 64-bit
1. Extract gethostid64.tar.
2. Run the command: >./gethostid64.
l The tool is applicable to Windows and Linux (32-bit and 64-bit) operating systems. See
"Windows: Installing the Sentinel RMS License Manager" on page 49 or "Linux: Installing
the Sentinel RMS License Server" on page 55.
Platforms
Windows, Linux 32-bit, Linux 64-bit
The tool retrieves information about all features currently licensed by the Sentinel RMS License
Manager, licenses, and clients.
On UNIX computers, you can use "Poll-interval-in-seconds" to specify that lsmon should keep
monitoring and reporting usage activity instead of displaying information once and stopping. If
specified, lsmon waits for that many seconds between re-polls of the License Manager.
lsmon monitors all licensed applications supported by a License Manager. If the License
Manager supports licensed applications from multiple vendors, then all licenses for all vendors
are displayed.
Options
l The tool is applicable to Windows and Linux (32-bit and 64-bit) operating systems. See
"Windows: Installing the Sentinel RMS License Manager" on page 49 or "Linux: Installing
the Sentinel RMS License Server" on page 55.
lspool is a redundant License Manager administration utility (command-line) for Windows and
UNIX.
Options
l a <license manager> Adds the License Manager to the redundant License Manager pool.
Specify the hostname or IP address of the License Manager system. Modifies the
redundant license file.. On Windows, dynamic addition of License Manager in an existing
redundant pool is not supported.
l d <license manager> Deletes the License Manager from the redundant License Manager
pool. Specify the hostname or IP address of the License Manager system. Modifies the
redundant license file. On Windows, dynamic deletion of License Manager in an existing
redundant pool is not supported.
l l Displays the host name of the leader redundant License Manager.
l p Displays the list of License Managers in the redundant License Manager pool.
l g < feature> <version> Displays the license token distribution criteria for the specified
feature/version. If the version is not specified, it must be replaced with empty quotation
marks: " ".
l L <event> <OFF|ON> Disables/enables logging for an event. The events you select will
be logged into the License Manager trace log file (only if error logging is enabled).
lspool - L Options
Events that can be logged using the -L option are given below. The following events are
temporarily logged (except 1) and need to be set each time the License Manager is restarted.
l 1 Logs when the License Manager is up. On by default. 2 Logs election of the leader
License Manager.
l 3 Logs the two-way redundant License Manager heartbeat:> Leader License Manager
periodically logs the update status received from all its followers
> Follower License Manager periodically logs the update about the contact established
with the current leader License Manager
l 5 Logs the usage information event, shared by the leader, regarding the number of
tokens issued. 7 Logs the license token distribution information synchronization event.
l 9 Logs when the License Manager is down.
l 11 Logs addition of a license into the file or memory. Also logs deletion of a license from
the memory.
l The tool is applicable to Windows and Linux (32-bit and 64-bit) operating systems. See
"Windows: Installing the Sentinel RMS License Manager" on page 49 or "Linux: Installing
the Sentinel RMS License Server" on page 55.
Platforms
Windows, Linux 32-bit, Linux 64-bit
lsrvdown can be run from the operating system command prompt by an administrative user on
a client or License Manager computer.
The same user must install the Sentinel RMS License Manager and also run
this utility.
l The tool is applicable to Windows and Linux (32-bit and 64-bit) operating systems. See
"Windows: Installing the Sentinel RMS License Manager" on page 49 or "Linux: Installing
the Sentinel RMS License Server" on page 55.
Platforms
Windows, Linux 32-bit, Linux 64-bit
lswhere command displays the network names of the computers running the License Manager.
By default, lswhere displays for each License Manager the address of the computer on which
that License Manager is running as well as its host name.
lswhere can be run on Windows and UNIX. lswhere should be run from the operating system
command prompt by an administrator or application user on a standalone, client, or License
Manager computer.
Options
l r Displays only the IP addresses of the License Managers found on the network (resolves
the host names). lswhere can also be run without specifying any command line options.
l The tool is applicable to Windows operating systems. See "Windows: Installing the
Sentinel RMS License Manager" on page 49.
Platform
Windows
WlmAdmin Functions
l Provides information on the License Managers.
l Details on licenses and clients using them in the network. For example, the
administrator can see which users have acquired that license and who are in a queue
waiting for the license.
If you are using redundant License Managers, you can use WlmAdmin as an informational tool
to:
l Add or delete a redundant License Manager from the redundant License Manager file.
l Display a list of all License Managers in the redundant License Manager pool and display
the name of the License Manager leader.
l Display the distribution criteria for specific licenses (only high assurance model is
allowed, where the reigning leader server keeps all the license tokens).
1. Right-click the name of a License Manager in the left-hand pane of the main window.
2. From the menu select Add Feature > From a File > To Server and its File.
3. To add the license from a file, select From a File. This permanently adds the license code
to the License Manager license file as well as to the License Manager memory.
4. In the new windows, browse to the source file that contains the license code and click
Open.
5. Select the license code file.
If the license server is not found under subnet servers, go to Edit > Defined Server List.
From the Edit menu, select the Preferences command to view WlmAdmin Preferences:
l Timeout Interval: The number of seconds after which WlmAdmin will stop trying to
contact a License Manager. If you have a large network or a slow one, you might want
to increase this number if you find WlmAdmin has difficulty retrieving information from
License Managers.
l Broadcast Interval: Specify the number of seconds between broadcasts to the network
to discover License Managers.
l Server Port: To set any custom port (other than the default port 5093) on which the
RMS License Manager is running.
Set this port number before you add that License Manager in the list of
defined servers.
l Discover subnet servers on startup: To automatically discover and display the License
Managers on your subnet.
l Discover defined servers on startup: To always show the License Managers you have
defined.
l Show client library error handler messages: To pass license management error
messages from Sentinel RMS to WlmAdmin.
l The tool is applicable to Windows operating systems. See "Windows: Installing the
Sentinel RMS License Manager" on page 49.
slmdemo is a Windows-based graphical sample program to show basic API functions. Evaluate it
using the steps described here to understand the basic API calls and test the connectivity
between client and license server
slmdemo can be used to test the connectivity to a remote Linux license server
Platform
Windows
Right-click on the executable and select Run as administrator. slmdemo calls the VLSinitialize
API when the application is invoked successfully.
Set the contact server (License Manager) under the Connect To > Server menu option. Enter a
hostname , which is the hostname or IP address of the License Server.
Click OK and enter in the field one of the license features available in the network license file.
Where Feature is the name of the feature ex. TC_FULL and Version is the license version in the
NWL (Network) license. Click Get License. The message The call returned a success
status of 0x0 means that the connection client <> license server works.
l The tool is applicable to Windows operating systems. See "Windows: Installing the
Sentinel RMS License Manager" on page 49.
Before your software vendor creates a license code with any computer restrictions, you must
get the locking code for your computer with the Wechoid program. Your software vendor will
tell you which computers you must run Wechoid on. The Wechoid utility outputs either one or
two hexadecimal locking codes depending upon how your software vendor has configured it.
You will send all locking information to your software vendor. Your software vendor will use
this information, which is specific to your computers, to generate new license codes.
Platform
Windows
When launched, the utility shows the available lock criteria (a checkmark is added next to each)
and the values. Click to clear (uncheck) all checkboxes except for Ethernet Address.
In this section:
Occasionally after a full release, an interim release version, an update, is required to fix a
serious bug or to address an external issue that occurred after the full release. Software
licenses come with a free 12 month Maintenance & Support Subscription, starting from the
time of purchase, and this includes these software updates.
l From within the software on the Options window, General tab, set Check update
interval to On start up.
l If you do not have Automatic Updates on you can go to Help → Check for Updates .
There are significant operating system differences regarding what backup files are
saved if you are installing an update on Windows versus macOS or Linux.
During the installation process, several default folders are added to your system that include
documentation, materials, and example files. This is the same for all operating systems. During
an update, Thermo-Calc runs a check of these default folders to determine if there are changed
or new user files that are saved in these folders. For example, you might have saved a
completely new project *.tcu file into the Examples folder, or after running one of the included
examples such as T_06_Serial_Equilibrium_Calculators.tcu, the default file is changed and now
includes results.
On Windows operating systems, Thermo-Calc gives you the opportunity after the installation to
specifically save a backup of these user created or modified files to your Documents folder
when you open Thermo-Calc for the first time after the update.
However, for macOS and Linux operating systems, the behavior is different due to limitations
enabling the identification of changes to some files.
After installation,
when you open the Documents, Materials, and/or Examples files are copied when you choose
Windows
software for the first Yes at the prompt (see the Windows section for details).
time
Windows
First complete the installation update. Then when you open Thermo-Calc for the first time, and
if Thermo-Calc identifies that there are changed files, you are prompted with a Software
Update - Action Required window that identifies the folders where the applicable files are
changed or added.
These file types are not kept, i.e. these are excluded: dll, exe, lib, mltbx, pdf, whl,
html, and htm.
Click Yes to save a backup of these changed files or No to continue opening Thermo-Calc as
normal where the default set of folders are copied from the source Public Documents location
into a user Documents folder.
If you choose to save a backup of the files, the new backup folder is added to this same
location, for example:
C:\Users\<user>\Documents\Thermo-Calc\2023b_backup
macOS
During the installation process you are prompted with a Software Update - Action Required
window.
This window always displays whether there are changes or additions to the folders
or not.
To create a backup copy of the Examples folder, including changed files (i.e. all files are copied,
not just the changed or new ones). Options at this prompt are to click:
The default backup folder containing a full copy of all the contents of the Examples folder is
saved to this location, for example:
/Users/Shared/Thermo-Calc/2023b/Examples_backup
Linux
During the installation process you are prompted with a Software Update - Action Required
window.
This window always displays whether there are changes or additions to the folders
or not.
To create a backup copy of the Examples folder, including changed files (i.e. all files are copied,
not just the changed or new ones). Options at this prompt are to click:
The default backup folder containing a full copy of all the contents of the Examples folder for
Linux depends if you are a root super user requiring administrative privileges or a common
user.
Uninstalling Thermo-Calc
"Uninstalling TC-Toolbox for MATLAB®" on page 113
Windows 10
1. From the Control Panel Desktop app, go to Programs → Programs and Features →
Uninstall or change a program.
2. In the list of programs, locate the version of Thermo-Calc you want to uninstall. Click to
highlight that row.
3. Click Uninstall/Change.
4. In the Setup window, Uninstallation Mode dialog box, choose to uninstall the Entire
application or Individual components. Follow the instructions to finish.
macOS
Deleting the program from the Applications folder does not remove the program from your
operating system. Run the Thermo-Calc-<version>-uninstaller program located in the
Applications folder.
1. Go to the Applications folder and double click the file that starts with Thermo-Calc-
<version>-uninstaller. Enter the administrator’s user name and password.
2. Click Yes to choose Entire application or select individual components. Otherwise click
No to quit.
3. The Uninstalling Thermo-Calc window shows the progress. Click OK when prompted.
Linux
1. To start the uninstallation procedure, in the Thermo-Calc installation directory use the
command
./Thermo-Calc-2023b-uninstaller.run
2. To remove the whole application, including all its components, select Entire application
and click Forward, or to remove specific components, select Individual components and
click Forward.