Platform: All Platforms Applies to: COMSOL Multiphysics®, COMSOL Server™ Versions: All versions

Problem Description

I want to run my COMSOL Multiphysics license (FNL) and my COMSOL Server license (CSL) from the same license manager. How do I do that?

Solution

Please note that this solution is about combining an FNL license file with a CSL license file. For information on how to combine two FNL license files, please see: Solution 1058

This solution also complements this video on how to start the license manager when combining an FNL with a CSL.

We want to combine the license files of

  1. A COMSOL Server license (CSL) number 12345678 with 1 concurrent seat of COMSOL Multiphysics and the Structural Mechanics module.
  2. A Floating network license (FNL) number 1234567 with two concurrent seats of COMSOL Multiphysics and the Structural Mechanics Module.

These two licenses will be managed by the server licserver.company.com.

The CSL license.dat file (license 12345678) you received from your COMSOL representative looks like this:

#------------------------------------------------------------------  
# COMSOL Server 5.4 License No: 12345678   
# Visit www.comsol.com/install for latest installation instructions  
#------------------------------------------------------------------  
SERVER licserver 123456789012 1718  
USE_SERVER  
VENDOR LMCOMSOL port=1719  
FEATURE SERIAL LMCOMSOL 5.4 permanent uncounted \  
    VENDOR_STRING=C,52000000000A0 HOSTID=ANY sort=100 SN=12345678 \`  
    TS_OK SIGN=381534A6DFE0  
INCREMENT COMSOLCSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=E6CAC4565FB8  
INCREMENT COMSOLBACSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=E18B85006AA4  
INCREMENT STRUCTURALMECHANICSCSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=D2CF1F489168  
INCREMENT STRUCTURALMECHANICSBACSL LMCOMSOL 5.4 permanent 4 \  
    SUPERSEDE DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 \  
    SIGN=7E30946C600A  
INCREMENT COMSOLGUICSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=3A9CA556AE94  
INCREMENT CLIENTSERVERCSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=995C5546F944  
INCREMENT CLUSTERNODECSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    DUP_GROUP=U ISSUED=30-NOV-2018 SN=12345678 SIGN=47EEAF30477C  
INCREMENT COMSOLSERVER LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=145F1784612C  
INCREMENT COMSOLUSERCSL LMCOMSOL 5.4 permanent 1 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=31A6FBA6A732  

The FNL license.dat (license 1234567) looks like this:

#------------------------------------------------------------------  
# COMSOL 5.4 FNL License No: 1234567   
# Visit www.comsol.com/install for latest installation instructions  
#------------------------------------------------------------------  
SERVER licserver 123456789012 1718  
USE_SERVER  
VENDOR LMCOMSOL port=1719  
FEATURE SERIAL LMCOMSOL 5.4 permanent uncounted \  
    VENDOR_STRING=C,5200000000000 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \  
    SIGN=AD9753BE1F54`  
INCREMENT COMSOL LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=1E7CBFAC1394   
INCREMENT COMSOLBATCH LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=4569FP789S76  
INCREMENT COMSOLGUI LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=850405640240  
INCREMENT STRUCTURALMECHANICS LMCOMSOL 5.4 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=423417E46C62  
INCREMENT STRUCTURALMECHANICSBATCH LMCOMSOL 5.4 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=654KF75U6127  
INCREMENT CLIENTSERVER LMCOMSOL 5.4 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=EB1D0E36ADD2  
INCREMENT CLUSTERNODE LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=U \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=C3D87DD042DD  
INCREMENT COMSOLUSER LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=U \
    ISSUED=30-NOV-2018 BORROW=720 SN=2234567 SIGN=DFB4AB06C20A 

1 Merge Files

  • Make sure that the first line in both license files are identical (commented lines starting with # do not count). If they are not identical, the files cannot be combined.
  • Combine the two files by copying only the FEATURE and INCREMENT lines from the second license file and pasting them at the bottom of the first license file. Feel free to add comment lines starting with #. The result is shown below.
  • One way to do this is to open the existing license.dat file for your CSL license manager and pasting the FEATURE and INCREMENT lines from the FNL license into it.

The resulting file should look like this:

#------------------------------------------------------------------  
# COMSOL 5.4 Combined license file for   
# FNL License No: 1234567 and Server License No: 12345678   
# Visit www.comsol.com/install for latest installation instructions   
#------------------------------------------------------------------  
SERVER licserver 123456789012 1718  
USE_SERVER  
VENDOR LMCOMSOL port=1719  
FEATURE SERIAL LMCOMSOL 5.4 permanent uncounted \  
    VENDOR_STRING=C,52000000000A0 HOSTID=ANY sort=100 SN=12345678 \  
    TS_OK SIGN=381534A6DFE0  
INCREMENT COMSOLCSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=E6CAC4565FB8  
INCREMENT COMSOLBACSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=E18B85006AA4  
INCREMENT STRUCTURALMECHANICSCSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=D2CF1F489168  
INCREMENT STRUCTURALMECHANICSBACSL LMCOMSOL 5.4 permanent 4 \  
    SUPERSEDE DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 \  
    SIGN=7E30946C600A  
INCREMENT COMSOLGUICSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=3A9CA556AE94  
INCREMENT CLIENTSERVERCSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=995C5546F944  
INCREMENT CLUSTERNODECSL LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    DUP_GROUP=U ISSUED=30-NOV-2018 SN=12345678 SIGN=47EEAF30477C  
INCREMENT COMSOLSERVER LMCOMSOL 5.4 permanent 4 SUPERSEDE \  
    ISSUED=30-NOV-2018 SN=12345678 SIGN=145F1784612C  
INCREMENT COMSOLUSERCSL LMCOMSOL 5.4 permanent 1 SUPERSEDE \  
    DUP_GROUP=UV ISSUED=30-NOV-2018 SN=12345678 SIGN=31A6FBA6A732  
#Lines below are for the FNL  
FEATURE SERIAL LMCOMSOL 5.4 permanent uncounted \  
    VENDOR_STRING=C,5200000000000 HOSTID=ANY BORROW=720 SN=1234567 TS_OK \  
    SIGN=AD9753BE1F54`  
INCREMENT COMSOL LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=1E7CBFAC1394   
INCREMENT COMSOLBATCH LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=4569FP789S76  
INCREMENT COMSOLGUI LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=UHD \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=850405640240  
INCREMENT STRUCTURALMECHANICS LMCOMSOL 5.4 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=423417E46C62  
INCREMENT STRUCTURALMECHANICSBATCH LMCOMSOL 5.4 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=654KF75U6127  
INCREMENT CLIENTSERVER LMCOMSOL 5.4 permanent 2 SUPERSEDE \  
    DUP_GROUP=UHD ISSUED=30-NOV-2018 BORROW=720 SN=1234567 \  
    SIGN=EB1D0E36ADD2  
INCREMENT CLUSTERNODE LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=U \  
    ISSUED=30-NOV-2018 BORROW=720 SN=1234567 SIGN=C3D87DD042DD  
INCREMENT COMSOLUSER LMCOMSOL 5.4 permanent 2 SUPERSEDE DUP_GROUP=U \
    ISSUED=30-NOV-2018 BORROW=720 SN=2234567 SIGN=DFB4AB06C20A 

2 Restart the license manager

Restart the license manager to make it read the new combined license file.

Note: In COMSOL 5.2, 5.1 and 5.0, if you install the COMSOL application by pointing to the license server using the port number@host name license option, either COMSOL Server or COMSOL Multiphysics will be installed. The installation program will pick the license that comes first in the combined license.dat file, so in our example above, COMSOL Server will be installed. To install COMSOL Multiphysics, please use the License file installation option instead of the port number@host name option, and browse to the COMSOL Multiphysics license file (not the combined license file).