This internal Wiki is meant to keep up to date information on the procedure of setting up and maintain both the ANSYS and STAR CCM + software licenses.
====== ANSYS ======
The ANSYS license server is accessed via **login1** and port **1055** or **chpclic1** and port **1056**. It is always preferred to use **login 1**.
The license files are located under the following dircetory on **login1**:
/apps/chpc/compmech/CFD/ansys_inc/shared_files/licensing/
and on **chpclic1**:
/apps/chpc/compmech/CFD/ansys_chpclic1/shared_files/licensing/
The license file will have an *.lic extenstion.
ansysLnd.lic
Confirm that the M.A.C adress on the license file matches the one of the cluster by using the command //iconfig// to find the adddress ending in *.fca0
The interconnect port is set to **port 2325**
Check out [[howto:ansys|https://wiki.chpc.ac.za/howto:ansys]] for more information.
To check if the license server is up and running, from **login1**, the command //telnet// can be used:
telnet login1 1055
telnet login1 1056
telnet login1 2325
To start and stop the license the following commands are used:
start_ansysli
stop_ansysli
A file in the license folder, **ansys.opt**, contains the list of approved users. The license needs to be stopped and restarted if any changes are made to this file.
The **lmcenter** is used to manage the license usage. A web broswer needs to be launched first by loading the Firefox module:
module load chpc/compmech/firefox/
The **lmcenter** is started and stopped with the following commands:
start lmcenter
stop lmcenter
====== STAR CCM+ ======
The STAR CCM + license is accessed through **chcpclic1** and ports **1999** and **2099** (vendor daemon).
telnet chpclic1 1999
telnet chpclic1 2099
The command //ps ux// can be used to check if the process is running. More information can be found on [[howto:starccm|STAR-CCM+]]