学习中心

课程:

How to Work with the License Manager

How to Borrow and Return Licenses


License borrowing enables floating network licenses (FNLs) to be used without a network connection to the license server, allowing you to temporarily run COMSOL Multiphysics®when, for example, traveling with a laptop. Licenses include a default maximum borrowing period of one month. Your license administrator may configure custom permissions as shown in "How to Administer Optimal COMSOL License Access with an Options File".

Note: For class kit licenses (CKLs), which function similarly to FNLs, license borrowing is disabled by default. Please contact your local sales representative to discuss enabling this functionality.

How to Borrow Licenses

From theFilemenu (Windows®) orOptionsmenu (Linux®, macOS), selectLicensed and Used Productsand clickBorrow. Select the licenses you want to borrow from the list and specify the number of days you want to keep them. ClickOK.

Note: Other users cannot use the license keys that you have checked out.

A window with many checkboxes and module names is partially behind a smaller window with some options in a text list highlighted in gray. A window with many checkboxes and module names is partially behind a smaller window with some options in a text list highlighted in gray. TheBorrow Licenses prompt opens from theLicensed and Used Products in Session window, shown here on a Windows®machine.

Returning Borrowed Licenses Manually

Licenses are automatically returned when the borrowing period expires, but borrowers can manually return their licenses early by connecting to the same network as the license server and running a command. Only the borrower can return licenses early; the borrowed licenses remain unavailable to other users until they are returned or expire.

Borrowers can use the license utility commands from a terminal to check the status and manually return licenses early. The commands must be run from thelicense/$archdirectory in the COMSOL installation folder, where$archis eitherwin64(64-bit Windows®),glnxa64(64-bit Linux®),glnxarm64(ARM Linux®),maci64(64-bit macOS), ormacarm64(ARM macOS).

A black window with white text showing how the directory was changed.
An example where the directory has been set in theWindows®Command Prompt.

Commands on macOS and Linux®

Running the command./lmborrow -statuswill give you a list of all borrowed license features.

Each borrowed feature then has to be returned by the command./lmborrow -return -c ../license.dat , where should be replaced with the name of a borrowed feature, e.g., SERIAL, COMSOL, COMSOLGUI, COMSOLUSER, etc.

To verify that the licenses have been returned, run./lmborrow -statusagain. The output should be empty.

Commands on Windows®

The commandlmutil lmborrow -statuswill give you a list of all borrowed license features.

Each borrowed feature then has to be returned vialmutil lmborrow -return -c ../license.dat .


请提交与此页面相关的反馈,或点击此处联系技术支持。

Baidu
map