How to use the old license¶
In NanoLabo version 3.1 and later, the license management module will be changed to Sentinel.
As a transition period, the old license will continue to be available for approximately one year after the release of version 3.1.
Please refer to this manual only if you are using the old license.
The old license will not be available in versions released after the end of the transition period.
How to switch licenses (old license ⇔ Sentinel)¶
When NanoLabo is launched for the first time after installation or after updating to version 3.1, a dialog will appear asking whether to use the old license. The selected license type can be changed later using the following method.
Switching from the old license to Sentinel¶
Select from the menu
in the upper left of the NanoLabo screen. Clicking the Yes button in the dialog confirming the change of settings will display a dialog prompting you to restart NanoLabo. Clicking the Yes button or manually restarting NanoLabo will complete the license switch. For information on how to configure the Sentinel license thereafter, please refer to License Setup and Update.
Note
If a license error dialog is displayed, you can switch and configure the license by checking “Use Sentinel licensing mode (recommended)” in the License Registration Guidance that appears afterwards, and then proceeding with step 3 or later of License Setup (Online) or License Setup (Offline). However, client machines with floating licenses do not require the operations from step 3 onwards, so please close the dialog displayed after pressing the OK button in the License Registration Guidance and restart NanoLabo.
Switching from Sentinel to the old license (not recommended)¶
Note
Switching from Sentinel to the old license is usually not necessary unless you accidentally selected No in the initial startup dialog. Also, the following operations are only possible for those who do not have a valid Sentinel license.
Launch NanoLabo and select from the menu
in the upper left of the screen. A dialog indicating a license error will be displayed (this dialog will also be displayed after a certain period of time has passed since NanoLabo was launched). After clicking the OK button in the dialog, select “Use … licensing mode temporarily (deprecated)” (the notation for the … part differs depending on the OS) in the License Registration Guidance that appears, and click the OK button. Restarting NanoLabo according to the dialog that appears will complete the license switch.
Old License Configuration (Windows)¶
Place the license file ( nanolabo.lic ) in the license folder of the installation directory.
When updating NanoLabo to a new version, you can perform an over-installation, so no action is required regarding the license file ( nanolabo.lic ).
Note
The old license will not be usable in versions released after the transition period ends, so please use the Sentinel license.
Old License Configuration (Linux)¶
Place the license file ( nanolabo.lic ) in the license directory of the installation location.
When updating NanoLabo to a new version, you can perform an over-installation, so no action is required regarding the license file ( nanolabo.lic ).
Note
The old license will not be usable in versions released after the transition period ends, so please use the Sentinel license.
NanoLabo’s license authentication is performed by a license server (a program for license authentication). The license server is automatically started when NanoLabo is launched, so normally you do not need to operate the license server.
Hint
If necessary, you can manually operate the license server.
Operate from Windows
Use our tool, remoteLicense to conveniently start / stop / check the status of license server on a Linux machine from Windows. Please consult the manual for detail.
Operate on Linux
The executable of the license server is located at
exec.LINUX/flex/lmgrdwithin the install destination. After navigating to the installation directory in a terminal, execute it as shown in the example below.$ exec.LINUX/flex/lmgrd -c license/nanolabo.lic -l lmgrd.logTo check the status of license server, use
exec.LINUX/flex/lmstatlocated in the install destination.$ exec.LINUX/flex/lmstat -a -c license/nanolabo.licTo stop license server, use
exec.LINUX/flex/lmdownlocated in the install destination.$ exec.LINUX/flex/lmdown -c license/nanolabo.lic
Floating License (Old License)¶
The license issued for a linux machine is a floating license, allowing you to use NeuralMD on other connected machines(Windows/Linux) via the network.
Machine to be used as license server
Use remoteLicense, or start the license server directly on the machine.
Machine to be a client to use NanoLabo
Copy the same license file as the license server to the
licensedirectory of the NanoLabo installation location.
If the license authentication fails, consider the following checks.
The hostname stored in the license file is utilized when a client connects to the license server. If you cannot connect using the hostname, try replacing the hostname in the file with the IP address to see if that resolves the issues.
While the license server is operational, the license manager daemon
lmgrdand vendor daemonadvancedare both running, and both engage in network communications. Although the port number is dynamically determined (lmgrduses port number 27000-27009), you can assign fixed port number by specifying it in the license file. This can be useful for firewall configuration etc.The license file is a text document and can be edited with standard text editors. Should you need to change the hostname or add a port number, there’s no need to re-issue the license. Just ensure any modifications are consistently applied to both the server and client sides.
Example where lmgrd uses 30000 and advanced uses 30001 port
SERVER (hostname) COMPOSITE=(HostID) 30000VENDOR advanced PORT=30001USE_SERVERFEATURE …
When launching NanoLabo on the client, the license server might get terminated. To prevent the server from being terminated by the client, add the option to
lmgrdwhen launching the license server.
Adding the
-localoption prevents the server from being terminated by other machines.Adding the
-x lmdownoption prevents the server from being terminated by any machine, including itself. To stop it, you would need to use thekillcommand.
Old License Configuration (macOS)¶
Place the license file ( nanolabo.lic ) in the /Library/Application Support/AdvanceSoft/NanoLabo/license directory.
An easy way to locate the directory is by using Finder. Click in the menu bar and enter the path provided above.
When updating NanoLabo to a new version, perform the same operation as during installation and select “Replace” when the confirmation is displayed. After the update, please place the license file ( nanolabo.lic ) in the license directory again.
Note
The old license will not be usable in versions released after the transition period ends, so please use the Sentinel license.
NeuralMD Configuration (Old License)¶
Note
A separate NeuralMD license is required to train neural networks. No license is required for structure generation using the Metropolis method or for testing neural networks.
Note
To train neural networks locally (on the machine where NanoLabo is running), set the location of the license file in from the icon
in the upper left of the screen.
Note
If you are training neural networks remotely (on a calculation server, etc.), you need to configure the license server.
If you are operating from Windows, you can easily start the license server on a Linux machine by using our tool remoteLicense. For details, please refer to the manual.
If you are operating on Linux, the NeuralMD installer includes the license server executable. Install it on the machine you want to use as the license server and start the license server according to the document. You also need to set the license file path in the environment variable
ADVANCED_LICENSE_FILE, so either add a command in NanoLabo’s Job Script settings screen or configure it in the shell initialization file.If you are running NeuralMD on a machine different from the license server, place the license file in a location accessible from the machine and set the file path in the environment variable
ADVANCED_LICENSE_FILE(add a command in NanoLabo’s Job Script settings screen or configure it in the shell initialization file).