0% found this document useful (0 votes)
97 views

1078 Problems Running A Classkit License (CKL)

The document discusses problems running a Class Kit License (CKL) in COMSOL where the user receives an error message that the license cannot be obtained. The preferred solution is to ensure the latest license file from version 4.2a or later is being used, which includes backward compatibility to version 3.5a. If an older license file is being used, the COMSOL and COMSOLGUI lines for version 3.5 need to be copied to the bottom of the 4.2 license file and the file reread into the license manager.

Uploaded by

Felipe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
97 views

1078 Problems Running A Classkit License (CKL)

The document discusses problems running a Class Kit License (CKL) in COMSOL where the user receives an error message that the license cannot be obtained. The preferred solution is to ensure the latest license file from version 4.2a or later is being used, which includes backward compatibility to version 3.5a. If an older license file is being used, the COMSOL and COMSOLGUI lines for version 3.5 need to be copied to the bottom of the 4.2 license file and the file reread into the license manager.

Uploaded by

Felipe
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Solution Number: 1078

Title: Problems running a classkit license (CKL)


Platform: All Platforms
Versions: 4.0, 4.0a, 4.1, 4.2, 4.2a
Created: May 18, 2010
Last Modified: December 7, 2011
Categories:
Keywords: license error -18

Problem Description
I just received the new installation package and installed COMSOL including the new license manager files for my Class Kit option License

file (CKL). When I start COMSOL I get this error message:

Could not obtain license for COMSOL Multiphysics GUI (...)

Solution
Preferred solution
From version 4.2a and onward, the license files shipped with CKL licenses include backward compatibility to 3.5a. If you have an earlier

license file, the compatibility to 3.5a may be missing. Your first stop to solve this problem is to make sure you use the latest issued license

file for your license manager (4.2a or later). Please contact your COMSOL sales representative if you cannot find this file.

Enabling 3.5a backward compatibility for older COMSOL 4.2 CKL license files
If you for some reason cannot update your license as described above, continue with the solution below.

This solution assumes that you are a qualified administrator of the classkit (CKL) license. If a user on the network tries to run the old

COMSOL 3.5a version, you need to change the license file as described below.

After you read the COMSOL 4.2 license file into the license manager, it will automatically provide license keys also to older existing

COMSOL installations (ver. 4.0-4.1). If you have students who want to run COMSOL 3.5a, you need to change your new license.dat the
following way and reread it into the license manager (or they will get the error message above).

1. Find your earlier license file and the copy the COMSOL and COMSOLGUI lines marked 3.5 and append them at the

bottom of your 4.2 license file.

2. If you have additional products, also copy those corresponding lines to the bottom of the new file.

3. Re-read the modified license.dat in the license manager, or restart it.

Example: Find your old license.dat file and copy these lines to the end of the 4.2 license.dat:

INCREMENT COMSOL LMCOMSOL 3.5 permanent 30 SUPERSEDE DUP_GROUP=UH \

ISSUED=15-NOV-2009 BORROW SN=1234567 SIGN=NNNNNNNNNNNN

INCREMENT COMSOLGUI LMCOMSOL 3.5 permanent 30 SUPERSEDE DUP_GROUP=UH \

ISSUED=15-NOV-2010 BORROW SN=1234567 SIGN=NNNNNNNNNNNN

If you are licensed to he MEMS module, also copy the line

INCREMENT MEMS LMCOMSOL 3.5 permanent 30 SUPERSEDE DUP_GROUP=UH \

ISSUED=15-NOV-2010 BORROW SN=1234567 SIGN=NNNNNNNNNNNN

Do the same for all your additional licensed products.


NOTE: If you cannot find your older license file with the 3.5 entries, please contact your COMSOL sales representative to get a new one.

Start the COMSOL application with the classkit option


Another reason for the error message can be that you started the COMSOL application without the classkit option enabled. The default

installation of COMSOL should lead you right from the beginning, but the desktop icons may have been altered by some user after

installation. Here is how you manually start COMSOL in classkit mode:

Windows

To use the classkit license, start COMSOL with the shortcut named (Classkit License) COMSOL Multiphysics 4.2:

Sometimes it is necessary to create the COMSOL shortcuts manually, for example when COMSOL is installed on a shared network drive. In

these cases, add the options below to the shortcut's Target comsol.exe. The complete target should look something like:

C:\COMSOL42\bin\win64\comsol.exe --launcher.ini "C:\COMSOL42\bin\win64\comsolclasskit.ini"

Here, C:\COMSOL42 represents your COMSOL installation directory.

Linux

Start COMSOL with the "-ckl" option in the terminal window:

comsol -ckl

Macintosh

Access the terminal command the following way:

Launch the Terminal application. You find it in the folder Applications/Utilities.


In the Terminal window go to COMSOL's bin folder by typing the command cd /Applications/COMSOL42/bin

Then launch COMSOL by typing the command ./comsol -ckl

You can also edit the COMSOL 4.2 application directly:

Open /Applications/COMSOL42/COMSOL Multiphysics.app/Contents/MacOS/ComsolLauncher in a text editor, for

example Emacs. You may need to be an administrator to do this.


On the last line, add -ckl at the end. The line should now look like this:

exec "${here}/bin/comsol" -ckl

See Also
Solution 903.

Solution 1022.

You might also like